Re: fopen("http://www.google.com","r") not working on Linux



Have you tried it without the trailing slash? Ex:
http://www.google.com
instead of
http://www.google.com/
On some older versions of PHP it's picky about this. I was thinking it
gave an error when the slash wasn't there, but maybe it's the other way
around.

.



Relevant Pages

  • silly apache/liux config problem- htaccess side effect
    ... port 80 to the linux box inside. ... Within apache html tree I've got a directory with .htaccess file set up. ... When I access the the page from Netscape on the PC things are ... addessed with no trailing slash and using Netscape. ...
    (comp.os.linux.setup)
  • Re: Using local php.ini files
    ... Also, I forgot to put quotes around; ... Note that this path is not taken from the server root, ... Thanks again, but I already tried several formats (quotes, no quotes, trailing slash, no trailing slash, ...). ... I think something is not allowing me to set that (or Php was compiled to ignore it?). ...
    (comp.lang.php)
  • Re: problem setting permisions
    ... I'm not sure if this is a linux, apache or PHP problem but I'm using PHP ... I've tried removing the trailing slash to no effect. ...
    (comp.lang.php)
  • Re: Resource finden geht nicht?
    ... Responding to Jochen Theodorou: ... Trailing slash anfuegen. ... Damit geht's zumindest unter Linux und per Reflection - s.u. ...
    (de.comp.lang.java)