naviska Posted September 19, 2009 Share Posted September 19, 2009 Hi, Hope someone can help me out, I've done lot of php, and now ???? apache2 on ububtu with php5 and can not get $_GET to work. or some how... line is if (isset($_GET['imgdata']) && isset($_GET['op']) && ($_GET['op'] == 'view')).... From the form generated by php I can send and read data ok, but then there is also redirect (refresh) to same page if data is ok and then page loads google map, any way... <img src="?op=view&imgdata={$imgdata} doesn't go. On log, I see /GET and all data ok but can not get it. globals are on i've done this with earlier..... but now, I don't understand. rgds, K Quote Link to comment Share on other sites More sharing options...
ozestretch Posted September 19, 2009 Share Posted September 19, 2009 I would stick to: <img src="?op=view&imgdata=".$_GET['imgdata']." Quote Link to comment Share on other sites More sharing options...
.josh Posted September 20, 2009 Share Posted September 20, 2009 is it printing nothing? maybe your actual var name (improper use of quotes)? And anyways, is there any reason you have register globals on and are trying to use them? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.