php-windows Digest 15 Feb 2004 08:28:44 -0000 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 structure in PHP5?
        22812 by: Dee Kay

flock() issues
        22813 by: Dee Kay
        22814 by: Meteorlet

Administrivia:

To subscribe to the digest, e-mail:
        [EMAIL PROTECTED]

To unsubscribe from the digest, e-mail:
        [EMAIL PROTECTED]

To post to the list, e-mail:
        [EMAIL PROTECTED]


----------------------------------------------------------------------
--- Begin Message ---
There is some message in the bug list.
Now it should be ok with the last snaps.

Thx to the team for the patch.

Cyruss


Cyruss a écrit :
Hello,

I'm using W2K and Apache 1.3.29. When I try to uncomment some extensions
in the php.ini and try to reload Apache, then Apache crashes. I've set the right path to the extension_dir = "D:\php\php-5.0.0b4-Win32\ext".
I am trying to do this with an snap of PHP5 and now with Beta4.
It doesnt seem to matter, which extension I uncomment. I tried to do this with the extensions of MySQL, PostgreSQL and some other, too. After that, Apache will only start again, if I delete the path to the extension_dir (and comment the extensions of course). It will even start, when I add the ext_dir then. But Apache crashes again, if I try to uncomment some extensions. And here we go again...


I have the same problem !
It worked with Apache/PHP5b3 but not with b4.

This is no dll-missing-issue. PHP4.3.4 seems to work well with extensions, so this might be a PHP5 issue and not an Apache issue.


Is there any topic that I missed? I hope someone knows a solution for that! Thank you in advance!


If you find a solution send me a mail or post it here, i'll do the same.

Regards

Cyril

--- End Message ---
--- Begin Message ---
Same here. :-(

"Cyruss" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hello,
>
> > I'm using W2K and Apache 1.3.29. When I try to uncomment some extensions
> > in the php.ini and try to reload Apache, then Apache crashes.

--- End Message ---
--- Begin Message ---
hi guys!

I've the following problem:

i have an html form which sends data to a php page.

the problem is that in this php page i've the results in this way:

Name (label) $first_name (instead of the value is printed the name of the
variable)

why?? could you help me??

regards

ciro from italy

--- End Message ---
--- Begin Message ---
Ciro,

Tyr reading your variable as $_POST['first_name'] and see if that works.

That's the default way of passing form and url variables in PHP.

If you would rather do it the 'old' way (not recommended), open your php.ini
file and check the 'register globals' to 'on'.

George Oxford/Edinburgh

> -----Original Message-----
> From: Ciro [mailto:[EMAIL PROTECTED]
> Sent: 14 February 2004 7:32 pm
> To: [EMAIL PROTECTED]
> Subject: [PHP-WIN] problems with variables
>
>
> hi guys!
>
> I've the following problem:
>
> i have an html form which sends data to a php page.
>
> the problem is that in this php page i've the results in this way:
>
> Name (label) $first_name (instead of the value is printed the name of the
> variable)
>
> why?? could you help me??
>
> regards
>
> ciro from italy
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>

--- End Message ---
--- Begin Message ---
Beta 4 already has the new structure.

--- End Message ---
--- Begin Message ---
Can anybody tell me why this code does not work on Windows?

<?
$f1 = fopen("/tmp/a", "a+b");
flock($f1, LOCK_SH);
$f2 = fopen("/tmp/a", "r+b");
fwrite($f2, "test");
?>

It creates zero-length file. On Linux all OK.

If I delete flock() or call flock($f1, LOCK_UN) just after first flock(),
all works correctly.

--- End Message ---
--- Begin Message ---
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);                                         
>$f2 = fopen("/tmp/a", "r+b");
>fwrite($f2, "test");
>?>
>
>It creates zero-length file. On Linux all OK.
>
>If I delete flock() or call flock($f1, LOCK_UN) just after first flock(),
>all works correctly.
>
>-- 
>PHP Windows Mailing List (http://www.php.net/)
>To unsubscribe, visit: http://www.php.net/unsub.php
>

= = = = = = = = = = = = = = = = = = = =
                                 
        Meteorlet
[EMAIL PROTECTED]
          2004-02-15

--- End Message ---

Reply via email to