LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices

Reply
 
Search this Thread
Old 02-16-2004, 05:47 AM   #1
DropHit
Member
 
Registered: Oct 2003
Posts: 95

Rep: Reputation: 15
I need to insert and post PHP MYSQL


Basically it is simple

I have a link that looks sorta like this

wesbite.com/processor.php?last_name=name&first_name=bname2&email=a@a.com

etc there is about 15 vars that get sent as a query string to my page to auto populate a form.

Now what i need to be able to do is insert the fields into the database, and also POST the data to a different website.

The form is populated and the user clicks the submit button to move to the next step.

The var names that are in the intial query string are diff then the names of the fields used to submit the POST to the other site and the INSERT into the dabase.

The other website has to have a POST to it and the vars from the form need to be INSERTED into the database.

I am using DreamWeaver MX and can only get one or the other to happen not both.

Ehh need help FAST

Zack

Last edited by DropHit; 02-16-2004 at 05:49 AM.
 
Old 02-18-2004, 07:11 PM   #2
DropHit
Member
 
Registered: Oct 2003
Posts: 95

Original Poster
Rep: Reputation: 15
Nobody knows?

WOW none of you php gurus know how to do this?

Z
 
Old 02-18-2004, 11:21 PM   #3
patpawlowski
Member
 
Registered: Mar 2003
Location: Centreville, Virginia
Distribution: Mandrak, Red Hat
Posts: 163

Rep: Reputation: 30
I am new to PHP programming myself. So I may not be much help. I wonder if there is a way to do a java redirect using the POST method? You could POST to PHP_SELF write the record to the database and then redirect to the other site using the POST method. I have wondered if there is a way to transfer data via the POST method without using a form but I haven't investigated it.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
PHP:Unable to post variables from html form to mysql database vikram_cvk Linux - Software 1 09-29-2004 03:01 PM
PHP insert. agallant Programming 4 08-17-2004 02:36 PM
PHP "for.. loop" to insert into mysql Boby Programming 10 05-29-2004 10:07 AM
php mysql insert null value spoody_goon Programming 2 03-28-2004 10:20 AM
How can I insert a .GIF file into my post? costasm LQ Suggestions & Feedback 4 10-15-2003 06:04 PM


All times are GMT -5. The time now is 09:03 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration