PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
Moderator: General Moderators
aceconcepts
DevNet Resident
Posts: 1424 Joined: Mon Feb 06, 2006 11:26 am
Location: London
Post
by aceconcepts » Fri May 11, 2007 12:55 pm
Hi,
How can I display a pleasant message when a page is not found?
So baically what code do i use within a condition to determine whether a page does not exist or cannot be found?
Thanks.
guitarlvr
Forum Contributor
Posts: 245 Joined: Wed Mar 21, 2007 10:35 pm
Post
by guitarlvr » Fri May 11, 2007 1:02 pm
you can display custom errors with .htaccess if your using apache.
Wayne
aceconcepts
DevNet Resident
Posts: 1424 Joined: Mon Feb 06, 2006 11:26 am
Location: London
Post
by aceconcepts » Fri May 11, 2007 1:08 pm
Thanks for the reply.
Would you happen to know of any examples?
Thanks
aceconcepts
DevNet Resident
Posts: 1424 Joined: Mon Feb 06, 2006 11:26 am
Location: London
Post
by aceconcepts » Fri May 11, 2007 1:25 pm
Thanks Wayne.
guitarlvr
Forum Contributor
Posts: 245 Joined: Wed Mar 21, 2007 10:35 pm
Post
by guitarlvr » Fri May 11, 2007 1:27 pm
no problem. Good luck!