php-install Digest 27 Jul 2001 20:42:08 -0000 Issue 384

Topics (messages 3724 through 3735):

Problems with iPlanet (4.1SP5) on Solaris 2.6
        3724 by: Svein Olav Bjerkeset

php & java in Win2k..help!!!!!!
        3725 by: shaan

Re: Installing PHP on WinNT and Apache 1.3
        3726 by: Phil Driscoll
        3727 by: Almagedon

Re: AIX 4,3,3, Netscape 3.6.1
        3728 by: Alfred Lerch

Re: Problems with Solaris and iPlanet
        3729 by: Alfred Lerch

Re: NS Enterprise and PHP 4.0.6 NSAPI
        3730 by: Alfred Lerch

Re: undefined reference problems with php-apache compile
        3731 by: root

e-mail confirmation #29210833
        3732 by: julie10833.freevibrator.com

Re: PHP datatype vs Oracle Varchar2
        3733 by: Thies C. Arntzen
        3735 by: Victoria Zhou

IIS 4.0 Service Pack 5
        3734 by: Mike Lake

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]


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


Hi,

I am trying to get IPlanet 41SP5 running with PHP support. I have downloaded
PHP
version 4.0.6 and configured it with the following options:

    ./configure --prefix=/applic/php \
                 --with-nsapi=/iplanet   \
                 --enable-track-vars --enable-libgcc

PHP compiles (with gcc 2.95.3) and installes just fine, but I am unable to
start
iPlanet with PHP configured in. I have folled the guidelines from
www.php.net
on how to configure iPlanet with PHP support. When starting iPlanet, the
following messages appears:

# /iplanet/https-telenor/start
iPlanet-WebServer-Enterprise/4.1SP5 BB1-11/29/2000 20:52
startup: listening to http://unknown, port 80 as nobody
Jul 25 17:31:32 telenor uxwdog[27178]: server terminated (signal 6):
watchdog is restarting it
Jul 25 17:31:50 telenor last message repeated 30 times

It seems like the server process dies when trying to initialize PHP throug
the
php4_init function call. If if disable the initialization of PHP in the
iPlanet config
by commenting out the line that says

    Init fn="php4_init" LateInit=yes

the iPlanet server starts up fine (without support for PHP of cource)

BTW: I have updated the LD_LIBRARY_PATH variable in the start script.

The modified iPlanet configuration files can be found at
    ftp://bjerkeset.com/pub/mime.types
    ftp://bjerkeset.com/pub/obj.conf

Does anybody have a clue on what I have done wrong here?
Thanks in advance!

Svein Olav Bjerkeset
Unix consultant
Eterra AS, Norway
[EMAIL PROTECTED]






Hiii,

I configured php and java in win2k...The Program runs only first
time..when I do referesh then it gives : Fatal error: Unable to create
Java Virtual Machine in .....

I had to restart my IIS agian to load the program , this is my php.ini
and phpinfo.php

php.ini
-------
java.home = c:\jdk1.2.2\bin\java.exe
java.library.path=c:\php\extensions\
java.class.path="c:\php\extensions\php_java.jar;c:\myclasses;c:\jdk1.2.2\jre\lib\jaws.jar"

java.library = c:\jdk1.2.2\jre\bin\classic\jvm.dll

phpinfo.php
---------
java
Directive Local Value Master Value
java.class.path
 c:\php\extensions\php_java.jar;c:\myclasses;c:\jdk1.2.2\jre\lib\jaws.jar
no value
java.home
 c:\jdk1.2.2\bin\java.exe no value
java.library
 c:\jdk1.2.2\jre\bin\classic\jvm.dll jvm.dll
java.library.path
 c:\php\extensions\ no value

I hope you guys help on this

shaan.







On Thursday 26 July 2001 22:30, aLmAgEdOn wrote:

> when i run php hola.php, it shows the right lines, but when i run it with
> my browser, it gives a 500 error... an in the error log, appear these
> lines:
>
> [Thu Jul 26 11:10:17 2001] [error] [client 127.0.0.1]
> c:/servers/server1/php/hola.php is not executable; ensure interpreted
> scripts have "#!" first line
> [Thu Jul 26 11:10:17 2001] [error] [client 127.0.0.1] (2)No such file or
> directory: couldn't spawn child process: c:/servers/server1/php/hola.php
>
> It asks for a #! line... i've got perl... does it matters?
> if i add #!/php/php.exe, the script runs, but it prints into the browser
> this line...
>
> do you know what's wrong?

