Re: passing information via REQUEST
- From: m2m tech <tech@xxxxxx>
- Date: Tue, 15 Aug 2006 10:25:06 +0200
$_REQUEST holds all variables of the $_POST, $_GET, $_COOKIE arrays ...
If you send variables to your php script via post, get, or cookies, they will be stored in this array ... You can't send variables to other scripts this way.
location() ... does not exist, does it?
if you just want to open another script you could include() it this way the second script can use the global vars of the first one ...
or you can create curl requests (safer, but a little bit more complicated)
weetat.yeo@xxxxxxxxx wrote:
Hi all ,
I have question regarding PHP . In Java , we can pass information
via REQUEST HTTP using
request.setAttributte() function .
However in PHP , i have tried using $_REQUEST['object'] , the
information is not pass, below is example code:
<?php
$_REQUEST['NAME'] = PHP;
location('../forward.php');
?>
Anyone have any ideas or suggestions what is happening ?
Thanks
--
--------------------------------------------
m2m server software gmbh - http://www.m2m.at
.
- References:
- passing information via REQUEST
- From: weetat . yeo
- passing information via REQUEST
- Prev by Date: Re: passing information via REQUEST
- Next by Date: HELP - hiding basic http authentication
- Previous by thread: Re: passing information via REQUEST
- Next by thread: Random Design Question
- Index(es):