Top Articles

Stay In Touch


Affiliate Marketing Forum

FAQ FAQ Search Search Memberlist Memberlist Usergroups Usergroups
Register Register Profile Profile Log in to check your private messages Private Messages Log in Log in

HTML Forms

Affiliate Marketing Forum Index » Do-It-Your-Selfers
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
ebg



Joined:
12 Oct 2004

Posts:
50


Post Posted: Sun Feb 26, 2006 3:20 am
      Post subject: HTML Forms

Reply with quote

When a user hits submit on a php form on my site, is it
possible to take the values from the form and submit them to another
form on another Url without the user who submitted the form on my site
knowing?

Essentially ones the user on my site hits submit they would get a thank
you page but on the back end I want to take the values from the form
and submit them to a form on another url on another site.

My reason for this is that I run several directories. I want to allow
users to submit at one and also choose to get a submission in the other
directories I run. But I do not want them to see all the back end
processing to submit to the other directories I run I just want to show
them a thank you page and then have the submission happen to the other
directories on the back end.

Anybody have any idea on which language or strategy I should use to accomplish this? I need to contact a programmer and have no idea if they will be telling me right so I want to get advice first.

Thank you.
Back to top View user's profile Send private message
Kates7



Joined:
12 Mar 2006

Posts:
4


Post Posted: Sun Mar 12, 2006 7:33 pm
      Post subject:

Reply with quote

How about running all your directories off one database?
So when they submit it's all centralized.

Then all you have to do is pull data (as includes or whatever) from one place to service multiple sites.
_________________
For spiritual understanding Redditch Spiritualist Church.
Back to top View user's profile Send private message
mojojuju



Joined:
22 Mar 2006

Posts:
2


Post Posted: Wed Mar 22, 2006 7:29 pm
      Post subject: Re: HTML Forms

Reply with quote

ebg wrote:
When a user hits submit on a php form on my site, is it
possible to take the values from the form and submit them to another
form on another Url without the user who submitted the form on my site
knowing?

Essentially ones the user on my site hits submit they would get a thank
you page but on the back end I want to take the values from the form
and submit them to a form on another url on another site.


Put an iframe in your thank you page that will send the post data to the other script like this:
Code:

<iframe width=0 height=0 src="http://www.othersite/othersctipt.php?parameter1=value¶meter2=value2" TITLE="title"\>some text
\<\/iframe\>


Once the user hits your thank you page, the location of the other script is opened in an invisible iframe and your data is passed on to that script.

There's better ways to do this, but your post made it sound like you weren't looking for a less messy way.
_________________
Download the list of all Clickbank Products and payout stats, gravity, etc. CB-Export
Back to top View user's profile Send private message
Charlie



Joined:
22 Aug 2003

Posts:
3305

Location:
UK

Post Posted: Thu Mar 23, 2006 1:32 pm
      Post subject: Re: HTML Forms

Reply with quote

Another way is to use an "onclick" for the submit button of the form, but either way, you'll still have to use JavaScript (in the client browser) to extract the values from the form object.

It is possible to run a PHP (say) script from JavaScript as long as the script returns valid JS to the browser.

If your programmer doesn't know how, ask him to Google for "Will Bontrager" and "javascript". There's some very handy stuff to be found. Smile

Cheers,
Charlie.
_________________
"Before I speak, I have something important to say."
- Groucho Marx
Back to top View user's profile Send private message
View previous topic :: View next topic  
Display posts from previous:   
Post new topic   Reply to topic
Affiliate Marketing Forum Index » Do-It-Your-Selfers
Page 1 of 1 All times are GMT

 

Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum




Newsletter Sign-up

Sign-up Now!

How to make $1000 a month from scratch

Sign-up for our newsletter and receive our 77 page eBook "How to make $1000 a month from scratch".

Best of all it's FREE!

Your Host

Allan Gardyne

Learn from an affiliate veteran.

Your host, Allan Gardyne, has been earning a good living from affiliate programs since 1998.

Want a BETTER article writer? We will write good articles just for you.

Content Kingdom