Advertising Agency Software - Myspace Layouts - Discount Perfume - Debt Consolidation - Debt Consolidation

PDA

View Full Version : Hopefully someone can help me with this php thanks!


WharfeValley Systems
Nov 21st 2007, 3:30 am
I need to add some tracking code to an affiliate link i have

im not much good with php but i think the link in the php code is this

"http://rss.api.ebay.com/ws/rssapi?FeedName=SearchResults&siteId=3&language=en-GB&output=RSS20&sacat=".$front->catid."&ftrt=1&fbd=1&sabdlo=$minbid&sabdhi=$maxbid&floc=1&saslop=1&fsop=$front->sort&fsoo=$front->fsoo&saslt=2&sacqyop=ge&from=R6&fss=0&sacur=0&afcj=".CJID."%26SID%3D".urlencode($sid)."&saslc=0&fcl=3&saaff=afcj&catref=C5&frpp=100&satitle=".urlencode($front->q)."&ftrv=1&fts=$srchdesc&saatc=3&saprclo=$minprice&saprchi=$maxprice&sascs=$bin

",

);


and i need to add this code to the end of it

?SID=<?PHP echo $arid;?>

is it as simple as just adding it to the end?

YIAM
Nov 21st 2007, 3:35 am
try this

"http://rss.api.ebay.com/ws/rssapi?FeedName=SearchResults&siteId=3&language=en-GB&output=RSS20&sacat=".$front->catid."&ftrt=1&fbd=1&sabdlo=$minbid&sabdhi=$maxbid&floc=1&saslop=1&fsop=$front->sort&fsoo=$front->fsoo&saslt=2&sacqyop=ge&from=R6&fss=0&sacur=0&afcj=".CJID."%26SID%3D".urlencode($sid)."&saslc=0&fcl=3&saaff=afcj&catref=C5&frpp=100&satitle=".urlencode($front->q)."&ftrv=1&fts=$srchdesc&saatc=3&saprclo=$minprice&saprchi=$maxprice&sascs=$bin&SID=$arid

",

);

serialCoder
Nov 21st 2007, 3:41 am
sorry for the pm, its not meant for you :(

if this is in a php line you can disregard the <?php ?> tags

WharfeValley Systems
Nov 21st 2007, 4:39 am
cheers guy,

i figured it out, the SID was already been set by the script so i had to change it where it was being created not in the link.