Jump to content

$_GET problem in PHP5


mcmuney

Recommended Posts

Hmm.. was $sci_id set before you used it in that line?  If it was not set anywhere, then you had register_globals on in php4, but off in php5.  You can fix that by switching it on in php.ini, or by using $_GET['sci_id'] instead of $sci_id, giving you

 

$sci_id = $_GET['sci_id'];
$mail->mailParam["sci_id"]=$_GET[$sci_id];

Link to comment
https://forums.phpfreaks.com/topic/47672-_get-problem-in-php5/#findComment-232841
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.