php-windows Digest 22 Oct 2003 04:44:31 -0000 Issue 1968
Topics (messages 21849 through 21859):
Re: mssql_connect() - Unable to connect to server
21849 by: Luis Ferro
21850 by: Felipe Nascimento
21851 by: Svensson, B.A.T. (HKG)
21854 by: Felipe Nascimento
21855 by: Felipe Nascimento
21856 by: Svensson, B.A.T. (HKG)
21857 by: Felipe Nascimento
error mysql_num_rows()
21852 by: sdogos elias
Re: Register Globals
21853 by: trystano.aol.com
21859 by: toby z
ftok() for shmop on windows?
21858 by: Eliot Shepard
Administrivia:
To subscribe to the digest, e-mail:
[EMAIL PROTECTED]
To unsubscribe from the digest, e-mail:
[EMAIL PROTECTED]
To post to the list, e-mail:
[EMAIL PROTECTED]
----------------------------------------------------------------------
--- Begin Message ---
The SQL Server wraper functions in PHP are based on SQL Server Client
DLL's which can or can't be already on the system.
I would check to see if they are present in the machine that is running
PHP...
Cheers and good luck ;)
Luis Ferro
TelaDigital.net
Felipe Nascimento wrote:
Hi all,
I´ve seen some coments on the subject already, but I couldn´t put it to
work.
My set up is: Php 4.3.3 under Win - MSSQL 2000 - Win 2000 server - IIS
5.0. All in the same server.
php_mssql.dll is set as an extension, ntwdblib.dll is in the system32
directory.
My call to mssql_connect is:
mssql_connect("'MY_IP_ADRESS', 'user', ''"); (the password is empty).
The Warning message:
"Warning: MS SQL: Unable to connect to server:" ....
Did I forget anything?
Is there something I have to do in the SQL Server? I am not used to MS
SQL Server, but I added a user with read and write privileges. Is there
something else?
Tks
Felipe
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.528 / Virus Database: 324 - Release Date: 16/10/2003
--- End Message ---
--- Begin Message ---
I guess they are, as there is SQL Query Analyser working. Or is there
anything else I should do?
Isn´t ntwdblib.dll responsible for that?
Tks
Felipe
-----Mensagem original-----
De: Luis Ferro [mailto:[EMAIL PROTECTED]
Enviada em: terça-feira, 21 de outubro de 2003 09:32
Para: [EMAIL PROTECTED]
Assunto: Re: [PHP-WIN] mssql_connect() - Unable to connect to server
The SQL Server wraper functions in PHP are based on SQL Server Client
DLL's which can or can't be already on the system.
I would check to see if they are present in the machine that is running
PHP...
Cheers and good luck ;)
Luis Ferro
TelaDigital.net
Felipe Nascimento wrote:
>Hi all,
>
>I´ve seen some coments on the subject already, but I couldn´t put it to
>work.
>
>My set up is: Php 4.3.3 under Win - MSSQL 2000 - Win 2000 server - IIS
>5.0. All in the same server.
>
>php_mssql.dll is set as an extension, ntwdblib.dll is in the system32
>directory.
>
>My call to mssql_connect is:
>mssql_connect("'MY_IP_ADRESS', 'user', ''"); (the password is empty).
>
>The Warning message:
>"Warning: MS SQL: Unable to connect to server:" ....
>
>Did I forget anything?
>
>Is there something I have to do in the SQL Server? I am not used to MS
>SQL Server, but I added a user with read and write privileges. Is there
>something else?
>
>Tks
>Felipe
>
>---
>Outgoing mail is certified Virus Free.
>Checked by AVG anti-virus system (http://www.grisoft.com).
>Version: 6.0.528 / Virus Database: 324 - Release Date: 16/10/2003
>
>
>
>
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.528 / Virus Database: 324 - Release Date: 16/10/2003
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.528 / Virus Database: 324 - Release Date: 16/10/2003
--- End Message ---
--- Begin Message ---
The error message "Warning: MS SQL: Unable to connect to server:"
Includes an colon (:) in the end which suggest that there is some
additional error message supplied to the. Would it be possible
to find out what that says? otherwise one can start to speculate
in hardly anything, like broken network connectivity due to
firewall settings, etc, etc.
On Tue, 2003-10-21 at 16:02, Felipe Nascimento wrote:
> I guess they are, as there is SQL Query Analyser working. Or is there
> anything else I should do?
>
> Isn´t ntwdblib.dll responsible for that?
>
> Tks
> Felipe
>
> -----Mensagem original-----
> De: Luis Ferro [mailto:[EMAIL PROTECTED]
> Enviada em: terça-feira, 21 de outubro de 2003 09:32
> Para: [EMAIL PROTECTED]
> Assunto: Re: [PHP-WIN] mssql_connect() - Unable to connect to server
>
>
> The SQL Server wraper functions in PHP are based on SQL Server Client
> DLL's which can or can't be already on the system.
>
> I would check to see if they are present in the machine that is running
> PHP...
>
> Cheers and good luck ;)
> Luis Ferro
> TelaDigital.net
>
> Felipe Nascimento wrote:
>
> >Hi all,
> >
> >I´ve seen some coments on the subject already, but I couldn´t put it to
>
> >work.
> >
> >My set up is: Php 4.3.3 under Win - MSSQL 2000 - Win 2000 server - IIS
> >5.0. All in the same server.
> >
> >php_mssql.dll is set as an extension, ntwdblib.dll is in the system32
> >directory.
> >
> >My call to mssql_connect is:
> >mssql_connect("'MY_IP_ADRESS', 'user', ''"); (the password is empty).
> >
> >The Warning message:
> >"Warning: MS SQL: Unable to connect to server:" ....
> >
> >Did I forget anything?
> >
> >Is there something I have to do in the SQL Server? I am not used to MS
> >SQL Server, but I added a user with read and write privileges. Is there
>
> >something else?
> >
> >Tks
> >Felipe
> >
> >---
> >Outgoing mail is certified Virus Free.
> >Checked by AVG anti-virus system (http://www.grisoft.com).
> >Version: 6.0.528 / Virus Database: 324 - Release Date: 16/10/2003
> >
> >
> >
> >
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
> ---
> Incoming mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.528 / Virus Database: 324 - Release Date: 16/10/2003
>
>
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.528 / Virus Database: 324 - Release Date: 16/10/2003
>
--- End Message ---
--- Begin Message ---
Here is the complete message.
Warning: mssql_connect(): Unable to connect to server: '192.168.1.115' ,
'sa', '' in C:\Inetpub\timesheet\lib\class_dbconnect.inc on line 14
tks
Felipe
-----Mensagem original-----
De: Svensson, B.A.T. (HKG) [mailto:[EMAIL PROTECTED]
Enviada em: terça-feira, 21 de outubro de 2003 10:28
Para: [EMAIL PROTECTED]
Assunto: Re: RES: [PHP-WIN] mssql_connect() - Unable to connect to
server
The error message "Warning: MS SQL: Unable to connect to server:"
Includes an colon (:) in the end which suggest that there is some
additional error message supplied to the. Would it be possible to find
out what that says? otherwise one can start to speculate in hardly
anything, like broken network connectivity due to firewall settings,
etc, etc.
On Tue, 2003-10-21 at 16:02, Felipe Nascimento wrote:
> I guess they are, as there is SQL Query Analyser working. Or is there
> anything else I should do?
>
> Isn´t ntwdblib.dll responsible for that?
>
> Tks
> Felipe
>
> -----Mensagem original-----
> De: Luis Ferro [mailto:[EMAIL PROTECTED]
> Enviada em: terça-feira, 21 de outubro de 2003 09:32
> Para: [EMAIL PROTECTED]
> Assunto: Re: [PHP-WIN] mssql_connect() - Unable to connect to server
>
>
> The SQL Server wraper functions in PHP are based on SQL Server Client
> DLL's which can or can't be already on the system.
>
> I would check to see if they are present in the machine that is
> running
> PHP...
>
> Cheers and good luck ;)
> Luis Ferro
> TelaDigital.net
>
> Felipe Nascimento wrote:
>
> >Hi all,
> >
> >I´ve seen some coments on the subject already, but I couldn´t put it
> >to
>
> >work.
> >
> >My set up is: Php 4.3.3 under Win - MSSQL 2000 - Win 2000 server -
> >IIS
> >5.0. All in the same server.
> >
> >php_mssql.dll is set as an extension, ntwdblib.dll is in the system32
> >directory.
> >
> >My call to mssql_connect is:
> >mssql_connect("'MY_IP_ADRESS', 'user', ''"); (the password is empty).
> >
> >The Warning message:
> >"Warning: MS SQL: Unable to connect to server:" ....
> >
> >Did I forget anything?
> >
> >Is there something I have to do in the SQL Server? I am not used to
> >MS
> >SQL Server, but I added a user with read and write privileges. Is
there
>
> >something else?
> >
> >Tks
> >Felipe
> >
> >---
> >Outgoing mail is certified Virus Free.
> >Checked by AVG anti-virus system (http://www.grisoft.com).
> >Version: 6.0.528 / Virus Database: 324 - Release Date: 16/10/2003
> >
> >
> >
> >
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
> ---
> Incoming mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.528 / Virus Database: 324 - Release Date: 16/10/2003
>
>
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.528 / Virus Database: 324 - Release Date: 16/10/2003
>
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.528 / Virus Database: 324 - Release Date: 16/10/2003
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.528 / Virus Database: 324 - Release Date: 16/10/2003
--- End Message ---
--- Begin Message ---
I got it!!!!!!!!!!
:-)
My mistake... Sorry......
$conn = mssql_connect(" '139.82.24.185' , 'webusa', '1234' ");
Everything was a big string, and that is wrong for MSSQL.
I come from Linux+PHP+Postgres, and pg_connect receives one big string.
Sorry and tks everyone.
Felipe
-----Mensagem original-----
De: Felipe Nascimento [mailto:[EMAIL PROTECTED]
Enviada em: terça-feira, 21 de outubro de 2003 14:29
Para: [EMAIL PROTECTED]
Assunto: RES: RES: [PHP-WIN] mssql_connect() - Unable to connect to
server
Here is the complete message.
Warning: mssql_connect(): Unable to connect to server: '192.168.1.115' ,
'sa', '' in C:\Inetpub\timesheet\lib\class_dbconnect.inc on line 14
tks
Felipe
-----Mensagem original-----
De: Svensson, B.A.T. (HKG) [mailto:[EMAIL PROTECTED]
Enviada em: terça-feira, 21 de outubro de 2003 10:28
Para: [EMAIL PROTECTED]
Assunto: Re: RES: [PHP-WIN] mssql_connect() - Unable to connect to
server
The error message "Warning: MS SQL: Unable to connect to server:"
Includes an colon (:) in the end which suggest that there is some
additional error message supplied to the. Would it be possible to find
out what that says? otherwise one can start to speculate in hardly
anything, like broken network connectivity due to firewall settings,
etc, etc.
On Tue, 2003-10-21 at 16:02, Felipe Nascimento wrote:
> I guess they are, as there is SQL Query Analyser working. Or is there
> anything else I should do?
>
> Isn´t ntwdblib.dll responsible for that?
>
> Tks
> Felipe
>
> -----Mensagem original-----
> De: Luis Ferro [mailto:[EMAIL PROTECTED]
> Enviada em: terça-feira, 21 de outubro de 2003 09:32
> Para: [EMAIL PROTECTED]
> Assunto: Re: [PHP-WIN] mssql_connect() - Unable to connect to server
>
>
> The SQL Server wraper functions in PHP are based on SQL Server Client
> DLL's which can or can't be already on the system.
>
> I would check to see if they are present in the machine that is
> running
> PHP...
>
> Cheers and good luck ;)
> Luis Ferro
> TelaDigital.net
>
> Felipe Nascimento wrote:
>
> >Hi all,
> >
> >I´ve seen some coments on the subject already, but I couldn´t put it
> >to
>
> >work.
> >
> >My set up is: Php 4.3.3 under Win - MSSQL 2000 - Win 2000 server -
> >IIS
> >5.0. All in the same server.
> >
> >php_mssql.dll is set as an extension, ntwdblib.dll is in the system32
> >directory.
> >
> >My call to mssql_connect is:
> >mssql_connect("'MY_IP_ADRESS', 'user', ''"); (the password is empty).
> >
> >The Warning message:
> >"Warning: MS SQL: Unable to connect to server:" ....
> >
> >Did I forget anything?
> >
> >Is there something I have to do in the SQL Server? I am not used to
> >MS
> >SQL Server, but I added a user with read and write privileges. Is
there
>
> >something else?
> >
> >Tks
> >Felipe
> >
> >---
> >Outgoing mail is certified Virus Free.
> >Checked by AVG anti-virus system (http://www.grisoft.com).
> >Version: 6.0.528 / Virus Database: 324 - Release Date: 16/10/2003
> >
> >
> >
> >
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
> ---
> Incoming mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.528 / Virus Database: 324 - Release Date: 16/10/2003
>
>
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.528 / Virus Database: 324 - Release Date: 16/10/2003
>
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.528 / Virus Database: 324 - Release Date: 16/10/2003
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.528 / Virus Database: 324 - Release Date: 16/10/2003
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.528 / Virus Database: 324 - Release Date: 16/10/2003
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.528 / Virus Database: 324 - Release Date: 16/10/2003
--- End Message ---
--- Begin Message ---
Was that php line hardcoded in class_dbconnect.inc?
-----Original Message-----
From: Felipe Nascimento
To: [EMAIL PROTECTED]
Sent: 10/21/2003 7:49 PM
Subject: RES: RES: [PHP-WIN] mssql_connect() - Unable to connect to server
I got it!!!!!!!!!!
:-)
My mistake... Sorry......
$conn = mssql_connect(" '139.82.24.185' , 'webusa', '1234' ");
Everything was a big string, and that is wrong for MSSQL.
I come from Linux+PHP+Postgres, and pg_connect receives one big string.
Sorry and tks everyone.
Felipe
-----Mensagem original-----
De: Felipe Nascimento [mailto:[EMAIL PROTECTED]
Enviada em: terça-feira, 21 de outubro de 2003 14:29
Para: [EMAIL PROTECTED]
Assunto: RES: RES: [PHP-WIN] mssql_connect() - Unable to connect to
server
Here is the complete message.
Warning: mssql_connect(): Unable to connect to server: '192.168.1.115' ,
'sa', '' in C:\Inetpub\timesheet\lib\class_dbconnect.inc on line 14
tks
Felipe
-----Mensagem original-----
De: Svensson, B.A.T. (HKG) [mailto:[EMAIL PROTECTED]
Enviada em: terça-feira, 21 de outubro de 2003 10:28
Para: [EMAIL PROTECTED]
Assunto: Re: RES: [PHP-WIN] mssql_connect() - Unable to connect to
server
The error message "Warning: MS SQL: Unable to connect to server:"
Includes an colon (:) in the end which suggest that there is some
additional error message supplied to the. Would it be possible to find
out what that says? otherwise one can start to speculate in hardly
anything, like broken network connectivity due to firewall settings,
etc, etc.
On Tue, 2003-10-21 at 16:02, Felipe Nascimento wrote:
> I guess they are, as there is SQL Query Analyser working. Or is there
> anything else I should do?
>
> Isn´t ntwdblib.dll responsible for that?
>
> Tks
> Felipe
>
> -----Mensagem original-----
> De: Luis Ferro [mailto:[EMAIL PROTECTED]
> Enviada em: terça-feira, 21 de outubro de 2003 09:32
> Para: [EMAIL PROTECTED]
> Assunto: Re: [PHP-WIN] mssql_connect() - Unable to connect to server
>
>
> The SQL Server wraper functions in PHP are based on SQL Server Client
> DLL's which can or can't be already on the system.
>
> I would check to see if they are present in the machine that is
> running
> PHP...
>
> Cheers and good luck ;)
> Luis Ferro
> TelaDigital.net
>
> Felipe Nascimento wrote:
>
> >Hi all,
> >
> >I´ve seen some coments on the subject already, but I couldn´t put it
> >to
>
> >work.
> >
> >My set up is: Php 4.3.3 under Win - MSSQL 2000 - Win 2000 server -
> >IIS
> >5.0. All in the same server.
> >
> >php_mssql.dll is set as an extension, ntwdblib.dll is in the system32
> >directory.
> >
> >My call to mssql_connect is:
> >mssql_connect("'MY_IP_ADRESS', 'user', ''"); (the password is empty).
> >
> >The Warning message:
> >"Warning: MS SQL: Unable to connect to server:" ....
> >
> >Did I forget anything?
> >
> >Is there something I have to do in the SQL Server? I am not used to
> >MS
> >SQL Server, but I added a user with read and write privileges. Is
there
>
> >something else?
> >
> >Tks
> >Felipe
> >
> >---
> >Outgoing mail is certified Virus Free.
> >Checked by AVG anti-virus system (http://www.grisoft.com).
> >Version: 6.0.528 / Virus Database: 324 - Release Date: 16/10/2003
> >
> >
> >
> >
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
> ---
> Incoming mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.528 / Virus Database: 324 - Release Date: 16/10/2003
>
>
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.528 / Virus Database: 324 - Release Date: 16/10/2003
>
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.528 / Virus Database: 324 - Release Date: 16/10/2003
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.528 / Virus Database: 324 - Release Date: 16/10/2003
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.528 / Virus Database: 324 - Release Date: 16/10/2003
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.528 / Virus Database: 324 - Release Date: 16/10/2003
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--- End Message ---
--- Begin Message ---
Inside a class method, yes.
-----Mensagem original-----
De: Svensson, B.A.T. (HKG) [mailto:[EMAIL PROTECTED]
Enviada em: terça-feira, 21 de outubro de 2003 14:10
Para: 'Felipe Nascimento '; '[EMAIL PROTECTED] '
Assunto: RE: RES: [PHP-WIN] mssql_connect() - Unable to connect to
server
Was that php line hardcoded in class_dbconnect.inc?
-----Original Message-----
From: Felipe Nascimento
To: [EMAIL PROTECTED]
Sent: 10/21/2003 7:49 PM
Subject: RES: RES: [PHP-WIN] mssql_connect() - Unable to connect to
server
I got it!!!!!!!!!!
:-)
My mistake... Sorry......
$conn = mssql_connect(" '139.82.24.185' , 'webusa', '1234' ");
Everything was a big string, and that is wrong for MSSQL.
I come from Linux+PHP+Postgres, and pg_connect receives one big string.
Sorry and tks everyone.
Felipe
-----Mensagem original-----
De: Felipe Nascimento [mailto:[EMAIL PROTECTED]
Enviada em: terça-feira, 21 de outubro de 2003 14:29
Para: [EMAIL PROTECTED]
Assunto: RES: RES: [PHP-WIN] mssql_connect() - Unable to connect to
server
Here is the complete message.
Warning: mssql_connect(): Unable to connect to server: '192.168.1.115' ,
'sa', '' in C:\Inetpub\timesheet\lib\class_dbconnect.inc on line 14
tks
Felipe
-----Mensagem original-----
De: Svensson, B.A.T. (HKG) [mailto:[EMAIL PROTECTED]
Enviada em: terça-feira, 21 de outubro de 2003 10:28
Para: [EMAIL PROTECTED]
Assunto: Re: RES: [PHP-WIN] mssql_connect() - Unable to connect to
server
The error message "Warning: MS SQL: Unable to connect to server:"
Includes an colon (:) in the end which suggest that there is some
additional error message supplied to the. Would it be possible to find
out what that says? otherwise one can start to speculate in hardly
anything, like broken network connectivity due to firewall settings,
etc, etc.
On Tue, 2003-10-21 at 16:02, Felipe Nascimento wrote:
> I guess they are, as there is SQL Query Analyser working. Or is there
> anything else I should do?
>
> Isn´t ntwdblib.dll responsible for that?
>
> Tks
> Felipe
>
> -----Mensagem original-----
> De: Luis Ferro [mailto:[EMAIL PROTECTED]
> Enviada em: terça-feira, 21 de outubro de 2003 09:32
> Para: [EMAIL PROTECTED]
> Assunto: Re: [PHP-WIN] mssql_connect() - Unable to connect to server
>
>
> The SQL Server wraper functions in PHP are based on SQL Server Client
> DLL's which can or can't be already on the system.
>
> I would check to see if they are present in the machine that is
> running PHP...
>
> Cheers and good luck ;)
> Luis Ferro
> TelaDigital.net
>
> Felipe Nascimento wrote:
>
> >Hi all,
> >
> >I´ve seen some coments on the subject already, but I couldn´t put it
> >to
>
> >work.
> >
> >My set up is: Php 4.3.3 under Win - MSSQL 2000 - Win 2000 server -
> >IIS 5.0. All in the same server.
> >
> >php_mssql.dll is set as an extension, ntwdblib.dll is in the system32
> >directory.
> >
> >My call to mssql_connect is:
> >mssql_connect("'MY_IP_ADRESS', 'user', ''"); (the password is empty).
> >
> >The Warning message:
> >"Warning: MS SQL: Unable to connect to server:" ....
> >
> >Did I forget anything?
> >
> >Is there something I have to do in the SQL Server? I am not used to
> >MS SQL Server, but I added a user with read and write privileges. Is
there
>
> >something else?
> >
> >Tks
> >Felipe
> >
> >---
> >Outgoing mail is certified Virus Free.
> >Checked by AVG anti-virus system (http://www.grisoft.com).
> >Version: 6.0.528 / Virus Database: 324 - Release Date: 16/10/2003
> >
> >
> >
> >
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
> ---
> Incoming mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.528 / Virus Database: 324 - Release Date: 16/10/2003
>
>
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.528 / Virus Database: 324 - Release Date: 16/10/2003
>
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.528 / Virus Database: 324 - Release Date: 16/10/2003
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.528 / Virus Database: 324 - Release Date: 16/10/2003
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.528 / Virus Database: 324 - Release Date: 16/10/2003
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.528 / Virus Database: 324 - Release Date: 16/10/2003
--
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
---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.528 / Virus Database: 324 - Release Date: 16/10/2003
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.528 / Virus Database: 324 - Release Date: 16/10/2003
--- End Message ---
--- Begin Message ---
Hi,
i made i search script and in localhost it works ok.
But when i 'll publish the script in the web i see that error msg
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in
/home/expressfilm.gr/www/demo/results.php on line 51
Here is the code of the scripot is (from result.php)
$sindesi=mysql_pconnect("localhost","servers_username","serbers_pass")or die ("no
connect");
$basi=mysql_select_db("film") or die("de sindeete");
$query="
SELECT `sel` , `body`
FROM `film`.`main`
WHERE `sel`
REGEXP '$key' OR `body`
REGEXP '$key' LIMIT 0 , 30
";
$result = mysql_query($query);
$num = mysql_num_rows($result);
for ($i=0; $i <$num; $i++)
{
$row = mysql_fetch_array($result);
echo "<p><strong>";
echo $row["key"];
echo "</strong><br> ";
echo' <br> ';
$sel =$row["sel"];
echo "<a href = \"index.php?sel=".$sel."\">Περισσότερα</A>";
echo "</p>";
}
---------------------------------
Do You Yahoo!?
Αποκτήστε την δωρεάν [EMAIL PROTECTED] διεύθυνση στο Yahoo! Mail.
--- End Message ---
--- Begin Message ---
Ok, thanks.
Is that because on the hosting server that I transfer my scripts to, they have their
own PHP.ini file that relates to all scripts that are run on that server?
Tryst
--- End Message ---
--- Begin Message ---
:)
when u r workin with regs on u catch ur form variables just like
$variable
but when u work with regs off ..... u need to catch ur variables with
$_POST[variable] or $_GET[variable]
ur scripts will run fine on ur machine with regs on n variables
$variable
but ofcourse when u transfer them to ur host .... which will have
regs off ......
im sure u can imagine the diseaster ...... or should i spell it out
.... ??????
better to avoid the fuss ..... afterwrds .... of changin all ur from
process pages .....
n listen to experience talkin pal .....
i didnt .... n i suffered :)
good luck .....
toby .....
--- [EMAIL PROTECTED] wrote: > Ok, thanks.
>
> Is that because on the hosting server that I transfer my scripts
> to, they have their own PHP.ini file that relates to all scripts
> that are run on that server?
>
> Tryst
>
>>no ! ! ! !
--- [EMAIL PROTECTED] wrote: > Just out of curiosity, if I was to
work with register_globals set
> to on (on
> my home/testing/devel server), and then transfer my scripts across
> to a hosting
> server for them to be run live, will my scripts run if the PHP.ini
> file is
> configured to have register_globals set to off?
>
> Tryst
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
________________________________________________________________________
Want to chat instantly with your online friends? Get the FREE Yahoo!
Messenger http://mail.messenger.yahoo.co.uk
--- End Message ---
--- Begin Message ---
The shmop functions really require the ftok() hashing function to generate
keys for shared memory blocks.
Unfortunately, this function lives in the System V shm/semaphore package,
which of course doesn't exist on Windows. Having a theoretically portable
module be dependent on a non-portable one doesn't seem optimal here.
Can this be fixed in source, and does anyone have a temporary workaround in
the meantime?
Thanks,
Eliot
--
Eliot Shepard
http://www.slower.net
--- End Message ---