Jump to content
The Uniform Server Community


  • Content Count

  • Joined

  • Last visited

Community Reputation

0 Neutral

1 Follower

About Steve-CC

  • Rank

Previous Fields

  • Main OS
    Windows XP

Contact Methods

  • Website URL
  1. Well - I feel like an idiot but I am no longer getting blank pages so I thought I'd better admit my stupidity to save others time and trouble. When some of my php scripts started working I got suspicious that maybe I was saving them incorrectly as formatted files since I was using Wordpad and Notepad as editors. Sure enough that was the problem.
  2. I've been experimenting and had partial success - Some non blank screens - as follows: This code <?php print "Hello Web!"; ?> gets me a page that says - Hello Web! This code <?php phpinfo(); ?> gets me a page the PHP Info page as expected. This code <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=windows-1252"> <title>Test</title> </head> <body> <? echo "Hello world";?> <?php print "Este servidor fornece suporte ao PHP"; ?> </body> </html> gets me a page that is completely blank. and This code <html> <head> <title>Listing 3.2 A PHP script including HTML</title> </head> <body> <b> <?php print "hello world"; ?> </b> </body> </html> gets me a page that is completely blank I sure hope somebody will be able to help us out with this Thanks Steve
  3. I am a new user and I am having this problem with blank pages as well. I have read all of the above and I have put UniServer into development mode and tried the test code supplied by Ric above (Thanks Ric) both named as test.htm and test.php. I get a blank page with every time. I checked C:\UniformServer\UniServer\usr\local\apache2\logs I have checked both the error.log and access.log but do not show any errors for when I access the test.htm or test.php or any of the other short php files I have created. If I try to access a page in the directory using an incorrect file name I get a 404 error message but if I type the correct file name I get no error message, my browser shows the name fo the file and I get a blank page. I should add. I have been using Uniform Servers for several days and have several Drupal sites installed under it working A-OK. It is just now that I have begun to try to write some of my own PHP that I hit this snag. Drupal sites still work just fine. Any other ideas on how to get php files to display correctly? Thanks, Steve
  • Create New...