image upload problem

images php coding issues or problems here.

Moderators: macek, egami, gesf

Post Reply
User avatar
Alexej Kubarev
Site Admin
Site Admin
Posts: 2223
Joined: Fri Mar 05, 2004 7:15 am
Location: Täby, Stockholms län
Contact:

Post by Alexej Kubarev » Fri Feb 10, 2006 4:09 pm

Well, are you getting any errors?
Turn error reportin to E_ALL and give us errors that you are getting
This might be a permission problem.

Oleg Butuzov
Last Samuray
Last Samuray
Posts: 831
Joined: Sun Jun 02, 2002 3:09 am

Post by Oleg Butuzov » Sun Feb 12, 2006 12:57 am

How can I solve this problem.
Setting a chmod to uploader script

User avatar
gesf
Moderator
Moderator
Posts: 1717
Joined: Sun Dec 29, 2002 5:03 am
Location: Portugal / Sweden
Contact:

Post by gesf » Sun Feb 12, 2006 1:04 am

First: mkdir
After: chmod

Or: system with the command: "chmod $decimal_val $path_to_filename_or_dir".

User avatar
gesf
Moderator
Moderator
Posts: 1717
Joined: Sun Dec 29, 2002 5:03 am
Location: Portugal / Sweden
Contact:

Post by gesf » Mon Feb 20, 2006 12:29 pm

Sorry i wasn't able to post a code.
What i meant was: Make the directory first with mkdir() and change the permission at last with chmod().

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest