Ignore:
Timestamp:
Dec 1, 2020, 8:25:00 PM (3 years ago)
Author:
roby
Message:

Segue modifiche per la compatibilità php7.x

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/client/modules/Elezioni/contatti.php

    r72 r344  
    1111    die ("You can't access this file directly...");
    1212}
    13 if (isset($param['sender_name'])) get_magic_quotes_gpc() ? $sender_name=$param['sender_name'] : $sender_name=addslashes($param['sender_name']); else $sender_name="";
    14 if (isset($param['sender_email'])) get_magic_quotes_gpc() ? $sender_email=$param['sender_email'] : $sender_email=addslashes($param['sender_email']); else $sender_email="";
    15 if (isset($param['opi'])) get_magic_quotes_gpc() ? $opi=$param['opi'] : $opi=addslashes($param['opi']); else $opi="";
    16 if (isset($param['message'])) get_magic_quotes_gpc() ? $message=$param['message'] : $message=addslashes($param['message']); else $message="";
     13if (isset($param['sender_name'])) $sender_name=addslashes($param['sender_name']); else $sender_name="";
     14if (isset($param['sender_email'])) $sender_email=addslashes($param['sender_email']); else $sender_email="";
     15if (isset($param['opi'])) $opi=addslashes($param['opi']); else $opi="";
     16if (isset($param['message'])) $message=addslashes($param['message']); else $message="";
    1717
    1818$ip = $_SERVER["REMOTE_ADDR"];
Note: See TracChangeset for help on using the changeset viewer.