php-windows Digest 3 Aug 2001 08:13:29 -0000 Issue 682

Topics (messages 8635 through 8641):

Printer Functions
        8635 by: Deleo Paulo Ribeiro Junior

ODBC + Win 2000 problem
        8636 by: Schulz, Evan

PHP Hosting
        8637 by: Max Graham

PHP & JAVA: Odd Behavior
        8638 by: Marcos

Search Engines
        8639 by: Andrew.Martin

PHP + WIN9x
        8640 by: Dude

Mail SMTP advice
        8641 by: TPG

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]


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


Hello!

Why canīt I find the PHP Printer Functions. Every time I try to use then I
get a message saying that these functions are not avaliable...

I am using IIS 4 / Windows NT 4.0 / PHP 4.0.6

Thank you

Deleo





I have a Windows 98 machine running PWS and PHP 4.4pl1.  I have a script
that accesses an MS Access 97 database on a Novell 5.0 file server through
ODBC.   I just copied this same script to a Windows 2000 server running IIS
and PHP 4.06 CGI and I get the following error when it runs:

"Warning: SQL error: [Microsoft][ODBC Microsoft Access Driver] '(unknown)'
is not a valid path. Make sure that the path name is spelled correctly and
that you are connected to the server on which the file resides., SQL state
S1009 in SQLConnect in C:\path\index.php on line 175"

(Line 175 is the odbc_connect - I am not going to attach the actual code
because the code isn't the problem - it works on my other machine)

I tried going to PHP 4.04pl1 CGI, but same error.  I tried installing Office
97's ODBC drivers...no change.  I installed a couple of ODBC updates from
Microsoft - didn't help.  When I copy the database locally and point the
ODBC data source there, it works!  It makes it look like either the ODBC
Access driver is screwed up or there is a problem connecting to a database
with Novell.  If I use MS Query and use the same ODBC data source, though,
everything connects just fine.  

I have searched the Microsoft, Novell, and PHP sites pretty extensively and
didn't find a thing.  The PHP mail archive had one person with the same
error with NT 4, but there was only one reply and it was "Your ODBC driver
to access Access may be the problem".  This is a brand new install of 2000,
though, so I would think others would have gotten this if it was the driver.

Any (and I really do mean any) help would be greatly appreciated.




Found another one, the service is reliable because I've had my website hosted by this 
server for over a year and there's been only one disruption I've noticed, which was 
when the server was being moved to another location ... http://www.theendoftime.net/

The domain name will soon be changing to http://www.eotnetworks.com/ but everything 
else will be staying the same






Hi,

I got something very odd while trying to run php with java. First, my
system specs:

My System:
Windows NT4.0 SP6 (same happens on Windows XP)
Apache 1.3.20
PHP 4.0.6
Sun Microsystems JDK 1.3.1

Java settings from php.ini:
[Java]
java.class.path="D:\php406\java\php_java.jar;D:\jdk\lib"
java.home=D:\jdk
java.library=D:\jdk\bin\hotspot\jvm.dll
java.library.path=D:\php406\extensions\

Program I am running:
<?php
$system = new Java("java.lang.System");
print "Java version=".$system->getProperty("java.version")." <br>";
print "Java vendor=" .$system->getProperty("java.vendor")."  <br>";
print "OS=".$system->getProperty("os.name")." ".
$system->getProperty("os.version")." on ".
$system->getProperty("os.arch")." <br>";
$formatter = new Java("java.text.SimpleDateFormat",
       "EEEE, MMMM dd, yyyy 'at' h:mm:ss a zzzz");
print $formatter->format(new Java("java.util.Date"));
?>

When I start the apache server service, the program runs ok (several
reloads on the browser). But, if I close the browser and open it again,
the program no longer runs and give me a "Fatal error: Unable to create
Java Virtual Machine in d:\http\info.php3 on line 9". After several
reloads, sometimes I get it to run again (just one time).

If I restart the apache server service, the program works again, but
with the same behavior: if I close the browser window and open it again,

it does not work.

While all the above is happening, if a go to the command prompt and
type: "d:\php406\php d:\http\myprogram.php3", it works fine, every time.

I ran out of options and, if anyone could help, I'll appreciate.

Tks,
Marcos





Anyone know a decent search engine capable of 
searching both the DB and static pages?

thanks.





Does PHP4 works on a Win98 system with personal web server(PWS).






My host has advised me with this message
I turned off "authentication before send", and I would like to keep it on.
Could you please see if there is a way of PHP authenticating with Microsoft
SMTP server before sending emails.  I will leave it off for now, but for the
purposes of anti-spam, I would like to have it back on again in a couple of
days.

Does anyone have some advice on what I can suggest to him
Thanks
Tony Ayling




Reply via email to