View Single Post
Old 11-23-2004, 07:00 PM  
naitirps
Confirmed User
 
Join Date: May 2004
Location: ...
Posts: 761
Quote:
Originally posted by JaceXXX
how about this

i am trying to get my hosted galleries in order for our ccbill based program

and I need to make the urls be
http://www.domain.com/gallery/index.php?id=123456

and when someone grabs the galleries they just replace the 123456 with their ccbill id.....and when the page loads up it replaces the php code in the id given in the url

what is the easiest way to do this?

i have been trying to use

<?php
echo($_GET["id"]);
?>

but when I do



it fucks up the a href formatting and doesn't format right
do this:

print "<a href=\"http://refer.ccbill.com/cgi-bin/clicks.cgi?CA=".$_GET[id]."-0000&PA=812850\">bla bla ".$_GET[id]."</a>";
__________________
Programmer
ICQ 44035273 | AIM spritwork | Email spritian at spritian dot com
naitirps is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote