Ask a Question related to PHP Development, Design and Development.
-
Mike Ford #1
RE: [PHP] Re: Value for entire file
> -----Original Message-----
No, $_GET has always been superglobal, it just didn't exist before 4.1.0 -- so for PHP <4.1.0 it's:> From: Bobby Patel [mailto:anup_patel@rogers.com]
> Sent: 18 July 2003 06:11
>
> it should be in the $_GET or $HTTP_GET_VARS array in the
> index.php script.
> put this at the top of your index.php script
>
> var_dump ($_GET); # or $HTTP_GET_VARS depending on PHP version
>
> and see if the value is there. Also, if you are using the value in a
> function and you have PHP < 4.1.0 (I think), GET array is not
> global so to
> get this value you have to declare the array global
function some_function () {
global $HTTP_GET_VARS;
echo $HTTP_GET_VARS['year'];
}
Cheers!
Mike
---------------------------------------------------------------------
Mike Ford, Electronic Information Services Adviser,
Learning Support Services, Learning & Information Services,
JG125, James Graham Building, Leeds Metropolitan University,
Beckett Park, LEEDS, LS6 3QS, United Kingdom
Email: [email]m.ford@lmu.ac.uk[/email]
Tel: +44 113 283 2600 extn 4730 Fax: +44 113 283 3211
Mike Ford Guest
-
How do I convert an entire xls spreadsheet into only 1 pdf file?
How do I convert an entire xls spreadsheet into 1 pdf file. It will only convert one sheet per pdf file. -
extracting an entire node from XML file
i have a file which i have to write in C#. i want to extract an entire node by itself at once ( wherever it occurs in the file .. as ) <?xml... -
Saving entire file
Can someone help me with the following code. It just saves/prints the line in which 'hello' occured. why doesn't it save the entire file i.e why... -
Value for entire file
Hello, I am facing one problem..i am getting one variable value from another file by using href..I need to use that value in the entire file..how... -
[PHP] Value for entire file
On Friday 18 July 2003 12:40, Uma Shankari T. wrote: You should be using correctly formed HTML: <a href="..." xxx="..."> echo $_GET; //...



Reply With Quote

