Jump to content

thusi02

New Members
  • Posts

    6
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

thusi02's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Found the problem. The problem was that ServerA that is calling the calendar.cs.sfu.ca page doesn't have https as one off the registered streams for php. Thus it croaks. So using http instead of https works Cheers, Thusjanthan Kubendranathan
  2. Hi Cf, I have allow_url_fopen on for both servers. allow_url_fopen On On. Any other things that I can try? Which machine do you think is the problem: calendar.cs.sfu.ca or serverA? Thusjanthan
  3. Hi, I have ServerA running Solaris. I have a php script that goes out to a page and gets the source code using file_get_contents. However, from this server or any other server it is unable to get the html source code from this server. $source = file_get_contents("https://calendar.cs.sfu.ca"); Does not work for some reason. Can anyone please help. Is this ServerA's problem or is there something on the calendar server that has some issues that is preventing me from getting the source? Is there any other way to get the source code for a page in php? This is the error that I get: Warning: file_get_contents(https://calendar.cs.sfu.ca/month.php?year=2007&month=: failed to open stream: No such file or directory in /PATH/TO/SCRIPT/on/SERVERA on line 17 cheers, Thusjanthan K.
  4. Thank you Soo much WOOOOT!... Thusjanthan Kubendranathan
  5. Hi, I guess the subject says it all. Can someone direct me to a code that will go to another page and retrieve the html source for parsing within a php script? Thank you Regards, Thusjanthan Kubendranathan
  6. Hello All, I have just installed Red Hat ES4 with RH's distribution of apache. Default install and enabled the userdir and the public_html dir. The following is my configuration for httpd.conf: <IfModule mod_userdir.c> # # UserDir is disabled by default since it can confirm the presence # of a username on the system (depending on home directory # permissions). # #UserDir enable all # # To enable requests to /~user/ to serve the user's public_html # directory, remove the "UserDir disable" line above, and uncomment # the following line instead: # UserDir public_html </IfModule> # # Control access to UserDir directories. The following is an example # for a site where these directories are restricted to read-only. # <Directory /home/*/public_html> AllowOverride All Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec ExecCGI </Directory> Why am I getting Permission denied (403 error) when trying to go to http://domain/~user/index.html Any help? Cheers, Thusi http://letstalkcoding.com
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.