View Single Post
Old 02-04-2007, 01:08 AM  
alex79
Confirmed User
 
Join Date: Jun 2002
Location: france
Posts: 996
PHP problem with include and $_GET

I want make include of a file with variables like:

include("/path/to/file.php?id=xxx");
in file.php i get the id variable with $id=@$_GET["xxx"];

the problem is that variable are not passed.. for $_GET i get a null value..

what can i do to pass the variable id to file.php through include function?
__________________
alex79 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote