[PHP-DEV] PHP 4.0 Bug #8702: Nesting trim inside an empty wont parse
From: [EMAIL PROTECTED] Operating system: Linux rh6.2 PHP version: 4.0.4 PHP Bug Type: Scripting Engine problem Bug description: Nesting trim inside an empty wont parse if ( empty(trim($str)) ) { echo "BUG"; } else { echo "WORKS"; } Dont really need all the echo's since it never gets past a syntax check for the empty(trim()) part. I have to assume its a bug since logically, it shouldnt give a parser error. Parse error: parse error, expecting `T_VARIABLE' or `'$'' in /website/main/test.php on line 2 -- Edit Bug report at: http://bugs.php.net/?id=8702edit=1 -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-DEV] Content Management
Does anyone know of any group who has put together a web content management architecture for a large site?
[PHP-DEV] Bug #15369 Updated: Warning: Failed opening '/home/include/phpweb' for inclusion (include_path='.:.
ID: 15369 Updated by: [EMAIL PROTECTED] -Reported By: [EMAIL PROTECTED] +Reported By: [EMAIL PROTECTED] Status: Open Bug Type: Unknown/Other Function Operating System: win PHP Version: 4.1.1 New Comment: right Previous Comments: [2002-02-04 11:22:42] [EMAIL PROTECTED] Warning: Failed opening '/home/include/phpweb' for inclusion (include_path='.:./include:../include:../../include') in Unknown on line 0 -- Edit this bug report at http://bugs.php.net/?id=15369edit=1 -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-DEV] Bug #15381: $_FILES[X][name] strips local path from the users entered name
From: [EMAIL PROTECTED] Operating system: W2K Pro PHP version: 4.1.0 PHP Bug Type: Variables related Bug description: $_FILES[X][name] strips local path from the users entered name I am trying to write a form to upload files to the server. Running 4.1.0 on W2K Pro, IIS , and php.recommended.ini The first form gets the local (client) file name i.e. c:\dir1\dir2\file1.txt this is displayed to the user in the input type = file name = filename ... text box. The php script that the form posts to uses $_FILES[filename][name]. This returns : file1.txt The local path to the file has been lost. I have not seen any documentation that implies that this is intentional or that there is another element in the array that has the whole C:\... file name. As a consequence the file copy fails as the php script cannot find the file. Thanks BOb -- Edit bug report at http://bugs.php.net/?id=15381edit=1 -- Fixed in CVS:http://bugs.php.net/fix.php?id=15381r=fixedcvs Fixed in release:http://bugs.php.net/fix.php?id=15381r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=15381r=needtrace Try newer version: http://bugs.php.net/fix.php?id=15381r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=15381r=support Expected behavior: http://bugs.php.net/fix.php?id=15381r=notwrong Not enough info: http://bugs.php.net/fix.php?id=15381r=notenoughinfo -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-DEV] PHP Version 4.2.0rc1
phpinfo() displays PHP Version 4.2.0rc1and '/d2/usr2/local/php/lib' but there is no php.ini file in that directory. The only php.ini is in '/etc/php.ini' but I'm not if it uses that one. Is that a bug with the release candidate? -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP-DEV] Mac 8.6 Web Server with PHP
On Thu, 30 Aug 1956 13:38:41 -0600, J Abbott wrote: anyone know of a mac 8.6 compatible web server with PHP capibility? http://www.prenhall.com/~palmer/ http://www.tenon.com/products/ http://scholar.lib.vt.edu/reports/Servers-web.html PS! Set your clock? -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP-DEV] Mac 8.6 Web Server with PHP
anyone know of a mac 8.6 compatible web server with PHP capibility? http://www.tenon.com/products/webten/ It costs $495, however. I don't know of any free versions of PHP for MacOS X. I must have had a brain freeze 'cause I didn't see the with mPHP. -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-DEV] warning
I am compiling PHP-4.2.2 for Red Hat Linux. ./configure --prefix=/d2/usr2/local/php-4.2.2 --with-apxs=/d2/usr2/local/apache-1.3.26/bin/apxs --with-mysql=/d2/usr2/local/mysql-3.23.51 var_unserializer.c: In function `php_var_unserialize': var_unserializer.c:308: warning: comparison is always false due to limited range of data type -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php