Riley
06-11-2002, 10:25 AM
I'm writing a CGI program in C and I need to access a file on my website.
Would I access it like this?
fopen("http://www.host.com/dir/dir/file.ext", "a");
or
fopen("http://www.mydomain.com/file.ext", "a");
or how?
cause I can't figure it out...
In an old perl script I had with my old webhost it was the first way...
Would I access it like this?
fopen("http://www.host.com/dir/dir/file.ext", "a");
or
fopen("http://www.mydomain.com/file.ext", "a");
or how?
cause I can't figure it out...
In an old perl script I had with my old webhost it was the first way...