I put a simple script:

<? php
print "Hello world";

here: http://ewh.ieee.org/r1/schenectady/HelloWorld.php

When I go to the page, I don't see "Hello world" displayed. Does that mean PHP is not enabled on the server?



Recommended Answers

All 2 Replies

Don't put space between <? and php it should be <?php
Also add phpinfo(); it will give more info if the php is installed

Wow that is pretty sensitive! I removed the space and it worked correctly - thanks :)

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.