php-windows Digest 29 Apr 2001 12:44:13 -0000 Issue 570

Topics (messages 7118 through 7123):

Re: IIS 5 and Tomcat?
        7118 by: Chris Boothe

Oracle8 ODBC connection
        7119 by: Ling Wang

Oracle8 ODBC connection Problem
        7120 by: Ling Wang

How to fulfill REQUEST.QUERYSTRING()
        7121 by: Gu Weidong-a1923c
        7122 by: Piotr Pluciennik

Help on MYSQL Table design
        7123 by: John

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]


----------------------------------------------------------------------


Just answering my own question I think...
Haven't tried this solution yet.

http://jakarta.apache.org/tomcat/jakarta-tomcat/src/doc/tomcat-iis-howto.html


Chris Boothe
[EMAIL PROTECTED]




Hi Everyone,

I installed the latest PHP (v4.04) and it works fine with ODBC driver
for Microsoft SQL7.0 and Access97 databases. However, I just can't get
it right for Oracle. I tested the ODBC connection for Oracle with VB/ADO
and it works fine. Here are the error messages I am getting when I run

$connection_id = odbc_connect("OracleExample", "scott", "tiger");

Warning: SQL error: [Microsoft][ODBC driver for
Oracle][Oracle]ORA-12154: TNS:could not resolve service name, SQL state
08001 in SQLConnect in

I also tried Oracle ODBC driver and I am getting the following:

Warning: SQL error: [Oracle][ODBC][Ora]Server rejected the connection.,
SQL state 08004 in SQLConnect

I then tried $connection_id = ocilogon("scott", "tiger", "ora0.OFFICE");

I got the following:

Warning: _oci_open_server: ORA-12154: TNS:could not resolve service name

Again, I tested the service name with EasyConfig and SQLPlus. I also
tested ODBC set up with VB/ADO and they all work fine.

Can anyone tell me what went wrong?

Thanks in advance.

Ling Wang





Hi Everyone,

I am running WinNT Server with service pack4. I am using IIS4.0 as web
server. The Oracle is Oracle8i on WinNT. I installed the latest PHP
(v4.04) and it works fine with ODBC driver for Microsoft SQL7.0 and
Access97 databases. However, I just can't get
it right for Oracle8i. I tested the ODBC connection for Oracle with
VB/ADO
and it works fine. Here are the error messages I am getting when I run

$connection_id = odbc_connect("OracleExample", "scott", "tiger");

Warning: SQL error: [Microsoft][ODBC driver for
Oracle][Oracle]ORA-12154: TNS:could not resolve service name, SQL state
08001 in SQLConnect in

I also tried Oracle ODBC driver and I am getting the following:

Warning: SQL error: [Oracle][ODBC][Ora]Server rejected the connection.,
SQL state 08004 in SQLConnect

I then tried $connection_id = ocilogon("scott", "tiger", "ora0.OFFICE");

I got the following:

Warning: _oci_open_server: ORA-12154: TNS:could not resolve service name

Again, I tested the service name with EasyConfig and SQLPlus. I also
tested ODBC set up with VB/ADO and they all work fine.

Can anyone tell me what went wrong?

Thanks in advance.

Ling Wang








Want to know how to get the value of "START" from 
http://root/php.php?START="STARTSTRING";
?

I know it is easy to get it in ASP using REQUEST.QUERYSTRING("START"), but how do it 
in PHP?

Thanks,

Weidong Gu




Hi,

much more easier :-)) simply use $START viariable in you php code.

Greetings

Piotr

Gu Weidong-a1923c wrote:

> Want to know how to get the value of "START" from 
>http://root/php.php?START="STARTSTRING"
> ?
>
> I know it is easy to get it in ASP using REQUEST.QUERYSTRING("START"), but how do it 
>in PHP?
>
> Thanks,
>
> Weidong Gu
>
> --
> PHP Windows 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]




Hi Everybody,

I have 2 tables: personal_info and family_info.
For example, in personal_info, I have ID and NAME as fields. In
family_info, I have ID, F_NAME and RELATIONSHIP as fields. 

The problem is in family_info, for each ID, I have several records. Do I
need to have another field, say, COUNT in family_info so that I
associate these records to each ID?


Thanks.


Reply via email to