say if i have a folder called
myfolder.
this folder is empty. there are no pages in this folder.
but i want to replace the "page not found" error message just for this folder with some php codes.
so, for
http://www.mysite.com/myfolder/scott.php
or
http://www.mysite.com/myfolder/jenny.php
or
http://www.mysite.com/myfolder/bill.php
etc.
instead of the regular "page not found" error, my php codes will replace the "page not found" text, and will grab the name of the page and display
welcome, scott.
or
welcome, jenny.
or
welcome, bill.
this is kind of bad practice if it works. it uses the error control approach for other purposes. but how bad it is?
of course, first,
can i replace the default page not found error message for only one folder with php codes?
thanks.