I want to save the movie posters on webserver. For my website i´m using classic ASP, but i can´t find any solution how to save the image file. Can anyone help?
Kan du inte hitta en film eller tv-serie? Logga in för att skapa den.
Vill du betygsätta denna artikel eller lägga till den i en lista?
Inte medlem?
Svar från Dale
den 3 mars 2014 vid 5:27 PM
I don't have a asp example but I could send a php example if you would like.
Svar från jigas
den 6 mars 2014 vid 5:38 AM
Assuming that you allready have populated the json and u just want to save. Assuming that you have folder rights
here is an function that saves the image url to local file.
Svar från tony007
den 6 mars 2014 vid 8:44 AM
@Dale, I would like to see the PHP example :)
Svar från Dale
den 6 mars 2014 vid 9:06 AM
Here is my example:
You need to ensure each of the folder structure are created for each images.
If you need any help let me know. I am using someone Image_save_from_url() function. Sorry that I couldn't give credit to the person I got it from.
Dale.
Svar från tony007
den 6 mars 2014 vid 9:10 AM
Thanks Dale, I'm having problems getting the images using AJAX and json
Svar från Dale
den 6 mars 2014 vid 9:12 AM
No problem. Sorry there was some format issues with my post. I have fixed it. Hope that helps.
Svar från tony007
den 6 mars 2014 vid 9:14 AM
Thanks Dale