image replacement part dos


i needed to do some PHP image replacement for a personal webpage i maintain at work. while researching the functions to perform the work, i found someone has already done the work for me, i replaced all the {scritpt}{/script} tags with {img}{/img} tags and that works.

some of the rss feeds have self-closing ({img/}) tags, some have the more traditional tags, ({img}{/img}). the lazy way to process was to break them into two different functions. one day i’ll figure out how to get them into one function for processing image-removal.


Categories : geek

Leave a comment