PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
Moderator: General Moderators
mikegotnaild
Forum Contributor
Posts: 173 Joined: Sat Feb 14, 2004 5:59 pm
Post
by mikegotnaild » Sun Feb 15, 2004 12:27 am
So if this works it was most likely because of the uploads directory thing?
markl999
DevNet Resident
Posts: 1972 Joined: Thu Oct 16, 2003 5:49 pm
Location: Manchester (UK)
Post
by markl999 » Sun Feb 15, 2004 12:28 am
Well, it's a start if it does work
Means the upload code is good and anything else that goes wrong is down to surrounding code.
mikegotnaild
Forum Contributor
Posts: 173 Joined: Sat Feb 14, 2004 5:59 pm
Post
by mikegotnaild » Sun Feb 15, 2004 12:28 am
Theres no errors but there is also no files in the upload folder
markl999
DevNet Resident
Posts: 1972 Joined: Thu Oct 16, 2003 5:49 pm
Location: Manchester (UK)
Post
by markl999 » Sun Feb 15, 2004 12:32 am
ok, lets check the paths are ok..
do an echo $_SERVER['DOCUMENT_ROOT'].'/localmm/upload/';
then whatever that echo's check that directory exists and is writable by the web server.
markl999
DevNet Resident
Posts: 1972 Joined: Thu Oct 16, 2003 5:49 pm
Location: Manchester (UK)
Post
by markl999 » Sun Feb 15, 2004 12:34 am
Yes
mikegotnaild
Forum Contributor
Posts: 173 Joined: Sat Feb 14, 2004 5:59 pm
Post
by mikegotnaild » Sun Feb 15, 2004 12:37 am
for some reason the files i uploaded just now are showing up in the folder now. after i did the echo
markl999
DevNet Resident
Posts: 1972 Joined: Thu Oct 16, 2003 5:49 pm
Location: Manchester (UK)
Post
by markl999 » Sun Feb 15, 2004 12:38 am
Does that mean it works ok now? (even without the echo? )
mikegotnaild
Forum Contributor
Posts: 173 Joined: Sat Feb 14, 2004 5:59 pm
Post
by mikegotnaild » Sun Feb 15, 2004 12:38 am
Ill try uploading 2 more files and see if they show up.
markl999
DevNet Resident
Posts: 1972 Joined: Thu Oct 16, 2003 5:49 pm
Location: Manchester (UK)
Post
by markl999 » Sun Feb 15, 2004 12:41 am
Yay! Praise the Gods!!!!!!
mikegotnaild
Forum Contributor
Posts: 173 Joined: Sat Feb 14, 2004 5:59 pm
Post
by mikegotnaild » Sun Feb 15, 2004 12:41 am
YES!! Thank you very much for taking so much time with me.