Jump to content

ProFire

New Members
  • Posts

    5
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

ProFire's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. [!--quoteo(post=328691:date=Dec 19 2005, 10:54 PM:name=deadshot270)--][div class=\'quotetop\']QUOTE(deadshot270 @ Dec 19 2005, 10:54 PM) 328691[/snapback][/div][div class=\'quotemain\'][!--quotec--] php: 5.0.3 web server: Apache 2.0.52 OS: Windows XP Pro SP1 ok i just got a new harddrive for my web stuff, i put it in and transferred all my websites to that drive, then i reinstalled php apche and mysql to that hard drive, i reconfigured apache2 and php, i serve several different domains off this server and now whenever i go to any script on any domain i host i get a blank page with no errors or anything, just a big white blank page, help me please Did you check on the source of the script in your browser? If it's completely blank, then maybe you might want to reconfigure your apache again. If there is like <html></html>, then maybe there is something wrong with the scripts. Could be your php OR apache.
  2. Hi phpfreakos, I have a little problem with my webserver and I"m not sure if it's the problem with the software or my network or my firewall. I suppose my webserver is functioning properly since I can view it at my computer. But when other people try to connect to my computer, they either get GATEWAY_TIMEOUT or PAGE CANNOT DISPLAY. However, some people are able to view my webserver. I did a little testing and realised that those who can connect to my server are within this IP range, 218.186.*.* I'm also in this range. Everybody outside this range cannot connect to my computer to view my webserver at all. Now, I can view web pages properly on other websites, so are my friends. I can chat on MSN, transfer files, use bit torrent, blablabla. The only thing that can't be done is to connect to my computer to get webpages. I'm behind a router which directs port 80 to my computer. I don't think my ISP blocks port 80, I got to contact them already. Does anybody have a clue where my real problem lies with??? My Firewall?? My ISP?? My network configuration?? My Apache??
  3. [!--quoteo(post=328225:date=Dec 18 2005, 08:48 AM:name=Raymondo)--][div class=\'quotetop\']QUOTE(Raymondo @ Dec 18 2005, 08:48 AM) 328225[/snapback][/div][div class=\'quotemain\'][!--quotec--] Hi, I'm an absolute beginner trying to teach myself Apache, PHP and MySql. I have a PC running Windows XP and have set up a local server. The installation went reasonably well though it was rather daunting for a complete beginner. Anyway, I got things working and set off with PHP book in hand. The first few scripts worked without a problem but then came a script that was refused access with the following error message: -------------- Forbidden You don't have permission to access /phpStuff/< on this server. Apache/2.0.55 (Win32) PHP/5.1.1 Server at localhost Port 80 -------------- phpStuff is the directory where I create my scripts and run them. It lives in a directory called D:\MyServer\Apache Group\Apache2\htdocs The script I'm running is: <?php if (!$_POST['submit']) { ?> <form action="<?=$_SERVER['PHP_SELF']?>" method="post"> Enter a number: <input name="number" size="2"> <input type="submit" name="submit" value="Go"> </form> <?php } else { $number =$_POST['number']; if ($number > 0) { echo 'You entered a positive number'; } elseif ($number < 0) { echo 'You entered a negative number'; } else { echo 'You entered zero'; } } ?> When first loaded, the if part is executed no problem. When I submit the form, I get the above message. Any help would be greatly appreciated. Raymondo I'm not very sure where your problem really lies but you can try some of these solutions out. Instead of a POST method, try GET method. Instead of "<?=$_SERVER['PHP_SELF']?>" , try to link to the page name instead of having php decide for you.
  4. Well, I finally found the problem. You did not really give me the solution but hint me on a possible problem. Yeah, you helped a little.
  5. I am unable to display images like asdf.gif whenever I use http://somelink/../asdf.gif Even when I use a html file to view it, I don't see the picture. But when I view the html file directly in my computer C:/picture.html, I can view the picture. When is the configuration that I need to adjust?
×
×
  • 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.