I am an affiliate for a some merchants. I receive a data download from via FTP. I then upload the products into MySQL. Currently I have to open the files in notepad and do a find and replace to correct the url to represent my affiliate info. This can be quite time consuming and cumbersome, considering some of these files are several hundred MBs.
So...is it possible to change, while the page is being generated, a url. For instance, the field may have something like http://affiliates.art.com/get.art?T=[TrackID Here]&A=[AffiliateID Here]&L=.... I would like it change this url to something like http://affiliates.art.com/get.art?T=12345A=67891&L=
Basically to replace the [TrackID Here] and [AffiliateID Here] with a numeric values that are defined in the code of the page.
Are there better ideas? Is it possible to do an update in the database and only replace part of field?