[PHP-DEV] Re: [PHP] JP Graph

2003-02-28 Thread Jason Sheets
Sounds like a web server configuration problem. If you are using apache make sure your httpd.conf is configured to bind to your external IP address (the default). Jason On Thu, 2003-02-27 at 21:17, K wrote: > Hi all, > I'm using JPGraph on a localhost for a website opened via a ho

RE: [PHP-DEV] DLL PHP script for C

2003-02-06 Thread SHEETS,JASON (HP-Boise,ex1)
Right, it seems like you are looking for sapi/embed, Take a look at this email http://www.zend.com/lists/php-dev/200209/msg01063.html Thanks, Jason Shees, CCNA, MCSE Exploratory Team Lead -Original Message- From: Fernando Serboncini [mailto:[EMAIL PROTECTED]] Sent: Thursday, February

Re: [PHP-DEV] LCC compiler

2002-11-15 Thread Jason T. Greene
Cool, I will have to try that. Thanks!! -Jason On Fri, 2002-11-15 at 09:11, Andi Gutmans wrote: > Hey, > > Has anyone managed to get php to compile with lcc? It compiles much faster > and therefore is good for development. > > Andi -- Jason T. Greene <[EMAIL PROTECTED]&g

Re: [PHP-DEV] 64-bit PHP 4.3 (extensive long vs int problems)

2002-11-11 Thread Jason T. Greene
n't matter. -Jason On Mon, 2002-11-11 at 10:42, Jason T. Greene wrote: > Why not just convert to using a long? Is there really a need to have 2 > numeric types in the ini system? > > -Jason > > On Mon, 2002-11-11 at 00:20, Andi Gutmans wrote: > > Hi, > > > &g

Re: [PHP-DEV] 64-bit PHP 4.3 (extensive long vs int problems)

2002-11-11 Thread Jason T. Greene
Why not just convert to using a long? Is there really a need to have 2 numeric types in the ini system? -Jason On Mon, 2002-11-11 at 00:20, Andi Gutmans wrote: > Hi, > > How about changing the INI_ENTRY macros in debug mode to check if we're > using UpdateInt/UpdateLong a

Re: [PHP-DEV] [PATCH] Proposed modification to log() inext/standard/math.c

2002-11-10 Thread Jason Greene
I have added the functionality your patch adds, but using a differing implementation. Thanks for submitting the feature request and initial patch, -Jason On Sun, 2002-11-10 at 16:46, Pollita wrote: > Apologies... I've made a new .patch file relative to revision 1.93 of > math.c in t

Re: [PHP-DEV] 64-bit PHP 4.3 (extensive long vs int problems)

2002-11-10 Thread Jason Greene
I started to work on fixing this problem, but have not had time to finish my work. I will try to get some time available to work on this sometime soon. Thanks, -Jason On Sat, 2002-11-09 at 22:25, James Devenish wrote: > Hi, > > Referring to bug #20268 ("Bus Error on startup")

[PHP-DEV] CVS Account Request: jsheets

2002-11-07 Thread Jason Sheets
tester and engineer by trade and lead an Exploratory Testing team, I am subscribed to phpdoc, the phpdevel and php-general mailing lists (As Jason Sheets @ HP). -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP-DEV] Re: Unsigned Problems Revisited

2002-10-30 Thread Jason T. Greene
Ok, I hereby volunteer to update the documentation to clearly explain shifting (with examples). -Jason On Wed, 2002-10-30 at 14:05, James Cox wrote: > We're going to walk into a confusion where people will expect <<< to work > too, and get bitten. We have to be really car

Re: [PHP-DEV] Re: Unsigned Problems Revisited

2002-10-30 Thread Jason T. Greene
On Wed, 2002-10-30 at 13:26, Andi Gutmans wrote: > I think you guys have convinced me that having >>> only isn't too bad Great, I really think this is the way to go! > (Jason will kill me now) /me kills Andi Just kidding, I am just glad we can come to an agreement, so I ca

Re: [PHP-DEV] Re: Unsigned Problems Revisited

2002-10-29 Thread Jason T. Greene
ink of one again. In > > any case, I wouldn't want an overloaded operator. We try and keep away > > of that kind of stuff with PHP. Clashing can occur with Constant values, and functions with a \n in front of the (). > Very well... then let's not put in the nonsense operator, and just have > three shift operations: <<, >>, and >>>. I agree > - D > > <[EMAIL PROTECTED]> > > > -- > PHP Development Mailing List <http://www.php.net/> > To unsubscribe, visit: http://www.php.net/unsub.php > -Jason -- Jason T. Greene <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] pcntl_signal problem

