Register Advertise with usHelp Desk Today's Posts Search

Closed Thread
Thread Tools Search this Thread
Unread 19th Nov 2009, 11:46 PM   #1
Sky Marshal
War Room Member
 
yangyang's Avatar
 
Join Date: 2007
Location: TheDataPlanet.com
Posts: 86
Thanks: 26
Thanked 4 Times in 4 Posts
Blog Entries: 1
Default
Is there any way to do this in PHP (or with a combination of JS)?
Share on: 
fb share twitter share gplus share more share

There's a login form on page A: http://www.example.com/A.html

The 'action' attribute of which is: action="/B.html"

So when someone logs in with the form on A.html, the data will be submitted to / visitor redirected to B.html.

Now what I want is: there's an <iframe></iframe> on /C.html, framing B.html, is there any way so that when someone logs in with the form on A.html, the visitor is redirected to C.html and the login details is submitted to B.html that's framed on C.html in the <iframe></iframe>? So after the person logs in from A.html, he arrives at C.html with the actual CP dashboard framed in an <iframe>.

I have absolutely no clue in achieving this. Maybe the form will be submitted to C.html first and C.html submits the login details to B.html (framed in C.html) via JavaScript? How?

1. Global Movies Database = $489.95 = 1.5 GB data + 65.9 GB images.

2. World Hotels Database = $589.95 = 1.54 GB data + 71.4 GB images.

3. Auto Parts Database = $489.95 = 15.8 GB data + 30.4 GB images.
yangyang is offline  
Unread 20th Nov 2009, 03:30 AM   #2
HyperActive Warrior
War Room Member
 
gordi555's Avatar
 
Join Date: 2009
Posts: 166
Thanks: 7
Thanked 12 Times in 11 Posts
Default
Re: Is there any way to do this in PHP (or with a combination of JS)?
Share on: 
fb share twitter share gplus share more share

What is it you're trying to acheive? Maybe people here can think of a simpler solution.
gordi555 is offline  
Unread 20th Nov 2009, 04:46 AM   #3
Active Warrior
 
Join Date: 2009
Posts: 59
Thanks: 1
Thanked 0 Times in 0 Posts
Default
Re: Is there any way to do this in PHP (or with a combination of JS)?
Share on: 
fb share twitter share gplus share more share

well its some messed up thing..but if i get it right..you can use get instead of post and.
A will post to c
and c to b via get request.
hope that helps
Thanks

ankit_frenz is offline  
Closed Thread


Bookmarks

Tags
combination, php


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 Off
Pingbacks are Off
Refbacks are Off




All times are GMT -6. The time now is 01:07 PM.