Sybase

------_=_NextPart_001_01C868B3.1A78F34C
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

Hello list,



I try to figure out a problem on a Windows machine with the Sybase
extension and maybe you could help me.



Basically using the 5.2.0 extension works and using the 5.2.4 extension
doesn't work in the same environment (ASE 12.5.1 / sybase_ct extension).



The error is: "Sybase: Unable to allocate connection record".



Looking into the source give me the root of the problem, it is located
in the 'ct_con_alloc' function that basically initializes all things (no
connection).



So my bet is that there is an incompatibility in the lib/dll used for
compilation and the ones used for runtime.



My question is: how can I get the version of the FreeTDS/Sybase
librairies used during a build? And how can I get them?



Thanks for any help,

Eric




------_=_NextPart_001_01C868B3.1A78F34C--
Eric COLINET [ Mi, 06 Februar 2008 12:26 ] [ ID #1922935 ]

string function

WHat function i use to make this sentence to bold only for a
text inside " "

1. Per costruire i Paper Model "munirsi" di un tubetto di
colla vinilica, un paio di forbici, e una penna, o un
pennarello, di sezione tonda, con la quale aiutarsi a
modellare "le parti cilindriche".

i hope the sentece will be

1. Per costruire i Paper Model <b>munirsi</b> di un tubetto
di colla vinilica, un paio di forbici, e una penna, o un
pennarello, di sezione tonda, con la quale aiutarsi a
modellare <b>le parti cilindriche</b>.


i have list text that should be bold if found, but there soo
many text (i think there was more than 20), i can't always
use str_replace, is there another way

sry my bad languages



--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
bedul [ Fr, 08 Februar 2008 05:04 ] [ ID #1923306 ]

Re: string function

hi

Have you tried ereg_replace() ?
http://www.php.net/manual/en/function.ereg-replace.php


cheers
viola

2008/2/7 bedul <landavia81 [at] gmail.com>:
> WHat function i use to make this sentence to bold only for a
> text inside " "
>
> 1. Per costruire i Paper Model "munirsi" di un tubetto di
> colla vinilica, un paio di forbici, e una penna, o un
> pennarello, di sezione tonda, con la quale aiutarsi a
> modellare "le parti cilindriche".
>
> i hope the sentece will be
>
> 1. Per costruire i Paper Model <b>munirsi</b> di un tubetto
> di colla vinilica, un paio di forbici, e una penna, o un
> pennarello, di sezione tonda, con la quale aiutarsi a
> modellare <b>le parti cilindriche</b>.
>
>
> i have list text that should be bold if found, but there soo
> many text (i think there was more than 20), i can't always
> use str_replace, is there another way
>
> sry my bad languages
>
>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>

--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Viola Holownia [ Fr, 08 Februar 2008 05:26 ] [ ID #1923307 ]

Re: string function

Viola Holownia wrote:
> hi
>
> Have you tried ereg_replace() ?
> http://www.php.net/manual/en/function.ereg-replace.php
>
>
> cheers
> viola
>

I would NOT suggest ereg_replace, especially on windows - if you need to
do advanced replacement and str_replace doesn't work, try preg_replace -
http://php.net/preg_replace

Regular expressions are your friend.

Thanks,
Elizabeth

--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Elizabeth M Smith [ Fr, 08 Februar 2008 15:26 ] [ ID #1923308 ]

Re: string function

----------MB_8CA3948B781A6CD_1680_400D_mblk-d18.sysops.aol.c om
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset="us-ascii"


Can I just ask what the difference is between ereg and preg_replace? Thanks.

Tryst







-----Original Message-----
From: Elizabeth M Smith <auroraeosrose [at] gmail.com>
To: php-windows [at] lists.php.net
Sent: Fri, 8 Feb 2008 14:26
Subject: Re: [PHP-WIN] string function










Viola Holownia wrote:
> hi
>
> Have you tried ereg_replace() ?
> http://www.php.net/manual/en/function.ereg-replace.php
>
>
> cheers
> viola
>

I would NOT suggest ereg_replace, especially on windows - if you need to
do advanced replacement and str_replace doesn't work, try preg_replace -
http://php.net/preg_replace

Regular expressions are your friend.

Thanks,
Elizabeth

--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php







____________________________________________________________ ____________
AOL's new homepage has launched. Take a tour at http://info.aol.co.uk/homepage/ now.

----------MB_8CA3948B781A6CD_1680_400D_mblk-d18.sysops.aol.c om--
Trystano [ Sa, 09 Februar 2008 16:36 ] [ ID #1923377 ]

Re: string function

Hi

> Can I just ask what the difference is between ereg and preg_replace? Thanks.

preg* are PCRE compatible functions. ereg*are POSIX Extended.
AFAIR, the PCRE ones support several additional features and are binary
safe, while the POSIX ones are not.

--
Niel Archer

--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Niel Archer [ Sa, 09 Februar 2008 23:25 ] [ ID #1923378 ]
PHP » gmane.comp.php.windows » Sybase

Vorheriges Thema: Float value Division gives irrational results php 5.2.5
Nächstes Thema: include and warning: headers already sent by ..