2002-10-25 Thread Jason Greene
e globaly enabled. Steve + Edin + Everyone else, I will be updating the documentation to explain this before 4.3 is released, but I wonder If I should have configure spit out a reminder whenever someone enables pcntl Any thoughts on that? Thanks, -Jason -- Jason Greene <[EMAIL PROTECT

Re: [PHP-DEV] linking php code to html link

2002-10-24 Thread Jason T. Greene
sibly buy a book. -Jason -- Jason T. Greene <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> On Thu, 2002-10-24 at 17:10, Alan Rawkins wrote: > Hi there, > > I'm wondering if there is a way to attach a php function to an html > tag. I basically want to have

Re: [PHP-DEV] Unsigned Problems Revisited

2002-10-23 Thread Jason T. Greene
2002-10-23 at 02:20, Kristian Koehntopp wrote: > On Tuesday 22 October 2002 19:23, Jason T. Greene wrote: > > If for some reason we HAVE to have a symmetrical bogus unsigned left > > shift operator, and we completely disagree with my arguments on > > overloading the HEREDOC

[PHP-DEV] [PATCH] 64 bit PHP (long vs int problems)

2002-09-25 Thread Jason Greene
and commit it upon completion. Thanks, -- Jason Greene <[EMAIL PROTECTED]> ? log_errors_max_len ? long_errors_max_len=10 ? phpt ? longint.patch Index: Zend/zend_alloc.c === RCS file: /repository/Zend/zend_alloc.c,v retr

Re: [PHP-DEV] Binary Safety, Sockets and Raw sockets

2002-09-23 Thread Jason T. Greene
with RAW sockets is there. However, not considering signed issues, pack/unpack, /ext/sockets, and that checksum function should give you the functionality you need. If you notice any issues with the sockets extension in this area, email me and I will fix them. Also, if yo

Re: [PHP-DEV] Re: sockets extension...pecl it

2002-09-11 Thread Jason T. Greene
* send patches * open bug reports * close bug reports : ) Thanks, -Jason On Wed, 2002-09-11 at 17:34, Brian Lalor wrote: > Jason Greene <[EMAIL PROTECTED]> writes: > > > This extension does not belongs in PECL. It is fully platform > > compatible, all other languages offe

Re: [PHP-DEV] Re: sockets extension

2002-09-09 Thread Jason Greene
ommitted to having a solid sockets extension in php, then you are more then welcome to help out. Thanks, -Jason <[EMAIL PROTECTED]> > -- > Brian Lalor |http://introducingthelalors.org/ > [EMAIL PROTECTED] (email) | [EMAIL PROTECTED] (jabber) &g

Re: [PHP-DEV] sockets extension...pecl it

2002-09-09 Thread Jason Greene
This extension does not belongs in PECL. It is fully platform compatible, all other languages offer this functionality, it is actively maintained (by me), and it will be marked stable by version 4.3 -Jason n Mon, 2002-09-09 at 18:13, Shane Caraveo wrote: > Dan Kalowsky wrote: > > Be

[PHP-DEV] multiple keyword text box

2002-09-04 Thread Jason
Hi, What is the necessary code to return a recordset from a single text box with more than one keyword in it (like most search engines do)? Thanks -- PHP Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] socket_recvfrom

2002-08-27 Thread Jason Greene
ing. Is this binary data you are transmitting? I will have commit binary safety for the fix shortly -Jason > > In fact I could leave out the socket_recvfrom() and just call socket_read, > but that way I do not get to know the address:port of the sender. > > But I don't think it

Re: [PHP-DEV] objects as string and arrays as string

