php-windows Digest 22 Dec 2001 08:25:26 -0000 Issue 913

Topics (messages 11064 through 11076):

Install problem
        11064 by: Lorne T

MSSQL connect
        11065 by: Jerry

MSSQL DB Connect
        11066 by: Jerry
        11069 by: Jeremy Reed

Installing CURL
        11067 by: Todd Cary
        11071 by: LaserJetter

Re: [PHP-DB] MSSQL DB Connect
        11068 by: Frank M. Kromann

PHP 4.1.0 Install on Windows 98/PWS 4.0
        11070 by: Martin Halford
        11072 by: LaserJetter

chmod files on windows - how?
        11073 by: p13zo
        11074 by: Martin Halford
        11075 by: Seung-woo Nam

problems with php4ts.dll linked to oleaut32.dll
        11076 by: splat

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, Im trying to create an installer for a php application. During the
install I access the IIS metabase and insert a php4isapi filter. Under
properties I can see the mapping but unfortunately, IIS does not seem to be
able to load this dll. Why? Ive registered the dll, restarted IIS tried
different locations for the dll... I do not know what to do next? Any tips?

LT


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

I have PHP on windows 2000 web server
I would like to remote to a MS SQL database on another web server.
I tried something like:

<?pup
$h = "server adr";
$u = "user";
$p = "passw";
$b = "db";
$connexion = mssql_connect("$h", "$u", "$p");
mssql_select_db($b);
$sql = "select * from test";
$result = mssql_query($sql_temp);
mssql_close($connexion);
?>

But it didn't work. Please help me.

Jerry


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

I have PHP on windows 2000 web server
I would like to remote to a MS SQL database on another web server.
I tried something like:

<?php
$h = "server adr";
$u = "user";
$p = "passw";
$b = "db";
$connexion = mssql_connect("$h", "$u", "$p");
mssql_select_db($b);
$sql = "select * from test";
$result = mssql_query($sql_temp);
mssql_close($connexion);
?>

But it didn't work. Please help me.

Jerry


--- End Message ---
--- Begin Message ---
What was the error message you received?  Also, when passing the variables
to the mssql_connect() function, you need not use quotes since you've
already initialized them to the strings.  Pass them as follows:  $connection
= mssql_connect($a,$b,$c).  Also, you aren't passing the actual sql string
to the mssql_query() function.  You have $sql = "blah" but you pass
$sql_temp.



"Jerry" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hi
>
> I have PHP on windows 2000 web server
> I would like to remote to a MS SQL database on another web server.
> I tried something like:
>
> <?php
> $h = "server adr";
> $u = "user";
> $p = "passw";
> $b = "db";
> $connexion = mssql_connect("$h", "$u", "$p");
> mssql_select_db($b);
> $sql = "select * from test";
> $result = mssql_query($sql_temp);
> mssql_close($connexion);
> ?>
>
> But it didn't work. Please help me.
>
> Jerry
>
>


--- End Message ---
--- Begin Message ---
I have lost the documentation about installing CURL on a PHP/Win 2K/IIS
platform.  I cannot remember what dll's need to be put into System32.

Help........

Todd

--
Todd Cary
Ariste Software
[EMAIL PROTECTED]


--- End Message ---
--- Begin Message ---
Hi. I posted back about this before.

You need to put libeay32.dll and ssleay32.dll in the system32 folder on
win2k. I found it easier to just copy the lot from the dlls folder into my
system folder - will stop it happening with nay other extensions!!!!

LJ (not feeling too good)

"Todd Cary" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I have lost the documentation about installing CURL on a PHP/Win 2K/IIS
> platform.  I cannot remember what dll's need to be put into System32.
>
> Help........
>
> Todd
>
> --
> Todd Cary
> Ariste Software
> [EMAIL PROTECTED]
>
>


--- End Message ---
--- Begin Message ---
Hi Jerry,

You need to have the Client Tools for MS SQL Server installed on your PHP4 box. These 
tools is found on the CD, or you can just copy ntwdblib.dll fom one system to another.

The default communication protocol will be netbios, if you want to change that to 
tcp/ip you need to install the tools. One of the toiols is called "Client Network 
Utility". You can use this to specify aliases for your host names s[ your system knows 
the protocol to use.

- Frank

P.S You also need to enable the mssql extension !

> I have PHP on windows 2000 web server
> I would like to remote to a MS SQL database on another web server.
> I tried something like:
> 
> <?php
> $h = "server adr";
> $u = "user";
> $p = "passw";
> $b = "db";
> $connexion = mssql_connect("$h", "$u", "$p");
> mssql_select_db($b);
> $sql = "select * from test";
> $result = mssql_query($sql_temp);
> mssql_close($connexion);
> ?>
> 
> But it didn't work. Please help me.
> 
> Jerry
> 
> 
> 
> -- 
> PHP Database 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 ---
Hi!

