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
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
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.
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
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
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
$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.
> 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'
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
> 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
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
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.
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]
> 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
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."
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
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:
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);
?>
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
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
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
> 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
> 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 ??
> 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
-
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
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
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
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
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
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,
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]
31 matches
Mail list logo