Move form info to another page???

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
emhmk1
Forum Newbie
Posts: 6
Joined: Sun Jun 15, 2008 4:34 am

Move form info to another page???

Post by emhmk1 »

Is it possible with php to move the content of one form to another form.......for example

the client types in a domain name they want registering, then after a whois lookup they can register the domain but can the domain name be passed on to the next form that requires their details and also if they want multiple domains can it be passed on to a select menu in the 'details' form ???


Ultimate Newbie here so please be gentle!

Many thanks
User avatar
superdezign
DevNet Master
Posts: 4135
Joined: Sat Jan 20, 2007 11:06 pm

Re: Move form info to another page???

Post by superdezign »

It depends on where this whois lookup is being performed. Ideally, you'd want to perform it on the same form page, anyway.
emhmk1
Forum Newbie
Posts: 6
Joined: Sun Jun 15, 2008 4:34 am

Re: Move form info to another page???

Post by emhmk1 »

Thanks for the reply.

It is a seperate form, the domain checker is just an input field with submit then when the whois is checked there is the option to register the domain by clicking the register link.

I will look into your idea if nothing comes of this one...

Cheers...
User avatar
superdezign
DevNet Master
Posts: 4135
Joined: Sat Jan 20, 2007 11:06 pm

Re: Move form info to another page???

Post by superdezign »

You could use cURL to submit data to the whois lookup, and determine if the results are positive or negative (assuming this is your website, or a third-party website that you have permission to take data from).
emhmk1
Forum Newbie
Posts: 6
Joined: Sun Jun 15, 2008 4:34 am

Re: Move form info to another page???

Post by emhmk1 »

What is cURL ?? i'm pretty new to all this and yes it is my website.


Cheers...
User avatar
superdezign
DevNet Master
Posts: 4135
Joined: Sat Jan 20, 2007 11:06 pm

Re: Move form info to another page???

Post by superdezign »

Post Reply