For Programmers: Free Programming Magazines  


Home > Archive > PHP on Windows > April 2007 > Re: [PHP-WIN] duplicate entry









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: [PHP-WIN] duplicate entry
Jarrett Meyer

2007-04-05, 9:59 pm

Sorry, but to answer the original question, PHP cannot interact with the client in this way. PHP resides with the server. Javascript resides with the client, and even that is, at best, unreliable, since it can be turned off and/or not work the same with a
ll browsers.

You have to look for answers that can be solved from your end without involving the client.

Thank you,
Jarrett Meyer
http://jarrettmeyer.blogspot.com

No trees were harmed during this transmission; however, several electrons were terribly inconvenienced.

----- Original Message ----
From: sam rumaizan <samcalc@yahoo.com>
To: php-windows@lists.php.net
Sent: Thursday, April 5, 2007 7:15:36 PM
Subject: [PHP-WIN] duplicate entry

How do I disable Refresh and Back button. to Prevent duplicate entry






---------------------------------
Don't be flakey. Get Yahoo! Mail for Mobile and
always stay connected to friends.
chandar

2007-04-06, 4:01 am

In javascript you can force the page to redirect to the same one
whenever he goes to someother page using back,this can be done using
javacript.history.back()
functions

Jarrett Meyer wrote:
> Sorry, but to answer the original question, PHP cannot interact with the client in this way. PHP resides with the server. Javascript resides with the client, and even that is, at best, unreliable, since it can be turned off and/or not work the same with

all browsers.
>
> You have to look for answers that can be solved from your end without involving the client.
>
> Thank you,
> Jarrett Meyer
> http://jarrettmeyer.blogspot.com
>
> No trees were harmed during this transmission; however, several electrons were terribly inconvenienced.
>
> ----- Original Message ----
> From: sam rumaizan <samcalc@yahoo.com>
> To: php-windows@lists.php.net
> Sent: Thursday, April 5, 2007 7:15:36 PM
> Subject: [PHP-WIN] duplicate entry
>
> How do I disable Refresh and Back button. to Prevent duplicate entry
>
>
>
>
>
>
> ---------------------------------
> Don't be flakey. Get Yahoo! Mail for Mobile and
> always stay connected to friends.
>
>

bedul

2007-04-08, 9:59 pm

use session on your page..
----- Original Message -----
From: "Jarrett Meyer" <jmtmeyer@yahoo.com>
To: <php-windows@lists.php.net>
Sent: Friday, April 06, 2007 8:12 AM
Subject: Re: [PHP-WIN] duplicate entry


> Sorry, but to answer the original question, PHP cannot interact with the

client in this way. PHP resides with the server. Javascript resides with the
client, and even that is, at best, unreliable, since it can be turned off
and/or not work the same with all browsers.
>
> You have to look for answers that can be solved from your end without

involving the client.
>
> Thank you,
> Jarrett Meyer
> http://jarrettmeyer.blogspot.com
>
> No trees were harmed during this transmission; however, several electrons

were terribly inconvenienced.
>
> ----- Original Message ----
> From: sam rumaizan <samcalc@yahoo.com>
> To: php-windows@lists.php.net
> Sent: Thursday, April 5, 2007 7:15:36 PM
> Subject: [PHP-WIN] duplicate entry
>
> How do I disable Refresh and Back button. to Prevent duplicate entry
>
>
>
>
>
>
> ---------------------------------
> Don't be flakey. Get Yahoo! Mail for Mobile and
> always stay connected to friends.
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>

Alf Stockton

2007-04-09, 3:59 am

[color=darkred]
I used :-
ALTER TABLE table-name ADD CONSTRAINT NoDuplicates UNIQUE
(Date,MemberNumber)

--
Regards,
Alf Stockton www.stockton.co.za

Your love life will be... interesting.
My email disclaimer is available at www.stockton.co.za/disclaimer.html
Alf Stockton

2007-04-09, 3:59 am

Alf Stockton wrote:
>
> I used :-
> ALTER TABLE table-name ADD CONSTRAINT NoDuplicates UNIQUE
> (Date,MemberNumber)
>

Have a read of :-
http://www.thescripts.com/forum/thread156807.html


--
Regards,
Alf Stockton www.stockton.co.za

You should emulate your heros, but don't carry it too far. Especially
if they are dead.
My email disclaimer is available at www.stockton.co.za/disclaimer.html
Adedjohabas19

2007-04-16, 2:31 pm

http://Pamela-Anderson-in-nylons.in...hp?movie=148803
Lalle

2007-04-25, 6:40 am

Amazing New Products launch!

http://allpromed.com
Mcgee

2007-04-28, 5:33 am

http://Katie-Holmes-touching-her-bo...hp?movie=148803
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com