473,385 Members | 1,331 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Skip 'Insertion' Page

On my website, I have a form where the user inputs information. The
information is then posted using the file insert.php, then displayed
using output.php. However, I would like to redirect the user from
insert.php to output.php without them having to manually enter the new
address. I have tried using JavaScript to no avail. Is there any way to
do this?

Oct 8 '06 #1
2 1084

"jflash" <ki****@gmail.comwrote in message
news:11**********************@e3g2000cwe.googlegro ups.com...
On my website, I have a form where the user inputs information. The
information is then posted using the file insert.php, then displayed
using output.php. However, I would like to redirect the user from
insert.php to output.php without them having to manually enter the new
address. I have tried using JavaScript to no avail. Is there any way to
do this?
so enter data on form, submit posts to insert.php which saves stuff and then
before any output to browser does a header redirect to output.php ?
<?php header("Location: http://www.example.com/output.php"); ?>

http://us3.php.net/manual/en/function.header.php
Oct 8 '06 #2
That worked perfectly. Thanks!

On Oct 8, 12:44 am, "Johnny" <removethis.huuan...@hotmail.comwrote:
"jflash" <ki4...@gmail.comwrote in messagenews:11**********************@e3g2000cwe.go oglegroups.com...On my website, I have a form where the user inputs information. The
information is then posted using the file insert.php, then displayed
using output.php. However, I would like to redirect the user from
insert.php to output.php without them having to manually enter the new
address. I have tried using JavaScript to no avail. Is there any way to
do this?so enter data on form, submit posts to insert.php which saves stuff and then
before any output to browser does a header redirect to output.php ?
<?php header("Location:http://www.example.com/output.php"); ?>

http://us3.php.net/manual/en/function.header.php
Oct 8 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Raju V.K | last post by:
I am developing a PHP-mysql database. It is noted that when the browser window is refreshed the data is inserted again in the database. unfortunately there is no unique keys that I can use to...
13
by: Monty | last post by:
I've been searching for guidance on which of the approaches used for skipping repetive links (e.g., link as normal text, link as alt text on invisible image, link with same forground and background...
20
by: Patrick Guio | last post by:
Dear all, I have some problem with insertion operator together with namespace. I have a header file foo.h containing declaration of classes, typedefs and insertion operators for the typedefs in...
59
by: AK | last post by:
I tried to google "skip scan DB2" but came up with nothing. Does DB2 have the feature under a different name?
24
by: Robin Cole | last post by:
I'd like a code review if anyone has the time. The code implements a basic skip list library for generic use. I use the following header for debug macros: /* public.h - Public declarations and...
0
by: Sachin | last post by:
I am trying to develope a small RTF writer to generate project report at runtime, with a limited RTF writing capability. RTF by default is only one page document, untill we intentionally put page...
0
by: Sachin | last post by:
I am trying to develope a small RTF writer to generate project report at runtime, with a limited RTF writing capability. RTF by default is only one page document, untill we intentionally put page...
4
by: Just Me | last post by:
In the handler QueryPageSettings I let the user select a "Skip This Page" option. But I don't know how to handle it if he does. I can set a flag and in PrintPage skip printing the page but the...
4
by: jeffyen | last post by:
Hi there, thanks to anyone in advance who can help me with this. I am creating an HTML page with extensive CSS and table formatting; one thing that is driving me absolutely bats**t crazy is that...
28
by: Peter Michaux | last post by:
Hi, I'm playing with dynamic script insertion to make a request to the server for a JavaScript file to be automatically run when it arrives in the browser. It works but... The page caching...
0
isladogs
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...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.