Re: Retrieving parameters passed from .html...?
| From: | itoctopus | Date: | Wed, 11 Apr 2007 12:54:35 +0000 |
| Subject: | Re: Retrieving parameters passed from .html...? | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-252563@lists.php.net to get a copy of this message | ||
yup,
$_GET to get stuff from the URL
$_POST to get stuff from the form
$_SESSION to get stuff from the session
$_FILES in case you have files in your form, they will be stored here
--
itoctopus - http://www.itoctopus.com
""Anthony J. Maske"" <ajmaske@comcast.net> wrote in message
news:001c01c77bea$e000c8e0$1501a8c0@Tony...
> See... the second I sent this I took a sip of red-bull and my brain
cleared
> up...
>
> $topicID = $_GET['showtopic'];
>
> Right?
>
>
>
>
> Anthony J. Maske
> ajmaske@comcast.net
> http://home.comcast.net/~ajmaske
>
>
>
> -----Original Message-----
> From: Anthony J. Maske [mailto:ajmaske@comcast.net]
> Sent: Tuesday, April 10, 2007 8:33 PM
> To: PHP General
> Subject: [PHP] Retrieving parameters passed from .html...?
>
> Hey all,
>
> My first post here..., new to php and so far doing great picking it up...
> but, tonight I'm having a brain fart...
>
> How do you pick up (read) the parameters passed into a php script from an
> html file?
>
> Given... http://somewhere/dosomething.php?showtopic=99999
>
> How do you read or get the value showtopic and the value of 99999?
>
> I know this is simple but I'm pulling my hair out here...
>
>
> Thanks!
>
>
>
> Anthony
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php