RE: [PHP] Calling PHP from an HTML page

From: Date: Sun, 30 Jul 2000 15:01:09 +0000
Subject: RE: [PHP] Calling PHP from an HTML page
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-9104@lists.php.net to get a copy of this message
> My dear father doesn't have PHP but I do. Can't he call a PHP script on my > server like he could a CGI script uploaded to a CGI-friendly site that would > set a cookie on the visitor that would follow him all over his own site? Well... you could do something like this: <A HREF="http://myphphost.com/trackscript.php3?ID=12345&URL=http://therealurl.c om/">Click here</A> Then in the script, you could set the cookie/read the cookie and redirect to the real URL like so. Header("Location: $URL"); Hope that helps. John

« previous php.general (#9104) next »