Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    PHP


SuperbHosting.net have generously sponsored dedicated servers to ensure a reliable and scalable dedicated hosting solution for BigResource.com.





Build A Page That Takes Form Data, Processes It In A Second Page


I'm trying to build a page that takes form data, processes it in a second page, then sends the user to a third,depending on data processing.

On the second page, I am trying to get the page to have some sort of "Loading" message while the backend processes the data, but I can't seem to get anything to work. Does anyone know how I can get that Loading message to display?




View Complete Forum Thread with Replies

Related Forum Messages:
Form Processing - Create A Form Processor With Processes The Form To A Page
I have searched the internet for this. I want to create a form processor with processes the form to a page which only certain people can access. I got everything down but the form processing. Does anyone have this code or can you lead me to the right direction?

View Replies !
Trying To Build Multi-page Form
I have a 20 field form that I'd like to break down into 4 "pages" for a better user experience. I've been advised that PHP is the way to go.

I've searched the web for days trying to find software that...
1) can build a multi-page form
2) the form is not hosted on another site
3) I can own the software not pay by the month
4) can handle "if" scenarios, as in if client picks "A" then they get different fields than if they pick "B"
5) Doesn't charge extra fees for extra sites

Well I can't find it anywhere. So apparently this is a pretty tall order. Any ideas?

View Replies !
Checkboxes - Loop That Takes The Values And Processes And Writes The Changes To The Database.
I generate a form page from my MySQL database. let's say the table structure is:

Table A
> ID, title, active

the number of rows generated by the query is dynamic. If a field's value is 1, then the form output appears as

<input type=checkbox name=$ID checked> $title

and if not

<input type=checkbox name=$ID> $title

At the bottom of the form there is a submit button. The visitor can check/uncheck rows and then submit the form. I need to write a loop (possibly foreach) that takes the values and processes them and writes the changes to the database.

View Replies !
Gzipped Page Takes 15 Mins?
We are compressing dynamic webpages with ob_start("ob_gzhandler");

This works most of the time but some times some clients try and load a page and it takes 15 minutes to load. The request was served its like it just sits for 15 mins trying to parse it on the clients end. Its on different pages for different clients and there doesnt really seem to be a connection. I know proxy servers can screw it up possibly but wouldnt it do it for all pages and why would it still pull up after 15 mins.

View Replies !
_SELF Takes Me To Unauthorised Page
I am have cobbled together with help from your forums a MYSQL database of students at school. We want to use a web interface to issue merits to students - it works, except for the final page, where the teacher must check merits issued and delete errors.

On my local machine (laptop) the code works using Apache server. On the Win2000 server, I'm running PHP over IIS. Code:

View Replies !
Save Form Data - How To Temporarily Store The Form Data Of Page 1
i have separated a form into 3 separate php pages as step 1, step 2 and step 3. i would like to know how to temporarily store the form data of page 1 when the user is moving onto page 3 after completing form 2 on page 2?? then retreive and send the data of all 3 forms together in one email to the webmaster when the user clicks submit on page 3 after completing the 3rd form as well as the previous 2.

View Replies !
Create A Form In HTML And A PHP Page For Validating The Data Entered Into The Form
I've tried to create a form in HTML and a PHP page for validating the data entered into the form and adding them into a MySQL database.

However, when i tried them out, it happens that after i press the submit button in the HTML page, it just show a blank page instead of what i expect. I've tried several times, but it is still the same and i don't know what is going wrong. Code:

View Replies !
How Can I Build A Forum Web Page?
I would like to build a forum for my website with php and mysql, but i don't know how to start. I want be able to costumize it myself.

View Replies !
Can I Pass Data From One Form To Another On One Page.
Can I pass data from one form to another on one page (what i've got is one form that when the submit button is pressed it submits the form in another window, part of my form:
PHP Code:

View Replies !
Input Form To Sent Data To Another Page
I'm trying to set up an input form so when I enter information using the input form the info I type in is sent to another page and placed in a table. That I already have set up but when I hit the refresh button the data in the table is erased. Code:

View Replies !
Transport Form Data To Next Page
How can I achieve this: page 1 has a form with textfield1, after clicking submit, page 2 is loaded with another form that also contains textfield1.
Can the data that is entered in textfield1 on page 1 automatically be put in textfield1 on page 2?

View Replies !
Passing Form Data Through A Page
I'm in the process of creating a new form that stores customer input into a MySQL database. What i'm attempting to do is allow them to fill out their data, and hit 'next' to go on to a file upload form.

Upon completing that form and submitting, all information (including their data from page 1) is posted at the same time (so it's all under the same ID).  What would be the easiest way to do this? Right now my submit file (submitquote.php) contains the following data (all on one page). Code:

View Replies !
Retaining Form Data In A Page
I have a single PHP page (called "routes.php") which contains a form with 3 dropdown lost boxes and a Submit button. Depending on what the user selects in the boxes, when they click Submit, the script runs off to a MySQL database and pulls down the appropriate data and builds a table in the "routes.php" page. Code:

View Replies !
Making A Custom Build PC Web Page
I'm hoping to add a custom build section to my website, which allows users to select which components they want and to have a final price displayed. I'd also like it to change a piece of HTML code that controls my "buy it" buttons so that the new up to date price is integrated into the button. However, I'm oblivious as to the best way to go about doing this.

A mate of mine who was doing a Uni course used MS Access to make a database to supply to my company as part of his course. Unsurprisingly, my web host only supports mysql, so I've got a number of options.

1) Convert the database to MySQL - can this be done, and if so how?

2) Start from scratch. Code:

View Replies !
Transferring Data To Another Page After A Form Process
Quick question: Is it possible to copy some results from a form (via POST) to another page after submitting the form? I'd like to use the results somewhere else later on, but want the form to process normally without the user being forced to redirect to the other page.

I've got a vague idea, but I don't know if such a thing would indeed be possible in php or not.

View Replies !
How To Post The Data From A Form To A Web Page Of Other Site
I WANT TO POST THE INFORMATION FROM MY FORM AFTER TAKING INPUT FROM THE USERS TO A WEBPAGE( PAYMENT PROCESSING SITE) WITHOUT VISTING THAT PAGE. I MEAN THE WEBPAGE SHOULD NOT BE DIRECTED TO THAT WEBPAGE(PAYMENT PROCESSING SITE). THE RECEPIENT WEBPAGE (payment processing page) RECEIVES THE INFORMATION THROUGH "GET" METHOD OF THE FORM. SO WE CAN USE "GET" METHOD IN OUR FORM.

View Replies !
POSTing Data To A Page Without Using A Form Submit.
I'm trying to send data to a remote script (a credit card processing
third party) from my site using POST.

Currently, I'm doing it using the ususal form dynamically built with
my values.

This is less than ideal because I want to perform local processing
(updating order status in the local database) and then to proceed to
the remote script, with resultant values, without relying on the user
pressing a [submit] button. Code:

View Replies !
Build A Page Based On Some User Selections.
I'm trying to build a page based on some user selections. Things seem to be work properly but I can't get it to loop through more then the first record. Here's the Code:Code:

<?php
include 'config.php'
include 'opendb.php'
date_default_timezone_set("America/Edmonton");
require_once('PDF_Label.php');

$pdf = new PDF_Label(&#55617;&#57240;', 'mm', 1, 2);
$pdf->Open();
$pdf->AddPage();

$action=$_GET['action'];
switch ($action) {
case "Cal":
$searchStr = "xCalendar";
break;...................

View Replies !
How To Build A Simple Chat Page Or Shoutbox
I'm doing an assignment for tafe and I need to make a simple chat box type thing for a fault management system.

View Replies !
Check Form Data Then Pass Variables To Next Page
i have a normal form when the user selects submit it calls the function on the same page to validate the form. My problem is when the form is validated how do i pass all those varables to another page where i can process that information further? Code:

View Replies !
Pass Form Data Directly To A Function Rather Than Just A Page.
I trying to make my code cleaner for this user management script I made so that it will be easier to add new features and was wondering whether or not their is a cc

View Replies !
Errors To Appear On The Same Page As The Form Where The User Puts In The Data
I want my errors to appear on the same page as the form where the user puts in the data, and I want "non-error" results generated to appear on a different page. Right now, both the errors and any actual results appear on the new page, requiring the user to use the "Back" button when an error is made in order to re-enter the values on the form. I want the errors to appear on the same page as the actual form. On the page where the user enters stuff into the form, I've got: <FORM method="POST" action="res_search.php"> which is the page that the results and the error messages are being shown. Is there any way I can jig that second page so's the error messages show on the originating page instead.

View Replies !
Page Expired After Going Back From Del. Pageto Form Page Where Comment Is Submitted..
i've made a submit comment form with php and mysql, the form has an action to itself with a hidden var like this: input type=hidden action=add

When i delete a comment on the page i go to a page called delete.php3 and there is a link with a javaline which goes -1 back in my history..

When ive added a comment, the comments page contains action=add and when i delete a comment, i want to click on the link to go back to the comment page, but then, it doesnt work and it says:

Page has expired.

I wondered how to deal with this kind of problems........

View Replies !
Session Var Is Setting ONLY AFTER I Reload Page, Form Var Displays First Page Load
Page1 has a form that calls Page2. The beginning of Page2:
<? php session_start();
$s=$_POST['sSelected'];
session_register("s"); ?>

in the middle of Page2 I have a form varaible:
<?php echo $_POST['stateSelected']; ?>
<?php echo $_SESSION['s']; ?>

The form var displays the first time the page loads. The session var
displays only after reloading the page2.

View Replies !
Build A Feedback Form And Php Script To Receive The Data.
I have only recently started to learn PHP and i enjoy every minute of it until i tried to build a feedback form and php script to receive the data. I have checked and rechecked the code and they are both stored in the same php enabled folder/

but whenever i open up the form "feedback.html" to input data and then click on the submit button i am immediately confronted by a "File Download" box with options to open, save, or cancel? I always make sure that my copy of XAMPP is open and running.

I even practice formatting with html tags some simple scripts so the program is definately functioning.

View Replies !
IF Else Statement - Form Being Submitted From Another Page And Being Directed To A Second Page
I have a form being submitted from another page and being directed to a second page. In this form is a checkbox called nonprofit. When checked the value is 1.

On the second page I have the following code:

View Replies !
If Value =1 Direct To Page Otherwise Show Data On Page
In the member account area there is a button saying (list) when the member clicks this they are redirected to add.php here i am wanting to check if a members account is limited, if it is direct them to a page saying you must pay your bill. if its not display the info on the page.

in the database there is a field called limited which is tiny in if its not limited the value of the field would be 0 if it is limited the value would be 1.

View Replies !
"Page Not Found" Because Script Takes Too Long?
I am developing an online calculator for my school district. Without going into too much education-ease, the idea is simply that the user puts in some numbers, and the system crunches those numbers. The form, and the form handler are contained in one script, using a hidden variable to tell the script to process the information upon submitting to itself...

Everything was working great, until I put in the various algorithms... They are not particularly numerous, lengthy, or complicated, but clicking on 'Submit' now yields a 'Page not found' error. When I commented out half of the math, the page loaded ok...so it seems to be 'timing out'... I'm baffled.... this script is simple, and short... what could be the problem????

Here is the math part of the script..

View Replies !
Sending Data From One Page To Another Page
how to send a data from one page to another page using php code...

View Replies !
Capture PHP Form Data As One Page Html, Screen Capture, Or PDF?
There is a medical office that has a detailed online patient form. When they receive the form data, it is split into 4 to 5 pages. Their online form is one detailed page. Their IT person thinks that they should be able to get their form data as a screen capture--basically a picture of the form filled in--ONE PAGE. Is this possible at all? I've never heard of this. If this is possible, is their software that does this that one can buy?

View Replies !
Large Data Transfer Between 2 Processes
fist the context: I have a web server which query a mySql database. but
as the number of parralel queries increase, the server slows down too
much.

I got 2 ideas, one of which is to run N deamons which effectively
execute requests. the PHP uses message queuing(1) to queue queries
request to the daemons. but the answer may be quite large, larger than
messages the message queueing service can handle.

I thought to open back a communication link between the current daemon
and the waiting PHP to tranfer/process the result, using the message
queueing service to send back info regarding the opened link.

I thought to open a pipe between the current daemon and the PHP. is
this possible? and if so, how? if not, is an IP link to localhost be as
fast as a pipe?

View Replies !
Insert Processes Before Form Is Submitted
I am trying to stop using Macromedia as my crutch and you guys have been a big help.  I need some assistance with submitting a form.  I have a form on my page and need to do an insert.  I have the action posting it back to the same page I am on versus sending it to an insert page.  The problem I am having is it trys to do the insert as soon as I pull up the page instead of waiting till the form is submitted.  I believe I need to do something with isset, but can't really find a tutorial that goes over it really well. Code:

View Replies !
Simulate Send Data With POST And Get Data From A Web Page (whith A Session)
I'd like to get text of a webpageB that I reach by putting
a login and a password in a webpageA.

I mean:
I'd like to get text of a WebPageB with a php script.
But before I can see WebPageB I have to autenticate myself
in a WebPageA writing my login and my password in a form,
the host recognise me and (by session) let me see the WebPageB.

The question is:
1)how to simulate send data (login an password) in form with a PHP script?
2)how to navigate in a Web usin the same session?

