samedi 18 avril 2015

PHP $_REQUEST server setting

In process of migrating servers.


Old server accepted get/post variables without defining them:


$model_id = $model_id;


New server variable needs to be defined as:


$model_id = $_REQUEST['model_id'];


Am trying to save time without rewriting all the scripts, is there a way around? Thanks.


Aucun commentaire:

Enregistrer un commentaire