Jump to content
View in the app

A better way to browse. Learn more.

The Uniform Server Community

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Steve-CC

Member
  • Joined

  • Last visited

  1. Steve-CC replied to poirot's topic in PHP
    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. Steve-CC replied to poirot's topic in PHP
    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. Steve-CC replied to poirot's topic in PHP
    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

Account

Navigation

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.