[PHP-DEV] Re: ImageCreateFromGif

2002-06-18 Thread Ralf Gatzki
if you use a new GD-Versions gif is not supported! "Andrew Milne" <[EMAIL PROTECTED]> schrieb im Newsbeitrag [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hi there! > > I'm having problems with the GD extension on the latest Win32 download > from php.net - when I try to use the above function, i

[PHP-DEV] CVS Account Request: mignoni

2002-06-18 Thread Bruno Mignoni
I want translate documentation -- PHP Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] Re: Bug #14491 Updated: Parser warning that should be parse error

2002-06-18 Thread Yasuo Ohgaki
This is obvious syntax error that should stop execution. There are other warnings that continue with warning message with obvious syntax error. (such as malformed break statement) IMO, language should raise fatal error for syntax errors instead of warning and let programmer fix errors for these k

Re: [PHP-DEV] CVS Account Request: msopacua

2002-06-18 Thread Melvyn Sopacua
Patch for php-bugs-web attached. Partial for bug #17391 -- Adds general 'warning' system -- Adds warning for ignored words -- Adds ASC/DESC in search form (saves initial queries) -- Fixes 'previous search' -- Fixes short opens -- Make installation of database framework easier -- centralizes MATCH

Re: [PHP-DEV] problem with post data

2002-06-18 Thread Chris Shiflett
The reason for this is most likely that your PHP configuration is not setup to create global variables for data contained in a POST. You'll probably find more help on the [EMAIL PROTECTED] mailing list. This list is for the development of PHP only. Chris rang pheng wrote: >Hi. I'm Rang. > >N

Re: [PHP-DEV] Zend Constants PATCH

2002-06-18 Thread Andi Gutmans
Hey, Please test the attached patch and let me know if it works for you. I haven't really had the chance to test it too much. Andi At 06:21 PM 6/15/2002 -0400, Ilia A. wrote: >Andi, > >I wrote another patch, this time a 'proper' way, which means the old >functionality of case insensetivity is s

Re: [PHP-DEV] Zend Constants PATCH

2002-06-18 Thread Andi Gutmans
At 04:07 PM 6/18/2002 +0200, Hartmut Holzgraefe wrote: >Ilia A. wrote: > >>By using a functiont that does not support lowercasing, would also cause >>problems, since if a constant name contains non english characters it >>would break. IMHO the best implementation is to simply not lowercase >>co

[PHP-DEV] CVS Account Request: msopacua

2002-06-18 Thread Melvyn Sopacua
Maintaining www.php.net Bugs and QA-web mainly -- PHP Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] static not working as expected

2002-06-18 Thread Sebastian Bergmann
Markus Fischer wrote: > can't tell if ZE2 has static class properties, anyone else? Yes, just have a look at ZendEngine2/ZEND_CHANGES. -- Sebastian Bergmann http://sebastian-bergmann.de/ http://phpOpenTracker.de/ Did I help you? Consider a gift: http://wishlist.sebastia

Re: [PHP-DEV] static not working as expected

2002-06-18 Thread Purushotham Komaravolu
Thanks for your prompt answer.If that's the case then, how do I define a singleton class? Regards, Puru - Original Message - From: "Markus Fischer" <[EMAIL PROTECTED]> To: "Purushotham Komaravolu" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Tuesday, June 18, 200

Re: [PHP-DEV] Zend Constants PATCH

2002-06-18 Thread Rasmus Lerdorf
> Well, that is true for any external variable not just locale. For example if > you export TZ variable in a threaded enviroment all threads would be > affected. Exporting a TZ would be even more dangerous since it would affect a > commonly used data, dates, which are used in majority of PHP scrip

Re: [PHP-DEV] static not working as expected

2002-06-18 Thread Markus Fischer
'statis' is ONLY used inside functions. You need the 'var' keyword to define class property. This is true for ZE1, I can't tell if ZE2 has static class properties, anyone else? - Markus On Tue, Jun 18, 2002 at 10:42:43AM -0700, Purushotham Komaravolu wrote : > > class Coun

[PHP-DEV] static not working as expected

2002-06-18 Thread Purushotham Komaravolu
counter; print "\n"; } } class SingletonCounter { static $m_instance = NULL; // throwing error here function Instance() { if (self::$m_instance == NULL) { self::$m_instance = new Cou

Re: [PHP-DEV] zend_bailout() crash.

2002-06-18 Thread Markus Fischer
Is there somewhere a zend_try { } zend_try_catch statement around the execution loop ? It is needed, maybe it's missing? - Markus On Tue, Jun 18, 2002 at 08:34:48PM +0200, moshe doron wrote : > coz Wez 2 busy i'm tring to debug ActivePHP myself but i'have no actual > experience debu

[PHP-DEV] Re: Maximum Size Of PHP File?

2002-06-18 Thread Bruce Miller
I've looked over the file thoroughly and still can't find anything. Attached is the php file if anyone wants to troubleshoot (include file not attached). Any help would be greatly appreciated. Bruce "Bruce Miller" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]... > I have a summary

[PHP-DEV] zend_bailout() crash.

2002-06-18 Thread moshe doron
coz Wez 2 busy i'm tring to debug ActivePHP myself but i'have no actual experience debuging php so i need some help. can some1 tell me if running into zend_bailout()? on the main extuce loop: switch(EX(opline)->opcode){ case ZEND_EXIT: have to indicating me that something got wrong? the mo

[PHP-DEV] phpopengl

2002-06-18 Thread Brad LaFountain
A while ago I made php-opengl. The extension lets you create ither interactive opengl programs (with the help of glut) or what I was working using OSMesa is to allow php to create 3d images Off Screen (OS). This can be used for a bunch of things. (3d graphs, generation of 3d text), (i got it to wo

[PHP-DEV] How to make "mod_php4" read from a "fd" instead of a "filename" ?

2002-06-18 Thread Jerome Delamarche
Hello, When I look at PHP sources, it appears the parser handles two kinds of data sources: ZEND_HANDLE_FILENAME and ZEND_HANDLE_FD. How could I force "mod_php4" to read data from a file descriptor ("fd") instead of a filename ? I succeeded but with an ugly patch. Is there a clean way to do i

[PHP-DEV] CVS Account Request: busterb

2002-06-18 Thread Brent Cook
I wish to continue work with PEAR and checkin a few packages; namely, work on PHPDoc, a DBA abstraction class, Validation class work, other bits. -- PHP Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

FW: [PHP-DEV] Recommended XML parser?

2002-06-18 Thread Joel Dudley
It can depend on what your needs are. Are you going to employ DOM or do narrative type parsing? Joel Dudley Faculty Research Associate Arizona State University Kumar Laboratory of Evolutionary Functional Genomics http://lsweb.la.asu.edu/skumar/ -Original Message- From: Blake Barnett

[PHP-DEV] Re: Calling other PHP functions from your extension

2002-06-18 Thread Andrei Zmievski
> And thanks for the additional head's up! I had to go read the zend api > headers to get it working -- I think you're rigyt, call_user_function() > is sufficient for me in this case. I just got phpinfo() working, I'll > try getting eval() going in a few minutes. eval() is actually a language

Re: [PHP-DEV] Zend Constants PATCH

2002-06-18 Thread Hartmut Holzgraefe
Ilia A. wrote: > Well, that is true for any external variable not just locale. For example if > you export TZ variable in a threaded enviroment all threads would be > affected. Exporting a TZ would be even more dangerous since it would affect a > commonly used data, dates, which are used in maj

[PHP-DEV] problem with post data

2002-06-18 Thread rang pheng
Hi. I'm Rang. Now I try develop with php. But when I pass data from the Form why I can not get it. I code it follow : form.html form.php Yes, when I try to submit the form the error is : Notice: Undefined variable: NAME in d:\inetpub\wwwroot\php\testform\formtest.php on li

Re: [PHP-DEV] Small CGI Serve

2002-06-18 Thread BB
It is exactly that. Content-type: text/html Security Alert! The PHP CGI cannot be accessed directly. This PHP CGI binary was compiled with force-cgi-redirect enabled. This means that a page will only be served up if the REDIRECT_STATUS CGI variable is set, e.g. via an Apache Action directive. Fo

Re: [PHP-DEV] Small CGI Serve

2002-06-18 Thread Stig S. Bakken
On Tue, 2002-06-18 at 13:25, BB wrote: > I am trying to write a small CGI webserver. > > Having finally found out how to pass the Environment vars onto PHP, I am > stumpted to find that PHP wasn't reading them and putting them in their > place (GET vars). > > I tried changing the exe from the ph

Re: [PHP-DEV] Recommended XML parser?

2002-06-18 Thread Stig S. Bakken
On Tue, 2002-06-18 at 02:18, Blake Barnett wrote: > What is the recommended XML parser for use with PHP 4.2.1? (and also > 4.1.0 if anyone is willing to answer that as well?) > > >From reading the list archives I'm seeing a lot of people bash expat and > lean toward libxml2, I just wanted to get

Re: [PHP-DEV] Zend Constants PATCH

2002-06-18 Thread Ilia A.
On June 18, 2002 10:07 am, Hartmut Holzgraefe wrote: > Sure set_locale() *works* for threaded environments, but it sets the locale > globaly for *all* threads, while it should the current PHP thread only. > Even worse: setting the locale may affect other components within the > webserver totally u

Re: [PHP-DEV] Zend Constants PATCH

2002-06-18 Thread Hartmut Holzgraefe
Ilia A. wrote: > By using a functiont that does not support lowercasing, would also cause > problems, since if a constant name contains non english characters it would > break. IMHO the best implementation is to simply not lowercase constant names > unless the user specifically whats case inse

Re: [PHP-DEV] Zend Constants PATCH

2002-06-18 Thread Ilia A.
On June 18, 2002 05:32 am, Hartmut Holzgraefe wrote: > Andi Gutmans wrote: > > Hi, > > > > I'll try and get the patch into PHP soon (I was busy with other things) > > I want to rewrite it a bit to make it nicer. > > does the case-sensitive, then case-insensitive logic really make > that much sense

Re: [PHP-DEV] Wez r u alive?

2002-06-18 Thread Wez Furlong
I'm still alive, just buried under a lot of work, as I stated a week ago on this list. I'm really appreciative of your feedback, but I'm booked up for another 6-7 weeks with only limited time at weekends for PHP work. I'm sorry if that doesn't help you out right now, but these clients pay my mor

Re: [PHP-DEV] [PATCH REPOST] Suggested fix for #16458: header() does not replace headers but always produces duplicates

2002-06-18 Thread Sander Roobol
I've commited the patch to CVS. Thanks for your help. Just a small note: strnicmp() is not available on unix, it's called strncasecmp(). PHP uses a macro to wrap strncasecmp() to strncasecmp() on Windows. Sander On Mon, Jun 17, 2002 at 02:12:17PM -0700, Michael Sisolak wrote: > Bug #16458 report

Re: [PHP-DEV] html tidy

2002-06-18 Thread Jan Schneider
Zitat von electroteque <[EMAIL PROTECTED]>: > hi guys is it possible to pass a string through html tidy and output the > cleaned up content ? > > i dont really want to have to create temporary files alover the place let > us > know You can use output buffering for this. Btw, this question belo

[PHP-DEV] Re: html tidy

2002-06-18 Thread Tobias Schenck
"Electroteque" <[EMAIL PROTECTED]> schrieb im Newsbeitrag [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > hi guys is it possible to pass a string through html tidy and output the > cleaned up content ? yes > i dont really want to have to create temporary files alover the place let us > know > > ht

Re: [PHP-DEV] Re: passing variable to a popup

2002-06-18 Thread derick
This is the wrong list to discusss this, please move to the php-general list. Derick On Tue, 18 Jun 2002, Andrew Milne wrote: > You could use javascript to grab the data from the various fields then > use window.open adding the variables & values to the URL GET style. > > Dan Rossi wrote: >

[PHP-DEV] Re: passing variable to a popup

2002-06-18 Thread Andrew Milne
You could use javascript to grab the data from the various fields then use window.open adding the variables & values to the URL GET style. Dan Rossi wrote: > hi i am creating a preview page for a cms , i was wondering how i can pass > form variable to a popup window , is this possible ? > >

[PHP-DEV] Re: getting form variables without posting (note)

2002-06-18 Thread BB
This method submits the form to the newly opened page, the original page remains intact, hope this is what you wanted "Bb" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > var winImg = > window.open('','myDoc','scrollbars=no,resizable=no,width=600,height=35

[PHP-DEV] Re: Session duplicated in url

2002-06-18 Thread BB
Then turn it off? "Marcus Boerger" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]... > When i have someone deactivating the cookies i get multiple PHPSESSIONID > queries. > > What i do: I have a site that propageates some data with query strings. > These i read from > $_SERVER['QUERY

[PHP-DEV] Re: ImageCreateFromGif

2002-06-18 Thread BB
I have also had problems loading ANY dll in the new version (I was using mssql). A bug maybe? "Andrew Milne" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hi there! > > I'm having problems with the GD extension on the latest Win32 download > from php.net - w

[PHP-DEV] Re: Recommended XML parser?

2002-06-18 Thread BB
I wrote something that did things to huge XML files (2meg+) and it took a long time! (around 10 mins) I used this code to read and process the XML into a arrays function GetChildren($vals, &$i) { $children = array(); if ($vals[$i]['value']) array_push($children, $vals[$i]['value']); whi

[PHP-DEV] ImageCreateFromGif

2002-06-18 Thread Andrew Milne
Hi there! I'm having problems with the GD extension on the latest Win32 download from php.net - when I try to use the above function, it says it is undefined (as iwth the JPG alternative), even though I have uncommented the line 'extension=php_gd.dll'. Any suggestions? Thanks! Andrew --

[PHP-DEV] html tidy

2002-06-18 Thread electroteque
hi guys is it possible to pass a string through html tidy and output the cleaned up content ? i dont really want to have to create temporary files alover the place let us know -- PHP Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] Small CGI Serve

2002-06-18 Thread BB
I am trying to write a small CGI webserver. Having finally found out how to pass the Environment vars onto PHP, I am stumpted to find that PHP wasn't reading them and putting them in their place (GET vars). I tried changing the exe from the php-cli to just php. This now brings up a security err

[PHP-DEV] Re: getting form variables without posting

2002-06-18 Thread BB
var winImg = window.open('','myDoc','scrollbars=no,resizable=no,width=600,height=350'); document.forms[1].target = "myDoc"; document.forms[1].submit(); "Dan Rossi" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > adding to my last question i'm needing to

RE: [PHP-DEV] CVS fails to compile (ext/mysql)

2002-06-18 Thread James Cox
This would likely be me. what OS? can you give me a copy of config.log and php_config.h ? Thanks, -- James -- PHP Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] CVS fails to compile (ext/mysql)

2002-06-18 Thread Magnus M
>From latest CVS (ZendEngine 1): gcc -Iext/mysql/ -I/mnt/data1/Apps/CVS/PHP/php4/ext/mysql/ -DPHP_ATOM_INC -I/mnt/data1/Apps/CVS/PHP/php4/include -I/mnt/data1/Apps/CVS/PHP/php4/main -I/mnt/data1/Apps/CVS/PHP/php4 -I/usr/local/include -I/usr/local/www/httpd2/include -I/mnt/data1/Apps/CVS/PHP/ph

Re: [PHP-DEV] Zend Constants PATCH

2002-06-18 Thread Hartmut Holzgraefe
Andi Gutmans wrote: > Hi, > > I'll try and get the patch into PHP soon (I was busy with other things) > I want to rewrite it a bit to make it nicer. does the case-sensitive, then case-insensitive logic really make that much sense? wouldn't it be easier *and* more consistent to make zend_str_tolo

Re: [PHP-DEV] 2 failed compiles from CVS

2002-06-18 Thread Markus Fischer
On Tue, Jun 18, 2002 at 09:44:26AM +0200, Marc Boeren wrote : > > latest CVS with ZendEngine 2: > > /mnt/data1/Apps/CVS/PHP/php4/ext/dbx/dbx_sybasect.c:189: > > structure has no member named `properties' > > /mnt/data1/Apps/CVS/PHP/php4/ext/dbx/dbx_sybasect.c:226: > > structure has no member na

[PHP-DEV] PHP Xforms XML namespaces in POSTED Form variables

2002-06-18 Thread Michael Glazer
Hello Working on PHPortal (PHP replication of Zope) I noticed something Zope has/uses that PHP doesn't and I was wondering if there had been any consideration on this point. Namely, form element name variants. We all know in PHP form element names are interpolated by the values as HTTP POST VARS