Re: header variable ?

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

 



Hi,

Thursday, November 11, 2004, 8:51:49 AM, you wrote:
JS> What variable "header" use? If I send something in header, what GLOBAL
JS> variable header use?

If you are talking about redirection....
You have to use the GET method then look in $_GET or $_REQUEST

$url = 'http://somewhere.com/test.php?variable=hello';
header("Location: $url");
exit;

//test.php

if(isset($_GET['variable'])) echo 'Variable = '.$_GET['variable'].'<br>';
-- 
regards,
Tom

-- 
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