RE: [PHP] Page not found problem
Is it doing this for all php based files? Have you tried a php file that only has basic commands? Something like this: -Original Message- only display "No input file specified." message. This message is intended for the sole use of the individual and entity to whom it is addressed, and may contain information that is privileged, confidential and exempt from disclosure under applicable law. If you are not the intended addressee, nor authorized to receive for the intended addressee, you are hereby notified that you may not use, copy, disclose or distribute to anyone the message or any information contained in the message. If you have received this message in error, please immediately advise the sender by reply email and delete the message. Thank you very much. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Page not found problem
Chris, Thank you for the response. I think this is the php setting. If the user enter a page name 12345.pdf and there is no such page, the browse will show the page cannot be found and the HTTP 404 error. But if user enter 12345.php3 or 12345.html(IIS mapping these two kind of files to php.exe), the HTTP 404 error won't show up, only display "No input file specified." message. Chris Hewitt wrote: > Chen, > > If the webserver cannot file a file then this is a webserver problem not > php. You need to look at your IIS configuration/documentation. Sorry I > can't help further, but I don't use IIS. > > HTH > Chris > > Chen wrote: > > >I use php3 with IIS 5.0. When user typed a no existing .html or php3 > >page, they will get a "No input file specified." page. How can I point > >this to a HTTP Error 400 page? Anything can be set up in the php.ini > >file or in IIS configuration? > > > >Thanks for any help!! > > > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Page not found problem
Chen, If the webserver cannot file a file then this is a webserver problem not php. You need to look at your IIS configuration/documentation. Sorry I can't help further, but I don't use IIS. HTH Chris Chen wrote: >I use php3 with IIS 5.0. When user typed a no existing .html or php3 >page, they will get a "No input file specified." page. How can I point >this to a HTTP Error 400 page? Anything can be set up in the php.ini >file or in IIS configuration? > >Thanks for any help!! > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php