witchy478 Posted January 27, 2012 Share Posted January 27, 2012 hi I'm a newbie in php and I came across this if($_SERVER['REQUEST_METHOD'] == 'POST'){ and this $_POST = $this->_params; I know this might be a stupid question but can you please tell me what they are Link to comment https://forums.phpfreaks.com/topic/255869-newbie-question/ Share on other sites More sharing options...
trq Posted January 27, 2012 Share Posted January 27, 2012 The first is checking to see if the request is of type POST. The secong is assigning a value to the variable $_POST. Link to comment https://forums.phpfreaks.com/topic/255869-newbie-question/#findComment-1311625 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.