Computer Forums

Member Login

Remember Me? Sign Up! | Forgot Password
 
Slogan
 
Computer Forums > Programmers Lounge > Programming Discussions » Submit button / multiple actions help
Closed Thread
Old 01-16-2009, 06:54 PM   #1 (permalink)
 
Newb Techie

Join Date: Jan 2009

Posts: 9

darkender is on a distinguished road

Question Submit button / multiple actions help

Hey guys,

This may not be something you will be able to help with but is there anyway to send data to two different pages using just one submit button?
darkender is offline  
Old 01-16-2009, 07:38 PM   #2 (permalink)
CrazeD's Avatar
 
Wizard Techie

Join Date: Feb 2006

Location: Maine

Posts: 3,683

CrazeD will become famous soon enough

Send a message via AIM to CrazeD Send a message via MSN to CrazeD
Default Re: Submit button / multiple actions help

Why not just process both pages in one page?
__________________

Need website help? PM me!
CrazeD is offline  
Old 01-16-2009, 07:42 PM   #3 (permalink)
 
Newb Techie

Join Date: Jan 2009

Posts: 9

darkender is on a distinguished road

Default Re: Submit button / multiple actions help

well it's kinda weird what im trying to do :| i'm trying to set it up so the user clicks submit.. and it logs into my web hosting account(which requires an action for login) and then does another action with information to do what i wanted it to do inside the account. and then i also wanted it to log out but thats a different story i wont worry about that now.. currently i have it setup so it will log in when i click one button.. and then the next button does the activity in the account.. and then the third one logs out.. i just want to be able to put those into one button. Any ideas if this is possible or how secure it would be lol I know it's probably stupid

Last edited by darkender; 01-16-2009 at 07:45 PM.
darkender is offline  
Old 01-16-2009, 07:51 PM   #4 (permalink)
CrazeD's Avatar
 
Wizard Techie

Join Date: Feb 2006

Location: Maine

Posts: 3,683

CrazeD will become famous soon enough

Send a message via AIM to CrazeD Send a message via MSN to CrazeD
Default Re: Submit button / multiple actions help

I'm not sure I understand your reason behind this, but ah well...

Just do something like:

{Process stuff}
{login code}
{do stuff code}
{logout code}
{/Process stuff}

Or something.

As far as secure, it is not in the slightest.
__________________

Need website help? PM me!
CrazeD is offline  
Old 01-16-2009, 07:58 PM   #5 (permalink)
 
Newb Techie

Join Date: Jan 2009

Posts: 9

darkender is on a distinguished road

Default Re: Submit button / multiple actions help

true true.. but say i have web hosting and i can create mailboxes and I wanted people to be able to sign up at my website.

they go there and put in there email address they want and that password they want and then submit to create their mailbox. Right now I can only create mailbox by logging into my web hosting account. I would like to try to to make it so they can put in that information and click submit.. and it will log into my hosting account with data sent to the login page.. and then send some more data (their new email address and password) to the page within my hosting to create the mailbox. and then it will log out and done... well maybe not done.. but some sort of saying your mailbox has been created. I bet it's a hard task i'm not expecting help but just if it's something easy i'm missing but ya probably unsecure for sure. Was reading somewheres that maybe sessions variables would work.
darkender is offline  
Old 01-16-2009, 08:06 PM   #6 (permalink)
CrazeD's Avatar
 
Wizard Techie

Join Date: Feb 2006

Location: Maine

Posts: 3,683

CrazeD will become famous soon enough

Send a message via AIM to CrazeD Send a message via MSN to CrazeD
Default Re: Submit button / multiple actions help

No offense, but that's a very stupid idea.

I would do some research on CRON jobs and see if that can help you.
__________________

Need website help? PM me!
CrazeD is offline  
Old 01-16-2009, 08:13 PM   #7 (permalink)
 
Newb Techie

Join Date: Jan 2009

Posts: 9

darkender is on a distinguished road

Default Re: Submit button / multiple actions help

I told you it was stupid kk i'll check that out thanks
darkender is offline  
 
Closed Thread

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
multiple options per button closterman Other Computer HW Topics 3 12-15-2008 02:45 AM
Are there power button mods for PC-A70? RoRol Overclocking, Case Mod, Tweaking PC Performance 6 05-27-2008 11:22 AM
Black Viper's Top tweaks for a faster PC xXxexpertxXx Overclocking, Case Mod, Tweaking PC Performance 0 02-21-2008 10:04 PM