Sybase

Sybase

am 06.02.2008 12:26:39 von Eric COLINET

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

Hello list,

=20

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

=20

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).

=20

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

=20

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).

=20

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

=20

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

=20

Thanks for any help,

Eric

=20


------_=_NextPart_001_01C868B3.1A78F34C--

string function

am 08.02.2008 05:04:03 von bedul

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

Re: string function

am 08.02.2008 05:26:05 von Viola Holownia

hi

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


cheers
viola

2008/2/7 bedul :
> 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 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 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

Re: string function

am 08.02.2008 15:26:59 von Elizabeth M Smith

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

Re: string function

am 09.02.2008 16:36:47 von Trystano

----------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
To: php-windows@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--

Re: string function

am 09.02.2008 23:25:17 von Niel Archer

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