woodywyatt Posted August 13, 2008 Share Posted August 13, 2008 Hi Firstly I should say I have no knowledge of PHP (only ASP / HTML). I have a PHP availability calendar page here http://www.fuerteventura.com/papagayo/availability_kom.php that has been online for many months. However since my hosts upgraded to PHP version 5 I get the following error message: Notice: import_request_variables() [function.import-request-variables]: No prefix specified - possible security hazard in E:\domains\f\fuerteventura.com\user\htdocs\Papagayo\availability_kom.php on line 35 Is there any way to avoid this? The code on line 35 is as follows: <? import_request_variables("gP", ""); $cid = '10'; if (!isset($year)) { $year = date("Y"); }; $nextYear = $year + 1; $prevYear = $year - 1; ?> Link to comment https://forums.phpfreaks.com/topic/119517-php-security-hazard-error-message/ Share on other sites More sharing options...
DarkWater Posted August 13, 2008 Share Posted August 13, 2008 Well, it IS a security hazard. The entire function. It's basically to emulate register_globals. I'd STRONGLY consider getting a newer, more modern calendar. Link to comment https://forums.phpfreaks.com/topic/119517-php-security-hazard-error-message/#findComment-615724 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.