RE: [PHP] New Member: PHP 4 bug?
| From: | Marc Burgauer | Date: | Tue, 12 Sep 2000 10:01:31 +0000 |
| Subject: | RE: [PHP] New Member: PHP 4 bug? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-16314@lists.php.net to get a copy of this message | ||
Not sure this helps.. just a thought:
Are you sure the Perl library has been compiled into PHP when building 4.0.1
pl2? Also check if php.ini configurations are identical.
Cheers
Marc
> -----Original Message-----
> From: Ernst de Moor [SMTP:ernst@creagraphy.nl]
> Sent: Tuesday, September 12, 2000 10:20 AM
> Subject: [PHP] New Member: PHP 4 bug?
>
> Hi all,
>
> I have no idea how big this list is, or it's technical level, but as I
> have a question I thought it would be nice to start
> introducing myself.
>
> Having a technical background, I do some web development, and recently
> started using php to automate some of the web tasks. I do
> have a small LinuxPPC machine at home to do the development, and we do
> support several websites at our production webserver (Redhat
> Linux) for a few clients.
>
> At the server we have PHP 4.0.1 pl2, at the development server I do have
> PHP 3.0.12.
>
> I developed a small program that works fine at the development server, but
> not at the production server. Specifically the statement:
> ereg_replace("\W", "_", $id); seems to be not processed at all (meaning:
> replace all non alphanumeric characters by an underscore).
> Other ereg_replace calls are processed correctly on both servers.
>
> Does anybody know why PHP 3.0.12 processes this correctly and PHP 4.0.1
> pl2 doesn't? Is this a bug?
>
> Thanks in advance,
>
> Ernst de Moor (the Netherlands)
>
> ---
> If you have a spare minute or two:
> http://www.creagraphy.com
>
> Als U een momentje of twee over heeft:
> http://www.creagraphy.nl
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>