sonalee Posted May 21, 2011 Share Posted May 21, 2011 hello frnz... m using easyphp 5.3.6.0 for d 1st time i have written code for "hello world" bt now how to use it? i clicking on local web & selecting the file bt as a result its showing the code & not the output plz dnt tell me to switch to xamp or wamp i want to try with this please help me thanx Quote Link to comment https://forums.phpfreaks.com/topic/237030-please-help-me/ Share on other sites More sharing options...
ignace Posted May 21, 2011 Share Posted May 21, 2011 Change <? to <?php in your code. Quote Link to comment https://forums.phpfreaks.com/topic/237030-please-help-me/#findComment-1218330 Share on other sites More sharing options...
sonalee Posted May 21, 2011 Author Share Posted May 21, 2011 well this is my code : <?php echo "hello world"; ?> n am getting this code when i m opening local web to see the o/p plz help me out how to c d o/p or the code will b displayed in local web as m new i dont knw Quote Link to comment https://forums.phpfreaks.com/topic/237030-please-help-me/#findComment-1218331 Share on other sites More sharing options...
ignace Posted May 21, 2011 Share Posted May 21, 2011 What is it that you see when you open EasyPHP? hello.php.txt? Quote Link to comment https://forums.phpfreaks.com/topic/237030-please-help-me/#findComment-1218332 Share on other sites More sharing options...
sonalee Posted May 21, 2011 Author Share Posted May 21, 2011 i see the following code as an o/p when i do right click on easyphp->localweb>hello.php <?php echo "hello world"; ?> Quote Link to comment https://forums.phpfreaks.com/topic/237030-please-help-me/#findComment-1218333 Share on other sites More sharing options...
ignace Posted May 21, 2011 Share Posted May 21, 2011 don't right click it, left click it! Quote Link to comment https://forums.phpfreaks.com/topic/237030-please-help-me/#findComment-1218336 Share on other sites More sharing options...
sonalee Posted May 21, 2011 Author Share Posted May 21, 2011 i think any how we hav to open local web so no point in dat Quote Link to comment https://forums.phpfreaks.com/topic/237030-please-help-me/#findComment-1218337 Share on other sites More sharing options...
ignace Posted May 21, 2011 Share Posted May 21, 2011 Point your browser to 127.0.0.1:8888 and LEFT click hello.php Quote Link to comment https://forums.phpfreaks.com/topic/237030-please-help-me/#findComment-1218339 Share on other sites More sharing options...
sonalee Posted May 21, 2011 Author Share Posted May 21, 2011 didnt get u Quote Link to comment https://forums.phpfreaks.com/topic/237030-please-help-me/#findComment-1218340 Share on other sites More sharing options...
trq Posted May 21, 2011 Share Posted May 21, 2011 didnt get u How hard is it? Quote Link to comment https://forums.phpfreaks.com/topic/237030-please-help-me/#findComment-1218345 Share on other sites More sharing options...
sonalee Posted May 21, 2011 Author Share Posted May 21, 2011 is der anybody who can help me!!!!!!!!!!!!!!!!!!!!!!! Quote Link to comment https://forums.phpfreaks.com/topic/237030-please-help-me/#findComment-1218346 Share on other sites More sharing options...
dragon_sa Posted May 21, 2011 Share Posted May 21, 2011 Is the apache service actually running? I have not used easyphp for a long time but from what I remember you had to start the service, right click on the easy php icont in the taskbar goto administration and make sure apache is started and mysql too if you plan to use that. Quote Link to comment https://forums.phpfreaks.com/topic/237030-please-help-me/#findComment-1218347 Share on other sites More sharing options...
spiderwell Posted May 21, 2011 Share Posted May 21, 2011 i think they are trying find out how you view the file in the browser. whats the url in the address bar? Quote Link to comment https://forums.phpfreaks.com/topic/237030-please-help-me/#findComment-1218350 Share on other sites More sharing options...
sonalee Posted May 21, 2011 Author Share Posted May 21, 2011 dis is d url- http://127.0.0.1:8888/test/hello.php.txt Quote Link to comment https://forums.phpfreaks.com/topic/237030-please-help-me/#findComment-1218353 Share on other sites More sharing options...
ignace Posted May 21, 2011 Share Posted May 21, 2011 What is it that you see when you open EasyPHP? hello.php.txt? I asked you if the file was named hello.php.txt !!!!!!!!! http://windows.microsoft.com/en-US/windows-vista/Show-or-hide-file-name-extensions and then change the name to hello.php Quote Link to comment https://forums.phpfreaks.com/topic/237030-please-help-me/#findComment-1218354 Share on other sites More sharing options...
sonalee Posted May 21, 2011 Author Share Posted May 21, 2011 hey thank u all so much specially ignace its done problem was wid extension only Quote Link to comment https://forums.phpfreaks.com/topic/237030-please-help-me/#findComment-1218356 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.