Boo-urns Posted February 4, 2009 Share Posted February 4, 2009 I've been working locally creating some scripts, when I moved it to a development server the main scripts work. (i.e. if i post on that page) However If I am calling a file with AJAX and bringing info back it's not working. I believe it is something with the $_REQUEST['varname']. The variable passes just fine but isn't getting pulled into a variable on the file I am calling with the request method. If i send the variable straight up as a request back in the json_encode it will show up. Any ideas on what to change? Thanks! -Corey Link to comment https://forums.phpfreaks.com/topic/143847-_request/ Share on other sites More sharing options...
trq Posted February 4, 2009 Share Posted February 4, 2009 Any ideas on what to change? Not without seeing some code. And you probably should post it in the Ajax board. Link to comment https://forums.phpfreaks.com/topic/143847-_request/#findComment-754799 Share on other sites More sharing options...
Boo-urns Posted February 4, 2009 Author Share Posted February 4, 2009 I wasn't sure if it was a php.ini setting or not. The code runs great locally, I didn't change anything then I put it on a development server. If i do: $var = $_REQUEST['var']; That is giving me a 500 error. Maybe that will help? Link to comment https://forums.phpfreaks.com/topic/143847-_request/#findComment-754808 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.