Search found 7 matches

by tuberider
Mon Sep 15, 2003 9:18 am
Forum: PHP - Code
Topic: FILE UPLOAD PROBLEM - HELP NEEDED
Replies: 14
Views: 1030

m3rajk,

thank you very much 4 ur help & tips.

Best Regards,

Rui
by tuberider
Sun Sep 14, 2003 10:59 am
Forum: PHP - Code
Topic: FILE UPLOAD PROBLEM - HELP NEEDED
Replies: 14
Views: 1030

finally! i did it guys!
i did this:
chmod 777 tmp
chmod 777 images

and move_uploaded_file ($source,$dest) worked fine!
now i have that security issues...

thank you very much!

Best Regards,

Rui
by tuberider
Sun Sep 14, 2003 10:52 am
Forum: PHP - Code
Topic: FILE UPLOAD PROBLEM - HELP NEEDED
Replies: 14
Views: 1030

following Volka's tip, i used ls -la and i noticed the following:

the EVERYONE ELSE group is like r-- for every file and like r-x for every directory listed in my website dir.
by tuberider
Sun Sep 14, 2003 10:21 am
Forum: PHP - Code
Topic: FILE UPLOAD PROBLEM - HELP NEEDED
Replies: 14
Views: 1030

Volka, thank you very much for your tips and urls. well, i have full acess to the server and i'm testing this application (i didn't developed it) to be presented next week to the organization. Talking in a general way, this is a project for an humanitary foundation were users (among all other things...
by tuberider
Sun Sep 14, 2003 8:00 am
Forum: PHP - Code
Topic: FILE UPLOAD PROBLEM - HELP NEEDED
Replies: 14
Views: 1030

i'm really sorry for the php tags...i'm new at this forum and i read your post so quickly that i didn't pay much attention to your last sentence (use the php tags)... answering your questions: 1- i'm using Apache/1.3.27 (Unix) PHP/4.3.1 2- register globals = On 3-i'm using this as stand alone thanks...
by tuberider
Sat Sep 13, 2003 1:55 pm
Forum: PHP - Code
Topic: FILE UPLOAD PROBLEM - HELP NEEDED
Replies: 14
Views: 1030

First of all let me thank all your help. Before this piece of code: print_r($HTTP_POST_FILES); $image = $HTTP_POST_FILES["image"]["tmp_name"]; echo "<BR>IMG = $image <BR> NAME = $image_name"; if (is_uploaded_file($image)) { echo "<BR>UPLOAD OK"; $dest = $_SERV...
by tuberider
Sat Sep 13, 2003 8:01 am
Forum: PHP - Code
Topic: FILE UPLOAD PROBLEM - HELP NEEDED
Replies: 14
Views: 1030

FILE UPLOAD PROBLEM - HELP NEEDED

Hi, i'm having a problem with file uploads using the following code: print_r($HTTP_POST_FILES); if (is_uploaded_file($image)) { echo "<BR>UPLOAD OK"; $dest = "/usr/local/www/htdocs/ohat/ohat_home/images/contents/" .$image_name . "/"; if (move_uploaded_file ($image , $de...