PHP Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming LanguagesPHP Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old June 7th, 2004, 08:39 AM
johnyplexx johnyplexx is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2003
Posts: 3 johnyplexx User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Question Multiactions wen submit a form

hello guys i need help! i stuck!

so here is what i want to ask:

i have 3 sites and i want wen somebody field the form i want the form to submit on the other 2 sites without need to go there and field again the form.

so anybody know how i can do this? i think i must use php but ... how? any help?

Reply With Quote
  #2  
Old June 7th, 2004, 10:15 AM
romalong's Avatar
romalong romalong is offline
life isn't we think of it
Dev Shed Intermediate (1500 - 1999 posts)
 
Join Date: Jul 2003
Location: Kiev
Posts: 1,851 romalong User rank is Sergeant (500 - 2000 Reputation Level)romalong User rank is Sergeant (500 - 2000 Reputation Level)romalong User rank is Sergeant (500 - 2000 Reputation Level)romalong User rank is Sergeant (500 - 2000 Reputation Level)romalong User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 2 Weeks 1 Day 13 h 31 m
Reputation Power: 13
__________________
/**
* lng
*
* @return unknown
*/


PHP | MySQL | Apache

Reply With Quote
  #3  
Old June 7th, 2004, 10:45 AM
jkoerber's Avatar
jkoerber jkoerber is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2002
Location: Bay Area California
Posts: 334 jkoerber User rank is Corporal (100 - 500 Reputation Level)jkoerber User rank is Corporal (100 - 500 Reputation Level)jkoerber User rank is Corporal (100 - 500 Reputation Level)jkoerber User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 1 Day 1 h 46 m 7 sec
Reputation Power: 9
johnyplexx, The best wat to handle a situation where more than one form can create or update data is to have all of the scripts write their data to a common text file or common database table. The text file or table could include an indicator as to which of the three scripts created/updated the data if you need that information for later.

The alternative is to create a set of scripts that basically call each other in round robin fashion using the PHP header() function in order to pass all the fields entered in one form to the other two forms. This can be done but get's messy and could fail if the user "stops" their browser in the middle of the operation.

Maybe if you explained why you need to pass the form data to three scripts it would make things clearer.

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming LanguagesPHP Development > Multiactions wen submit a form


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump



 Free IT White Papers!
 
How to Present Effectively Online
This white paper offers practical and actionable advice on the key steps that any presenter should consider as they plan and execute a Webinar or online meeting.

 
Open Source Security Myths
Open Source Software (OSS) is computer software whose source code is available to the general public with relaxed or non-existent intellectual property restrictions (or arrangement such as the public domain), and is usually developed with the input of many contributors.

 
Power and Cooling Capacity Management for Data Centers
This paper describes the principles for achieving power and cooling capacity management.

 
Scalable, Fault-Tolerant NAS for Oracle - The Next Generation
For several years NAS has been evolving as a storage alternative for Oracle databases, and for good reason: NAS is quite often the simplest, most cost-effective storage approach for Oracle. Learn about the benefits that HP's approach to scalable NAS brings to Oracle environments in this comprehensive white paper.

 
Understanding Web Application Security Challenges
This white paper discusses many common threats and preventive measures for Web application security, and explains what you can do to help protect your organization.

 

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2009 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway
Stay green...Green IT