when i execute this file its not showing anything on browser

HTML, CSS and anything else that deals with client side capabilities.

Moderator: General Moderators

Post Reply
Dharmesh
Forum Newbie
Posts: 1
Joined: Wed Feb 17, 2010 11:17 pm

when i execute this file its not showing anything on browser

Post by Dharmesh »

<?php
phpinfo();
print"hello world";
?>
aravona
Forum Contributor
Posts: 347
Joined: Sat Jun 13, 2009 3:59 pm
Location: England

Re: when i execute this file its not showing anything on browser

Post by aravona »

Code: Select all

<?php
phpinfo();
print"hello world";
?>
This should work perfectly, so long as you remember to save your file as a .php file - it will not work as a .html file (just double checked that)

Also using code tags and putting more information in would be useful - just putting what happens in the title is a little, abiguous you didnt say what file type you'd use or anything. If you are using a .php file and its not working you need to say so cos thats a different kettle of fish ^_^
Post Reply