Upload popups "Save as box"

See all posts Reply

Upload popups "Save as box" new!
by Eradicator, 16 years, 3 months ago
Hello,
I my Ubuntu apache php mysql the class works great.
Now I use it on my server on internet and there are some problems.
When I add ad image, the log shows that file is uploaded correctly to temporary folder:
- upload OK
- file name OK
- source variables
file_src_name : casa_small.gif
file_src_name_body : casa_small
file_src_name_ext : gif
file_src_pathname : /tmp/phpZSy3pp
file_src_mime : image/gif
file_src_size : 1027 (max= 2097152)
file_src_error : 0
- source file is an image
image_src_x : 16
image_src_y : 15
image_src_pixels : 240
image_src_type : gif
image_src_bits : 8


But if I debug my upload script I see that when I run $handle->process, on linux web browser I see a box saying "Save as 'my_upload_script.php".
On Windows web browser I see blank page.
In both cases the log is empty or not shown.Reply
Re: Upload popups "Save as box" new!
by Eradicator, 16 years, 3 months ago
my script is in subdomain1.mydomain.it and the process directory is in subdomain2.mydomain.it
On my local ubuntu pc works great. In my vps it doesn't work.

One difference I see in php.ini is that in local I have safe_mode = off and in my vps safe_mode = ON

May this cause this issue?Reply
Re: Upload popups "Save as box" new!
by Eradicator, 16 years, 3 months ago
If I use the same subdomain it seems to work.

Do you know why?Reply
Re: Upload popups "Save as box" new!
by colin, 16 years, 3 months ago
You server is misconfigured.Reply