[PHP-DB] Redirect upon successful form submission

2009-12-15 Thread Vinay Kannan
Hi, I have 2 pages on php, the first page has a small form to accept a membership number from the user, which checks for membership number in the DB, if the membership no does not exist, gives an error saying 'you are not a member click here to become a member now', this bit works fine. The

Re: [PHP-DB] Redirect upon successful form submission

2009-12-15 Thread Bastien Koert
On Tue, Dec 15, 2009 at 12:48 PM, Vinay Kannan viny...@gmail.com wrote: Hi, I have 2 pages on php, the first page has a small form to accept a membership number from the user, which checks for membership number in the DB, if the membership no does not exist, gives an error saying 'you are not

Re: [PHP-DB] Redirect upon successful form submission

2009-12-15 Thread Vinay Kannan
Thanks Bastien, To be honest I have no clue as to how to hold the form in the buffer. I've copied the code below, that might help I guess. ?php include(header.php); include(lib/funcs.php); $url=$_SERVER['REQUEST_URI']; $member_no=$_POST['member_no'];

Re: [PHP-DB] Redirect upon successful form submission

2009-12-15 Thread Christoph Rosse
you could also validate the form in a seperate php file with no output and then redirect to the error and the another page ? Bastien Koert schrieb: On Tue, Dec 15, 2009 at 12:48 PM, Vinay Kannan viny...@gmail.com wrote: Hi, I have 2 pages on php, the first page has a small form to accept

Re: [PHP-DB] Redirect upon successful form submission

2009-12-15 Thread Vinay Kannan
Yep, that would work, but then if the user is not a member, then the link to the membership should be printed on the form that has the validation and not the one that has the form? On Tue, Dec 15, 2009 at 10:21 AM, Christoph Rosse c...@okto.tv wrote: you could also validate the form in a

Re: [PHP-DB] Redirect upon successful form submission

2009-12-15 Thread Bastien Koert
On Tue, Dec 15, 2009 at 1:25 PM, Vinay Kannan viny...@gmail.com wrote: Yep, that would work, but then if the user is not a member, then the link to the membership should be printed on the form that has the validation and not the one that has the form? On Tue, Dec 15, 2009 at 10:21 AM,

[PHP-DB] Redirect.

2003-12-02 Thread gfmb
Hi all, I have a problem.How can I redirect from a PHP script to another script in asp, php or a HTML page? This script redirect to another script in function of the values of a variable. Thanks in advance Francesco [EMAIL PROTECTED]

Re: [PHP-DB] Redirect.

2003-12-02 Thread Richard Davey
Hello gfmb, Tuesday, December 2, 2003, 11:18:40 AM, you wrote: gli I have a problem.How can I redirect from a PHP script to gli another script in asp, php or a HTML page? gli This script redirect to another script in function of the values of a variable. This isn't really a database related

Re: [PHP-DB] Redirect.

2003-12-02 Thread Ignatius Reilly
header( Location: http://...; ) ; _ - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, December 02, 2003 12:18 Subject: [PHP-DB] Redirect. Hi all, I have a problem.How can I redirect from a PHP script to another script in asp, php

RE: [PHP-DB] Redirect.

2003-12-02 Thread Hutchins, Richard
- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 02, 2003 6:19 AM To: [EMAIL PROTECTED] Subject: [PHP-DB] Redirect. Importance: High Hi all, I have a problem.How can I redirect from a PHP script to another script in asp, php or a HTML page? This script

[PHP-DB] redirect

2003-10-27 Thread Dan Liu
Hi all, Has anyone used 'Module mod_rewrite URL Rewriting Engine'? I need to do a redirect from http://url1/cgi-bin/mapserv?map=/dir1/county.map to http://url2/cgi-bin/mapserv?map=/dir2/county.map But it is not working. Does somebody know why? Thanks in Advance. Dan -- PHP Database Mailing

Re: [PHP-DB] redirect

2003-10-27 Thread Rolf Brusletto
Dan Liu wrote: Hi all, Has anyone used 'Module mod_rewrite URL Rewriting Engine'? I need to do a redirect from http://url1/cgi-bin/mapserv?map=/dir1/county.map to http://url2/cgi-bin/mapserv?map=/dir2/county.map But it is not working. Does somebody know why? Thanks in Advance. Dan Dan -

Re: [PHP-DB] redirect

2003-10-27 Thread Peter Beckman
Wrong list to ask on -- you are looking for an Apache mailing list. http://apache.org/ read the manual page on mod_rewrite On Mon, 27 Oct 2003, Dan Liu wrote: Hi all, Has anyone used 'Module mod_rewrite URL Rewriting Engine'? I need to do a redirect from

[PHP-DB] redirect

2003-03-01 Thread Jeremi Bergman
How can I redirect a user to a specific page if they are already authenticated? if ($SESSION_Authenticated) { //code here to redirect; } thanks -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP-DB] redirect

2003-03-01 Thread Jeremi Bergman
To: [EMAIL PROTECTED] Subject: [PHP-DB] redirect How can I redirect a user to a specific page if they are already authenticated? if ($SESSION_Authenticated) { //code here to redirect; } thanks -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

RE: [PHP-DB] redirect

2003-03-01 Thread John W. Holmes
Nevermind, I found the answer, and why it wasn't working. Now I was wondering how I can format a number to be a currency? Like if $totalprice = 14.343 have it print 14.34. Number_format() or printf() ---John W. Holmes... PHP Architect - A monthly magazine for PHP Professionals. Get your

RE: [PHP-DB] redirect

2003-03-01 Thread Kurth Bemis (List Monkey)
-Original Message- From: Jeremi Bergman [mailto:[EMAIL PROTECTED] Sent: Saturday, March 01, 2003 2:13 PM To: [EMAIL PROTECTED] Subject: [PHP-DB] redirect How can I redirect a user to a specific page if they are already authenticated? if ($SESSION_Authenticated) { //code here to redirect

[PHP-DB] redirect a page

2002-04-24 Thread Natividad Castro
Hi to all, I have a search form where users can search for a specific record; up to now is working fine, but what I would like to do is: if the record is not found, redirect them to another page that says that record was not found. Can anybody tell me how to do this? I already tried using this

RE: [PHP-DB] redirect a page

2002-04-24 Thread John Hughes
PROTECTED] Subject: [PHP-DB] redirect a page Hi to all, I have a search form where users can search for a specific record; up to now is working fine, but what I would like to do is: if the record is not found, redirect them to another page that says that record was not found. Can anybody tell

RE: [PHP-DB] Redirect command?

2001-02-22 Thread Rick Emery
header ("Location: http://www.php.net"); /* Redirect browser -Original Message- From: Julio Cuz, Jr. [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 22, 2001 4:23 PM To: [EMAIL PROTECTED] Subject: [PHP-DB] Redirect command? Hi-- I've been looking for a "re

RE: [PHP-DB] Redirect command?

2001-02-22 Thread Mark Newnham
To: [EMAIL PROTECTED] Subject: [PHP-DB] Redirect command? Hi-- I've been looking for a "redirect" command (basically redirect from page a to page b if something happens)... Julio Cuz, Jr. Riverside Community College [EMAIL PROTECTED] -- PHP Database Mailing List (http