[PHP] Shared memory, mutex functionality and spawning threads. Is it possible using PHP?

2008-09-01 Thread Kent Larsson
possible to have mutexes and shared memory. Then the worker thread jobs could be processed after a page has been sent inside a critical block protected by mutex functionality. Best regards, Kent

Re: [PHP] Shared memory, mutex functionality and spawning threads. Is it possible using PHP?

2008-09-01 Thread Kent Larsson
, Sep 1, 2008 at 8:27 PM, Per Jessen [EMAIL PROTECTED] wrote: Kent Larsson wrote: Hi, Is it possible to have shared memory in the form of shared global variables in PHP? Or any other form of shared memory? And if that is the case, is there any form of mutex functionality which may

[PHP] gethostbyname () uses old DNS server

2007-03-26 Thread Kent Tong
Hi, We have moved our DNS server from one IP to another. But on a Linux server, the PHP programs keep using the old DNS server IP. For example, for a simple php file: ? echo gethostbyname (smtp.cpttm); ? When it is run, it tries to lookup smtp.cpttm using the old DNS server (I know it using

[PHP] Re: gethostbyname () uses old DNS server

2007-03-26 Thread Kent Tong
Stut stuttle at gmail.com writes: Assuming you're using a web server it's possible PHP is caching the DNS server details. Try restarting the web server. Alternatively try the same script on the command line. Wow! You're right! Stopping apache and then starting it (in two steps) solves the

[PHP] Set session variable if link is clicked, do not want to use GET

2005-04-04 Thread Kent
-style or using some img .. which i understand that the BUTTON item does not support (or am i wrong?). Any advice would be greatly appreciated. Best regards, Kent -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] 4.3.2 compile error on redhat 7.3, gcc 2.96

2003-06-05 Thread Kent C. Kollasch
:1039: Warning: Unrecognized .section attribute: want a,w,x /tmp/ccD1yFXu.s:1039: Warning: Unrecognized .section attribute: want a,w,x /tmp/ccD1yFXu.s:1039: Error: Rest of line ignored. First ignored character is `,'. make: *** [ext/ctype/ctype.lo] Error 1 Any clues? Thanks, Kent -- PHP General

Re: [PHP] Compile 4.3.2 Errors.

2003-06-05 Thread Kent C. Kollasch
The build doesn't even get past the first program to compile. I used the defaults in configure and ran make an it fails immediately. Evan Nemerson wrote: Don't know about 4.3.2, but at the end of 5.0-dev make, the following message is output: Build complete. (It is safe to ignore warnings

Re: [PHP] empty and isset

2003-02-06 Thread Mike . Kent
Actually, I believe it's not a matter of the input being set, but the fact that isset() returns true on an empty variable. Jason Wong

Re: [PHP] empty and isset

2003-02-06 Thread Mike . Kent
Thanks for clearing that up. So input of type text does a set, which makes isset() true, but isset() does not return true if $var is merely empty.

Re: [PHP] best way to save form data on user side

2003-01-28 Thread Mike . Kent
I agree on leveraging your position to guide this thing. Here you've added the requirement of being able to revisit the data in a year. Why not simply have them fill out the form, put it in the database and then use another page with queries to draw the data into a similar template and change it

Re: [PHP] Add lines to a text file

2002-12-11 Thread Kent Sandvik
($theXMLFile, a); fputs($xmlfp, ?xml version=\1.0\ encoding=\ISO-8869-1\ ?\n); fputs($xmlfp, design type=\developer\\n); . fputs($xmlfp, /design\n); fclose($xmlfp); terveisia, Kent -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit

[PHP] Leading zeros in array index

2002-04-19 Thread Kent Briggs
] thru [07] are ok. -- Kent Briggs, [EMAIL PROTECTED] Briggs Softworks, http://www.briggsoft.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Leading zeros in array index

2002-04-19 Thread Kent Briggs
Joshua B. Jore wrote: Oh it's probably because your numbers are being interpreted as octal. Either use the array as '00' .. '09' or just 0 .. 9. 00 .. 09 is valid for 00 to 07 but there is no such thing as 08 and 09 in octal. Ok, thanks. -- Kent Briggs, [EMAIL PROTECTED] Briggs Softworks

RE: [PHP] echo vs printf

2001-07-16 Thread Kent Sandvik
printing 100 times: 5.127711057663 echo printing 100 times: 5.5264019966125 HW, Dell rackmount Server, dual CPU running Linux 2.2.16. --Kent -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED

RE: [PHP] Variable name declarations?

2001-07-14 Thread Kent Sandvik
, but you could already write similar code in functions to make sure that the values are declared on top, to make things clearer. --Kent -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact

RE: [PHP] Re: Rename a File?

2001-07-11 Thread Kent Sandvik
versus issuing system level calls. --Kent -- PHP General 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]

RE: [PHP] Re: Warning: mail() is not supported in this PHP build

2001-07-11 Thread Kent Sandvik
the paths to the installed php files. If installed by hand, then try to do a find: $find / -name '*php*' -print That should catch a lot related to php, php.ini, php directories, the php binary, a possible libphp4.so apache module, and so forth. --Kent -- PHP General Mailing List (http

RE: [PHP] Code Examples for Job Interview

2001-07-09 Thread Kent Sandvik
of code. If you bring your own samples, anything that shows that you are thinking about maintenance and code reusability would be a big plus, as well as if there's clearly an architecture behind the whole solution -- even better a scaleable one. Anyway, hope this helps, Kent -- PHP General Mailing

[PHP] Latest documentation in PDF format?

2001-06-26 Thread Kent Sandvik
for building the PDF documents from an original source? --Kent -- PHP General 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]

[PHP] $PHP_SELF name space?

2001-06-24 Thread Kent Sandvik
is activated? Thx, Kent -- PHP General 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]

RE: [PHP] Need recommendation: good user management system (PHP/MySQL)

2001-06-21 Thread Kent Sandvik
cookies are disabled, and otherwise just felt it was more appropriate to carry the state around. Anyway, sure there are holes and such, but hope this helps, Kent -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

[PHP] filepro()

2001-05-07 Thread Kent C
it supports read-only access to filepro, but it looks like I'll need the php_filepro.dll. I'm running Win2K Pro and Apache Any help in locating the module would be greatly appreciated. Kent C. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED

Re: [PHP] PHP/OCI8 design for persistent connection tuning

2001-04-17 Thread Kent Sandvik
mentioned, that way you get threading happening. --Kent -- PHP General 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]