sweety12 Posted August 5, 2011 Share Posted August 5, 2011 Hi I'm new to php i'm using eclipse with xampp to write php code hwen i run my php program as php script in the eclipse its working fine but when i run my program as web page its throwong me error like this Object not found! The requested URL was not found on this server. If you entered the URL manually please check your spelling and try again. If you think this is a server error, please contact the webmaster. Error 404 localhost 8/5/2011 4:07:48 PM Apache/2.2.17 (Win32) mod_ssl/2.2.17 OpenSSL/0.9.8o PHP/5.3.4 mod_perl/2.0.4 Perl/v5.10.1 Can any1 help me on this Quote Link to comment https://forums.phpfreaks.com/topic/243915-run-php-program-as-web-page/ Share on other sites More sharing options...
trq Posted August 5, 2011 Share Posted August 5, 2011 We are going to need more details. Where are you putting the php script in relation to the servers document root? How are you accessing the file? Via a url? Quote Link to comment https://forums.phpfreaks.com/topic/243915-run-php-program-as-web-page/#findComment-1252468 Share on other sites More sharing options...
sweety12 Posted August 5, 2011 Author Share Posted August 5, 2011 When i run my program its takes path as http://localhost/whileloop/while.php and it will not executing do i need to configuer anything for this. I'm using eclipse and xampp for debugging xdebug. Quote Link to comment https://forums.phpfreaks.com/topic/243915-run-php-program-as-web-page/#findComment-1252484 Share on other sites More sharing options...
trq Posted August 5, 2011 Share Posted August 5, 2011 You only answered one of my questions. Quote Link to comment https://forums.phpfreaks.com/topic/243915-run-php-program-as-web-page/#findComment-1252493 Share on other sites More sharing options...
sweety12 Posted August 5, 2011 Author Share Posted August 5, 2011 why i'm getting this error.. Quote Link to comment https://forums.phpfreaks.com/topic/243915-run-php-program-as-web-page/#findComment-1252505 Share on other sites More sharing options...
JmBd Posted August 19, 2011 Share Posted August 19, 2011 why i'm getting this error.. You have to be more specific with the problems you are having. Where do you have the files for the document root at for your Web Server(as in where are the files being stored for your site)? Quote Link to comment https://forums.phpfreaks.com/topic/243915-run-php-program-as-web-page/#findComment-1259280 Share on other sites More sharing options...
trq Posted August 19, 2011 Share Posted August 19, 2011 I swear theres an echo in here? Quote Link to comment https://forums.phpfreaks.com/topic/243915-run-php-program-as-web-page/#findComment-1259284 Share on other sites More sharing options...
JmBd Posted August 19, 2011 Share Posted August 19, 2011 I swear theres an echo in here? Well, he needs to be repeated to get a response from him. And I remember why I left this site in 2005 because of staff with attitude like you. Quote Link to comment https://forums.phpfreaks.com/topic/243915-run-php-program-as-web-page/#findComment-1259338 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.