Re: [PHP-DEV] Using CLI as a shell

2003-02-03 Thread Richard Heyes
cho "Hello" on my bash prompt > :) At least with this (presumably) Python style shell you could use readline to prevent you typing echo "Hello" twice (as opposed to current php -a). :) -- Richard Heyes -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] short_open_tag & ini_set()

2002-10-18 Thread Richard Heyes
guage, complex problem sometimes require 'ugly' solutions... Something else to aid the writing of portable scripts is to allow the setting of short_open_tag from the script with ini_set(), for either subsequent code, or subsequently included files. -- Richard Heyes V-webmail - http

[PHP-DEV] Trying to create shared module

2001-02-24 Thread Richard Heyes
I'm doing the following with 4.04pl1 starting in the ext dir: ./ext_skel --extname=heyes cd heyes phpize ./configure --enable-heyes=shared make install The heyes.so file gets copied into /usr/local/lib/php/extensions/no-debug.../, but when running php -a in that folder and doing: http://www.

RE: [PHP-DEV] Built-in SOAP based Web Services support (was Re: PHP 5)

2002-01-01 Thread Richard Heyes
t work on them. -- Richard Heyes "If you have any trouble sounding condescending, find a Unix user to show you how it's done." - Scott Adams -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [E

RE: [PHP-DEV] new bug viewing/editing form

2002-01-06 Thread Richard Heyes
you can see the new look here: The link colours could do with being more distinct. -- Richard Heyes "If you have any trouble sounding condescending, find a Unix user to show you how it's done." - Scott Adams -- PHP Development Mailing List <http://www.php.net/> To uns

RE: [PHP-DEV] Re: [PHP-DOC] Re: [PHP-DEV] superglobals and bc

2002-01-13 Thread Richard Heyes
d this new feature correctly (I never used it). Using register_shutdown_function is unnecessary: Use the above code and you will be able to add/remove anything from the $SESSION array and it will be reflected in the next request. -- Richard Heyes "If you have any trouble sounding condescend

[PHP-DEV] RE: [PHP-DOC] RE: [PHP-DEV] Re: [PHP-DOC] Re: [PHP-DEV] superglobals and bc

2002-01-13 Thread Richard Heyes
$SESSION array and it will be reflected in the next request. > > OK, but this is a way of intorducing another thing: $SESSION, instead > of making $_SESSION work like in 4.1.0 in older versions... Using > register_shutdown_function, you can make this feature transparently > working.

RE: [PHP-DEV] Fork() in php?

2001-05-21 Thread Richard Heyes
> There are no plans for adding MT to PHP itself, but you do have "a > poor man's cooperative multi-threading" through ticks. Are these documented anywhere? Thanks. -- Richard Heyes 'Live your life as if you're going to die tomorrow. Learn as if you'

RE: [PHP-DEV] Security?

2001-07-04 Thread Richard Heyes
agree on this particular point. All this does is limit > where data can come from. And also prevent namespace clashes, eg a GET/POST variable named the same as session variables. Turning register_globals off would probably prevent a lot of head scratching for peeps who've not come acr

RE: [PHP-DEV] removing ereg functions

2001-05-16 Thread Richard Heyes
> No, sorry, I think you misunderstood my question. I would just > like to see > a --disable-ereg option for configure. Wouldn't the disable_functions ini directive be of use here? -- Richard Heyes -- PHP Development Mailing List <http://www.php.net/> To unsubsc

RE: [PHP-DEV] Package extension proposal

2001-10-26 Thread Richard Heyes
ore data of the > installed pear-packages in flat-file database. This is'nt > implemented yet, but > it maybe a starting point for a good solution. There's always a serialised php data structure. Would be faster I imagine than parsing a flatfile. -- Richard Heyes -- PHP Deve

[PHP-DEV] Uploaded files and $HTTP_POST_FILES

2001-11-04 Thread Richard Heyes
With 4.06 when a file was too large, the $HTTP_POST_FILES was still populated with the filename, but not a tmp_name. However after installing 4.2.0, the HTTP_POST_FILES array is completely empty. Is this intended behaviour? -- Richard Heyes -- PHP Development Mailing List <http://www.php.

[PHP-DEV] php.net link colour

2001-11-13 Thread Richard Heyes
They aren't very clear: 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]

RE: [PHP-DEV] *bugs*.php.net link colour

2001-11-13 Thread Richard Heyes
> They aren't very clear: > > ... > text="#00" > link="#33" > > > Perhaps they could be made more obvious? Sorry, should've mentioned this is http://bugs.php.net -- Richard Heyes "If you have any t

RE: [PHP-DEV] *bugs*.php.net link colour + diff

2001-11-13 Thread Richard Heyes
text="#00" -link="#33" +link="#99" alink="#0099ff" vlink="#33" > -- Richard Heyes "If you have any trouble sounding condescending, find a Unix user to show you how it's done."

RE: [PHP-DEV] BC problem

2001-11-29 Thread Richard Heyes
e the few fixes that were submitted to the > branch since RC3 was rolled... If you have one, let us know about it :) If this includes the imap patch, then I'm definitly for the inclusion. -- Richard Heyes "If you have any trouble sounding condescending, find a Unix user to show you h

[PHP-DEV] SMTP extension

2001-11-29 Thread Richard Heyes
Anyone object to me committing my SMTP extension to PECL?? It could do with some testing to say the least :) -- Richard Heyes "If you have any trouble sounding condescending, find a Unix user to show you how it's done." - Scott Adams -- PHP Development Mailing List <http:

[PHP-DEV] Patch to extract()

2002-02-25 Thread Richard Heyes
I've added an extra option extract() to have potential variable names passed to a user defined callback function. If this function then returns true, it's extracted, if not it's not. Anyone care to apply/check it? Eg.: ', $var_1); printf('var_2: %s ', $var_2); printf('blaat: %s ', $blaat); ?>

RE: [PHP-DEV] Patch to extract()

2002-02-27 Thread Richard Heyes
Anyone interested in this patch? -- Richard Heyes "If you have any trouble sounding condescending, find a Unix user to show you how it's done." - Scott Adams > -Original Message----- > From: Richard Heyes [mailto:[EMAIL PROTECTED]] > Sent: 25 February 2002 16:18

Re: [PHP-DEV] Global data with session handler

2002-03-18 Thread Richard Heyes
e > their > sessions. Also sessions will automatically handle locking of the session info. > so you don't need to worry about using shm locking the shm. There's a class in PEAR to do application sessions, Cache/Application.php. -- Richard Heyes -- PHP Development Mailing Li

Re: [PHP-DEV] Global data with session handler

2002-03-18 Thread Richard Heyes
brad lafountain <[EMAIL PROTECTED]> wrote: > I couldn't find such a file. (4.1.2) http://cvs.php.net/cvs.php/pear/Cache/Application.php -- Richard Heyes -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP-DEV] separator constant

2002-04-05 Thread Richard Heyes
> Do we have a constant containing path separator for the platform PHP is > running on? By that I mean REGISTER'ed constant available to PHP > scripts. DIRECTORY_SEPARATOR ?? -- Richard Heyes -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit

RE: [PHP-DEV] separator constant

2002-04-05 Thread Richard Heyes
> On Fri, 05 Apr 2002, Richard Heyes wrote: > > > Do we have a constant containing path separator for the > platform PHP is > > > running on? By that I mean REGISTER'ed constant available to PHP > > > scripts. > > > > DIRECTORY_SEPARATOR ??

RE: [PHP-DEV] modified base64

2002-04-10 Thread Richard Heyes
> After (v)spprintf i have another modified function here: base64url_(en|de)code You could simply use this: urlencode(base64_encode($blaat)); -- Richard Heyes "If you have any trouble sounding condescending, find a Unix user to show you how it's done." - Scott Adams -

Re: [PHP-DEV] The PHP Platform

2002-04-12 Thread Richard Heyes
t such > an initiative with eXtremePHP, but only 2 developers go so far. We need a > community to help build a large platform that provides classes for everything a > PHP developer might need. http://pear.php.net/ -- Richard Heyes -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] Mysql/pair1.php.net

2002-06-30 Thread Richard Heyes
Could someone with sufficient access start mysql on pair1.php.net ? Cheers. -- Richard Heyes Need webmail? http://www.v-webmail.co.uk -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] Chora

2001-08-07 Thread Richard Heyes
Hi, The following link used to take me to the latest version of the news file, is there a similar option with Chora? http://cvs.php.net/viewcvs.cgi/~checkout~/php4/NEWS?content-type=text/plain -- Richard Heyes "I know not with what weapons World War III will be fought, but World W

[PHP-DEV] CVS account

2001-09-07 Thread Richard Heyes
Any chance my cvs account name could be changed to richardh if it's not taken? Currently heyesr. Cheers! -- Richard Heyes -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To conta

[PHP-DEV] Help with segfault

2001-09-18 Thread Richard Heyes
Hi, I'm getting some strange segfaults from a script I'm running. Isn't consistent unfortunately, but I have managed to get this strace output from the apache child serving the request. Does it mean anything to anyone? Look like it's going through all the include() calls in the php script, last on

[PHP-DEV] Help with segfault

2001-09-18 Thread Richard Heyes
Some version I forgot to include... php 4.06 with memory patch, apache 1.3.12, RHL6.2 -- Richard Heyes -- 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,

RE: [PHP-DEV] Help with segfault

2001-09-18 Thread Richard Heyes
lt;_fini>, rtld_fini=0x4000ae60 <_dl_fini>, stack_end=0xbb1c) at ../sysdeps/generic/libc-start.c:92 (gdb) -- Richard Heyes -- 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]