 |
HTML Help Please Search for the answer to your question before asking it! Thanks.
|
| View previous topic :: View next topic |
| Author |
Message |
grendeliow
Joined: 13 Aug 2008
Posts: 1
|
| Posted: Wed Aug 13, 2008 1:30 am Embedding |
|
|
Hi,
I hope this is the right place to post.
I have sucessfully embedded a statstical graph from another site on my site using iframes. However, the site I am retriving the graph from is passworded. Hence, whenever I visit my site instead of displaying the graph I have a login box displayed in the iframe layout.
I know the other username and password as it's my website but do not wish to keep logging in everytime. Is there a way I can embed it in to my PHP code so it logs in automatically so the graph displays everytime?
Much appreciated, I have searched google many times and come up emtpy handed. |
|
|
Straystudio
Joined: 14 Apr 2008
Posts: 264
Location: Nord Italy
|
| Posted: Wed Aug 13, 2008 6:40 am |
|
|
Hopefully, anyone skilled PHP-er would come soon.
Depending on which kind of access page that site delivers to You (to Your IFRAME), in JavaScript I would be able to do either:
- a clone of that access page, where both the username and password fields are already filled-in with due values; even rendered by *** asterisks, as You know. Also the INPUT TYPE="hidden" fields way is possible.
or:
- accessing to that access page as Document beeing loaded in the IFRAME, by kind of getElementBy... then entering values via JavaScript.
At the worse, You will have to do one click; likely, auto-submitting on onloading would turn out as feasible; so, IFRAME displays graph directly.
|
|
|
| |
|
|
|
Powered by phpBB Search Engine Indexer
Powered by phpBB 2.0.19 © 2001, 2002 phpBB Group
|