...
Really, for URLs that don't exist you should be showing a 404, This
way the user doesn't falsely believe that the URL is a valid one and
keep using it. By using the ErrorDocument directive like Per
suggested, you can customise it to be distinct helpful, like this:
Richard Heyes wrote:
...
Really, for URLs that don't exist you should be showing a 404, This
way the user doesn't falsely believe that the URL is a valid one and
keep using it. By using the ErrorDocument directive like Per
suggested, you can customise it to be distinct helpful
Apache also
What if the file exists, but it's kinda file to update database, like
// get request $_REQUEST
// execute sql statement to update database
// redirect to the other page, showing results?
in this case 404 approach does not mean to do correctly, so what else is
suggested?
2009/1/22 Per Jessen
What if the file exists, but it's kinda file to update database, like
GET requests shouldn't really modify data.
--
Richard Heyes
HTML5 Graphing for Firefox, Chrome, Opera and Safari:
http://www.rgraph.org (Updated January 17th)
--
PHP General Mailing List (http://www.php.net/)
To
Morris wrote:
What if the file exists, but it's kinda file to update database, like
// get request $_REQUEST
// execute sql statement to update database
// redirect to the other page, showing results?
in this case 404 approach does not mean to do correctly, so what else
is suggested?
I
Richard Heyes schreef:
...
Really, for URLs that don't exist you should be showing a 404, This
way the user doesn't falsely believe that the URL is a valid one and
keep using it.
if the invalid URL (which outputs a 404 header) then automatically redirects
to another URL then I think it's
Hi,
Is there some elegant solution how to redirect if someone try to open
some non existing page (e.g www.domain.com/nonexistingpage.php) to
main page www.domain.com on website?
thnx, Dusan
--
made by Dusan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
On Wed, Jan 21, 2009 at 10:12 AM, Dušan Novaković ndu...@gmail.com wrote:
Hi,
Is there some elegant solution how to redirect if someone try to open
some non existing page (e.g www.domain.com/nonexistingpage.php) to
main page www.domain.com on website?
thnx, Dusan
--
made by Dusan
--
2009/1/21 Kyle Terry k...@kyleterry.com:
On Wed, Jan 21, 2009 at 10:12 AM, Dušan Novaković ndu...@gmail.com wrote:
Hi,
Is there some elegant solution how to redirect if someone try to open
some non existing page (e.g www.domain.com/nonexistingpage.php) to
main page www.domain.com on website?
apache :-)
2009/1/21 Kyle Terry k...@kyleterry.com:
2009/1/21 Kyle Terry k...@kyleterry.com:
On Wed, Jan 21, 2009 at 10:12 AM, Dušan Novaković ndu...@gmail.com wrote:
Hi,
Is there some elegant solution how to redirect if someone try to open
some non existing page (e.g
On Wed, Jan 21, 2009 at 10:40 AM, Dušan Novaković ndu...@gmail.com wrote:
apache :-)
2009/1/21 Kyle Terry k...@kyleterry.com:
2009/1/21 Kyle Terry k...@kyleterry.com:
On Wed, Jan 21, 2009 at 10:12 AM, Dušan Novaković ndu...@gmail.com wrote:
Hi,
Is there some elegant solution how to
Dušan Novaković wrote:
Hi,
Is there some elegant solution how to redirect if someone try to open
some non existing page (e.g www.domain.com/nonexistingpage.php) to
main page www.domain.com on website?
See Apache ErrorDocument directive.
/Per Jessen, Zürich
--
PHP General Mailing List
Per Jessen schreef:
Dušan Novaković wrote:
Hi,
Is there some elegant solution how to redirect if someone try to open
some non existing page (e.g www.domain.com/nonexistingpage.php) to
main page www.domain.com on website?
See Apache ErrorDocument directive.
ai,
ErrorDocument 404
13 matches
Mail list logo