How would I get an ASIN to go like www.mysite.com/product/ASIN ?
I'm using the code from Dev Shed.
How would I get an ASIN to go like www.mysite.com/product/ASIN ?
I'm using the code from Dev Shed.
Make sure you have the "product" file set up in .htaccess to be parsed by PHP.
then in product do:
$var_array = explode("/",$PATH_INFO);
$asin = $var_array[1];
You on AIM or ICQ chromate?
In product it should be $asin = $var_array[2]; shouldn't it chromate?
Don't you just love free internet games ?
The numbering will start at 0, so the second one is $var_array[1].
Not unless the asin occurs two slashes after the file name it's been referred to from. lol. If you follow that!
Incka, I'm on MSN Messenger but that's it.
OK, My MSN is sean@incka.com, but it only works 2 out of 4 days.
I'm using the same format, mysite.com/products/asin, and I use $var_array[2] that's all.
Don't you just love free internet games ?
Mike, fancy sharing your code with lil ol' moi?
Stepping On Wires - the new blog
Come on MSN Mark
Don't you just love free internet games ?
Damn - just missed you.
Stepping On Wires - the new blog
What! You wouldn't show me your code...
I can't get mine to work..
Mark has given me free advertising on his site though. If I had to pay it would be quite expensive I would have thought, so the least I can do is give him the script I am using.
Don't you just love free internet games ?
Um, Want some free advertising on Games2Go?
Bookmarks