Hi,
I'm doing some experimentation with php and was wondering the "best"
way to achieve this task:
I have an initial page that has a form, which, when completed, directs
to an intermediate webpage to process
the results of the form. The user is then directed back to the initial
page. Because I need a delay to enable
processing of the form data, I don't think the following will work:
<?php
header( 'Location: http://www.whispy.com/intro_page.php' ) ;
?>
I think the best way is, once the form processing is done, to do
something like
echo ( "<META HTTP-EQUIV=\"refresh\" content=\"0;URL=http://
www.whispy.com/intro_page.php\">";);
This seems a bit cumbersome, but would immediately reload the initial
page once the form stuff has been
sifted. Is there another, better way, without dealing with webserver
config scripts, which I don't have access to?
Thanks!
Paul 2 1188 Pa***********@gmail.com wrote:
Hi,
I'm doing some experimentation with php and was wondering the "best"
way to achieve this task:
I have an initial page that has a form, which, when completed, directs
to an intermediate webpage to process
the results of the form. The user is then directed back to the initial
page. Because I need a delay to enable
processing of the form data, I don't think the following will work:
<?php
header( 'Location: http://www.whispy.com/intro_page.php' ) ;
?>
I think the best way is, once the form processing is done, to do
something like
echo ( "<META HTTP-EQUIV=\"refresh\" content=\"0;URL=http://
www.whispy.com/intro_page.php\">";);
This seems a bit cumbersome, but would immediately reload the initial
page once the form stuff has been
sifted. Is there another, better way, without dealing with webserver
config scripts, which I don't have access to?
Thanks!
Paul
Paul,
I don't understand by what you mean by "needing a delay. But as long as
you don't send anything to the client beforehand (and the browser
doesn't time out), there shouldn't be any problem in using a header() call.
Did you try it? If so, what happened?
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp. js*******@attglobal.net
================== Pa***********@gmail.com wrote:
Hi,
I'm doing some experimentation with php and was wondering the "best"
way to achieve this task:
I have an initial page that has a form, which, when completed, directs
to an intermediate webpage to process
the results of the form. The user is then directed back to the initial
page. Because I need a delay to enable
processing of the form data, I don't think the following will work:
<?php
header( 'Location: http://www.whispy.com/intro_page.php' ) ; ?>
I think the best way is, once the form processing is done, to do
something like
echo ( "<META HTTP-EQUIV=\"refresh\" content=\"0;URL=http://
www.whispy.com/intro_page.php\">";);
This seems a bit cumbersome, but would immediately reload the initial
page once the form stuff has been
sifted. Is there another, better way, without dealing with webserver
config scripts, which I don't have access to?
Thanks!
Paul
Do you just want to pupup something that says "Processing"?
If so, I'd have a hidden DIV and show it using a bit of javascript on
submitting the form. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Don Miller |
last post by:
I have an ASP script that is called from a PDF form to process form data. On
the last line of the script I have a Response.Redirect "webpage.asp" that
leads to another target page with actual HTML....
|
by: Paul Lee |
last post by:
Hi all,
I'm trying to redirect users from a specific domain to one of my
webpages.
So, in my example, anyone accessing my index.html from the
*btinternet.com domain (allowing for wildcards!) will...
|
by: OnLiner |
last post by:
I have a site with hundreds of pages.
I often get visits from people who have linked to individual pages and not
to the main index page. This means that they do not have the correct...
|
by: Jac |
last post by:
Aspx-problem :
I want to write code (C-sharp) behind a button, that determines on some criteria which webpage an IFRAME has to show.
To change a normal webpage you do a redirect in c-scharp...
|
by: Alan Scott |
last post by:
I am using the following code to redirect users to another webpage when they
click on an image:
Response.Redirect("login.aspx");
The code works. However, I have frames setup and would like the...
|
by: postings |
last post by:
Just a quick question...
When I do a "response.redirect" from a source webpage to a destination
webpage, does the code on the source webpage carry on executing unless
I put a "response.end"...
|
by: bryant_j_j |
last post by:
Hi everyone,
Does anybody know how to redirect every visitor to a webpage, except
those coming from some specified IP addresses, to a different webpage?
Does anybody know of a JavaScript for...
|
by: venner |
last post by:
I'm having an issue with an ASP.NET website after upgrading to ASP.NET
2.0. The website makes use of a central authentication service (CAS)
provided at the university I work for. Each page checks...
|
by: sureshreddy |
last post by:
hi friends,
I want the time to be displayed for a webpage to redirect to another webpage. You can see this concept in job sites when we fill all the details and click the search button it displays...
|
by: Eirik Eldorsen |
last post by:
How can I 301 redirect www.example.com/default.aspx to www.example.com
without using ISAPI filters?
|
by: DolphinDB |
last post by:
Tired of spending countless mintues downsampling your data? Look no further!
In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
|
by: ryjfgjl |
last post by:
ExcelToDatabase: batch import excel into database automatically...
|
by: Vimpel783 |
last post by:
Hello!
Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
|
by: jfyes |
last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
|
by: ArrayDB |
last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
|
by: PapaRatzi |
last post by:
Hello,
I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
|
by: Defcon1945 |
last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
|
by: Shællîpôpï 09 |
last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome former...
| |