I have a url that has this structure: &url=http://somedomain.com/index.php?page=1&submit=true&job=driver&country=ohio&submit=Search+Jobs When I do $_GET['url'] it gets the part right before the next & and all I get is http://somedomain.com/index.php?page=1 Is there a way to get the full url despite the &'s ?
you need to use url_encode which will change the additional &'s into ascii You are confusing the system with all the & and it doesn't know which are part of the parameter and which are part of the acutal link. FWIW rewrite would avoid that problem and can't you just pass the actual parameters rather than the whole url?