You are here: Re: making an alert with php « PHP Programming Language « IT news, forums, messages
Re: making an alert with php

Posted by Geoff Berrow on 05/23/07 23:13

Message-ID: <256ei4-s96.ln1@ophelia.g5n.co.uk> from Toby A Inkster
contained the following:

>> What am I missing? It's javascript that appends the 'sure' variable to
>> the URL and without that delete.php won't do anything.
>
>As I said, when ($_GET['sure']==1) is false, delete.php should display an
>"are you sure?" form. (And although I didn't explicitly state it, I meant
>that that form should not require Javascript.)

But if delete.php is going to handle it like that (and indeed that's how
I'd do it) the Javascript is redundant. It just makes it a little
quicker for people with JS enabled, which is, I'll grant you good use of
JS, but hardly worth the effort in this case IMO.

--
Geoff Berrow (put thecat out to email)
It's only Usenet, no one dies.
My opinions, not the committee's, mine.
Simple RFDs http://www.ckdog.co.uk/rfdmaker/

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация