Hi
I have solved it but in a very wiered way.
I am using relative path - ../DBImages instead of a standard url.
It works and can suffice but if you have a clue of what is going on I would be happy to hear (I think there is a way of configuring the path on server)
Yours
Danny
User Profile
Collapse
-
Thanks for the patience
My problem is that I don't have any indication for any problem on script.
I get a temporary file path on the "$_FILES" array.
Still the move_uploaded_f ile command fails - It returns False and does not upload the files to my desired directory.
If I had any error notification I could try and fix it.
The above code should work. Has anyone encountered...Leave a comment:
-
Sure mate
The following is the code for extracting the data from the file control:
($data['name'] is the text in the control itself)
function getData($data,$ fieldName)
{
global $uploaddir,$db;
//Get data from the file control
$imageName = $data[name];
//a new image is set and waiting in the file control
if ($imageName)
{
...Leave a comment:
-
upload files frustration
Hi all
I am trying to upload images to a remote server and it fails all the time.
My $_FILES array looks as follows
[php]
[thumbnail] => Array
(
[name] => 01.jpg
[type] => image/jpeg
[tmp_name] => d:\upload_tmp\p hp5F90.tmp
[error] => 0
[size] => 1268
)
[bigPic] =>...
No activity results to display
Show More
Leave a comment: