Path: csiph.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: "J.O. Aho" Newsgroups: comp.lang.php Subject: Re: file upload "500 internal server error" with filenames with commas Date: Thu, 1 Oct 2015 17:43:18 +0200 Lines: 24 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Trace: individual.net 6AXgk25gfRMFTqmxqYvzMA6OrTrASc93rP9xR0rSA43IBOiaYo Cancel-Lock: sha1:SndGChDc6qBaDzfsswI10Wx44Lk= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 In-Reply-To: Xref: csiph.com comp.lang.php:15690 On 10/01/2015 12:16 PM, Sandro Pellegrinetti wrote: > Hallo there > > just a simple script, i'm tring to upload a file from a form tag. > If in the uploaded filename i have some aphostrophe or commas, i recive 500 error. > > HTML >
> > > > filename = tes't.jpg > > > Any way to fix it ? Everything depends on your test.php and as no one here is a mind reader, we don't know what you wrote in it. -- //Aho