php file_get_content and &
- by Patrick
Hello all,
I'm trying to use php's file_get_content('a url');
The thing is if the url has '&' in it, for example
file_get_content('http://wwww.google.com/?var1=1&var2=2')
it automatically make a requests to wwww.google.com/?var1=1&var2=2
How do I prevent that from happening?