Re: Retrieving parameters passed from .html...?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxx> wrote in message
news:001c01c77bea$e000c8e0$1501a8c0@xxxxxxx
> 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@xxxxxxxxxxx
> http://home.comcast.net/~ajmaske
>
>
>
> -----Original Message-----
> From: Anthony J. Maske [mailto:ajmaske@xxxxxxxxxxx]
> Sent: Tuesday, April 10, 2007 8:33 PM
> To: PHP General
> Subject:  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

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux