• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Issue Cannot upload files with my PHP script

Zbigniew Marciniak

New Pleskian
Hello,
last year I wrote a small PHP script and a HMTL file which allowed me to upload images into the MySQL DB on my STRATO server (virtual server linux level 2 v1503.a3/12). I also wrote an automatic email confirmation that a file was uploaded (a mail was sent to the address of the person who uploaded the file).
Both file upload and email send worked perfectly.
Unfortunately since November 2015 it does not work at all.
I do have my last pictures uploaded on Nov. 19th 2015.

Since then I had a different project and I did not work on this issue. Now I am returning to my hobby project and facing the same problem as 6 month ago.

My PHP and HTML sources are in GIT - they have been working fine till Nov. 2015 and now they don't.
Besides they still work on my local XAMPP installation on my local host.
Therefore I strongly assume there is no error in the code.
So it must have been a change at STRATO which changed the conditions and is now the problem.

Of course I did check the php.ini
* config is /etc/php5/apache2/php.ini (PHP version 5.5.9-1, ubuntu 4.14),
* file_uploads is ON,
* upload_tmp_dir is /var/www/tmp (with all read&write; chmod 777),
* max_file_uploads is 50,
* upload_max_filesize is 128M,
* post_max_size 100M

I would be really grateful for help.

Z.M.
 
Back
Top