Jump to content

cann't upload a photo


lex m.

Recommended Posts

I have used a script by Wim vanden Eynde to upload and resize a photo, workes very good. I copied the page to a new domain and now it isn't working anymore. I tried another free php-upload script and it had the same problem, so it isn't the script, it has something to do on my side. the warnings i got were:
Warning: fopen(plaatjes/test.jpg): failed to open stream: Permission denied in /home/smsmarkt/domains/smsmarktplaats.nl/public_html/test.php on line 99

Warning: fwrite(): supplied argument is not a valid stream resource in /home/smsmarkt/domains/smsmarktplaats.nl/public_html/test.php on line 100
Er is een fout opgetreden bij het opladen van het bestand.
Warning: fclose(): supplied argument is not a valid stream resource in /home/smsmarkt/domains/smsmarktplaats.nl/public_html/test.php on line 109


what am I doing wrong, why is the permission denied?
Link to comment
https://forums.phpfreaks.com/topic/19564-cannt-upload-a-photo/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.