Re: passing information via REQUEST
- From: "Mumia W." <mumia.w.18.spam+nospam.usenet@xxxxxxxxxxxxx>
- Date: Tue, 15 Aug 2006 08:15:56 GMT
On 08/14/2006 08:26 PM, weetat.yeo@xxxxxxxxx wrote:
Hi all ,> Anyone have any ideas or suggestions what is happening ?
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');
?>
> Thanks
>
You could put NAME in the url as a parameter, e.g.
location('http//www.mysite.com/forward.php?NAME=PHP');
Or you could use 'curl' to construct a post request.
BTW, HTTP redirections are supposed to be absolute, not relative.
.
- References:
- passing information via REQUEST
- From: weetat . yeo
- passing information via REQUEST
- Prev by Date: Random Design Question
- Next by Date: Re: passing information via REQUEST
- Previous by thread: passing information via REQUEST
- Next by thread: Re: passing information via REQUEST
- Index(es):