php-windows Digest 7 Dec 2001 12:40:18 -0000 Issue 889

Topics (messages 10778 through 10785):

The dynamic link library libsasl.dll could not be found in the specified path:
        10778 by: weimin

Re: How to download PHP files URGENT !!!
        10779 by: alain samoun
        10780 by: Ross Fleming

Trying to pass a variable through a form...
        10781 by: Anthony Ritter

printing directly from php
        10782 by: daniel cozzolino
        10783 by: Ross Fleming

Re: PHP 4.0.6 Apache 1.3.12 Oracle 8.1.5 OCIPlogon Windows 2000 Server
        10784 by: Robin Bolton

Re: Connectivity to oracle
        10785 by: DE SOETE Bart

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 ---
Hi, I installed the php 4.06 on the win 2k server + apache 1.3. I start to
test by running the php -v in the dos command line. But I got the following
error:
The dynamic link library libsasl.dll could not be found in the specified
path D:\winnt; d:\winnt\system32;D:\winnt\system; D:\winnt;
D:\winnt\system32; D:\winnt;


Thanks for your help in advance.

Weimin.


--- End Message ---
--- Begin Message ---
You can't...

-----Original Message-----
From: R. Lindeman [mailto:[EMAIL PROTECTED]]
Sent: Friday, December 07, 2001 10:48 AM
To: [EMAIL PROTECTED]
Subject: [PHP-WIN] How to download PHP files URGENT !!!


hello,

i'm a newbie to PHP but i have the following question how could i get a full
PHP script off a server without letting it being processed by PHP.
I am unable to use a FTP client since there is no way to log on

kind regards

R. Lindeman



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

--- End Message ---
--- Begin Message ---
:)

PHP scripts contain sensitive information about a websites structure, and so
should not be seen by people other than the web administrators.  One example
is a php script that connects to a database.  The connect script contains
user names and passwords....

Ross

-----Original Message-----
From: alain samoun [mailto:[EMAIL PROTECTED]]
Sent: 06 December 2001 22:22
To: R. Lindeman; [EMAIL PROTECTED]
Subject: RE: [PHP-WIN] How to download PHP files URGENT !!!


You can't...

-----Original Message-----
From: R. Lindeman [mailto:[EMAIL PROTECTED]]
Sent: Friday, December 07, 2001 10:48 AM
To: [EMAIL PROTECTED]
Subject: [PHP-WIN] How to download PHP files URGENT !!!


hello,

i'm a newbie to PHP but i have the following question how could i get a full
PHP script off a server without letting it being processed by PHP.
I am unable to use a FTP client since there is no way to log on

kind regards

R. Lindeman



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


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



--- End Message ---
--- Begin Message ---
I'm trying to pass a variable from a form text box into a php file
(Tony1.php).

Then, I'd like to click on a link in the Tony1.php page and get the
Tony2.php page to load with the original variable -$lname - printed on the
next page (Tony2.php).

The Tony2.php loads when I click the link but the value from the variable is
not printed.

Any help would be greatly appreciated.
The code is below.
Tony Ritter
...................................


file://TonyForm.html//

<HTML>
<FORM ACTION="Tony1.php"  METHOD="get">
Name: <INPUT TYPE="text" NAME="lname"> <br>
<INPUT TYPE="Submit"  VALUE="Go">
</FORM>
</HTML>

.....................
file://Tony1.php//

<?
echo ("Welcome $lname");
?>
<A HREF="Tony2.php?name=<?echo($lname) ?>"> Link </A>


...................
file://Tony2.php//

Hello




--- End Message ---
--- Begin Message ---
Hi all,

I would like to print directly from php to the client default printer.  i
tried using the code example from php.net:

$handle = printer_open();
printer_write($handle, "Text to print");
printer_close($handle);
but get Fatal error: Call to undefined function: printer_open()
which leads me to believe i am missing a library file. ??
I am running IIS v5 on Win2000 with PHP v4.06
Thanks
Dan



--- End Message ---
--- Begin Message ---
php_printer.dll

Chances are it is installed, but not enabled.  Check C:\php\extensions (or
wherever you installed to) to see if it is there.  If it is then fire up
php.ini and uncomment the line that says:
extension=php_printer.dll

You'll probably need to specify your extensions directory by putting this
line:
extension_dir = C:\PHP\extensions
somewhere before the extension= lines.

Ross

-----Original Message-----
From: daniel cozzolino [mailto:[EMAIL PROTECTED]]
Sent: 07 December 2001 05:30
To: [EMAIL PROTECTED]
Subject: [PHP-WIN] printing directly from php


Hi all,

I would like to print directly from php to the client default printer.  i
tried using the code example from php.net:

$handle = printer_open();
printer_write($handle, "Text to print");
printer_close($handle);
but get Fatal error: Call to undefined function: printer_open()
which leads me to believe i am missing a library file. ??
I am running IIS v5 on Win2000 with PHP v4.06
Thanks
Dan




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



--- End Message ---
--- Begin Message ---
<reply all - grin>

John, might I suggest that if you are converting a database from oracle
you may want to consider a database that may more closely matches your
previous system.

You may be familiar with a Borland InterBase, well they have an open
source descendant named 'Firebird'.

You can check it out at: http://firebird.sourceforge.net/

And all of the PR material can be found at http://www.interbase.com,
anything that InterBase has, Firebird has (and more).

I'd suggest you give it a quick run through, it's very easy to set up,
and there are several free, quite good gui interfaces.

And, to top it all off... PHP 4 has full support of InterBase 6.0:
http://www.php.net/manual/en/ref.ibase.php


> -----Original Message-----
> From: Asendorf, John [mailto:[EMAIL PROTECTED]]
> Sent: December 6, 2001 10:42
> To: Jozsef Szilagyi; [EMAIL PROTECTED]
> Subject: RE: [PHP-WIN] PHP 4.0.6 Apache 1.3.12 Oracle 8.1.5 OCIPlogon
> Windows 2000 Server
> 
> The main reason is because you're probably NOT getting a persistent
> connection with IIS.  I've been fighting with this problem of Oracle
for
> so
> long that I finally gave up on it.  I started on IIS4 but couldn't
keep
> the
> server from breaking down after a couple of hours after the first
login
> while using the ISAPI module.  There are no persistent connections as
CGI
> (obviously)... then I switched to Apache and had the same problem
you're
> describing.  The only way I was able to "fix" it was to increase the
> timeout
> on the Oracle side.  But, it still doesn't keep the persistent
connection
> open very well.
> 
> SO, I've ported the entire thing over to MySQL (luckily the databases
> aren't
> too big (5 tables, 3 tiny ones and 2 big ones (40,000 and 120,000
records
> each).... and will be making the transfer the first of the year.
> 
> I tried a million different things.  What I would mostly suggest is to
use
> the latest php 4.0.8-dev from www.php4win.com and see if some of the
> changes
> Thies has been working on make a difference...  he has made a number
of
> changes trying to combat the Oracle on Windows nightmare but I don't
think
> they are included in the 4.0.6 release, and whether or not they'll
work I
> don't know.
> 
> Good luck, please let me know if you have any,
> 
> John
> 
> ---------------------
> John Asendorf - [EMAIL PROTECTED]
> Web Applications Developer
> http://www.lcounty.com - NEW FEATURES ADDED DAILY!
> Licking County, Ohio, USA
> 740-349-3631
> Nullum magnum ingenium sine mixtura dementiae fuit
> 
> 
> > -----Original Message-----
> > From: Jozsef Szilagyi [mailto:[EMAIL PROTECTED]]
> > Sent: Thursday, December 06, 2001 12:18 PM
> > To: [EMAIL PROTECTED]
> > Subject: [PHP-WIN] PHP 4.0.6 Apache 1.3.12 Oracle 8.1.5 OCIPlogon
> > Windows 2000 Server
> >
> >
> > Hello !
> >
> > I have a strange problem, with the combination of configuration on
the
> > subject.
> > When want to use permanent connection to Oracle (OCIPlogon) the
> > oracle sessions never end, and quiclky raise the 50 limit of Oracle
> > procesess.
> >
> > BUT when I use on the same machine, with the same PHP, Oracle,
> > and the same php scripts, only i change the webserver from Apache to
> > IIS 5.0, the problem dissapeared. The IIS only open a very
> > low number of
> > connection
> > and the connection time (for the second request) is much much
> > small than
> > the same thing under Apache.
> >
> > Now my question is, where is the problem ?
> > Why with IIS is ok, and with Apache not ?
> >
> > SzJ.
> >
> >
> >
> >
> > --
> > 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]
> >
> 
> --
> 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]


--- End Message ---
--- Begin Message ---


-----Original Message-----
From: DE SOETE Bart 
Sent: vrijdag 7 december 2001 13:24
To: '[EMAIL PROTECTED]'
Subject: FW: Connectivity to oracle




-----Original Message-----
From: DE SOETE Bart 
Sent: vrijdag 7 december 2001 13:17
To: 'Thies C. Arntzen'
Cc: '[EMAIL PROTECTED]'; '[EMAIL PROTECTED]'
Subject: RE: Connectivity to oracle


yes i did install oracle on there

-----Original Message-----
From: Thies C. Arntzen [mailto:[EMAIL PROTECTED]]
Sent: vrijdag 7 december 2001 13:05
To: DE SOETE Bart
Cc: Thies C. Arntzen
Subject: Re: Connectivity to oracle


On Fri, Dec 07, 2001 at 01:02:10PM +0100, DE SOETE Bart wrote:
> I found the dll ...
> installed it and now he keeps saying unable to load dynamic library
> 'c:/php/php_oracle.dll' - The specified procedure could not be found
> 
> I've tried about everything even installing some extra dlls in the
> c:\winnt\system32
> 
> can you please help me out 

    have you installed the oracle-client on your box?

> 
> I'm currently working on Win NT 4.0 with option pack 4.0 (= IIS 4.0)
> and with PHP 4.0.6 installer downloaded from www.php.net

    i don't run windows - so i cannot give any further tips.
    please use [EMAIL PROTECTED] or [EMAIL PROTECTED]

    tc
> 
> -----Original Message-----
> From: Thies C. Arntzen [mailto:[EMAIL PROTECTED]]
> Sent: vrijdag 7 december 2001 9:55
> To: DE SOETE Bart
> Cc: [EMAIL PROTECTED]
> Subject: Re: Connectivity to oracle
> 
> 
> On Fri, Dec 07, 2001 at 08:46:37AM +0100, DE SOETE Bart wrote:
> > I've installed PHP 4.0.6 on a Windows NT 4.0 and like to connect to an
> > oracle database, but not through odbc as it is slow ...
> > in the inifile I found a reference to a php_oracle.dll is it available
> > somewhere ???
> 
>     www.php4win.com is your friend.
> 
>     tc
--- End Message ---

Reply via email to