(Resolved) Returning from PHP

Discussing Html . Code , Software , other

Moderators: egami, macek, gesf

Post Reply
User avatar
gesf
Moderator
Moderator
Posts: 1716
Joined: Sun Dec 29, 2002 5:03 am
Location: Portugal / Sweden
Contact:

Fri Feb 02, 2007 5:13 am

I'm not sure if i get the point but, for both question, you can have your form and process script in same file so you'll have the same code from the form file after the submittion.
You can also, after processing, in your registration.php file, add this next code so it will send you to the page you want:

Code: Select all

<?php

header('Location: /url/to/your/page.php');

?>
You can also make this call in the background using xmlhttprequest and nothing will change/move in the form file.
Of course, this all really depends on what you're trying to do.
Sincerely,
Gonçalo "gesf" Fontoura

gesf.org | sessionstart.com | urlms.com

User avatar
gesf
Moderator
Moderator
Posts: 1716
Joined: Sun Dec 29, 2002 5:03 am
Location: Portugal / Sweden
Contact:

Wed Feb 07, 2007 11:24 am

Any time :)
Sincerely,
Gonçalo "gesf" Fontoura

gesf.org | sessionstart.com | urlms.com

Post Reply
  • Information
  • Who is online

    Users browsing this forum: No registered users and 0 guests