Go Back   WarriorForum - Internet Marketing Forums > Warrior Support Forums > Programming Talk
Register Blogs FAQ Social Groups CalendarHelp Desk

Reply
 
LinkBack Thread Tools
Old 11-19-2009, 11:46 PM   #1
Sky Marshal
War Room Member
 
yangyang's Avatar
 
Join Date: Jun 2007
Location: kavoir.com
Posts: 84
Blog Entries: 1
Thanks: 10
Thanked 2 Times in 2 Posts
Social Networking View Member's Twitter Profile 
Default Is there any way to do this in PHP (or with a combination of JS)?

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?

MySQL Content Databases - yellow pages, world hotels, lawyers, realtors, amazon books, golf courses, colleges, famous quotes, auto parts, dictionary, etc.
yangyang is offline   Reply With Quote
Old 11-20-2009, 03:30 AM   #2
HyperActive Warrior
War Room Member
 
gordi555's Avatar
 
Join Date: Nov 2009
Posts: 168
Thanks: 7
Thanked 10 Times in 10 Posts
Default Re: Is there any way to do this in PHP (or with a combination of JS)?

What is it you're trying to acheive? Maybe people here can think of a simpler solution.
gordi555 is offline   Reply With Quote
Old 11-20-2009, 04:46 AM   #3
Active Warrior
 
Join Date: May 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)?

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   Reply With Quote
Reply

  WarriorForum - Internet Marketing Forums > Warrior Support Forums > Programming Talk

Tags
combination, php

Thread Tools

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 09:05 AM.