|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2000-10-30 11:22 UTC] stas@php.net
[2000-11-29 06:17 UTC] stas@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Tue Oct 28 11:00:01 2025 UTC |
When using HTTP upload, as described in the online PHP manual, things go wrong when I try to upload a file that contains spaces. All PHP works fine, except for this. Assuming you uploaded a file called "with spaces.txt", the following variables are set: $somefile = null; $somefile_name = "with spaces.txt"; $somefile_size = 0; I compiled PHP using the following configure options: ./configure \ --with-mysql=/opt/mysql \ --enable-track-vars \ --prefix=/opt/php4 \ --with-apxs=/opt/apache/bin/apxs I use Apache version 1.3.12 in combination with Apache's Tomcat engine version 3.1. The only PHP specific thing I have in my httpd.conf is this: LoadModule php4_module libexec/libphp4.so AddModule mod_php4.c DirectoryIndex index.html index.jsp index.php index.htm index.cgi AddType application/x-httpd-php .php AddType application/x-httpd-php-source .phps php_value upload_max_filesize 20971520