I know there was recently a bug/issue with the #! thing, but it didn't 
interest me so I didn't follow the threads :)

Can anyone else help out here?
-- 
Phil Driscoll




ThanX for your help, Phill

I resolved it ;)

It seems that it's some wrong with NT and PHP (I've talked with another
person that had the same problem)...

If someone has this problem, you can make it work downloadin PHPTriad,
available in www.phpgeek.com

ThanX again, Phill...

It's working

aLmAgEdOn






Hi Kenneth,

maybe were just misunderstanding each other all the time, but:

if libphp4.so is in /www/a/netscape/suitespot/bin, you'll probably need
to add /www/a/netscape/suitespot/bin to LD_LIBRARY_PATH (without
dropping /usr/local/lib)

regards

alfred

Kenneth Lee wrote:
> 
> Hi Alfred,
>      Yes the first thing that I did do was to verify that
> /www/a/netscape/suitespot/bin/libphp4.so does indeed exist.  I also set
> LD_LIBRARY_PATH to /usr/local/lib in my web server start script.
> 
> Regards, Ken
> =====================================================
> Kenneth H. Lee
> [EMAIL PROTECTED]; kennethl at ibmusm04
> office: 914 784 5612, TL 863; fax: 914 784 3833, TL 863
> 
> 
>                     Alfred Lerch
>                     <alfred_lerch@me       To:     Kenneth Lee/White Plains/IBM@IBMUS
>                     ntorg.com>             cc:     [EMAIL PROTECTED]
>                                            Subject:     Re: [PHP-INST] AIX 4,3,3, 
>Netscape 3.6.1
>                     07/20/2001 04:44
>                     AM
> 
> 
> 
> Hi Kenneth,
> 
> are you sure the file /www/a/netscape/suitespot/bin/libphp4.so exists ?
> Have you set the LD_LIBRARY_PATH ?
> 
> regards
> 
> alfred
> 
> Kenneth Lee wrote:
> >
> > I am having problems trying to get php 4.0.6 to work on AIX 4.3.3 as
> NSAPI.
> >
> > Here is how I ran the configure
> >
> >    ./configure --with-zlib \
> >                --enable-libgcc \
> >                --with-nsapi=/www/a/netscape/suitespot \
> >                --with-mysql=/usr/local/mysql
> >
> > The make and make install ran without any errors.  I used gcc 2.95.3
> >
> > I referenced /php-source-path/sapi/nsap/nsapi-readme.txt and
> > http://benoit.noss.free.fr/php/install-php4.html to make the updates to
> > mime.types, obj.conf and the start script.
> >
> > When I try to start my web server I receive the following messages:
> >
> >    conf_init: Error running init function load-modules: dlopen of
> >    /www/a/netscape/suitespot/bin/libphp4.so failed (could not dlopen()
> the
> >    named object file)
> >
> > I have searched the archives and have not found anything that has helped.
> >
> > I am at a loss at how to resolve this issue.  Has anyone run into this
> > issue and have a solution for it?  Does anyone have any thoughts as to
> what
> > I should try next?
> >
> > Regards, Ken
> > =====================================================
> > Kenneth H. Lee
> > [EMAIL PROTECTED]; kennethl at ibmusm04
> > office: 914 784 5612, TL 863; fax: 914 784 3833, TL 863
> >
> > --
> > PHP Install 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]
> 
> --
> 
> --
>          \\\\\///
>         / ^   _ \
>        ( (o) (o) )                 --- That's all folks ---
> +=oOOO=====(_)=====OOOo==========================================+
> |Alfred Lerch                    Mentor Graphics Deutschland GmbH|
> |Network & System Administrator          Elsenheimer Str. 41 - 43|
> |IT - Business Support Team Munich      D-80687 Muenchen, Germany|
> |email: [EMAIL PROTECTED]           Fax  : +49 89 57096-400|
> |Tel. : +49 89 57096-241                  Mobile: +49 172 8915200|
> |                                                                |
> |Helpdesk IT Central Europe in Munich                            |
> |Tel. : +49 89 57096-110                  internal:           777|
> |email: [EMAIL PROTECTED]                                  |
> +=============Oooo.==============================================+
>       .oooO   (   )
>       (   )    ) /
>        \ (    (_/
>         \_)

-- 

-- 
         \\\\\///
        / ^   _ \
       ( (o) (o) )                 --- That's all folks ---
+=oOOO=====(_)=====OOOo==========================================+
|Alfred Lerch                    Mentor Graphics Deutschland GmbH|
|Network & System Administrator          Elsenheimer Str. 41 - 43|
|IT - Business Support Team Munich      D-80687 Muenchen, Germany|
|email: [EMAIL PROTECTED]           Fax  : +49 89 57096-400|
|Tel. : +49 89 57096-241                  Mobile: +49 172 8915200|
|                                                                |
|Helpdesk IT Central Europe in Munich                            |
|Tel. : +49 89 57096-110                  internal:           777|
|email: [EMAIL PROTECTED]                                  |
+=============Oooo.==============================================+
      .oooO   (   )
      (   )    ) /   
       \ (    (_/
        \_)




Hi Stefano,

have a look at http://benoit.noss.free.fr/php/install-php4.html

good luck

alfred

Stefano Angelici wrote:
> 
> Hi everybody.
> I'm trying to install php 4.0.6 on Solaris (SunOS 5.8) and iPlanet Web
> Server Enterprise Edition 6.0. I've compiled and installed everything as
> described in
> http://www.php.net/manual/it/install.netscape-enterprise.php. I can
> start the server, but when I ask for a php page, a segmentation fault
> occours.
> Can anybody help me in some way?
> TNX
> 
> Stefano Angelici
> 
> [EMAIL PROTECTED]
> 
> --
> PHP Install 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]

-- 

-- 
         \\\\\///
        / ^   _ \
       ( (o) (o) )                 --- That's all folks ---
+=oOOO=====(_)=====OOOo==========================================+
|Alfred Lerch                    Mentor Graphics Deutschland GmbH|
|Network & System Administrator          Elsenheimer Str. 41 - 43|
|IT - Business Support Team Munich      D-80687 Muenchen, Germany|
|email: [EMAIL PROTECTED]           Fax  : +49 89 57096-400|
|Tel. : +49 89 57096-241                  Mobile: +49 172 8915200|
|                                                                |
|Helpdesk IT Central Europe in Munich                            |
|Tel. : +49 89 57096-110                  internal:           777|
|email: [EMAIL PROTECTED]                                  |
+=============Oooo.==============================================+
      .oooO   (   )
      (   )    ) /   
       \ (    (_/
        \_)




Hi Max,

would you like to send me your obj.conf file ? Maybe I'll have an idea
when looking into it.

regards

alfred

"Galvin, Max" wrote:
> 
> That guide doesn't help unfortunately.
> 
> M
> 
> > ----------
> > From:         Alfred Lerch[SMTP:[EMAIL PROTECTED]]
> > Sent:         16 July 2001 14:28
> > To:   Galvin, Max
> > Cc:   '[EMAIL PROTECTED]'
> > Subject:      Re: [PHP-INST] NS Enterprise and PHP 4.0.6 NSAPI
> >
> > Hi Max,
> >
> > have a look at http://benoit.noss.free.fr/php/install-php4.html
> >
> > good luck
> >
> > alfred
> >
> > "Galvin, Max" wrote:
> > >
> > > I was wondering if anyone has managed to get this working under Solaris.
> > It
> > > compiles okay and works as a cgi but when I compile it as the nsapi
> > version,
> > > edit all the scripts and move the files to the right place, on starting
> > the
> > > server I get the following error:
> > >
> > > pclose() failed. (2: unknown early startup error)
> > >
> > > Anyone know the problem and how to resolve it?
> > >
> > > M
> > >
> > > --
> > > PHP Install 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]
> >
> > --
> >
> > --
> >          \\\\\///
> >         / ^   _ \
> >        ( (o) (o) )                 --- That's all folks ---
> > +=oOOO=====(_)=====OOOo==========================================+
> > |Alfred Lerch                    Mentor Graphics Deutschland GmbH|
> > |Network & System Administrator          Elsenheimer Str. 41 - 43|
> > |IT - Business Support Team Munich      D-80687 Muenchen, Germany|
> > |email: [EMAIL PROTECTED]           Fax  : +49 89 57096-400|
> > |Tel. : +49 89 57096-241                  Mobile: +49 172 8915200|
> > |                                                                |
> > |Helpdesk IT Central Europe in Munich                            |
> > |Tel. : +49 89 57096-110                  internal:           777|
> > |email: [EMAIL PROTECTED]                                  |
> > +=============Oooo.==============================================+
> >       .oooO   (   )
> >       (   )    ) /
> >        \ (    (_/
> >         \_)
> >

-- 

-- 
         \\\\\///
        / ^   _ \
       ( (o) (o) )                 --- That's all folks ---
+=oOOO=====(_)=====OOOo==========================================+
|Alfred Lerch                    Mentor Graphics Deutschland GmbH|
|Network & System Administrator          Elsenheimer Str. 41 - 43|
|IT - Business Support Team Munich      D-80687 Muenchen, Germany|
|email: [EMAIL PROTECTED]           Fax  : +49 89 57096-400|
|Tel. : +49 89 57096-241                  Mobile: +49 172 8915200|
|                                                                |
|Helpdesk IT Central Europe in Munich                            |
|Tel. : +49 89 57096-110                  internal:           777|
|email: [EMAIL PROTECTED]                                  |
+=============Oooo.==============================================+
      .oooO   (   )
      (   )    ) /   
       \ (    (_/
        \_)




Hi,

I got similar problem. What can I fix?

E1

Brian & Shannon Windsor wrote:

> I have mysql in /home/brian/mysql, php in /usr/local, and apache in
> /home/brian/apache.
> 
> I'm only having problems with the apache compile.  I can get the server to
> run if I compile
> it without trying to activate the php module.  This last time, I even left
> all the enable
> flags out of the php compile to see if that had anything to do with it. 
> I'm
> stumped.  I've
> already started building my database in mysql, but I really need to get
> phpMyAdmin to run
> so my life will be easier and I can see the results of my scripts.  Any
> help would be greatly
> appreciated.
> 
> Thanks,
> 
> Brian
> 
> 
> Here's what I did.  I reinstalled mysql as
> 
> ./configure --prefix=/home/brian/mysql
> 
> I check it, and it works fine.  I then installed php with the following
> options...
> 
> ./configure --with-mysql=/home/brian/mysql
> 
> I got no errors when doing make or make install.
> 
> I then configure apache with
> 
> ./configure --prefix=/home/brian/apache
> --activate-module=src/modules/php4/l ibphp4.a
> 
> When running make on apache, I keep getting undefined references..examples
> follow.
> 
> 
> /home/brian/php-4.0.3pl1/ext/mysql/php_mysql.c:1193: undefined reference
> to `mysql_fetch_field'
> modules/php4/libphp4.a(php_mysql.o): In function `php_mysql_fetch_hash':
> /home/brian/php-4.0.3pl1/ext/mysql/php_mysql.c:1308: undefined reference
> to `mysql_fetch_row'
> /home/brian/php-4.0.3pl1/ext/mysql/php_mysql.c:1308: undefined reference
> to `mysql_fetch_lengths'
> /home/brian/php-4.0.3pl1/ext/mysql/php_mysql.c:1319: undefined reference
> to `mysql_field_seek'
> /home/brian/php-4.0.3pl1/ext/mysql/php_mysql.c:1320: undefined reference
> to `mysql_fetch_field'
> /home/brian/php-4.0.3pl1/ext/mysql/php_mysql.c:1320: undefined reference
> to `mysql_fetch_field'
> modules/php4/libphp4.a(php_mysql.o): In function `php_if_mysql_data_seek':
> /home/brian/php-4.0.3pl1/ext/mysql/php_mysql.c:1412: undefined reference
> to `mysql_data_seek'
> modules/php4/libphp4.a(php_mysql.o): In function
> `php_if_mysql_fetch_lengths':
> /home/brian/php-4.0.3pl1/ext/mysql/php_mysql.c:1435: undefined reference
> to `mysql_fetch_lengths'
> modules/php4/libphp4.a(php_mysql.o): In function
> `php_if_mysql_fetch_field':
> /home/brian/php-4.0.3pl1/ext/mysql/php_mysql.c:1530: undefined reference
> to `mysql_field_seek' /home/brian/php-4.0.3pl1/ext/mysql/php_mysql.c:1532:
> undefined reference to `mysql_fetch_field'
> modules/php4/libphp4.a(php_mysql.o): In function
> `php_if_mysql_field_seek':
> /home/brian/php-4.0.3pl1/ext/mysql/php_mysql.c:1574: undefined reference
> to `mysql_field_seek' modules/php4/libphp4.a(php_mysql.o): In function
> `php_mysql_field_info':
> /home/brian/php-4.0.3pl1/ext/mysql/php_mysql.c:1606: undefined reference
> to `mysql_field_seek' /home/brian/php-4.0.3pl1/ext/mysql/php_mysql.c:1607:
> undefined reference to `mysql_fetch_field'
> modules/php4/libphp4.a(php_mysql.o): In function `_free_mysql_result':
> /home/brian/php-4.0.3pl1/ext/mysql/php_mysql.c:169: undefined reference to
> `mysql_free_result'
> collect2: ld returned 1 exit status
> make[2]: *** [target_static] Error 1
> make[2]: Leaving directory `/home/brian/apache_1.3.14/src'
> make[1]: *** [build-std] Error 2
> 
> 
> 





This is a confirmation e-mail for your request.

You can come anytime and claim your FREE Sex Toys at
http://www.freevibrator.com

All Free Sex Toys we feature are absolutly free with no purchase necessary whatsoever.
(Small reasonable shipping charges apply)


Thank You for subscribing to FreeSexToys updates list.
This Is OPT-IN list.
To make sure that we won't send anything to you in ERROR - You HAVE TO CONFIRM that 
you would like to be added to our list.

To confirm that you want to be added send e-mail to: [EMAIL PROTECTED]

If you received this e-mail in error (my apologies) or do not wish to be added to our 
list DO NOTHING. You will NOT be added to our list without Your Confirmation.

Freely Yours
Julie Aston

[EMAIL PROTECTED]
message confirmation ID#8732921083371205356975




On Thu, Jul 26, 2001 at 07:27:07PM -0500, Victoria Zhou wrote:
> Here is a description of the testcase for the problem:
> 
> Oracle:
> Create table Mytable (
> Username      varchar2(20),
> Passwd        varchar2(20),
> Usertype      varchar2(50))
> 
> Insert into Mytable (Username, Passwd, Usertype)
> values('tester1','tester1','Operator');
> 
> PHP:
> $sql = "select * from Mytable where Username='tester1'";
> $sql_statement = OCIParse($conn, $sql) or die ("Couldn't parse statement");
> OCIExecute($sql_statement) or die ("Couldn't execute query");
> 
> 
> Problem:
> The string comaparison in the $sql (Username='tester1') is never true,
> because Username is a variable length string and 'tester1' is considered as
> a fixed length string.

    wrong - that should not be the case.

> 
> I don't have the flexibility to change VARCHAR2 to CHAR in order to make
> this work, because a fixed length string will cause a lot of trouble for
> string comparisons for other code in the program.
> 
> Thanks for your help!

    i did the same thing (i hope) and it woorsk for me.  i see no
    reason why it shouldn't work.  there is _no_ reason to switch
    to from varchar to char!

    please try to do the _same_ select-statement in sqlplus -

    tc

> 
> Victoria
> 
> 
> 
> 
> > -----Original Message-----
> > From: Thies C. Arntzen [mailto:[EMAIL PROTECTED]]
> > Sent: Thursday, July 26, 2001 6:10 PM
> > To: Victoria Zhou
> > Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]
> > Subject: Re: [PHP-INST] PHP datatype vs Oracle Varchar2
> >
> >
> > On Thu, Jul 26, 2001 at 05:08:42PM -0500, Victoria Zhou wrote:
> > >
> > > Hi,
> > >
> > > The comparison between Oracle VARCHAR2 and a PHP string doesn't seems to
> > > work. Detail as follows:
> > >
> > > I have one PHP variable and one Oracle column:
> > > . $form_user_id: a PHP string obtained from web form input,
> > such as 'user1'.
> > > . Username: an oracle table column of type VARCHAR2(20).
> > >
> > > The following sql statement failed:
> > > "select * from mytable where Username='$form_user_id'"
> > >
> > > It failed because Username has a strlen of 20, where $form_user_id has a
> > > strlen of 5. If I changed the Username from VARCHAR2(20) to
> > CHAR(20), then
> > > this sql worked fine. But I think with Oracle VARCHAR2, the strlen of
> > > Username in this case should be 5 instead of 20.
> >
> >     you must be doing something wrong here;-)
> >
> >     please try to create a _tiny_ testcase (< 20 lines) and post
> >     it to the list, i'm sure you're overseeing something
> >     important.
> >
> >     tc
> >
> >
> 




OK, I tried it again in sqlplus, and it is still not working for me. If I
changed Username to CHAR(20) then "select * from Mytable where
Username='tester1'" worked ok. Or if I blank padded the 'tester1' to
'tester1             ' of 20 chars long then it work ok also.

Any suggestions? Thanks much.
Victoria


> -----Original Message-----
> From: Thies C. Arntzen [mailto:[EMAIL PROTECTED]]
> Sent: Friday, July 27, 2001 1:09 PM
> To: Victoria Zhou
> Cc: Thies C. Arntzen; [EMAIL PROTECTED]
> Subject: Re: [PHP-INST] PHP datatype vs Oracle Varchar2
>
>
> On Thu, Jul 26, 2001 at 07:27:07PM -0500, Victoria Zhou wrote:
> > Here is a description of the testcase for the problem:
> >
> > Oracle:
> > Create table Mytable (
> > Username    varchar2(20),
> > Passwd      varchar2(20),
> > Usertype    varchar2(50))
> >
> > Insert into Mytable (Username, Passwd, Usertype)
> > values('tester1','tester1','Operator');
> >
> > PHP:
> > $sql = "select * from Mytable where Username='tester1'";
> > $sql_statement = OCIParse($conn, $sql) or die ("Couldn't parse
> statement");
> > OCIExecute($sql_statement) or die ("Couldn't execute query");
> >
> >
> > Problem:
> > The string comaparison in the $sql (Username='tester1') is never true,
> > because Username is a variable length string and 'tester1' is
> considered as
> > a fixed length string.
>
>     wrong - that should not be the case.
>
> >
> > I don't have the flexibility to change VARCHAR2 to CHAR in order to make
> > this work, because a fixed length string will cause a lot of trouble for
> > string comparisons for other code in the program.
> >
> > Thanks for your help!
>
>     i did the same thing (i hope) and it woorsk for me.  i see no
>     reason why it shouldn't work.  there is _no_ reason to switch
>     to from varchar to char!
>
>     please try to do the _same_ select-statement in sqlplus -
>
>     tc
>
> >
> > Victoria
> >
> >
> >
> >
> > > -----Original Message-----
> > > From: Thies C. Arntzen [mailto:[EMAIL PROTECTED]]
> > > Sent: Thursday, July 26, 2001 6:10 PM
> > > To: Victoria Zhou
> > > Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]
> > > Subject: Re: [PHP-INST] PHP datatype vs Oracle Varchar2
> > >
> > >
> > > On Thu, Jul 26, 2001 at 05:08:42PM -0500, Victoria Zhou wrote:
> > > >
> > > > Hi,
> > > >
> > > > The comparison between Oracle VARCHAR2 and a PHP string
> doesn't seems to
> > > > work. Detail as follows:
> > > >
> > > > I have one PHP variable and one Oracle column:
> > > > . $form_user_id: a PHP string obtained from web form input,
> > > such as 'user1'.
> > > > . Username: an oracle table column of type VARCHAR2(20).
> > > >
> > > > The following sql statement failed:
> > > > "select * from mytable where Username='$form_user_id'"
> > > >
> > > > It failed because Username has a strlen of 20, where
> $form_user_id has a
> > > > strlen of 5. If I changed the Username from VARCHAR2(20) to
> > > CHAR(20), then
> > > > this sql worked fine. But I think with Oracle VARCHAR2, the
> strlen of
> > > > Username in this case should be 5 instead of 20.
> > >
> > >     you must be doing something wrong here;-)
> > >
> > >     please try to create a _tiny_ testcase (< 20 lines) and post
> > >     it to the list, i'm sure you're overseeing something
> > >     important.
> > >
> > >     tc
> > >
> > >
> >
>
>





I am having a problem installing php on IIs.  I run a test info.php and the
php.exe can not be found.  Please advise


Reply via email to