Jump to content

$cgi as $_POST


McBryver

Recommended Posts

Is there a better way of doing this?

 

I am getting an Error from this:

foreach($HTTP_POST_VARS as $key => $value ){
$cgi[$key]=$value;
}
foreach($HTTP_GET_VARS as $key => $value ){
$cgi[$key]=$value;
}

 

I am getting this error from it:

 

Warning: Invalid argument supplied for foreach() in C:\xampp\htdocs\script\system.php on line 8

Warning: Invalid argument supplied for foreach() in C:\xampp\htdocs\script\system.php on line 11

 

Any Help Would be Great Thanx,

Bryver.

Link to comment
https://forums.phpfreaks.com/topic/202214-cgi-as-_post/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.