, 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
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
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
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
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:
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
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
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.
--
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
9 matches
Mail list logo