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

2008-09-01 Thread Kent Larsson
s? On Mon, 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 > >

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

2008-09-01 Thread Kent Larsson
also 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

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

2007-03-26 Thread Kent Tong
Stut 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 problem

[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: When it is run, it tries to lookup smtp.cpttm using the old DNS server (I know it using tcpdump). The new DNS server is specif

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

2005-04-04 Thread Kent
quot;. But i would like it to be in url-style or using some 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

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 abou

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

2003-06-05 Thread Kent C. Kollasch
ccD1yFXu.s: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

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] 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] 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, "\n"); fputs($xmlfp, "\n"); . fputs($xmlfp, "\n"); fclose($xmlfp); terveisia, Kent -- 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, tha

[PHP] Leading zeros in array index

2002-04-19 Thread Kent Briggs
8]; echo $x[09]; - returns this result: abcdefghij abcdefghaa The [08] and [09] values are messed up but [00] 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] echo vs printf

2001-07-16 Thread Kent Sandvik
Test3: print 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] To contact the list administrators, e-mail: [EMAIL PROTECTED]

RE: [PHP] Variable name declarations?

2001-07-14 Thread Kent Sandvik
ow if the example above will help that much, 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

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

2001-07-11 Thread Kent Sandvik
age: $ rpm -ql php This gives 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

RE: [PHP] Re: Rename a File?

2001-07-11 Thread Kent Sandvik
ce hit when starting a shell 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: Running PHP as a cron job....

2001-07-09 Thread Kent Sandvik
perl (or bash). If you have disk space at your ISP you could build your own PHP.exe and place this somewhere in your disk area... --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 li

RE: [PHP] Code Examples for Job Interview

2001-07-09 Thread Kent Sandvik
ce 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 Gener

[PHP] Latest documentation in PDF format?

2001-06-26 Thread Kent Sandvik
d 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
and when $PHP_SELF 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
nyone trying to get to the further screens will be blocked as the right login and passwd is not passed around. Yes I know, I could have used sessions, but I think this was more approprate in case cookies are disabled, and otherwise just felt it was more appropriate to carry the state around. Anyway, su

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

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

2001-04-17 Thread Kent Sandvik
port, as you 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]

[PHP] Flash/PHP

2001-01-26 Thread Kent Wang
What kind of integration exists for Flash/MySQL/PHP system? The only thing I've seen so far is PHP code that will write flash movies, but it was really complex code. Kent Wang -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional com