Re: [PHP] Refresh (F5) adds another SQL record.

2008-12-08 Thread Bhupendra Patel
If the user hits the back button and then the forward, it sometimes resubmits the form. This is why i initiated the session and ended it at the end of the data processing page. If they happen to press forward, or back, it will still not initiate the form unless they have actually visitied and

Re: [PHP] Refresh (F5) adds another SQL record.

2008-12-07 Thread Bhupendra Patel
I've found a way that works for me. Using the START SESSION on the initial form, e.g. ?php session_start(); // store session data $_SESSION['form'] = 1; ? and the using the code below in the processing form. You can do a check if the user has already submitted the from by the initial

Re: [PHP] Refresh (F5) adds another SQL record.

2008-12-07 Thread Ashley Sheridan
On Sun, 2008-12-07 at 16:44 +, Bhupendra Patel wrote: I've found a way that works for me. Using the START SESSION on the initial form, e.g. ?php session_start(); // store session data $_SESSION['form'] = 1; ? and the using the code below in the processing form. You can do a

[PHP] Cron php refresh

2008-04-20 Thread Jeffrey
I'm working on an application that includes e-mail notifications of certain events. Because the application will have hundreds or thousands of users, I've designed it so that e-mail notifications are saved to a MySQL table. Then a regular cron job runs a php page to select the data from the

Re: [PHP] Cron php refresh

2008-04-20 Thread Per Jessen
Jeffrey wrote: I'm working on an application that includes e-mail notifications of certain events. Because the application will have hundreds or thousands of users, I've designed it so that e-mail notifications are saved to a MySQL table. Then a regular cron job runs a php page to select the

Re: [PHP] Cron php refresh

2008-04-20 Thread Børge Holen
On Sunday 20 April 2008 11:27:38 Jeffrey wrote: I'm working on an application that includes e-mail notifications of certain events. Because the application will have hundreds or thousands of users, I've designed it so that e-mail notifications are saved to a MySQL table. Then a regular cron

Re: [PHP] Cron php refresh

2008-04-20 Thread Jeffrey
Per Jessen wrote: Jeffrey wrote: I'm working on an application that includes e-mail notifications of certain events. Because the application will have hundreds or thousands of users, I've designed it so that e-mail notifications are saved to a MySQL table. Then a regular cron job runs a php

Re: [PHP] Cron php refresh

2008-04-20 Thread Per Jessen
Jeffrey wrote: Per Jessen wrote: Jeffrey wrote: I'm working on an application that includes e-mail notifications of certain events. Because the application will have hundreds or thousands of users, I've designed it so that e-mail notifications are saved to a MySQL table. Then a regular

Re: [PHP] Cron php refresh

2008-04-20 Thread Per Jessen
Børge Holen wrote: Is the MTA operational on the server? if so, forget mailing with php and rather use php to access the mta. Yeah, that is what mail() does - it calls sendmail. /Per Jessen, Zürich -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] Cron php refresh

2008-04-20 Thread Larry Garfield
On Sunday 20 April 2008, Jeffrey wrote: I'm working on an application that includes e-mail notifications of certain events. Because the application will have hundreds or thousands of users, I've designed it so that e-mail notifications are saved to a MySQL table. Then a regular cron job runs a

Re: [PHP] Cron php refresh

2008-04-20 Thread Jason Norwood-Young
On Sun, 2008-04-20 at 13:32 -0500, Larry Garfield wrote: On Sunday 20 April 2008, Jeffrey wrote: I'm working on an application that includes e-mail notifications of certain events. Because the application will have hundreds or thousands of users, I've designed it so that e-mail

Re: [PHP] Cron php refresh

2008-04-20 Thread Børge Holen
On Sunday 20 April 2008 13:37:04 Per Jessen wrote: Børge Holen wrote: Is the MTA operational on the server? if so, forget mailing with php and rather use php to access the mta. Yeah, that is what mail() does - it calls sendmail. /Per Jessen, Zürich What the point of 50 mails now and

[PHP] refresh PHP page via onclick event

2006-04-15 Thread Alain Roger
Hi, Sorry to look like stupid for some of you, but i'm still not able to link to link (a /a) or to a button via onclick event) the refresh of my page. i've check META tag and also $PHP_SELF variable, but it does not work. here is what i would like to do. i have 1 PHP page on which i have 3

Re: [PHP] refresh PHP page via onclick event

2006-04-15 Thread chris smith
On 4/15/06, Alain Roger [EMAIL PROTECTED] wrote: Hi, Sorry to look like stupid for some of you, but i'm still not able to link to link (a /a) or to a button via onclick event) the refresh of my page. i've check META tag and also $PHP_SELF variable, but it does not work. What happens when

Re: [PHP] refresh PHP page via onclick event

2006-04-15 Thread Alain Roger
but i do not want to add some variable at the end of link... when user click on the flag, it should first store language into a $_SESSION variable and after redirect/refresh page. On 4/15/06, chris smith [EMAIL PROTECTED] wrote: On 4/15/06, Alain Roger [EMAIL PROTECTED] wrote: Hi, Sorry

Re: [PHP] refresh PHP page via onclick event

2006-04-15 Thread Richard Davey
On 15 Apr 2006, at 12:51, Alain Roger wrote: but i do not want to add some variable at the end of link... when user click on the flag, it should first store language into a $_SESSION variable and after redirect/refresh page. Not possible. Web pages don't work like that. You need the flags

Re: [PHP] refresh PHP page via onclick event

2006-04-15 Thread afan
Or, use form and images as button and you will not get variables at the end of the link: form method=post action=?= $_SERVER['PHP_SELF'] ? input type=images src=engFlag.jpg name=lang value=en input type=images src=fraFlag.jpg name=lang value=fr /form and on the top of the page (php file)

Re: [PHP] refresh PHP page via onclick event

2006-04-15 Thread tedd
At 1:40 PM +0200 4/15/06, Alain Roger wrote: Hi, Sorry to look like stupid for some of you, but i'm still not able to link to link (a /a) or to a button via onclick event) the refresh of my page. i've check META tag and also $PHP_SELF variable, but it does not work. here is what i would like

[PHP] Refresh

2005-07-14 Thread Miguel Guirao
Hello people, I need to have a web page (PHP) that displays a status about electric facilities, this status is read from a database (MySQL), the thing is that these status may change from time to time in the DB so I need to re read the DB and display the according status on the web page. So,

Re: [PHP] Refresh

2005-07-14 Thread david forums
well I see two way. First is to make a php script without end, which will run continuously. second way is to add refresh html tag, in your page, or a js script to reload automaticaly. I'm not seeing other solution in php. regards Le Thu, 14 Jul 2005 02:27:47 +0200, Miguel Guirao [EMAIL

Re: [PHP] Refresh

2005-07-14 Thread Mark Rees
david forums [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] well I see two way. First is to make a php script without end, which will run continuously. I don't recommend this way at all. Why take up all that energy second way is to add refresh html tag, in your page, or a js

Re: [PHP] Refresh

2005-07-14 Thread Matt Darby
Put this between the page's head tags: meta http-equiv=REFRESH content=1;url=http://somesite_to_refresh_to; The 1 in the above line controls the time to refresh; the higher the number, the longer to refresh. Matt Darby Miguel Guirao wrote: Hello people, I need to have a web page (PHP)

Re: [PHP] Refresh (F5) adds another SQL record.

2005-05-19 Thread Satyam
Marek Kilimajer [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Robert Meyer wrote: Hello, Scenario: 1) User is presented a blank form. 2) User fills in form. 3) User submits form. 4) Record is added to database. 5) Back to 1). Go really back to 1) - use redirect. After the

Re: [PHP] Refresh (F5) adds another SQL record.

2005-05-19 Thread Satyam
Aren't we oversimplifying the issue assuming that the records inserted cannot have everything duplicated but the autoincrement field? If you are taking an order and the customer says 'hey, add another of this', with the code below the system will reject it because it assumes that it is a

Re: [PHP] Refresh (F5) adds another SQL record.

2005-05-19 Thread Satyam
I did something pretty similar to this but not with an MD5 hash. I used a table which had just two fields, one autoincrement and another one a boolean. When doing a form, I added one record to this table and the ID I got from it is the one I sent in the form, the other field served to

Re: [PHP] Refresh (F5) adds another SQL record.

