Welcome visitor
* Login
* Register
It is currently January 21st, 2019, 3:16 am
All times are UTC [ DST ]
* Search
View unanswered posts - View active topics

FORUMS » Client Side » HTML



Post new topic Reply to topic  [ 2 posts ] 
Author Message
  Send error message when file is not found
PostPosted: December 1st, 2009, 9:04 am 

Posts: 22
Hi, i have an input that gets a word from the user to redirect to another file (http://www.scriptingok.com/forum/t5_388-Dynamic-link). But doing this the user can enter any word and it may result in a not found file. How can I send an error when the target file is not on the directory?


Top
 Profile  
 
  Re: Send error message when file is not found
PostPosted: December 1st, 2009, 8:13 pm 

Posts: 117
You will need to use a server side language, like PHP to find the files on the directory. HTH, http://php.net/manual/en/function.readdir.php.

Also this may help you: http://www.scriptingok.com/forum/t5_973-How-to-change-the-404-error-page


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

FORUMS » Client Side » HTML


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron