Re: [PHP] Retrieving parameters passed from .html...?

2007-04-11 Thread itoctopus
, 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

Re: [PHP] Retrieving parameters passed from .html...?

2007-04-11 Thread clive
itoctopus wrote: 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 and $_REQUEST to get $_GET, $_POST, and $_COOKIE all in one -- PHP General Mailing List

Re: [PHP] Retrieving parameters passed from .html...?

2007-04-11 Thread Stut
clive wrote: itoctopus wrote: 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 and $_REQUEST to get $_GET, $_POST, and $_COOKIE all in one If you're going to

Re: [PHP] Retrieving parameters passed from .html...?

2007-04-11 Thread tedd
At 2:48 PM +0200 4/11/07, clive wrote: itoctopus wrote: 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 and $_REQUEST to get $_GET, $_POST, and $_COOKIE all in

Re: [PHP] Retrieving parameters passed from .html...?

2007-04-11 Thread Richard Davey
tedd wrote: I wouldn't recommend using $_REQUEST -- it can be problematic in a couple of ways. 1) You don't know where the data came from; 2) One (GET or POST) takes precedence over the other -- I don't remember which at the moment. 2) It depends on your php.ini setting, specifically:

[PHP] Retrieving parameters passed from .html...?

2007-04-10 Thread Anthony J. Maske
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=9 How do you read or get the

RE: [PHP] Retrieving parameters passed from .html...?

2007-04-10 Thread Anthony J. Maske
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

RE: [PHP] Retrieving parameters passed from .html...?

2007-04-10 Thread Robert Cummings
On Tue, 2007-04-10 at 20:38 -0700, Anthony J. Maske wrote: See... the second I sent this I took a sip of red-bull and my brain cleared up... $topicID = $_GET['showtopic']; Almost... ?php $topicID = isset( $_GET['showtopic'] ) ? $_GET['showtopic'] : null; ? Cheers, Rob. --

Re: [PHP] Retrieving parameters passed from .html...?

2007-04-10 Thread Lori Lay
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=9