Page is a not externally linkable
- Code, Content, and Presentation
-- PHP Server Side Scripting
---- Send Variables without form, how?


coopster - 5:30 pm on Jul 2, 2004 (gmt 0)


Welcome to WebmasterWorld, Chadaw!

In it's simplest form, you are referring to a GET request. You would format the link in such a format...

http://www.mysite.com/myscript.php?picture=mypic
and in the myscript.php processing script you would retrieve the variable via the $_GET [php.net] superglobal...
$picture = (isset($_GET['picture']))? $_GET['picture']) : '';

isset() [php.net]
Ternary operators [php.net]

<edit>Lots of help today!</edit>


Thread source:: http://www.webmasterworld.com/php/4280.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com