Re: [PHP-WIN] flock() issues

2004-02-15 Thread Meteorlet
Dee Kay,Hello! LOCK_SH doesn't allow you to write something into a file.just for reader. you can use LOCK_EX. === 2004-02-15 07:46:36 === >Can anybody tell me why this code does not work on Windows? > >$f1 = fopen("/tmp/a", "a+b"); >flock($f1, LOCK_SH);

php-windows Digest 15 Feb 2004 08:28:44 -0000 Issue 2122

2004-02-15 Thread php-windows-digest-help
php-windows Digest 15 Feb 2004 08:28:44 - Issue 2122 Topics (messages 22808 through 22814): Re: Apache 1.3.29 crashes with PHP-extensions added 22808 by: Cyruss 22809 by: David problems with variables 22810 by: Ciro 22811 by: George Pitcher Re: New directory

[PHP-WIN] test

2004-02-15 Thread ritter
test -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP-WIN] Apache 1.3.29 crashes with PHP-extensions added

2004-02-15 Thread Svensson, B.A.T. (HKG)
> It doesnt seem to matter, which extension I uncomment. This sounds like a problem with apache it self(?). -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] Apache 1.3.29 crashes with PHP-extensions added

2004-02-15 Thread Torsten Schabdach
This sounds like a problem with apache it self(?). I thought this first too. The problem was solved by getting a new snap (and the great help of Cyruss). *AND*: I always put the php4ts.dll near the sapi/php4apache.dll as stated as a possibility in the install.txt. But this doesn't seem to work a

[PHP-WIN] test post

2004-02-15 Thread Anthony Ritter
test -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-WIN] isset() question

2004-02-15 Thread Anthony Ritter
The following script is from Kevin Yank's book (Sitepoint). When I test it _without_ entering a name in the text box and hit submit, the _next_ page loads - however the same page should load beacuse of the conditional if (!isset($name) ): . If I replace !isset() with empty() li

RE: [PHP-WIN] Apache 1.3.29 crashes with PHP-extensions added

2004-02-15 Thread Svensson, B.A.T. (HKG)
>> This sounds like a problem with apache it self(?). [...] > I moved it to the Apache-Dir and everything works fine. So it was an apache related problem(?). -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP-WIN] isset() question

2004-02-15 Thread Svensson, B.A.T. (HKG)
> Why doesn't the call to !isset() with the negation > mark loads the nextpage when a name is not entered? What do you get if you do: if (isset($a)) { print '$a is set'; } else { print '$a is not set'; } $a = ""; if (isset($a)) { print '$a is set'; } else { print '$a is not

RE: [PHP-WIN] isset() question

2004-02-15 Thread Svensson, B.A.T. (HKG)
By the way, it might be interresting to see what this does: if (strlen($a)) { print '$a is set'; } else { print '$a is not set' . "\n"; } $a= ""; if (strlen($a)) { print '$a is set'; } else { print '$a is not set' . "\n"; } -Original Message- From: Svensson, B.A.T. (HKG) To: '[E

Re: [PHP-WIN] isset() question

2004-02-15 Thread Anthony Ritter
If you get a chance please run the following script _without_ entering a name in the textbox. Does the same page load after you hit submit or does a different page load? Thank you. TR ... Sample Page Please enter your name: Your name: This para

RE: [PHP-WIN] isset() question

2004-02-15 Thread Svensson, B.A.T. (HKG)
Are you globas set to on or off? -Original Message- From: Anthony Ritter To: [EMAIL PROTECTED] Sent: 2004-02-15 18:21 Subject: Re: [PHP-WIN] isset() question If you get a chance please run the following script _without_ entering a name in the textbox. Does the same page load after you

Re: [PHP-WIN] isset() question

2004-02-15 Thread Meteorlet
Anthony Ritter,Hello! Here is my test result: Sample Page Your name: This paragraph contains a link that passes the name variable on to the next document. It's all right under Apache/2.0.44 (Win32) & PHP/4.3.1.what problem you met is that you turn off the globals

php-windows Digest 16 Feb 2004 00:39:01 -0000 Issue 2123

2004-02-15 Thread php-windows-digest-help
php-windows Digest 16 Feb 2004 00:39:01 - Issue 2123 Topics (messages 22815 through 22825): test 22815 by: ritter Re: Apache 1.3.29 crashes with PHP-extensions added 22816 by: Svensson, B.A.T. (HKG) 22817 by: Torsten Schabdach 22820 by: Svensson, B.A.T. (HKG)

[PHP-WIN] how to create a image with only 2 colors, B&W ?

2004-02-15 Thread yuegong
Hi: I want to create a image which only has 2 colors , B&W , how to do this ? thanks ! yuegong

[PHP-WIN] test

2004-02-15 Thread pradeep
test -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php