#22576 [Fbk->Opn]: include() or require() file via HTTP wrapper

2003-03-06 Thread mav at alkar dot net
 ID:   22576
 User updated by:  mav at alkar dot net
 Reported By:  mav at alkar dot net
-Status:   Feedback
+Status:   Open
 Bug Type: Scripting Engine problem
 Operating System: FreeBSD 4.8-RC
 PHP Version:  4.3.1
 New Comment:

I do it. Now I have another warning message:
Warning: main() [function.main]: stream does not support seeking in
/www/clients/commerce/darknes/www.spooky.dp.ua/pages/news.html on line
6

news.html is a PHP script here that have include() on a line 6.


Previous Comments:


[2003-03-06 15:34:02] [EMAIL PROTECTED]

Please try using this CVS snapshot:

  http://snaps.php.net/php4-STABLE-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php4-win32-STABLE-latest.zip





[2003-03-06 15:30:51] mav at alkar dot net

When I write:
http://www.spooky.dp.ua/test.html";;
?>
and that file are not empty I take message:
Warning: main() [function.main]: stream does not support seeking in
http://www.spooky.dp.ua/test.html on line 0

PHP 4.3.1 compiled with options:
./configure \
--prefix=/usr/local \
--with-apxs=/usr/local/apache/bin/apxs \
--with-config-file-path=/usr/local/apache/conf \
--enable-memory-limit \
--with-mysql=/usr/local/mysql \
--with-gd=/usr/local \
--enable-trans-sid \
--enable-inline-optimization \
--enable-ftp \
--enable-dbase \
--enable-gd-native-ttf \
--with-ttf \
--with-freetype-dir=/usr/local \
--with-iconv \
--with-ming=/usr/local \
--with-zlib





-- 
Edit this bug report at http://bugs.php.net/?id=22576&edit=1



#22576 [NEW]: include() or require() file via HTTP wrapper

2003-03-06 Thread mav at alkar dot net
From: mav at alkar dot net
Operating system: FreeBSD 4.8-RC
PHP version:  4.3.1
PHP Bug Type: Scripting Engine problem
Bug description:  include() or require() file via HTTP wrapper

When I write:
http://www.spooky.dp.ua/test.html";;
?>
and that file are not empty I take message:
Warning: main() [function.main]: stream does not support seeking in
http://www.spooky.dp.ua/test.html on line 0

PHP 4.3.1 compiled with options:
./configure \
--prefix=/usr/local \
--with-apxs=/usr/local/apache/bin/apxs \
--with-config-file-path=/usr/local/apache/conf \
--enable-memory-limit \
--with-mysql=/usr/local/mysql \
--with-gd=/usr/local \
--enable-trans-sid \
--enable-inline-optimization \
--enable-ftp \
--enable-dbase \
--enable-gd-native-ttf \
--with-ttf \
--with-freetype-dir=/usr/local \
--with-iconv \
--with-ming=/usr/local \
--with-zlib

-- 
Edit bug report at http://bugs.php.net/?id=22576&edit=1
-- 
Try a CVS snapshot: http://bugs.php.net/fix.php?id=22576&r=trysnapshot
Fixed in CVS:   http://bugs.php.net/fix.php?id=22576&r=fixedcvs
Fixed in release:   http://bugs.php.net/fix.php?id=22576&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=22576&r=needtrace
Try newer version:  http://bugs.php.net/fix.php?id=22576&r=oldversion
Not developer issue:http://bugs.php.net/fix.php?id=22576&r=support
Expected behavior:  http://bugs.php.net/fix.php?id=22576&r=notwrong
Not enough info:http://bugs.php.net/fix.php?id=22576&r=notenoughinfo
Submitted twice:http://bugs.php.net/fix.php?id=22576&r=submittedtwice
register_globals:   http://bugs.php.net/fix.php?id=22576&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=22576&r=php3
Daylight Savings:   http://bugs.php.net/fix.php?id=22576&r=dst
IIS Stability:  http://bugs.php.net/fix.php?id=22576&r=isapi
Install GNU Sed:http://bugs.php.net/fix.php?id=22576&r=gnused



Bug #16905: mkdir crashes

2002-04-29 Thread mav

From: [EMAIL PROTECTED]
Operating system: FreeBSD 4.5
PHP version:  4.2.0
PHP Bug Type: Scripting Engine problem
Bug description:  mkdir crashes

Simple test like this makes segmentation fault:

This error occurs in both Apache DSO module and console version.
PHP configures as:
./configure  --with-apxs=/usr/local/apache/bin/apxs
--with-config-file-path=/usr/local/apache/conf --with-mysql=
/usr/local/mysql --with-gd=/usr/local --enable-trans-sid
--enable-versioning --enable-inline-optimization --enabl
e-ftp --enable-dbase --enable-gd-native-ttf --with-ttf
--with-freetype-dir=/usr/local

