grendeliow Posted August 13, 2008 Share Posted August 13, 2008 Hi, 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 username and password for the other site 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. Link to comment https://forums.phpfreaks.com/topic/119466-embedding/ Share on other sites More sharing options...
discomatt Posted August 13, 2008 Share Posted August 13, 2008 This is tricky. In order to log-in for the client you must pass your credentials to them. Your best bet is to have a cron grab the image using cURL every x minutes and copy it locally, then display that image. Link to comment https://forums.phpfreaks.com/topic/119466-embedding/#findComment-615421 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.