Re: [PHP-DB] picture into mysql (file address)

2002-12-19 Thread Seabird
since this is a local folder (testing on local server) I have complete access everywhere. I judge from your sample that register_globals are ON and mine are turned off (for several reasons. Do I have a typo somewhere? where does my full path start etc. the actual folder is in: c:\apache\htdocs\se

Re: [PHP-DB] picture into mysql (file address)

2002-12-19 Thread Terry Romine
One comment is to be sure the destination folder has write privileges for world. My typical usage is: 2) // datafile is field name for image/file upload browser $img_dir = "../photos"; // must be 777 access if($datafile_name != "") { if ($datafile_name != "none") {

[PHP-DB] picture into mysql (file address)

2002-12-18 Thread Seabird
Hi everyone, I have been struggeling with this for some time know and don't know where it goes wrong. I want to upload pictures into a folder AND store their path into MySQL. I used a joe's auto tutorial but can't get it to work. All the information is put in correctly but not the picture. Please