2002-08-16 Thread Jason T. Greene
stratification = stringification (damn spellchecker) On Fri, 2002-08-16 at 09:30, Jason T. Greene wrote: > Perl has this (it's called "stratification"), and it is quite useful. > One example is that you have an error object that contains various > properties (line loca

Re: [PHP-DEV] objects as string and arrays as string

2002-08-16 Thread Jason T. Greene
d error message. -Jason On Fri, 2002-08-16 at 08:52, Brad LaFountain wrote: > I want to throw together a quick hack so that objects can implement a > __as_string() method that will get called when the string is used in a string > contex. Instead of append "Object". > &

Re: [PHP-DEV] Build warnings on OSX in sockets

2002-08-16 Thread Jason T. Greene
used in the case that you are running windows, or your platform does not support hsterror(). I can clean that up as well -Jason On Thu, 2002-08-15 at 10:37, Dan Kalowsky wrote: > Haven't noticed this before, so I'm guessing this isn't a good thing. > > /Users/dank/Dev

Re: [PHP-DEV] pcntl - class callbacks // dio ASYNC

2002-08-12 Thread Jason T. Greene
Ok, I will take a look at that. Thanks for the patch, class callbacks were actually on my todo list. I just haven't had much time to work on php lately, but I will work on merging it with the following features: ticks back-end replacement system call interruption ability -Jason On Mon,

Re: [PHP-DEV] pcntl - class callbacks // dio ASYNC

2002-08-12 Thread Jason T. Greene
Doesn't this currently work without your patch? -Jason On Thu, 2002-08-08 at 02:49, Alan Knowles wrote: > > this efree needs removing.. > > > > >+ > >+efree(*call_name); > >+

Re: [PHP-DEV] Implementing Threading: Some Hints (Was Re: [PHP-DEV]phpthreads - hints anyone...)

2002-08-01 Thread Jason T. Greene
mple scalar values could be implemented as direct copying, and complex structures (arrays, objects) could use serialization. -Jason > > --Wez. > > > > > > -- > PHP Development Mailing List <http://www.php.net/> > To unsubscribe, visit: http://www.php.net/

Re: [PHP-DEV] phpthreads - hints anyone...

2002-08-01 Thread Jason T. Greene
ng on the data, rather than refcounting them. and reduce the > headaches... > > > You're much closer to what needs to happen now. But you cannot simply > > point to the memory for another thread. Doing that will cause > > problems like you are running into. You actu

Re: [PHP-DEV] phpthreads - hints anyone...

2002-08-01 Thread Jason T. Greene
On Thu, 2002-08-01 at 08:04, [EMAIL PROTECTED] wrote: > On 31 Jul 2002, Jason T. Greene wrote: > > > Instead of mutexing the entire interpreter to death, why don't you try > > creating multiple interpreters (each in a thread), and then come up with > > a sharin

Re: [PHP-DEV] phpthreads - hints anyone...

2002-07-31 Thread Jason T. Greene
Instead of mutexing the entire interpreter to death, why don't you try creating multiple interpreters (each in a thread), and then come up with a sharing mechanism. -Jason On Wed, 2002-07-31 at 03:57, Alan Knowles wrote: > Im looking at adding threading to php, (for the cgi/c

[PHP-DEV] CVS Account Request: bobo

2002-07-15 Thread Jason O Kaminsky
James Cox said I should sign up for one, since Rackshack.net is going to be hosting your new server, and It will be easier to do some serverside admining this way -- PHP Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] [PATCH] ZEND_TICKS: allow modules to set a default

2002-07-14 Thread Jason Greene
This simple patch gives modules the ability to redefine the default value for ticks generation. This patch assists another that I am currently working on, which modifies pcntl to use TICKS as the backend, instead of debug hooks in the zend engine. Questions, Comments? Thanks, -Jason

Re: [PHP-DEV] Re: [PHP-CVS] cvs: php4 /ext/standard fsock.c

2002-07-14 Thread Jason Greene
vc++ compiler understands nested blocks just fine. The problem is that err is used further down in the file, and err is out of scope at that point. -Jason On Sat, 2002-07-13 at 04:01, Jani Taskinen wrote: > On Sat, 13 Jul 2002, Sebastian Bergmann wrote: > > >Jani Taskinen wrote:

Re: [PHP-DEV] How do you format a string with tabbed output toprint in the browser? Nothing seems to work!

2002-07-08 Thread Jason T. Greene
Gina, This list is for the development OF php not with php, please post questions like these to [EMAIL PROTECTED] -Jason On Mon, 2002-07-08 at 14:17, Planet Internet Nieuws wrote: > I've tried everything I can think of including variations with "\t" in a > printf(), chr(

[PHP-DEV] Komodo (PHP) Intergrated Development Environment Problems

2002-07-03 Thread Jason McCormack
, Jason -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] Jason back from vacation

2002-07-01 Thread Jason T. Greene
Everyone, I am finally back from vacation, and I will be playing catch-up for a while.(my email box has over 1000 msgs and I have missed about 1928 php-dev posts, I am sure the equiv CVS posts. ) Please give me some time to catch up. Thanks, -Jason -- PHP Development Mailing List <h

[PHP-DEV] Re: [Zend Engine 2] Re: [PHP-DEV] Re: [Zend Engine 2] PHP in thefuture

2002-06-07 Thread Jason T. Greene
"require" on a million files. PEAR is a good example of a framework that ran into a lot of limitations of the language, which ZE2 will provide a great deal of help in. -Jason On Fri, 2002-06-07 at 09:36, Zeev Suraski wrote: > Code reusability is a psychological issue. You can reuse

[PHP-DEV] Re: [Zend Engine 2] Re: [PHP-DEV] Re: [Zend Engine 2] PHP in thefuture

2002-06-07 Thread Jason T. Greene
g the same framework. -Jason On Fri, 2002-06-07 at 07:04, Kristian Koehntopp wrote: > Am Donnerstag, 6. Juni 2002 19:59 schrieb Dan Hardiker: > > I sit in many PHP channels (IRC), and observe many class-based > > PHP networks (php-classes.org is one I monitor closely) and > > can

Re: [PHP-DEV] Re: Patch-tastic!

2002-06-05 Thread Jason T. Greene
If '+' concatenates what does '-' do? : ) -Jason On Wed, 2002-06-05 at 09:39, Andrei Zmievski wrote: > > > The latest one changes some operators. > > > > Nice, but why not overload + for strings to do the concatenation? > > Doing

Re: [PHP-DEV] socket_select() problems?

2002-06-03 Thread Jason Greene
S's socket implementation (namely win32) does not allow select to be used as a wait call -Jason On Sun, 2002-06-02 at 09:33, Rasmus Lerdorf wrote: > Yeah, I guess so. It just isn't very clear how this is mapped to PHP in > the current docs. I will write up some better docs. > >

Re: [PHP-DEV] socket_select() problems?

2002-06-03 Thread Jason Greene
On Mon, 2002-06-03 at 23:07, Jason Greene wrote: > That is the most common mistake when using select() (Arguments are > value-result) I think this motivated the different behavior of the > poll() call. > > There probably should be a large blurb in the docs to help out with this

Re: [PHP-DEV] socket_select() problems?

2002-06-03 Thread Jason Greene
That is the most common mistake when using select() (Arguments are value-result) I think this motivated the different behavior of the poll() call. There probably should be a large blurb in the docs to help out with this one. -Jason On Sun, 2002-06-02 at 09:33, Rasmus Lerdorf wrote: > Yeah

Re: [PHP-DEV] Re: [Zend Engine 2] Re: [PHP-DEV] [RESENT] [PATCH]Allow constants / expressions to be passed by reference]

2002-05-29 Thread Jason T. Greene
However, due to its possible far reaching effects, I would appreciate someone else taking their time on a careful review. I understand if it takes you awhile to get to it -Jason > Andi > -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Re: [Zend Engine 2] Re: [PHP-DEV] [RESENT] [PATCH] Allowconstants / expressions to be passed by reference]

2002-05-29 Thread Jason T. Greene
Even if it is semantically incorrect( which I disagree.) How is allowing a constant/expression to be passed by reference more "semantically incorrect" than allowing a default (which is a constant) on a pass by reference argument? -Jason On Wed, 2002-05-29 at 10:53, Sebastian Berg

Re: [Fwd: [PHP-DEV] Re: [Zend Engine 2] Re: [PHP-DEV] [RESENT][PATCH] Allow constants / expressions to be passed by reference]]

2002-05-29 Thread Jason T. Greene
Yes and as I said in my argument, this solves some of the problems but does not solve a non-rightmost parameter being optional. -Jason On Wed, 2002-05-29 at 11:43, Sebastian Bergmann wrote: > Hamster ate my mail? Resent, just in case. > > Sebastian Bergmann wrote: > > brad l

Re: [PHP-DEV] Re: [Zend Engine 2] Re: [PHP-DEV] [RESENT] [PATCH]Allow constants / expressions to be passed by reference]

2002-05-29 Thread Jason T. Greene
This technique of course will not work with the current semantics of not allowing constants/expressions to pass by reference. -Jason On Wed, 2002-05-29 at 10:26, Andi Gutmans wrote: > I don't see any reason to allow passing non-variables by reference. > It is semantically incorrect.

[PHP-DEV] [RESENT] [PATCH] Allow constants / expressions to be passed byreference]

2002-05-28 Thread Jason T. Greene
Due to this patch being sent during the msession discussion, it has not been noticed, so I am resending. -Jason --- Begin Message --- Problem --- There are some scenarios where a function requires the ability to modify parameters that may also be optional. Optional parameters work well

[PHP-DEV] [PATCH] Allow constants / expressions to be passed by reference

2002-05-25 Thread Jason Greene
Thanks, -Jason Index: zend_compile.c === RCS file: /repository/ZendEngine2/zend_compile.c,v retrieving revision 1.285 diff -u -r1.285 zend_compile.c --- zend_compile.c 23 Apr 2002 18:06:53 - 1.285 +++ zend_compile.c

[PHP-DEV] CVS Account Request: jrust

2002-05-15 Thread Jason Rust
Martin told me to get a CVS account here so I can contribute to PEAR. -- PHP Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Safe Mode

