Well the place I'm hosted at is abit povo.. and I was wondering if theres any simple piece of code that I could use to see if it'll work..
Printable View
Well the place I'm hosted at is abit povo.. and I was wondering if theres any simple piece of code that I could use to see if it'll work..
make a file called test.php and put the following in it.
<?php
phpinfo();
?>
if u see lots of details, thats good, otherwise, the server doesn't run PHP
Nope, comes up blank, with the files source being
VB Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META http-equiv=Content-Type content="text/html; charset=windows-1252"></HEAD> <BODY><PRE></PRE></BODY></HTML>
That probably means it's not enabled, unless it requires .php3 or .php4 extensions.
That or the hosting company disabled the php_info() function.
You should try an echo command like so:
(be sure to name your file with a .php extension)PHP Code:<?php
echo "Hello World!"; // what I geeky phrase, :p
?>
LOL, I found a bug in vBulletin ;)
Nope :(
There supposed to be using PHP 4..
Anyways, I asked to be moved to a server were PHP is definately working, or that he get it going on mine. :)