#21439 [NEW]: output content after POST

2003-01-05 Thread cascade
From: [EMAIL PROTECTED]
Operating system: FreeBSD 4.7
PHP version:  4.3.0
PHP Bug Type: Unknown/Other Function
Bug description:  output content after POST

Hi,

I am using PHP4.3.0 on FreeBSD4.7 which works as fine as previous
versions, but today I made up a little script which gets some data,
handles it and then gives back an gif image. I know that gif is not free
and not included in gd, but the fact that it is a gif-file does not
matter.
Whenever I post data to the php-script i get data back, even as much as I
expected, but the only Browser that displays the image is Internet
Explorer, I tried Opera, Galeon, Links, Netscape (some for windows, linux
and freebsd) but only IE did the job. If I change the form to do a "get"
and not a "post" it works, but then I am not able to upload a file with
the form, so i need post...
the only lines that produce any output inside the script are:

header("Content-Type: image/gif");
if (file_exists($movie_file)) @readfile ($movie_file);

Since I found some people complainign about pdf-files to be broken when
using "post" and the same structure for the output as I did, and I never
found a solution, I think this could be a bug, if not, beat me ;)

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




#21439 [Com]: output content after POST

2003-01-05 Thread cascade
 ID:   21439
 Comment by:   [EMAIL PROTECTED]
 Reported By:  [EMAIL PROTECTED]
 Status:   Open
 Bug Type: Unknown/Other Function
 Operating System: FreeBSD 4.7
 PHP Version:  4.3.0
 New Comment:

Ok, slap me... Now I think the problem is related to Opera itself...
Fixed some code and now it works with IE and Mozilla under win2k,
Opera6 and Netscape4.79 unter FreeBSD...

Delete this post if you like, mail me if you have any hint for Opera7
and this problem ;)

Claas Rathje


Previous Comments:


[2003-01-05 14:21:00] [EMAIL PROTECTED]

Hi,

I am using PHP4.3.0 on FreeBSD4.7 which works as fine as previous
versions, but today I made up a little script which gets some data,
handles it and then gives back an gif image. I know that gif is not
free and not included in gd, but the fact that it is a gif-file does
not matter.
Whenever I post data to the php-script i get data back, even as much as
I expected, but the only Browser that displays the image is Internet
Explorer, I tried Opera, Galeon, Links, Netscape (some for windows,
linux and freebsd) but only IE did the job. If I change the form to do
a "get" and not a "post" it works, but then I am not able to upload a
file with the form, so i need post...
the only lines that produce any output inside the script are:

header("Content-Type: image/gif");
if (file_exists($movie_file)) @readfile ($movie_file);

Since I found some people complainign about pdf-files to be broken when
using "post" and the same structure for the output as I did, and I
never found a solution, I think this could be a bug, if not, beat me
;)

Thanks for any response,
Claas Rathje




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




#22819 [NEW]: main/internal_functions_cli.c undeclared phpext_*

2003-03-21 Thread Information-Cascade at ntlworld dot com
From: Information-Cascade at ntlworld dot com
Operating system: Linux
PHP version:  4.3.2RC1
PHP Bug Type: Compile Failure
Bug description:  main/internal_functions_cli.c undeclared phpext_*

Lots of things compile OK, but then libtool compile gcc fails with:

main/internal_functions_cli.c:41:

41: error: `phpext_xml_ptr' undeclared here (not in a function)
41: error: initializer element is not constant
41: error: (near initialization for `php_builtin_extensions[0]')

Ditto for:
phpext_xml_ptr
phpext_tokenizer_ptr
phpext_standard_ptr
phpext_session_ptr
phpext_posix_ptr
phpext_pcre_ptr
phpext_overload_ptr
phpext_mysql_ptr
phpext_ctype_ptr

The build environment is 

gcc (GCC) 3.3 20020916 (experimental)
binutils-2.13
apache-1.3.27
Linux-4.2.19 i586

config.nice edited to multiline says: 
( I know its an absurd CFLAGS, but it is otherwise OK)

CFLAGS='-g -O2 
-L/tools/2003/www/lib
-Wl,--rpath=/tools/2003/www/lib
-I/tools/2003/www/include

-L/tools/2003/libs/lib
-Wl,--rpath=/tools/2003/libs/lib
-I/tools/2003/libs/include

-L/tools/2003/mysql/lib
-Wl,--rpath=/tools/2003/mysql/lib
-I/tools/2003/mysql/include

-L/tools/2003/pgsql/lib
-Wl,--rpath=/tools/2003/pgsql/lib
-I/tools/2003/pgsql/include

-L/tools/2003/xml/lib
-Wl,--rpath=/tools/2003/xml/lib
-I/tools/2003/xml/include' \


CXXFLAGS='-g -O2' \   
 

'/tools/2003_src/www/php-4.3.2RC1/configure' \
 
'--prefix=/tools/2003/www' \  
 
'--with-apxs=/tools/2003/www/bin/apxs' \  
 
'--with-config-file-path=/tools/2003/www' \   
 
"$@"  
 
  
Graham
-- 
Edit bug report at http://bugs.php.net/?id=22819&edit=1
-- 
Try a CVS snapshot: http://bugs.php.net/fix.php?id=22819&r=trysnapshot
Fixed in CVS:   http://bugs.php.net/fix.php?id=22819&r=fixedcvs
Fixed in release:   http://bugs.php.net/fix.php?id=22819&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=22819&r=needtrace
Try newer version:  http://bugs.php.net/fix.php?id=22819&r=oldversion
Not developer issue:http://bugs.php.net/fix.php?id=22819&r=support
Expected behavior:  http://bugs.php.net/fix.php?id=22819&r=notwrong
Not enough info:http://bugs.php.net/fix.php?id=22819&r=notenoughinfo
Submitted twice:http://bugs.php.net/fix.php?id=22819&r=submittedtwice
register_globals:   http://bugs.php.net/fix.php?id=22819&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=22819&r=php3
Daylight Savings:   http://bugs.php.net/fix.php?id=22819&r=dst
IIS Stability:  http://bugs.php.net/fix.php?id=22819&r=isapi
Install GNU Sed:http://bugs.php.net/fix.php?id=22819&r=gnused



#22819 [Opn]: main/internal_functions_cli.c undeclared phpext_*

2003-03-21 Thread Information-Cascade at ntlworld dot com
 ID:   22819
 User updated by:  Information-Cascade at ntlworld dot com
 Reported By:  Information-Cascade at ntlworld dot com
 Status:   Open
 Bug Type: Compile Failure
 Operating System: Linux
 PHP Version:  4.3.2RC1
 New Comment:

No, I havent tried it with a new CVS checkout, 
but I have tried it with 4.3.1 - exact same


Previous Comments:


[2003-03-21 15:10:28] [EMAIL PROTECTED]

Did you try it with a fresh checkout/source tree?
You ay also try ./cvsclean ; ./buildconf ; ./configure ; make



[2003-03-21 13:20:38] Information-Cascade at ntlworld dot com

Lots of things compile OK, but then libtool compile gcc fails with:

main/internal_functions_cli.c:41:

41: error: `phpext_xml_ptr' undeclared here (not in a function)
41: error: initializer element is not constant
41: error: (near initialization for `php_builtin_extensions[0]')

Ditto for:
phpext_xml_ptr
phpext_tokenizer_ptr
phpext_standard_ptr
phpext_session_ptr
phpext_posix_ptr
phpext_pcre_ptr
phpext_overload_ptr
phpext_mysql_ptr
phpext_ctype_ptr

The build environment is 

gcc (GCC) 3.3 20020916 (experimental)
binutils-2.13
apache-1.3.27
Linux-4.2.19 i586

config.nice edited to multiline says: 
( I know its an absurd CFLAGS, but it is otherwise OK)

CFLAGS='-g -O2 
-L/tools/2003/www/lib
-Wl,--rpath=/tools/2003/www/lib
-I/tools/2003/www/include

-L/tools/2003/libs/lib
-Wl,--rpath=/tools/2003/libs/lib
-I/tools/2003/libs/include