2002-05-15 Thread Jason T. Greene
On Mon, 2002-05-13 at 09:54, Ilia A. wrote: > > Now you are really starting to stretch it. I am sure the ratio of > > customers that have db backends are much smaller than general webhosting > > customers > > PHP is very commonly used with a database (MySQL). I'd venture to say that 70% > of peo

Re: [PHP-DEV] Safe Mode

2002-05-15 Thread Jason T. Greene
I very much agree : ) -Jason On Mon, 2002-05-13 at 03:42, veins wrote: > > He has a point in the sense that it's trivially easy to starve a PHP based > > web server from within, safe mode enabled or not. What you describe as > the > > automated way in which the web

Re: [PHP-DEV] Safe Mode

2002-05-15 Thread Jason T. Greene
On Mon, 2002-05-13 at 04:11, Zeev Suraski wrote: > At 11:42 13/05/2002, veins wrote: > > > He has a point in the sense that it's trivially easy to starve a PHP based > > > web server from within, safe mode enabled or not. What you describe as > >the > > > automated way in which the web server wil

Re: [PHP-DEV] Safe Mode

2002-05-15 Thread Jason T. Greene
On Mon, 2002-05-13 at 03:13, Zeev Suraski wrote: > Jason, > > He has a point in the sense that it's trivially easy to starve a PHP based > web server from within, safe mode enabled or not. What you describe as the > automated way in which the web server will overcom

Re: [PHP-DEV] Safe Mode

2002-05-12 Thread Jason Greene
On Mon, 2002-05-13 at 00:41, Ilia A. wrote: > > disable_functions = sleep > > Ah but you forgot usleep, and flock() and socket_set_limit etc... > Soon enough you'll disable every function. Not likely, and I wouldn't disable every single function. You complained about the ability, I provided you

Re: [PHP-DEV] Safe Mode

2002-05-12 Thread Jason Greene
ty problems. By the same argument that you make to get rid of safe mode, we could tell you to not use a shared environment, and use dedicated servers. There are problems here and you can be a bit more constructive, and send patches, offer new security techniques, report bugs. Exaggerating and cursing safe mode does nothing but waste time. -Jason -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Safe Mode

2002-05-12 Thread Jason Greene
continue with your lock analogy, you do not protect your house with a > broken lock, because beyond cosmetic value it does absolutely nothing. If the lock is broken, you fix it, you don't get rid of the lock altogether > > Ilia -Jason -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Safe Mode

2002-05-12 Thread Jason Greene
ode because it is not perfect is unfounded. By the same argument you could say we shouldn't use locks on our doors, because hey "they can be picked". -Jason > Ilia > > -- > PHP Development Mailing List <http://www.php.net/> > To unsubscribe, visit: http:

Re: [PHP-DEV] Re: Bug #17022: enhance socket_strerror(errno) tomakeerrno optional

2002-05-06 Thread Jason Greene
I think he is referring to persistent sockets. Tom, Could you outline how you would use a persistent sockets, and why it would benefit you? -Jason On Mon, 2002-05-06 at 10:54, Markus Fischer wrote: > Hi, > > What do you mean with psocket() ? > > - Markus >

Re: [PHP-DEV] PHP 4.3 charter and release plan

2002-05-06 Thread Jason Greene
I would like to have the sockets extension polished and marked as stable by 4.3, if you would like to add that to the list of changes. -Jason On Fri, 2002-05-03 at 00:17, Stig S. Bakken wrote: > Hi, > > I've volunteered to RM (release master, not /bin/rm) PHP 4.3. This >

Re: [PHP-DEV] Re: Bug #17022: enhance socket_strerror(errno) tomakeerrno optional

2002-05-06 Thread Jason Greene
PI will never provide all the desired functionality within the lifespan of an application. -Jason > >I think the requested behavior does not belong in socket_strerror() > >simply because it would not match the primary and other use of > >socket_last_error(). In other words, you would no

Re: [PHP-DEV] Re: Bug #17022: enhance socket_strerror(errno) tomake errno optional

2002-05-06 Thread Jason Greene
Agreed, This really is something that better belongs in user-space. -Jason On Mon, 2002-05-06 at 00:56, Markus Fischer wrote: > Hi, > > after thinking again I think it's best just not to touch this > anyway. Let it be that one hast to call > socket_strerr

Re: [PHP-DEV] Re: Bug #17022: enhance socket_strerror(errno) tomake errno optional

2002-05-05 Thread Jason Greene
to add something like socket_last_errstr, which could then follow the same semantics of socket_last_error. This would be a much more consistent. i.e. socket_last_errstr($sock); socket_last_errstr(); Would this be acceptable? -Jason On Sun, 2002-05-05 at 16:33, Markus Fischer wrote: >

Re: [PHP-DEV] sockets

2002-04-29 Thread Jason Greene
On Mon, 2002-04-29 at 11:14, Steve Meyers wrote: > On Sun, 2002-04-28 at 22:43, Jason Greene wrote: > > In the case of a socket you are selecting on has errored, the socket > > will show up as readable. You then can perform a socket_read/recv, and > > you should receive

Re: [PHP-DEV] socket_create() doesn't expose error if one occurs[CVS HEAD]

2002-04-29 Thread Jason Greene
The patch looks good to me, go ahead and apply it. Thanks, -Jason On Mon, 2002-04-29 at 04:02, Markus Fischer wrote: > Hi, > > attached is the patch I intend to commit later this day: > > - Stores last errno in a module global implicitely > - Sets

Re: [PHP-DEV] sockets

2002-04-28 Thread Jason Greene
don't want to read your data (which you should rarely have to do) there is a MSG_PEEK option you can pass socket_recv that will allow you to look ahead and not clear. Thanks, -Jason Sun, 2002-04-28 at 22:56, Jason Greene wrote: > On Sun, 2002-04-28 at 18:31, J Smith wrote: > >

Re: [PHP-DEV] sockets

2002-04-28 Thread Jason Greene
has a little known functionality called "ticks" that allows you to have an external function called between X number of opcodes. Hope this helps, -Jason On Fri, 2002-04-26 at 11:05, Dan Hardiker wrote: > The only feature which would be useful towards this module is threading. If >

Re: [PHP-DEV] sockets

2002-04-28 Thread Jason Greene
t; where select() returns -1, I think.) > > J > socket_select returns NULL on error. -Jason > > Steve Meyers wrote: > > > There's only one thing it's missing -- the equivalent of > > socket_get_status(), which is not part of the extension, despite the name.

Re: [PHP-DEV] sockets

2002-04-28 Thread Jason Greene
I was hoping on tagging this extension as stable by the next PHP release. In order to do this, everyone needs to feel comfortable with the extension. Thanks, -Jason On Thu, 2002-04-25 at 12:46, Michael Virnstein wrote: > Hi, > > as i could read in the manual, the socket func

Re: [PHP-DEV] socket_create() doesn't expose error if one occurs[CVS HEAD]

2002-04-28 Thread Jason Greene
This was something I was planning on adding, but it was not applied to the 4.2.0 branch, because it introduces a feature enhancement (storing a global last error) and not a bug fix. It is a very simple enhance, I just have not had the time to work on it yet. -Jason On Sat, 2002-04-27 at 07:22

RE: [PHP-DEV] Unsigned Right(Maybee Left) Shift [Again]

2002-04-04 Thread Jason Greene
Well it wouldn't be changing the behavior of the heredoc operator, it would only be interpreted differently depending on the situation. Technically, I think it could be done without ambiguities. -Jason On Thu, 2002-04-04 at 09:57, Marc Boeren wrote: > > Reasons expressed

[PHP-DEV] Unsigned Right(Maybee Left) Shift [Again]

2002-04-04 Thread Jason Greene
ns expressed against it It is the heredoc operator Not really needed Could be confusing I am personally neutral, because I don't think it matters either way; however, I need a tie breaker. Anyone want to help me out here? Thanks -- Jason T. Greene Interne

Re: [PHP-DEV] webserver in PHP

2002-04-01 Thread Jason Greene
if (pcntl_wifexited($status)) print "$pid exited!\n"; } pcntl_signal(SIGCHLD, "child_wait"); This will effectively prevent zombies. > > there is a working demo for the next couple of hours (until I switch > off the machine): > > http://212.254.248.130/ Neat!

[PHP-DEV] Unsigned Right Shift Sould there be a matching left shift?

2002-03-23 Thread Jason Greene
t <<< and <<<= and have them just be aliases to << and <<=? Thanks, -Jason -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] poll (2) - portability/alternatives

2002-03-18 Thread Jason Greene
occurred, if -1 an error occurred. The worst that can happen in this scenario is that you get data, this however can be resolved by using the MSG_PEEK option to recv, then you don't remove the data from the buffer. -Jason On Mon, 2002-03-18 at 16:39, Wez Furlong wrote: > Theres a bug in the

Re: [PHP-DEV] [PATCH] Unsigned Right Shift Operator

2002-03-17 Thread Jason Greene
Note: there is a slight WS fix in this patch. (A couple of lines had trailing spaces) On Sun, 2002-03-17 at 23:22, Jason Greene wrote: > After a short discussion on the zend-engine-2 list about handling > unsigned values I decided to write a quick patch (Attached) that adds an > unsig

[PHP-DEV] [PATCH] Unsigned Right Shift Operator

2002-03-17 Thread Jason Greene
After a short discussion on the zend-engine-2 list about handling unsigned values I decided to write a quick patch (Attached) that adds an unsigned right shift operator, and an unsigned right shift assign operator (Similar to Java). The following code/output displays the difference: Code: > 31;

[PHP-DEV] Versioning

2002-03-14 Thread Jason Greene
umber. ex: 4.2.1.RC1 bugs fixed 4.2.1.RC2 bugs fixed / release 4.2.1.0 Then bugs are fixed 4.2.1.1 More bugs are fixed 4.2.1.2 Opinions? -Jason On Thu, 2002-03-14 at 08:15, Zeev Suraski wrote: > zeev Thu Mar 14 09:15:26 2002 EDT > > Modified files:

Re: [PHP-DEV] Is credits_ext.h still being updated?

2002-03-13 Thread Jason Greene
I fixed the process so that it should build correctly now. All that is needed is a cronjob to run it, test for differences, and then commit them. -Jason On Wed, 2002-03-13 at 09:24, Hartmut Holzgraefe wrote: > Jason Greene wrote: > > Nevermind, for some reason I thought this was

Re: [PHP-DEV] Is credits_ext.h still being updated?

2002-03-13 Thread Jason Greene
Nevermind, for some reason I thought this was automated. On Tue, 2002-03-12 at 18:01, Jason Greene wrote: > I added myself to the Sockets Extension a few months ago, and it has > never propagated. > > -Jason > > > > -- > PHP Development Mailing List <http://

[PHP-DEV] Is credits_ext.h still being updated?

2002-03-12 Thread Jason Greene
I added myself to the Sockets Extension a few months ago, and it has never propagated. -Jason -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] Sockets: new socket_select() example

2002-03-08 Thread Jason Greene
Due to popular request, here is an example of the new socket_select(): NOTE: ***This code does not do any error handling*** -- PHP Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Socket Rework Complete

2002-03-08 Thread Jason Greene
I would be happy to help in any way possible. Your source wasn't attached though. Would you like an example? (That or you can resend your source) -Jason On Fri, 2002-03-08 at 13:10, J Smith wrote: > > Speaking of the FD_* macros and such, I'm trying to visualize how to >

Re: [PHP-DEV] Socket Rework Complete

2002-03-08 Thread Jason Greene
here be an int return from > socket_select(). You still can return 'false' on error > condition. Yes, that is the behavior I was planning. The only problem is that the current function returns -1 instead of FALSE. -Jason > > -- > PHP Development Mailing List <http://www

Re: [PHP-DEV] Socket Rework Complete

2002-03-08 Thread Jason Greene
have some slight adjusting to, but the beauty of the high-level language is that we can automate and simplify the functionality. This also makes it easier for people who don't know C to pickup the functionality. -Jason > -- > PHP Development Mailing List <http://www.php.net/> >

Re: [PHP-DEV] Re: Socket Rework Complete

2002-03-08 Thread Jason Greene
Thanks for the bug report, it will be fixed. -Jason On Fri, 2002-03-08 at 09:39, J Smith wrote: > > I think I see bug number 1... > > The system call for select() you to perform an indefinite blocking call if > you pass NULL as tv, but PHP's socket_select() doesn

Re: [PHP-DEV] Socket Rework Complete

2002-03-08 Thread Jason Greene
Also there is a bug in the patch pertaining to the modifications to the socket_last_error() function: arg1 should be initialized to NULL > Chris > > > Thanks for your feedback and patch, -Jason -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] Socket Rework Complete

2002-03-07 Thread Jason Greene
a lot tougher to put through. Thanks, -Jason -- Jason T. Greene Internet Software Engineer <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> Use PHP: http://www.php.net -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] CVS Account Request: jasonlotito

2002-03-07 Thread Jason Lotito
PEAR Development. I have already signed up and been approved for a PEAR Web Account, and setup a package for Color. I wish to add and maintain my current Color Class, as well be allowed to add and manage other classes that I may add to PEAR. I only need access to the PEAR section of CVS. I

Re: [PHP-DEV] Ping

2002-03-01 Thread Jason Greene
64 bytes from PHPDev Mailing List ([EMAIL PROTECTED]): icmp_seq=0 ttl=254 time=557 min 64 bytes from PHPDev Mailing List ([EMAIL PROTECTED]): icmp_seq=1 ttl=254 time=357 min 64 bytes from PHPDev Mailing List ([EMAIL PROTECTED]): icmp_seq=2 ttl=254 time=257 min 64 bytes from PHPDev Mailing List ([

Re: [PHP-DEV] build errors

2002-03-01 Thread Jason Greene
Are your Autoconf, and Automake in 2 different directory structures, but symlinked? (cause that causes problems like this) -Jason On Fri, 2002-03-01 at 09:51, James Cox wrote: > Ok, give it to me like i'm a 5 year old.. seems like i have some conflicts > somewhere, but i don't

[PHP-DEV] Parsing File Names

2002-02-28 Thread Jason Dubya
an easy way to parse that to create two variables: $artist & $songname? -- Jason Dubya -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] [PATCH] Better fix for PHP Safe Mode FilesystemCircumvention Problem

2002-02-28 Thread Jason Greene
ading local file")); tmp[0] = (char) 251;/* NULL_LENGTH */ end=strnmov(tmp+1,ex->file_name,sizeof(tmp)-2); (void) my_net_write(&thd->net,tmp,(uint) (end-tmp)); (void) net_flush(&thd->net); file = -1; } I have tested this with

Re: [PHP-DEV] PHP 4.2.0 release process

2002-02-27 Thread Jason Greene
Sounds good to me. -Jason On Wed, 2002-02-27 at 12:31, Derick Rethans wrote: > Hello folks, > > after some overenthausiastic actions of me today I'd like to do it the > formal way now. I think it's a good idea to start working on a PHP 4.2.0 > release now. Some i

Re: [PHP-DEV] Re: [PHP-CVS] cvs: php4 / configure.in /mainphp_version.h

2002-02-27 Thread Jason Greene
OK, That sounds great, I will hurry with my patches then : ) -Jason On Wed, 2002-02-27 at 12:18, [EMAIL PROTECTED] wrote: > Hello, > > On 27 Feb 2002, Jason Greene wrote: > > > That should be enough time; however, if it is a problem, I could apply > > to HEAD, the

Re: [PHP-DEV] Re: [PHP-CVS] cvs: php4 / configure.in /mainphp_version.h

2002-02-27 Thread Jason Greene
Clarification I was referring to the status change in 4.3 and the features in by 4.2 On Wed, 2002-02-27 at 12:11, Jason Greene wrote: > That should be enough time; however, if it is a problem, I could apply > to HEAD, then merge to 4.2 since the extension is labeled experimental. >

Re: [PHP-DEV] Re: [PHP-CVS] cvs: php4 / configure.in /mainphp_version.h

2002-02-27 Thread Jason Greene
can be made in 4.3.0-Dev. What do you think? -Jason On Wed, 2002-02-27 at 12:05, Andi Gutmans wrote: > I don't see any reason not to postpone the branching by a couple of days if > that's enough time for you. > > Andi > > At 11:57 AM 2/27/2002 -0600, Jason Green

Re: [PHP-DEV] Re: [PHP-CVS] cvs: php4 / configure.in /mainphp_version.h

2002-02-27 Thread Jason Greene
I was hoping the sockets work I was planning on would make the 4.2 branch. I guess thats not possible? -Jason On Wed, 2002-02-27 at 11:19, Rasmus Lerdorf wrote: > > Rasmus Lerdorf wrote: > > > By the way, when was this 4.2.0 branch created? I saw no > > > php-dev/p

[PHP-DEV] [PATCH] Better fix for PHP Safe Mode Filesystem CircumventionProblem

2002-02-27 Thread Jason Greene
PROTECTED] to get there reaction. -Jason Index: ext/mysql/config.m4 === RCS file: /repository/php4/ext/mysql/config.m4,v retrieving revision 1.38 diff -u -r1.38 config.m4 --- ext/mysql/config.m4 30 Nov 2001 18:59:45 - 1.38 +++ ext

Re: [PHP-DEV] Re: Sockets Extension Rework (API, etc...) VERY LONG

2002-02-21 Thread Jason Greene
hould be pretty easy to port your code to the newer API. I appreciate hearing concerns like this, and I hope you and others continue to speak up. : ) -Jason > > J > > > Jason Greene wrote: > > > > > 2. Get rid of socket_fd_*. > >

Re: [PHP-DEV] Sockets Extension Rework (API, etc...) VERY LONG

2002-02-21 Thread Jason Greene
On Thu, 2002-02-21 at 01:40, Derick Rethans wrote: > Hey Jason, > > On 20 Feb 2002, Jason Greene wrote: > > > Instead of just committing a gigantic patch to solve these problems, and > > redefine the extensions behavior, I decided to open a thread for > > discussio

  1   2   3   4   >