Here is back trace by gdb from core file:
# gdb php /www/www/clients/alkar/hotline/hotline.alkar.net/php.core 
GNU gdb 4.18
Copyright 1998 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you
are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for
details.
This GDB was configured as "i386-unknown-freebsd"...
Core was generated by `php'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /usr/lib/libpam.so.1...done.
Reading symbols from
/usr/local/mysql/lib/mysql/libmysqlclient.so.10...done.
Reading symbols from /usr/lib/libz.so.2...done.
Reading symbols from /usr/lib/libcrypt.so.2...done.
Reading symbols from /usr/local/lib/libgd.so.2...done.
Reading symbols from /usr/local/lib/libfreetype.so.9...done.
Reading symbols from /usr/lib/libm.so.2...done.
Reading symbols from /usr/lib/libc.so.4...done.
Reading symbols from /usr/local/lib/libpng.so.5...done.
Reading symbols from /usr/local/lib/libjpeg.so.9...done.
Reading symbols from /usr/libexec/ld-elf.so.1...done.
#0  0x80fed24 in execute (op_array=0x0) at ./zend_execute.c:1602
1602   
EX(Ts)[EX(opline)->result.u.var].var.ptr->is_ref = 0;
(gdb) bt
#0  0x80fed24 in execute (op_array=0x0) at ./zend_execute.c:1602
(gdb) 

-- 
Edit bug report at http://bugs.php.net/?id=16905&edit=1
-- 
Fixed in CVS:http://bugs.php.net/fix.php?id=16905&r=fixedcvs
Fixed in release:http://bugs.php.net/fix.php?id=16905&r=alreadyfixed
Need backtrace:  http://bugs.php.net/fix.php?id=16905&r=needtrace
Try newer version:   http://bugs.php.net/fix.php?id=16905&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=16905&r=support
Expected behavior:   http://bugs.php.net/fix.php?id=16905&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=16905&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=16905&r=submittedtwice




Bug #15575: Using PHP for CGI scripting.

2002-02-15 Thread mav

From: [EMAIL PROTECTED]
Operating system: FreeBSD 4.x
PHP version:  4.1.1
PHP Bug Type: Scripting Engine problem
Bug description:  Using PHP for CGI scripting.

When i try to use PHP 4.1.1 on one server
in both console and module verion i have such problem:

I wrote CGI script using console version of php.
This scipt begins by line #!/usr/local/bin/php.
When i run scipt as standalone application - all ok.
But when i run it as CGI appication - first output line
contains #!/usr/local/bin/php and then goes correct output.

This bug begins after upgrade from 4.0.4 to 4.1.0


-- 
Edit bug report at http://bugs.php.net/?id=15575&edit=1
-- 
Fixed in CVS:http://bugs.php.net/fix.php?id=15575&r=fixedcvs
Fixed in release:http://bugs.php.net/fix.php?id=15575&r=alreadyfixed
Need backtrace:  http://bugs.php.net/fix.php?id=15575&r=needtrace
Try newer version:   http://bugs.php.net/fix.php?id=15575&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=15575&r=support
Expected behavior:   http://bugs.php.net/fix.php?id=15575&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=15575&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=15575&r=submittedtwice




Bug #15571: incredible slashing of " and \

2002-02-15 Thread mav

From: [EMAIL PROTECTED]
Operating system: FreeBSD 4.x
PHP version:  4.1.1
PHP Bug Type: Scripting Engine problem
Bug description:  incredible slashing of " and \

When script must take variable that consist " and \
it takes \" and \\.

You can see this bug on http://bugs.php.net/search.php
if you enter \" in any field and press "Search".

I have PHP 4.1.1 configured with such options:
./configure  --with-apxs=/usr/local/apache/bin/apxs
--with-config-file-path=/usr/local/apache/conf
--with-mysql=/usr/local/mysql --with-gd=/usr/local --enable-trans-sid
--enable-versioning --enable-inline-optimization --enable-ftp
--enable-dbase --enable-gd-native-ttf --with-ttf

-- 
Edit bug report at http://bugs.php.net/?id=15571&edit=1
-- 
Fixed in CVS:http://bugs.php.net/fix.php?id=15571&r=fixedcvs
Fixed in release:http://bugs.php.net/fix.php?id=15571&r=alreadyfixed
Need backtrace:  http://bugs.php.net/fix.php?id=15571&r=needtrace
Try newer version:   http://bugs.php.net/fix.php?id=15571&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=15571&r=support
Expected behavior:   http://bugs.php.net/fix.php?id=15571&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=15571&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=15571&r=submittedtwice