Jump to content

PHP 'security hazard ' error message


woodywyatt

Recommended Posts

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

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.