Hi again,
Thanx, there is an option magic_quotes_sybase in the php.ini...
Sybase uses the same escape as oracle.
If you set this to On the qoutes are handled correctly...
Thanx,
Christoph
> Hi,
>
> I think it's one of the "magic_quotes" features that does this. One
> possibility would be to turn it off, and be sure to escape your quotes by
> transforming them into double-quotes before sending them to Oracle.
>
> "Christoph Kempen" <[EMAIL PROTECTED]> a écrit dans le message news:
> [EMAIL PROTECTED]
> Hi,
>
> I used to work with PHP/mysql.. But since a few weeks we have an oracle
> server :-)
>
> 1 problem occured with the migration...
>
> If some text is passed through a html-form all the qoutes have a slash in
> fromt of them... This is not a problem with mysql, since mysql uses that
> slash for inserting a qoute in the table. But in oracle this is not a slash,
> but a qoute...
>
> For example:
>
> I¹ts a test php: I\¹ts a test
>
> But oracle wants: I¹¹ts a test
>
> Is there a easy way for converting this. Otherwise I have to write a
> function that filters them out :-(
>
> Thanx,
>
> Christoph Kempen
>
>
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]