Sybase NNTP forums - End Of Life (EOL)

The NNTP forums from Sybase - forums.sybase.com - are now closed.

All new questions should be directed to the appropriate forum at the SAP Community Network (SCN).

Individual products have links to the respective forums on SCN, or you can go to SCN and search for your product in the search box (upper right corner) to find your specific developer center.

Connect to .db using PHP

5 posts in General Discussion Last posting was on 2007-09-21 05:43:41.0Z
ekologi Posted on 2007-09-14 15:47:30.0Z
From: "ekologi" <ebaskom@gmail.com>
Newsgroups: ianywhere.public.general
Subject: Connect to .db using PHP
Lines: 7
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
X-RFC2646: Format=Flowed; Original
X-Antivirus: avast! (VPS 000764-8, 08/12/2007), Outbound message
X-Antivirus-Status: Clean
NNTP-Posting-Host: 61.5.37.146
X-Original-NNTP-Posting-Host: 61.5.37.146
Message-ID: <46eaad12@forums-1-dub>
Date: 14 Sep 2007 08:47:30 -0700
X-Trace: forums-1-dub 1189784850 61.5.37.146 (14 Sep 2007 08:47:30 -0700)
X-Original-Trace: 14 Sep 2007 08:47:30 -0700, 61.5.37.146
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub ianywhere.public.general:6285
Article PK: 4689

Dear expert,
Is it posible to use Sql Anywhere 8 with PHP?
How to connect to Sql Anywhere 8 DB server (running on Xp SP2 with TCPIP)
using PHP?
Thanks


Shuchit Posted on 2007-09-14 17:40:30.0Z
Newsgroups: ianywhere.public.general
Subject: Re: Connect to .db using PHP
From: Shuchit <me@privacy.net>
References: <46eaad12@forums-1-dub>
Message-ID: <Xns99AB8B05715FEsvelkarprivacynet@127.0.0.1>
User-Agent: Xnews/2006.08.24 Hamster/2.1.0.11
NNTP-Posting-Host: surfwc054.sybase.com
X-Original-NNTP-Posting-Host: surfwc054.sybase.com
Date: 14 Sep 2007 10:40:30 -0700
X-Trace: forums-1-dub 1189791630 192.138.150.54 (14 Sep 2007 10:40:30 -0700)
X-Original-Trace: 14 Sep 2007 10:40:30 -0700, surfwc054.sybase.com
Lines: 16
X-Authenticated-User: techsupp
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub ianywhere.public.general:6287
Article PK: 2811


"ekologi" <ebaskom@gmail.com> wrote in news:46eaad12@forums-1-dub:

> Dear expert,
> Is it posible to use Sql Anywhere 8 with PHP?
> How to connect to Sql Anywhere 8 DB server (running on Xp SP2 with TCPIP)
> using PHP?
> Thanks

I don't think the SQL Anywhere php module was available until 9.0.0 or maybe
even 9.0.1. It was bundled with SQL Anywhere studio with 9.0.2

For 8, you will need to use the ODBC connector for Php to connect to the
database.

Shuchit


ekologi Posted on 2007-09-14 17:42:40.0Z
From: "ekologi" <ebaskom@gmail.com>
Newsgroups: ianywhere.public.general
References: <46eaad12@forums-1-dub> <Xns99AB8B05715FEsvelkarprivacynet@127.0.0.1>
Subject: Re: Connect to .db using PHP
Lines: 24
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
X-RFC2646: Format=Flowed; Original
X-Antivirus: avast! (VPS 000764-8, 08/12/2007), Outbound message
X-Antivirus-Status: Clean
NNTP-Posting-Host: 61.5.8.31
X-Original-NNTP-Posting-Host: 61.5.8.31
Message-ID: <46eac810@forums-1-dub>
Date: 14 Sep 2007 10:42:40 -0700
X-Trace: forums-1-dub 1189791760 61.5.8.31 (14 Sep 2007 10:42:40 -0700)
X-Original-Trace: 14 Sep 2007 10:42:40 -0700, 61.5.8.31
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub ianywhere.public.general:6288
Article PK: 2814

Would you be kind to share the code to connect via ODBC from PHP to
SQLAnywhere 8
Thanks

"Shuchit" <me@privacy.net> wrote in message
news:Xns99AB8B05715FEsvelkarprivacynet@127.0.0.1...
> "ekologi" <ebaskom@gmail.com> wrote in news:46eaad12@forums-1-dub:
>
>> Dear expert,
>> Is it posible to use Sql Anywhere 8 with PHP?
>> How to connect to Sql Anywhere 8 DB server (running on Xp SP2 with TCPIP)
>> using PHP?
>> Thanks
>
>
> I don't think the SQL Anywhere php module was available until 9.0.0 or
> maybe
> even 9.0.1. It was bundled with SQL Anywhere studio with 9.0.2
>
> For 8, you will need to use the ODBC connector for Php to connect to the
> database.
>
> Shuchit


Shuchit Posted on 2007-09-19 13:31:11.0Z
Newsgroups: ianywhere.public.general
Subject: Re: Connect to .db using PHP
From: Shuchit <me@privacy.net>
References: <46eaad12@forums-1-dub> <Xns99AB8B05715FEsvelkarprivacynet@127.0.0.1> <46eac810@forums-1-dub>
Message-ID: <Xns99B060C57578Dsvelkarprivacynet@127.0.0.1>
User-Agent: Xnews/2006.08.24 Hamster/2.1.0.11
NNTP-Posting-Host: surfwc054.sybase.com
X-Original-NNTP-Posting-Host: surfwc054.sybase.com
Date: 19 Sep 2007 06:31:11 -0700
X-Trace: forums-1-dub 1190208671 192.138.150.54 (19 Sep 2007 06:31:11 -0700)
X-Original-Trace: 19 Sep 2007 06:31:11 -0700, surfwc054.sybase.com
Lines: 10
X-Authenticated-User: techsupp
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub ianywhere.public.general:6296
Article PK: 2815


"ekologi" <ebaskom@gmail.com> wrote in news:46eac810@forums-1-dub:

> Would you be kind to share the code to connect via ODBC from PHP to
> SQLAnywhere 8
> Thanks

W3schools has a tutorial on using Php with ODBC datasource.
http://w3schools.com/php/php_db_odbc.asp

Shuchit


ekologi Posted on 2007-09-21 05:43:41.0Z
From: "ekologi" <ebaskom@gmail.com>
Newsgroups: ianywhere.public.general
References: <46eaad12@forums-1-dub> <Xns99AB8B05715FEsvelkarprivacynet@127.0.0.1> <46eac810@forums-1-dub> <Xns99B060C57578Dsvelkarprivacynet@127.0.0.1>
Subject: Re: Connect to .db using PHP
Lines: 15
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
X-RFC2646: Format=Flowed; Original
X-Antivirus: avast! (VPS 000775-4, 09/20/2007), Outbound message
X-Antivirus-Status: Clean
NNTP-Posting-Host: 202.152.195.6
X-Original-NNTP-Posting-Host: 202.152.195.6
Message-ID: <46f35a0d@forums-1-dub>
Date: 20 Sep 2007 22:43:41 -0700
X-Trace: forums-1-dub 1190353421 202.152.195.6 (20 Sep 2007 22:43:41 -0700)
X-Original-Trace: 20 Sep 2007 22:43:41 -0700, 202.152.195.6
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub ianywhere.public.general:6305
Article PK: 2821

Thanks

"Shuchit" <me@privacy.net> wrote in message
news:Xns99B060C57578Dsvelkarprivacynet@127.0.0.1...
> "ekologi" <ebaskom@gmail.com> wrote in news:46eac810@forums-1-dub:
>
>> Would you be kind to share the code to connect via ODBC from PHP to
>> SQLAnywhere 8
>> Thanks
>
> W3schools has a tutorial on using Php with ODBC datasource.
> http://w3schools.com/php/php_db_odbc.asp
>
> Shuchit