|
dear i have installed vertrigo on my PC & used the simple code of php like
<html>
<body>
<?php
echo "hello";
?>
</body>
</html>
& saved this page in .php file from notepad++
but when i opened this page it didn't show hello in the browser.
I have just started to learn php. So pls tell me wht's i'm doing wrong .
Hey dear what's the way to see how's the page look of php extension before hosting?
I haven't touched VertigoServ (I'm a WAMP fan myself) and I haven't used PHP in awhile but the code looks fine.
The only things I can think of is the PHP plugin on your Server isn't active or you're not loading the PHP from your server.
PHP is a server-side language, that being said you can't just open it up in a browser using File>Open and have it execute the PHP code.
Instead, the PHP code needs to go through your server's PHP plugin which read the code and generates the actual page accordingly. So you need to 'host' it before it'll do what you want it to.
Hey dear what's the way to see how's the page look of php extension before hosting?
php needs to be running on your server. you should be launching the .php through your localhost
|