The14thGOD Posted November 20, 2009 Share Posted November 20, 2009 I've always been curious. Whenever I run across tutorials on the web or forums I usually see people explaining forms and their variables using $_POST. Is there any difference (mainly benefits) from using $_POST['whatever'] vs using <?php import_request_variables('p'); $whatever; ?> Thanks in advance, Justin Link to comment https://forums.phpfreaks.com/topic/182314-_postwhatever-vs-whatever/ Share on other sites More sharing options...
mikesta707 Posted November 20, 2009 Share Posted November 20, 2009 not really, besides the overhead in the latter example of calling a function. You could similarly use extract() for the same kind of effect. When register_globals was turned on this happened automatically Link to comment https://forums.phpfreaks.com/topic/182314-_postwhatever-vs-whatever/#findComment-962065 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.