[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

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 named

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

[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

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 http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php

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

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

[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

[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] 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']);

[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 - when I

[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

[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]... script var winImg =

[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 ? --

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: hi i

[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

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 belongs to

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

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

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? wouldn't

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

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 the

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 php-cli

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.

[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 html body form method=POST action=form.php inut type=text name=txtname input type=submit value=submit /body/html form.php ? echo data pass from form is

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

[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

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] 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 http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php

[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 it ?

[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

[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

[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 page

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

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 script.

[PHP-DEV] static not working as expected

2002-06-18 Thread Purushotham Komaravolu
?php class Counter { var $counter = 0; function increment_and_print() { print ++$this-counter; print \n; } } class SingletonCounter { static $m_instance = NULL; // throwing error here

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 : ?php class

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, 2002 10:58 AM

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:

[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 http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php

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 constant

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

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. Now

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

[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

[PHP-DEV] CVS Account Request: mignoni

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