I've tried to install PHP 4.1.0 on the above Windows configuration using the
Installer program.

Running phpinfo() I'm still showing Version 4.0.2, but something has changed
because php has suddenly become very fussy about variables being defined and
strings being quoted - in fact hardly any of my pages work!!

I suspect the installer is loading the CGI version and I have the ISAPI
module already installed?  I'm wary of fiddling around because the original
setup of 4.02 involved making changes to the Windows Registry.

Any ideas?

Best regards,

Martin

----------------------------------
Martin Halford
V-Consult Limited
http://www.v-consult.co.uk
----------------------------------



--- End Message ---
--- Begin Message ---
Regarding the variables, although the new version is backwards compatible
with the way variables were passed in the old version, I found I could only
use the $_POST['variable'] to get the variable. I think you might need to
tinker with the new php.ini file and check the register global variables
thingy in there. If you want to know about the new syntax read the release
notice.

Interestingly, is it true that the new way in which the variables are passed
from forms to scripts could be done in a similar way in the older versions
but using http_global_vars (or something like that) and turning off the
register global variables in php.ini??



"Martin Halford" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hi!
>
> I've tried to install PHP 4.1.0 on the above Windows configuration using
the
> Installer program.
>
> Running phpinfo() I'm still showing Version 4.0.2, but something has
changed
> because php has suddenly become very fussy about variables being defined
and
> strings being quoted - in fact hardly any of my pages work!!
>
> I suspect the installer is loading the CGI version and I have the ISAPI
> module already installed?  I'm wary of fiddling around because the
original
> setup of 4.02 involved making changes to the Windows Registry.
>
> Any ideas?
>
> Best regards,
>
> Martin
>
> ----------------------------------
> Martin Halford
> V-Consult Limited
> http://www.v-consult.co.uk
> ----------------------------------
>
>
>


--- End Message ---
--- Begin Message ---
im using apache1.3 on my window98 with php4 just to test my page before
upload it to a hosting server.
now im tryin to use some free script downloaded from the net (a guestbook
script)
and on the instalation manual it tell me to chmod a file and a directory to
777.
its not a problem on remote server, because on my ftp client i just right
click and chmod them.no problem. but how can i do that on my own window PC?
sorry if this is a st0opid question..;) but i realy dont know
would anyoe help?
thax advanced



--- End Message ---
--- Begin Message ---
The answer is almost certainly that it won't work and you don't need to do
it on your Windows machine.  The CHMOD 777 gives full read/access to the
file on the Unix/Linux server.

martin

-----Original Message-----
From: p13zo [mailto:[EMAIL PROTECTED]]
Sent: Friday, December 21, 2001 9:54 PM
To: [EMAIL PROTECTED]
Subject: [PHP-WIN] chmod files on windows - how?


im using apache1.3 on my window98 with php4 just to test my page before
upload it to a hosting server.
now im tryin to use some free script downloaded from the net (a guestbook
script)
and on the instalation manual it tell me to chmod a file and a directory to
777.
its not a problem on remote server, because on my ftp client i just right
click and chmod them.no problem. but how can i do that on my own window PC?
sorry if this is a st0opid question..;) but i realy dont know
would anyoe help?
thax advanced




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


---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.309 / Virus Database: 170 - Release Date: 17-Dec-01

--- End Message ---
--- Begin Message ---
Hi,
Since Windows 98 doesn't have the same kind of file permission settings
like UNIX variety of OSes, I don't thibk you should worry about that
part. It should be fine as long as "Read Only" property on the file is
not turned on.

On Fri, 2001-12-21 at 16:54, p13zo wrote:
> im using apache1.3 on my window98 with php4 just to test my page before
> upload it to a hosting server.
> now im tryin to use some free script downloaded from the net (a guestbook
> script)
> and on the instalation manual it tell me to chmod a file and a directory to
> 777.
> its not a problem on remote server, because on my ftp client i just right
> click and chmod them.no problem. but how can i do that on my own window PC?
> sorry if this is a st0opid question..;) but i realy dont know
> would anyoe help?
> thax advanced
> 
> 
> 
> 
> -- 
> 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 ---
hi

i configured two several WAMPs (Windows Apache MySQL PHP3/4) with Apache1.3.20 & 
php4.1.0 on winME and win98
this WAMPserver is behind a csm proxy plus (properly configured).
it works properly as long i forward the request to my winME machine.
forwarding it to the win98 machine it happens, that everytime i try to access a php 
file, which simply consits of an echo command an error alert appears. It reads THE 
FILE PHP4TS.DLL IS LINKED TO THE MISSING Export-OLEAUT32.DLL:77.

that error only appears on the win98 machine... and yes, the file OLEAUT32.DLL exists 
in my %SYSTEMROOT%\system and %SYSTEMROOT%\system32 dirs.

can ya help me?

thx a lot - splat.
--- End Message ---

Reply via email to