-L/tools/2003/mysql/lib
-Wl,--rpath=/tools/2003/mysql/lib
-I/tools/2003/mysql/include

-L/tools/2003/pgsql/lib
-Wl,--rpath=/tools/2003/pgsql/lib
-I/tools/2003/pgsql/include

-L/tools/2003/xml/lib
-Wl,--rpath=/tools/2003/xml/lib
-I/tools/2003/xml/include' \  
  

CXXFLAGS='-g -O2' \


'/tools/2003_src/www/php-4.3.2RC1/configure' \ 

'--prefix=/tools/2003/www' \   

'--with-apxs=/tools/2003/www/bin/apxs' \   

'--with-config-file-path=/tools/2003/www' \

"$@"   

  
Graham




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



#22819 [Bgs->Opn]: main/internal_functions_cli.c undeclared phpext_*

2003-03-21 Thread Information-Cascade at ntlworld dot com
 ID:   22819
 User updated by:  Information-Cascade at ntlworld dot com
 Reported By:  Information-Cascade at ntlworld dot com
-Status:   Bogus
+Status:   Open
 Bug Type: Compile Failure
 Operating System: Linux
 PHP Version:  4.3.2RC1
 New Comment:

5534 / 22526 = 25% of PHP resolutions are bogus.

Blame it on GCC 
Blame it on Binutils
Blame it on OS/machine.

It's not configure that is outsmarted.


Previous Comments:


[2003-03-21 16:55:54] [EMAIL PROTECTED]

And using experimental GCC version..well..that's what you
get.




[2003-03-21 16:55:19] [EMAIL PROTECTED]

Either broken GCC installation, mismatching binutils, or 
just broken OS/machine. But definately not PHP bug.
I've never heard of Linux-4.2.19 either..

And don't try outsmarting the configure with setting
those CXXFLAGS/CFLAGS





[2003-03-21 15:36:10] Information-Cascade at ntlworld dot com

No, I havent tried it with a new CVS checkout, 
but I have tried it with 4.3.1 - exact same



[2003-03-21 15:10:28] [EMAIL PROTECTED]

Did you try it with a fresh checkout/source tree?
You ay also try ./cvsclean ; ./buildconf ; ./configure ; make



[2003-03-21 13:20:38] Information-Cascade at ntlworld dot com

Lots of things compile OK, but then libtool compile gcc fails with:

main/internal_functions_cli.c:41:

41: error: `phpext_xml_ptr' undeclared here (not in a function)
41: error: initializer element is not constant
41: error: (near initialization for `php_builtin_extensions[0]')

Ditto for:
phpext_xml_ptr
phpext_tokenizer_ptr
phpext_standard_ptr
phpext_session_ptr
phpext_posix_ptr
phpext_pcre_ptr
phpext_overload_ptr
phpext_mysql_ptr
phpext_ctype_ptr

The build environment is 

gcc (GCC) 3.3 20020916 (experimental)
binutils-2.13
apache-1.3.27
Linux-4.2.19 i586

config.nice edited to multiline says: 
( I know its an absurd CFLAGS, but it is otherwise OK)

CFLAGS='-g -O2 
-L/tools/2003/www/lib
-Wl,--rpath=/tools/2003/www/lib
-I/tools/2003/www/include

-L/tools/2003/libs/lib
-Wl,--rpath=/tools/2003/libs/lib
-I/tools/2003/libs/include

-L/tools/2003/mysql/lib
-Wl,--rpath=/tools/2003/mysql/lib
-I/tools/2003/mysql/include

-L/tools/2003/pgsql/lib
-Wl,--rpath=/tools/2003/pgsql/lib
-I/tools/2003/pgsql/include

-L/tools/2003/xml/lib
-Wl,--rpath=/tools/2003/xml/lib
-I/tools/2003/xml/include' \  
  

CXXFLAGS='-g -O2' \


'/tools/2003_src/www/php-4.3.2RC1/configure' \ 

'--prefix=/tools/2003/www' \   

'--with-apxs=/tools/2003/www/bin/apxs' \   

'--with-config-file-path=/tools/2003/www' \

"$@"   

  
Graham




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