2005-05-18 Thread Richard Lynch
On Tue, May 17, 2005 2:24 pm, Robert Meyer said: Hello, Scenario: 1) User is presented a blank form. with an MD5 hash which is stored in the database as fresh 2) User fills in form. 3) User submits form. 4) Record is added to database. That particular MD5 has is marked as used 5) Back

Re: [PHP] Refresh (F5) adds another SQL record.

2005-05-18 Thread Mukasa Assey Alfred
Force a reload of the document after step (4), you may use javascript to reload this document, ie... After step (4) add this line... print scriptdocument.location.href='your-document-url';/script; Assey. On Tue, 17 May 2005, Robert Meyer wrote: Hello, Scenario: 1) User is presented a blank

Re: [PHP] Refresh (F5) adds another SQL record.

2005-05-18 Thread Mukasa Assey Alfred
On Tue, 17 May 2005, Robert Meyer wrote: As a last resort, I may have to do that, but that is by no means the preferred method. I want to keep database access to a minimum. I thought by this time this problem would have had a standard solution. It would be nice if PHP had a function like

Re: [PHP] Refresh (F5) adds another SQL record.

2005-05-18 Thread M. Sokolewicz
Next time, Mukasa, try reading... Robert clearly states that he'd like a PHP function which TELLS him if the page has been refreshed or not (thus, resent). There are headers sent out that indicate this, and thus a function like refreshed() would be a shortcut to getting to know if it has. He

Re: [PHP] Refresh (F5) adds another SQL record.

2005-05-18 Thread Marek Kilimajer
Robert Meyer wrote: Marek Kilimajer [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Robert Meyer wrote: Hello, Scenario: 1) User is presented a blank form. 2) User fills in form. 3) User submits form. 4) Record is added to database. 5) Back to 1). Go really back to 1) - use redirect.

Re: [PHP] Refresh (F5) adds another SQL record.

2005-05-18 Thread Mukasa Assey Alfred
Sorry for that., i miss read that.. sorry, thought he wanted a php function to refresh the browser. Assey. On Wed, 18 May 2005, M. Sokolewicz wrote: Next time, Mukasa, try reading... Robert clearly states that he'd like a PHP function which TELLS him if the page has been refreshed or not

[PHP] Refresh (F5) adds another SQL record.

2005-05-17 Thread Robert Meyer
Hello, Scenario: 1) User is presented a blank form. 2) User fills in form. 3) User submits form. 4) Record is added to database. 5) Back to 1). All is fine to here. 6) User clicks refresh. 7) Another record is added, same data except auto-increment field. How do I prevent these last two steps, or

RE: [PHP] Refresh (F5) adds another SQL record.

2005-05-17 Thread Jay Blanchard
[snip] 6) User clicks refresh. 7) Another record is added, same data except auto-increment field. How do I prevent these last two steps, or at least prevent a record from being added when refresh is clicked? [/snip] Test for the existence (SELECT statement with the variables therein) of the

Re: [PHP] Refresh (F5) adds another SQL record.

2005-05-17 Thread Marek Kilimajer
Robert Meyer wrote: Hello, Scenario: 1) User is presented a blank form. 2) User fills in form. 3) User submits form. 4) Record is added to database. 5) Back to 1). Go really back to 1) - use redirect. After the record is added to the database, use something like: header('Location:

Re: [PHP] Refresh (F5) adds another SQL record.

2005-05-17 Thread Marcus Joyce
Why dont you check that data isnt being duplicated? $query = SELECT auto_col FROM table where col1 = $var1 col2 = $var 3.; $call_query = mysql_query($query,... $query_data = mysql_assoc($call_query); if(!$query_data) { do form } else echo information already exists in database;

Re: [PHP] Refresh (F5) adds another SQL record.

2005-05-17 Thread Robert Meyer
Marek Kilimajer [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Robert Meyer wrote: Hello, Scenario: 1) User is presented a blank form. 2) User fills in form. 3) User submits form. 4) Record is added to database. 5) Back to 1). Go really back to 1) - use redirect. After the

Re: [PHP] Refresh (F5) adds another SQL record.

2005-05-17 Thread Robert Meyer
As a last resort, I may have to do that, but that is by no means the preferred method. I want to keep database access to a minimum. I thought by this time this problem would have had a standard solution. It would be nice if PHP had a function like refreshed() so one could do ... if

