shilpa505 Posted October 9, 2012 Share Posted October 9, 2012 (edited) Hello, i have a small issue as i am using fsockopen() function for the image saving from chart.apis.google.com, as curl execution is disable on the server due to of security reason's. So proceeded with fsockopen() function, but i am getting the output as attached in the screenshot.Got stuck with the creation and saving of image on to the server.can you please help on this.your faster response will be more helpful on this. Thanks, Edited October 9, 2012 by shilpa505 Quote Link to comment https://forums.phpfreaks.com/topic/269250-how-to-save-image-from-web-remote-image-using-fsockopen/ Share on other sites More sharing options...
Christian F. Posted October 9, 2012 Share Posted October 9, 2012 How does your code look like? Quote Link to comment https://forums.phpfreaks.com/topic/269250-how-to-save-image-from-web-remote-image-using-fsockopen/#findComment-1383935 Share on other sites More sharing options...
ManiacDan Posted October 9, 2012 Share Posted October 9, 2012 why not just...copy()? Does the server disable remote url access? Quote Link to comment https://forums.phpfreaks.com/topic/269250-how-to-save-image-from-web-remote-image-using-fsockopen/#findComment-1383938 Share on other sites More sharing options...
xyph Posted October 9, 2012 Share Posted October 9, 2012 why not just...copy()? Does the server disable remote url access? If cURL is gone, I doubt allow_url_fopen is true Quote Link to comment https://forums.phpfreaks.com/topic/269250-how-to-save-image-from-web-remote-image-using-fsockopen/#findComment-1383950 Share on other sites More sharing options...
ManiacDan Posted October 9, 2012 Share Posted October 9, 2012 They could be dumb! Quote Link to comment https://forums.phpfreaks.com/topic/269250-how-to-save-image-from-web-remote-image-using-fsockopen/#findComment-1383951 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.