[PHP-DB] Default port on sybase_connect()

2001-03-15 Thread Trond Straume

What's the port that the php-command "sybase_connect()" uses?
As far as I can see it's not possible to define which port the function
shall connect to...

--
Trond Straume




-- 
PHP Database 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]




Re: [PHP-DB] Default port on sybase_connect()

2001-03-15 Thread Trond Straume

In the documentation for sybase_connect() the 'interfaces' file is
mentioned. Where is this file on php4 for win32, and what is the syntax for
defining a server including a specific port?


""Trond Straume"" [EMAIL PROTECTED] wrote in message
98q1ea$g3i$[EMAIL PROTECTED]">news:98q1ea$g3i$[EMAIL PROTECTED]...
 What's the port that the php-command "sybase_connect()" uses?
 As far as I can see it's not possible to define which port the function
 shall connect to...

 --
 Trond Straume




 --
 PHP Database 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]




-- 
PHP Database 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]




Re: [PHP-DB] Default port on sybase_connect()

2001-03-15 Thread Koos van den Hout

Quoting Trond Straume who wrote on Thu, Mar 15, 2001 at 10:23:36AM +0100:

 What's the port that the php-command "sybase_connect()" uses?
 As far as I can see it's not possible to define which port the function
 shall connect to...

That is because you connect to a name from the sybase interfaces file, and
the hostname, port number are all in the interfaces file.

  Koos

-- 
Koos van den Hout,   PGP keyid RSA/1024 0xCA845CB5 via keyservers
[EMAIL PROTECTED]or DSS/1024 0xF0D7C263-?)
Fax +31-30-2817051   Visit my site about books with reviews/\\
http://idefix.net/~koos/http://www.virtualbookcase.com/   _\_V

-- 
PHP Database 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]




Re: [PHP-DB] Default port on sybase_connect()

2001-03-15 Thread Darryl Friesen

 In the documentation for sybase_connect() the 'interfaces' file is
 mentioned. Where is this file on php4 for win32, and what is the syntax
for
 defining a server including a specific port?


It's in whatever directory you installed FreeTDS or the Sybase client.  It
should be fairly obvious by looking at the file how to change the port
number.  Also, check out the documentation that came with FreeTDS/Sybase.


- Darryl

 --
  Darryl Friesen, B.Sc., Programmer/Analyst[EMAIL PROTECTED]
  Education  Research Technology Services, http://gollum.usask.ca/
  Department of Computing Services,
  University of Saskatchewan
 --
  "Go not to the Elves for counsel, for they will say both no and yes"



-- 
PHP Database 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]