Page 1 of 1

Running php code

Posted: Sun Jun 29, 2014 8:26 am
by Rubel Rana
Hello every one,
Im new in php,im facing a problem.I am using xampp. I am trying to run my php code,which is in xampp->htdocs folder.But when i try to open my php file with mozila firefox,the browser starts to opening tabs serially,it doesnt stop and my code doesnt work.How can i get out of this? I know this is the system,but why my code behaving like this? Please help me .

Thanks in advance.

Re: Running php code

Posted: Sun Jun 29, 2014 8:33 am
by Celauran
That sounds exceedingly odd. Hard to guess at anything without seeing the code, mind you.

Re: Running php code

Posted: Sun Jun 29, 2014 10:15 am
by Rubel Rana

Code: Select all

<html>
	<head>
	
	<title>Rana's website</title>
	
	</head>
	
	<body>
		<?php
		echo "Hellow Rana";
		?>
	</body>
	
</html>


Re: Running php code

Posted: Sun Jun 29, 2014 10:33 am
by Celauran
Rubel Rana wrote:But when i try to open my php file with mozila firefox,the browser starts to opening tabs serially,it doesnt stop
This behaviour is definitely not caused by the code you posted above.
But when i try to open my php file with mozila firefox
How are you doing this? Pointing your browser to http://localhost/filename.php? Do things work as expected when you just visit localhost?