![]() |
need help with ssi
It's a simple enough code - But I can't get it right!
I need ssi for affiliate to be able to add their referral codes direct to links. |
Quote:
|
Hosted galleries -
At the moment, affilates have to use the ccbill redirect + the full path to the gallery. This becomes a very long link which breaks down if someone wishes to use the galleries on some cju sites. So I need to make the galleries with all links in place - and for the ssi to write in the partner's code - This will allow for the partner to then simply link to the gallery |
Quote:
OK!... Who knows how to do this??? |
Richard - (Richards Realm) Gave me this yesterday:
http://www.site.com/gallery.shtml?affiliateID=1234 And then have the SSI command on all you banners to insert the query string, so links would be like this: <a href="http://www.site.com/track.cgi?<!--#echo var=QUERY_STRING -->"> This ought to print out: <a href="http://www.site.com/track.cgi?affiliateID=1234"> But it doesn't work - And Richard is now on holiday - So no help there! I am sure I need links which contain %% for the affiliate number to drop in |
php sounds easier.... what is the track.cgi doing?? Presumably tracking... is it doing something else?
|
Thanks Uproared -
This looks the easiest way - I will shop around for someone to write the proceedures in php |
http://www.harlotgirl.com/TGP/stockings/042/
I a gallery - I know little about php - But I thought I would need a script that would need to work alongside - (Setting permissions etc) |
Here is how you can do it in SSI:
file.shtml?affiliate-code-here Inside the document, use this: url.com/< !--#echo var="QUERY_STRING" -- > (remove the spaces at the start and end) The SSI document will echo the variable where you tell it to. You can do more complex variable stuff, just look on Google: http://www.google.com/search?hl=en&l...q=ssi+echo+var |
I feel a right twat sometimes!
I use ssi for adding links etc - When I tried this a couple of days ago - Front Page gave an error ( showed "> ) in preview - Richar and you (Mr. Fiction) both gave me the same as I was trying - The the Mrs said - Probably FP doesn't understand it - Try it on a server - Did - And works perfectly! Many thanks for all your help!:thumbsup |
All times are GMT -7. The time now is 11:18 AM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123