[PHP] Refresh Problem

2005-02-10 Thread Jose Angel Sanchez \(Jone\)
Hi First of all: I'm sorry for writing errors - I don't speak English too much (spanish) I'm building an application which works that way: I use url parameters to set zone (document location), actions and params. I've badly make security part so only registered people ($_session['USER'] -

AW: [PHP] Refresh Problem

2005-02-10 Thread Mirco Blitz
-general@lists.php.net Betreff: [PHP] Refresh Problem Hi First of all: I'm sorry for writing errors - I don't speak English too much (spanish) I'm building an application which works that way: I use url parameters to set zone (document location), actions and params. I've badly make security part so

[PHP] refresh page automaticly on PHP

2004-09-30 Thread welly limston
how to make my page refresh automaticly? Can i use PHP function? what is it? - Do you Yahoo!? vote.yahoo.com - Register online to vote today!

RE: [PHP] refresh page automaticly on PHP

2004-09-30 Thread Jay Blanchard
[snip] how to make my page refresh automaticly? Can i use PHP function? what is it? [/snip] You cannot do it with PHP, you use a meta refresh tag (http://www.w3.org) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] refresh page automaticly on PHP

2004-09-30 Thread Marek Kilimajer
Jay Blanchard wrote: [snip] how to make my page refresh automaticly? Can i use PHP function? what is it? [/snip] You cannot do it with PHP, you use a meta refresh tag (http://www.w3.org) Or header refresh -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] refresh page automaticly on PHP

2004-09-30 Thread Gareth Williams
Try header(); On 30 Sep 2004, at 14:09, welly limston wrote: how to make my page refresh automaticly? Can i use PHP function? what is it? - Do you Yahoo!? vote.yahoo.com - Register online to vote today! -- PHP General Mailing List

Re: [PHP] refresh page automaticly on PHP

2004-09-30 Thread Brian
As the others said, this isn't a function of php, php is a server-side script and a refresh is on the client side. A meta-refresh tag is fine depending on how reliable you want your refresh to be as it'll stop working after a day or so. If you need it to refresh forever you'll need to use

Re: [PHP] refresh page automaticly on PHP

2004-09-30 Thread Chris Shiflett
--- welly limston [EMAIL PROTECTED] wrote: how to make my page refresh automaticly? You can use a Refresh header: Refresh: 3; url=http://example.org/ Can i use PHP function? http://www.php.net/header Hope that helps. Chris = Chris Shiflett - http://shiflett.org/ PHP Security -

Re: [PHP] refresh page automaticly on PHP

2004-09-30 Thread M Saleh EG
or u can use this method from JS You could refresh the page in various ways 1- make a rerequest to the server to give u the same page again: using the PHP Header function. 2-using the html Header refresh tag 3-Java Script to reload the document Since the 1st and 2nd methods are discussed in

[PHP] Refresh page with frames...

2004-09-15 Thread Andre
Hello How can I refresh a page with frames, I use the code below but don't it doesn't work Can I refresh a page with frames with this code? echoMETA HTTP-EQUIV=javascript:top.Refresh CONTENT='0;URL=http://localhost'; Thank's

Re: [PHP] Refresh page with frames...

2004-09-15 Thread John Holmes
From: Andre [EMAIL PROTECTED] How can I refresh a page with frames, I use the code below but don't it doesn't work Right click - Refresh Frame ---John Holmes... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Refresh page with frames...

2004-09-15 Thread John Nichel
Andre wrote: Hello How can I refresh a page with frames, I use the code below but don't it doesn't work You can't with PHP. But I'm betting that if you Google, you'll find some info on JavaScript. -- John C. Nichel ÜberGeek KegWorks.com 716.856.9675 [EMAIL PROTECTED] -- PHP General Mailing List

Re: [PHP] Refresh page with frames...

2004-09-15 Thread Jasper Howard
script language=Javascript !-- location.refresh(true); //OR parent.document.location='LOCATION HERE'; //-- /script -- -- Jasper Howard :: Database Administration ApexEleven Web Design 1.530.559.0107 http://www.ApexEleven.com/

FW: [PHP] Refresh page with frames...

2004-09-15 Thread Andre
://localhost/; tar' -Original Message- From: Jasper Howard [mailto:[EMAIL PROTECTED] Sent: quarta-feira, 15 de Setembro de 2004 18:27 To: [EMAIL PROTECTED] Subject: Re: [PHP] Refresh page with frames... script language=Javascript !-- location.refresh(true); //OR parent.document.location

Re: FW: [PHP] Refresh page with frames...

2004-09-15 Thread John Nichel
Andre wrote: This list is for PHP, not a JavaScript. -- John C. Nichel ÜberGeek KegWorks.com 716.856.9675 [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Refresh page with frames...

2004-09-15 Thread Jasper Howard
HTTP-EQUIV=Refresh CONTENT='0;URL=http://localhost/; tar' -Original Message- From: Jasper Howard [mailto:[EMAIL PROTECTED] Sent: quarta-feira, 15 de Setembro de 2004 18:27 To: [EMAIL PROTECTED] Subject: Re: [PHP] Refresh page with frames... script language=Javascript !-- location.refresh

[PHP] refresh withou erasing

2004-09-06 Thread devil_online
Hi want to put information on a page without erasing the previous on(like for every 5 minutes), and I think I must do an arrays and a foreach loop...how can I do that? thanks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Refresh a frame?

2004-06-09 Thread Robert Sossomon
I am in need of a way to reload a page within a frame as the other frames are used to modify the information. I have a 3-frame site now that I am using 1 frame as a list, another frame to add the information, and the 3rd frame to show the results of the 2nd frame. I know how to do the location:

Re: [PHP] Refresh Page

2004-06-06 Thread Chris Shiflett
--- Mike Mapsnac [EMAIL PROTECTED] wrote: I want to refresh page every 10 seconds, without clicking on Refresh button. Use the Refresh header: header('Refresh: 10; url=http://example.org/foo.php'); Hope that helps. Chris = Chris Shiflett - http://shiflett.org/ PHP Security - O'Reilly

[PHP] Refresh Page

2004-06-05 Thread Mike Mapsnac
I want to refresh page every 10 seconds, without clicking on Refresh button. Any ideas how this can be done? Thanks _ MSN 9 Dial-up Internet Access fights spam and pop-ups – now 3 months FREE!

Re: [PHP] Refresh Page

2004-06-05 Thread Daniel Clark
meta http-equiv=refresh content=10; url=test.php Put inside the HEAD tags, this refreshed the page every 10 seconds. I want to refresh page every 10 seconds, without clicking on Refresh button. Any ideas how this can be done? -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

Re: [PHP] Refresh Page

2004-06-05 Thread Scot L. Harris
On Sat, 2004-06-05 at 10:20, Mike Mapsnac wrote: I want to refresh page every 10 seconds, without clicking on Refresh button. Any ideas how this can be done? Thanks I think you want to include something like this in your pages header section: META HTTP-EQUIV=REFRESH CONTENT=10 -- Scot

[PHP] Refresh and retry when using back button on IE

2004-06-02 Thread Pieter from SA
Hi I need to know if there is any code that can be used to get rid of the refresh and retry when using the back button in internet explorer. Every time i get info from the database and display the result, and i use the back button it says Warning: Page has Expired The page you requested was

Re: [PHP] Refresh and retry when using back button on IE

2004-06-02 Thread Marek Kilimajer
Pieter from SA wrote: Hi I need to know if there is any code that can be used to get rid of the refresh and retry when using the back button in internet explorer. Every time i get info from the database and display the result, and i use the back button it says Warning: Page has Expired The page

Re: [PHP] Refresh and retry when using back button on IE

2004-06-02 Thread John W. Holmes
Pieter from SA wrote: I need to know if there is any code that can be used to get rid of the refresh and retry when using the back button in internet explorer. Every time i get info from the database and display the result, and i use the back button it says Warning: Page has Expired The

[PHP] refresh page

2004-03-16 Thread Mike Mapsnac
Hello I need to refresh page every 2 minutes. How that's can be done in PHP? THanks _ FREE pop-up blocking with the new MSN Toolbar – get it now! http://clk.atdmt.com/AVE/go/onm00200415ave/direct/01/ -- PHP General Mailing List

Re: [PHP] refresh page

2004-03-16 Thread Richard Davey
Hello Mike, Wednesday, March 17, 2004, 1:55:51 AM, you wrote: MM I need to refresh page every 2 minutes. How that's can be done in PHP? PHP itself cannot do this. You can use PHP to output a meta refresh tag however which could be set to refresh every 2 minutes, understand it is the HTML that

Re: [PHP] refresh page

2004-03-16 Thread Freddy Rodriguez
Hello Hay una lista en español para php? THanks -Original Message- From: Richard Davey [EMAIL PROTECTED] To: [EMAIL PROTECTED] Date: Wed, 17 Mar 2004 01:59:52 + Subject: Re: [PHP] refresh page Hello Mike, Wednesday, March 17, 2004, 1:55:51 AM, you wrote: MM I need

Re: [PHP] refresh page

2004-03-16 Thread Jeff Oien
Mike Mapsnac wrote: I need to refresh page every 2 minutes. How that's can be done in PHP? This would just be an HTML thing but if you want a user to specify a page I've done it here: http://www.ttrader.com/stockchat/refresh.html You have to basically go back and forth between two pages. Let me

Re: [PHP] refresh page

2004-03-16 Thread trlists
On 17 Mar 2004 Mike Mapsnac wrote: I need to refresh page every 2 minutes. How that's can be done in PHP? You can do it with a header. I think something this simple will work: header(Refresh: 120); or in the head area: print meta http-equiv=\Refresh\ content=\120\\n; If

Re: [PHP] refresh page

2004-03-16 Thread Mike Mapsnac
Can you show the code? Thanks From: Jeff Oien [EMAIL PROTECTED] To: Mike Mapsnac [EMAIL PROTECTED] CC: [EMAIL PROTECTED] Subject: Re: [PHP] refresh page Date: Tue, 16 Mar 2004 20:11:49 -0600 Mike Mapsnac wrote: I need to refresh page every 2 minutes. How that's can be done in PHP? This would

Re: [PHP] refresh page

2004-03-16 Thread Chris Shiflett
--- Mike Mapsnac [EMAIL PROTECTED] wrote: I need to refresh page every 2 minutes. How that's can be done in PHP? You can do this with a Refresh header: header('Refresh: 120; url=http://www.example.org/'); Hope that helps. Chris = Chris Shiflett - http://shiflett.org/ PHP Security -

Re: [PHP] refresh page

2004-03-16 Thread trlists
On 16 Mar 2004 Jeff Oien wrote: You have to basically go back and forth between two pages. The site you mentioned does, but it is easy to refresh to the same page -- just use your own URL. An empty URL also works -- I tried it in IE 6 and Mozilla 1.5; don't know if it works with other

Re: [PHP] refresh page

2004-03-16 Thread apur kurub ver.1
using meta instead php meta http-equiv=refresh content=120;URL=?echo $PHPSELF;? rgds amdm http://amadarum.e-tics.net/blogger - Original Message - From: Mike Mapsnac [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, March 17, 2004 8:55 AM Subject: [PHP] refresh page Hello I

[PHP] refresh parent window after submit of child

2004-03-11 Thread Ryan A
Hi, I have an expiry_date field on a webpage, if the client wants to edit it he clicks on the Edit link and a small window pops up with the current expiry date, after he changes it and hits submit its changing it properly in the DB...but the parent window still shows the old expiry date... I have

[PHP] refresh page (might be 0t)

2004-02-07 Thread Ryan A
Hey, Have run into a little problem...any help appreciated. Heres what I am doing: I give the client a control panel where he can add,edit and delete accounts, after each of the actions I have a link back to the index page of the contol panel...problem is, unless he presses the refresh button it

Re: [PHP] refresh page (might be 0t)

2004-02-07 Thread Adam Bregenzer
On Sat, 2004-02-07 at 23:03, Ryan A wrote: Heres what I am doing: I give the client a control panel where he can add,edit and delete accounts, after each of the actions I have a link back to the index page of the contol panel...problem is, unless he presses the refresh button it shows him the

[PHP] refresh data

2003-12-02 Thread BigMark
At the moment this code accepts changes and deletes from the Db but when the submit button is pressed it echos- 'Record updated/edited' and i have to go back and refresh to view the updated list, how can i just have it refresh. When you open the file it shows the list but when editing

Re: [PHP] refresh data

2003-12-02 Thread Richard Davey
Hello BigMark, Wednesday, December 3, 2003, 6:04:03 AM, you wrote: B At the moment this code accepts changes and deletes from the Db but when the B submit button is pressed it echos- 'Record updated/edited' and i B have to go back and refresh to view the updated list, how can i just

[PHP] Refresh php section

2003-09-25 Thread ascll
= start Test.php = // Section-A ?php ... ? // Section-B ?php ... ? // Section-C ?php ... ? // Section-D ?php ... ? = end Test.php = Greetings, It that a way for me to reload Section-A's php codes every 1-second and Section-D's php codes every 5-second, that belongs to the SAME

RE: [PHP] Refresh php section

2003-09-25 Thread chris . neale
] Subject: [PHP] Refresh php section = start Test.php = // Section-A ?php ... ? // Section-B ?php ... ? // Section-C ?php ... ? // Section-D ?php ... ? = end Test.php = Greetings, It that a way for me to reload Section-A's php codes every 1-second and Section-D's php codes every

Re: [PHP] Refresh Error

2003-09-12 Thread Marek Kilimajer
Does your explorer ask you if you want to resend the information? It does. You post your form once again. If you don't want this to happen, use header(Location: http://yourserver/your_form_page.php;); redirect. Rex Brooks wrote: Okay, I'm displaying an entire table of numbers from my database.

[PHP] Refresh Error

2003-09-11 Thread Rex Brooks
Okay, I'm displaying an entire table of numbers from my database. Using a form on the same page, you can enter an amount to add to the table and then click submit. I pass all of the information in $_POST back to the same page. Here is my code: if ($_POST[number] != NULL) { if

[PHP] Refresh a frame based on a condition in another frame?

2003-09-01 Thread Ronald van Raaphorst
Hi all, I have header, a menu and a content frame. The header should not be refreshed. The menu dislays a menu (menu.php?menuid=x) from a mysql menu database, and should be refreshed based on a condition. The content frame (content.php?[article=x | table=y]) displays either an article or some

Re: [PHP] Refresh a frame based on a condition in another frame?

2003-09-01 Thread Raditha Dissanayake
Hi, It's not very clear from your message what you are trying to do. If you are trying to just reload some of the frames instead of the whole frameset look at the 'target' attribute for 'A' element in html. Ronald van Raaphorst wrote: Hi all, I have header, a menu and a content frame. The

Re: [PHP] Refresh a frame based on a condition in another frame?

2003-09-01 Thread Ronald van Raaphorst
Hi, Thanks for the response, I'll try to explain better: I have 2 frames: a Menu and a Content frame. I have 2 menu's: one for support and one for sales If the content frame displays a support article, the support menu should be displayed. If the content frame displays a sales article, the

[PHP] Refresh a page in another frame

2003-07-30 Thread Steve Fulleylove
Hi all, I have a PHP web site that uses frames. I can use the header() function to redirect the user to a new page, but can I use this function to load a page into a different frame ? Thanks in advance, Steve -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] Refresh a page in another frame

2003-07-30 Thread Curt Zirzow
* Thus wrote Steve Fulleylove ([EMAIL PROTECTED]): Hi all, I have a PHP web site that uses frames. I can use the header() function to redirect the user to a new page, but can I use this function to load a page into a different frame ? negative. you'll have to use some javascipt to refresh

Re: [PHP] Refresh PHP

2003-07-09 Thread Mauricio
- From: Ralph Guzman [EMAIL PROTECTED] To: 'Mauricio' [EMAIL PROTECTED] Sent: Tuesday, July 08, 2003 6:57 PM Subject: RE: [PHP] Refresh PHP I though you were passing the variable through the url. If you have this stored in a session, then try replacing $_GET with $_SESSION -Original Message

Re: [PHP] Refresh PHP

2003-07-09 Thread Scott Fletcher
- From: Ralph Guzman [EMAIL PROTECTED] To: 'Mauricio' [EMAIL PROTECTED] Sent: Tuesday, July 08, 2003 6:57 PM Subject: RE: [PHP] Refresh PHP I though you were passing the variable through the url. If you have this stored in a session, then try replacing $_GET with $_SESSION -Original

[PHP] Refresh PHP

2003-07-08 Thread Mauricio
Hi people! Did anyone get this situation? I'm creating a Site that uses 3 session variables. One of them I always print at the top of the page, it's the name of the user. There is a link that calls the function session_destroy(). Everytime that I follow this link and log in with another user,

RE: [PHP] Refresh PHP

2003-07-08 Thread Brian S. Drexler
Try adding a random number to the end of your URL.index.php?$randomnumber -Original Message- From: Mauricio [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 08, 2003 10:02 AM To: PHP Subject: [PHP] Refresh PHP Hi people! Did anyone get this situation? I'm creating a Site that uses 3

Re: [PHP] Refresh PHP

2003-07-08 Thread Mauricio
PROTECTED] Sent: Tuesday, July 08, 2003 2:11 PM Subject: RE: [PHP] Refresh PHP Rather than using session_destroy() reset the session variable by assigning it an empty value. For example, lets say your url looks something like this: http://www.mydomain.com/?url_variable=Mauricio then do

RE: [PHP] Refresh PHP

2003-07-08 Thread Ralph Guzman
How about: if($_GET['url_variable'] != $url_variable){ $url_variable = $_GET['url_variable']; session_register('url_variable') } -Original Message- From: Mauricio [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 08, 2003 11:14 AM To: PHP Subject: Re: [PHP] Refresh PHP Hello Ralph

Re: [PHP] Refresh PHP

2003-07-08 Thread Mauricio
PROTECTED]; 'PHP' [EMAIL PROTECTED] Sent: Tuesday, July 08, 2003 4:05 PM Subject: RE: [PHP] Refresh PHP How about: if($_GET['url_variable'] != $url_variable){ $url_variable = $_GET['url_variable']; session_register('url_variable') } -Original Message- From: Mauricio [mailto

[PHP] Refresh in PHP

2003-07-07 Thread Gary Ogilvie
Hi Everyone, My user has reported a problem when he loads a page. The page grabs data from MSSQL and displays this on the screen. However, it is not updated. Is there any way in getting the page to automatically refresh itself ONCE when it is loaded, without ending up in a loop? Many thanks --

Re: [PHP] Refresh in PHP

2003-07-07 Thread Greg Donald
My user has reported a problem when he loads a page. The page grabs data from MSSQL and displays this on the screen. However, it is not updated. Is there any way in getting the page to automatically refresh itself ONCE when it is loaded, without ending up in a loop? Javascript will do that.

RE: [PHP] Refresh in PHP [solved]

2003-07-07 Thread Gary Ogilvie
Yeah I found that out eventually. Thanks :) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Refresh in PHP

2003-07-04 Thread Gary Ogilvie
Hi Everyone, My user has reported a problem when he loads a page. The page grabs data from MSSQL and displays this on the screen. However, it is not updated. Is there any way in getting the page to automatically refresh itself once when it is loaded? Many thanks -- PHP General Mailing List

[PHP] refresh

2002-11-11 Thread Shaun
hi, How do you refresh a page in php? If i cannot wat is the code or meta(i think) to do so? Thanks Shaun -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] refresh

2002-11-11 Thread Brendon G
http://www.google.com/search?q=meta+refresh+html+code Google is your friend. Cheers Brendon -Original Message- From: Shaun [mailto:johan;novtel.co.za] Sent: Monday, November 11, 2002 9:24 PM To: [EMAIL PROTECTED] Subject: [PHP] refresh hi, How do you refresh a page in php? If i

[PHP] Refresh my Memory

2002-10-10 Thread Stephen
Hello, I forget exactly how to do this so I'm turning to you all for some help. How can I make it so that if a user does not have a resolution of atleast 1024x768, it sends them to another page or recomends that they up their screen size before viewing the page? Any help will be great.

RE: [PHP] Refresh my Memory

2002-10-10 Thread Timothy J Hitchens
You will need to use Javascript... NOT PHP.. Timothy Hitchens (HITCHO) [EMAIL PROTECTED] HITCHO has Spoken! -Original Message- From: Stephen [mailto:[EMAIL PROTECTED]] Sent: Friday, 11 October 2002 8:05 AM To: PHP List Subject: [PHP] Refresh my Memory Hello, I forget exactly

  1   2   >