16-10-2007, 17:51 | #21 |
Chef extraordinaire
Join Date: Jul 2006
Location: Infinite Loop
Posts: 11,143
|
just got in from work but will have a look in a bit
__________________
"Dr Sheldon Cooper FTW!" |
16-10-2007, 19:14 | #22 |
The Last Airbender
Join Date: Jun 2006
Location: Pigmopad
Posts: 11,915
|
OK, cheers matey. I've tried all sorts of stuff but just can't get it nailed :/
__________________
|
17-10-2007, 09:08 | #23 | |
Chef extraordinaire
Join Date: Jul 2006
Location: Infinite Loop
Posts: 11,143
|
Quote:
__________________
"Dr Sheldon Cooper FTW!" Last edited by leowyatt; 17-10-2007 at 09:12. |
|
17-10-2007, 17:38 | #24 |
The Last Airbender
Join Date: Jun 2006
Location: Pigmopad
Posts: 11,915
|
Still seem to be struggling :/
I guess I'll leave it as is. I at least get the name appended to the front of the file so I still know who it's from, just would have preferred it to be in a folder for neatness really.
__________________
|
17-10-2007, 18:53 | #25 |
Chef extraordinaire
Join Date: Jul 2006
Location: Infinite Loop
Posts: 11,143
|
i'll chat to you about it later if you like?
__________________
"Dr Sheldon Cooper FTW!" |
17-10-2007, 19:33 | #26 | |
Screaming Orgasm
Join Date: Jul 2006
Location: Newbury
Posts: 15,194
|
Quote:
PS - I'm not sure what $image_list is for. The changes above may possibly break that. If so, I can give you a fix for that too. Last edited by Mark; 17-10-2007 at 19:35. |
|
18-10-2007, 07:39 | #27 |
The Last Airbender
Join Date: Jun 2006
Location: Pigmopad
Posts: 11,915
|
Ahhh, I see what you've done there
Could well be it, will give it a whirl later. I think the image_list bit is the part that lists any uploaded files in the email that is sent to me.
__________________
|
18-10-2007, 09:25 | #28 |
The Last Airbender
Join Date: Jun 2006
Location: Pigmopad
Posts: 11,915
|
Wohooo, with a minor bit of tweaking, my ordering is now as I wanted
Cheers for the help guys.
__________________
|
18-10-2007, 10:26 | #29 |
The Last Airbender
Join Date: Jun 2006
Location: Pigmopad
Posts: 11,915
|
Hmmm, next problem
Directories are being create with 755 permissions instead of 777 meaning I can't delete them via ftp. :/ I'm sure this was working properly the other day.
__________________
|
18-10-2007, 10:34 | #30 |
Screaming Orgasm
Join Date: Jul 2006
Location: Newbury
Posts: 15,194
|
That'll be a thing called 'umask' possibly. It's a pain the the butt for things like that.
I can't remember if that server allows you to run shell commands within PHP (Beansprout will tell you), but if it does, then adding: system("chmod -R 777 /home/jmartw00/files/$Name"); after copying in the last of the files should sort it. |
Thread Tools | |
Display Modes | |
|
|