View Replies !
Create A Cookie That Takes Its Name/value From A Form?
i'm learning PHP at the moment and i'm having a bit of trouble with cookies. I know how to create a single cookie with a set name, but how do I create a cookie that takes its name/value from a form?

The form itself is in a loop that spits out info from a database, and the form name also is taken from the database as it loops through.

I was trying to use the Post method but it didn't work so obviously this isn't the way to do it.

View Replies !
Form Processor To Redirect To A Specific Page Based On The Selection Of A Radio Button On The Form.
I need to have a form processor to redirect to a specific page based on the selection of a radio button on the form.

It would be like this:

If selection is button "A" then goto A URL
If selection is button "B" then goto B URL
If selection is button "C" then goto C URL

I don't know how to code in php or when I would put such a statement.

View Replies !
Form Processing - Get The Target Page To Process The Form Variables
I have a form embeded in a html page. The form comprises of 3 inputs (2 <select>, and a submit button). The action is set to a php page. What I am trying to achieve:

I would like to be able to get the target page (php page) to process the form variables in 'if.. else' statements and direct the visitor to the relevant page which contains the information that has answers for their queries. Example:

variable1=="small" (entered from a <select> input)
Variable2=="truck" (entered from a <select> input)

this info is submitted to process.php

I would like 'process.php' to combine the 2 variables and send the visitor to a page called: small_trucks.htm or small_trcuks.php (either extension will do). Note that the final pages the visitor to be directed to are unique pages and need to be displayed in the form of pages and not IFrames. If you are familiar with this, would you kindly create a code for the above example..? and would you also be able to tell me where to insert that code in the php page..?

View Replies !
Create A Form That Takes A Number That The User Enters
I need to create a form that takes a number that the user enters, and
duplicates a question the number of times the user entered. For
instance, if the customer enters 5 on the first page, when they press
next the form generates "How old are you?" 5 times on the page. The
customer will answer all 5 questions then press next. Finally, all the
local variables get dynamically created and written to a database.

I have already taken care of dynamically creating the question five
times. Using a simple WHILE clause, this generates the correct number
of questions. What I am having an issue with at this point, is how to
dynamically create the local variables.For instance, for the question
"How old are you?" I would need a unique variable for each instance;
using something like $Age(n). So that for five times, it would
automatically created variables $Age1 through $Age5. I have carried
over the number to the submit page by creating the variable $Number
and passing it along as hidden button on the form. $Age'$Number'
seemed to work for creating the variable, but $_post["Age'$Number'"]
doesn't work for referencing the global variable. I would need some
way of looping through and dynamically creating the variables.

View Replies !
Dynamic Form Fields/multiple Page Form?
It is for a friends out of print booksite, where visitors can request multiple books to be searched by adding one at a time to a cart (javascript), then once all added they submit to another form where they enter their personal details and all is sent through. The problem is at the moment they cannot change whats in the cart without refreshing the browser window and losing everything.

1) present for asking how many books they want to search for
2) display multiple rows of the same input fields depending on how many books they say they want to have searched for?i.e

title|author|publisher|etc
title|author|publisher|etc
title|author|publisher|etc

3) when these are submitted they could see these above the next part of the form where they enter their details with the option to go back and delete/amend.
4) send all the info to my colleague.

if so has anyone seen a similar script that I could take a look @ to see if I can hack it to suit my needs?

View Replies !
Pass Form Variables To Second Page And Re-submit Form
This is probably a mixture of PHP and javascript required, but i'm trying to pass form variables entered in page1.php to pass to page2.php and the form to re-submit from page2.php with the values entered in page1.php.

Is this possible, and how would i go about it?

View Replies !
Getting Data From Another Page
Is there any way I could get the information from this page (http://www.domain.com/rankcapture.php?name=dylandcor2&check=true) such as level and experience into a variable so I can use it to create an image. The page that is linked isn't mine, so I don't know how it is set up. I know how to create the image, I just can't seem to get all of the data out of the page.

View Replies !
Data On A Page
if there is a function call in PHP that will clear out old data after the you have process it?  This is like after submitting a form and posting it to the second page for process.

View Replies !
Page Keeps Caching Old Data, How To Fix?
i have a php page that has a series of check boxes in it and you press the update button after unticking some boxes and ticking others. after the page updates the changes actually take place in the database but the page displays the old state where it was before you ticked and unticked the boxes. as soon as you press Ctrl + F5 it actually updates the page to what is in the database.

how can i fix this so when i press the update button it refreshes and doesnt cache the old state?

i have the following in the header but it dont seem to work, is there anything else i need to do?

<meta http-equiv="pragma" content="no-cache">
<META HTTP-EQUIV="CACHE-CONTROL" CONTENT="NO-CACHE">

View Replies !
Change Data On The Same Page To Something Else
I'm trying to change data on this line of code using a drop down option box.

map.centerAndZoom(new GPoint(-79.89505, 40.85708), 10);

When the page opens I want the above data to be used.

I want to use a drop down menu to select a different radius. Lets say 30 miles. I want to update the page so that the above line of code will update and look like this.

map.centerAndZoom(new GPoint(-79.89505, 40.85708), 30);

Here is some sections of code I am using.

<form action='<?php echo $_SERVER['PHP_SELF'];?>' method='post'>
<select name="radius" class="selectBoxes">
<option value="20">20 miles</option>
<option value="30">30 miles</option>
<option value="40">40 miles</option>
</select>
<input type='submit' name='submit' value='Click To Update Map'>
</form>

<script>
map.centerAndZoom(new GPoint(-79.89505, 40.85708), 10);
</script>

View Replies !
Display Data On Page
Ive got my page set up correctly as far as getting data into the database goes however I am not sure how to display it all on the page.
Basically I have a news table: news_id, club_id, title, news

I would like to display all the news items associated with the club that the user is logged into.

Id like each news item to be separated so that its easy to identify they are different news items e.g.

__________________________
$title
$news
__________________________
$title
$news
__________________________

View Replies !
Extract Data From A Web Page?
with PHP, can somebody direct me or give me some insight on how to go about extracting data from a web page.

Say I want to pull sports statistics from a page.. how is this done?

View Replies !
Data On A Printable Page
what i'm trying to do is take data from a form on an html page and display the data on two pages that someone can print. I was having a little trouble attemping to do so with a .pdf. Any suggestions?

View Replies !
Extract Certain Data From Page?
For example if a source had links that were all like http://server.com/dir/file.ext?id=1234567 and I just wanted to extract all of the the numbers after the id= how would I do it? There would be a lot of different links with different id's and I'd like to extract all of them.

View Replies !
Export My Data In A Php Page
I am trying to export my data in a php page and it's not working. I am getting the data from the database and then displaying in the code. At the end of the page I have the following code:

if($excel == "yes"){
header("Content-Type: application/vnd.ms-excel; name='excel'");
header("Content-disposition: attachment; filename=" .date("Y-m-d").".xls");
}

What am I doing wrong?

View Replies !
Parsing Data From Page
Im trying to parse a short amount of text off of  a web page and Im having some difficulties.

Ive read up on screen scraping and parsing and what not and found some script that seemed to fit what I was wanting to do, and have had some success messing with it, but at the same time havent figured out how to do what I want. Looking at the page source for the page there is a string of text as follows: Code:

View Replies !
Parsing Data Off A Page?
i was making a dynamic signature application and im wondering how would you take the data off of another page and split it up? so far i have Code:

View Replies !
Transferring Data Through The Same Page
I want the user to fill in the form and click preview with all the information sent to the ?mode=preview part, and let them preview their content, and then click upload with all the data from ?mode=upload.

Page 1 (?mode=upload):
Title:
Swf:
comment:

Page 2 (?mode=preview):
validate form
Get all the data from ?mode=upload
show a preview of the swf
and put the data in the database.

View Replies !
Remote/outside Page Data
I am asking probably has a simple answer. i want to be able to grab the source code from an outside URL, so i can deal with it in my page. an example of this would be sending an XML feed request via a specific URL, and getting a page of XML in return- then dealing with the returned XML information on my own. how do i send the request, and how do I read the returned information.

View Replies !

Copyright © 2005-08 www.BigResource.com, All rights reserved