Page 1 of 1

php not working

PostPosted: 18. January 2013 20:31
by amankeeroo
hello guys, i have just installed xampp for windows, i went directly to htdocs folder after activating mysql and apache in control panel.
then in htdocs i added a php file which i type
<?php

echo'hello world.';

?>
when i finally tried to view it in firefox and any other browsers , it doesn't work.please help.

Re: php not working

PostPosted: 18. January 2013 20:42
by Altrea
Hi amankeeroo,

amankeeroo wrote:when i finally tried to view it in firefox and any other browsers

How do you try it to view in the browsers?

best wishes,
Altrea

Re: php not working

PostPosted: 18. January 2013 20:49
by amankeeroo
hi altrea , i got the solution from your answer "How do you try it to view in the browsers?"
i should have type http://localhost/series/index.php and not file:///C:/xampp/htdocs/series/index.php.
thanks , i'm really glad to start working with php.have a nice day :)

Re: php not working

PostPosted: 18. January 2013 20:50
by Altrea
You are welcome :D
Have fun with XAMPP and all that stuff 8)

Re: php not working

PostPosted: 19. January 2013 23:32
by sa6oN
Hi,
I have simular problem. When I start Hello World in browser shows blanc page.

Re: php not working

PostPosted: 20. January 2013 00:33
by Altrea
Hi sa6oN,

sa6oN wrote:I have simular problem. When I start Hello World in browser shows blanc page.

What should we do with that information? There isn't even a question in your posting.
A solution for one of the many "php not working" issues is given in this thread here. Already tried that out?

best wishes,
Altrea

P.S.: Is your profile correct? Do you still use XAMPP 1.6.3a?