php-windows Digest 28 Aug 2002 03:58:05 -0000 Issue 1311
Topics (messages 15534 through 15545):
Re: PHP MSSQL versions
15534 by: Flint Doungchak
15539 by: David Hollister
15540 by: Christoph Grottolo
Re: Virtual Remote Directories and IIS
15535 by: Jeremy Johnson
15536 by: Luis Ferro
15538 by: Christoph Grottolo
Re: use VB DLL (COM object) with php
15537 by: Luis Ferro
skipping quotes...
15541 by: Afan Pasalic
15543 by: Ross Fleming
Sharing news or other data
15542 by: Steen Rabol
Re: php pages appear only on server machine, not in others computers with IIS
15544 by: Elias Santiago
SOAP Install
15545 by: Kit Kerbel
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 ---
Bob,
>From what I understand, I don't understand it all that much, you need to make sure
>that the correct version of PHP runs with the correlated version of the module (for
>all modules not just mssql). When you download PHP from php.net (at least when you
>download the zipped version), the mssql module comes with the package and is located
>in the ./extensions directory.
Make sure your .ini files contains the line:
extension_dir = ./extensions
And that you have uncommented the line:
extension=php_mssql.dll
Also, you need to make sure that you have the ms_sql client libraries installed on the
local machine where php resides. It needs these libraries to connect to SQL server.
Just install the client tools off the SQL server CD.
That should do it. I think this version matching things is really important as of
4.2.0 but has always been the situation between 3.x and 4.x. In any case, if any else
knows the technical details, please fill us in.
Hope that helps.
-Flint
-----Original Message-----
From: Bob Hiller -1 [mailto:[EMAIL PROTECTED]]
Sent: Monday, August 26, 2002 1:25 PM
To: PHP Mail List
Subject: [PHP-WIN] PHP MSSQL versions
I download php_mssql.dll and added it to php.ini.
When I open any php page I get this error
MSSQL Unable to initialize module
Module Compiled with Debug=0 Thread Safety=1 Module API=20020429
PHP Compiled with Debug=0 Thread Safety=1 Module API=20010901
These option must match
What do I need to do to make the Module API's match.
Thanks,
Bob Hiller
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--- End Message ---
--- Begin Message ---
Can someone confirm this? I don't think you need anything beyond the
php_mssql.dll to use MSSQL specific functions. I'm pretty sure I've done
that in the past. I'm curious now.
>Also, you need to make sure that you have the ms_sql client libraries
installed on the local
>machine where php resides. It needs these libraries to connect to SQL
server.
-----Original Message-----
From: Flint Doungchak [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 27, 2002 11:38 AM
To: Bob Hiller -1; PHP Mail List
Subject: RE: [PHP-WIN] PHP MSSQL versions
Bob,
>From what I understand, I don't understand it all that much, you need to
make sure that the correct version of PHP runs with the correlated version
of the module (for all modules not just mssql). When you download PHP from
php.net (at least when you download the zipped version), the mssql module
comes with the package and is located in the ./extensions directory.
Make sure your .ini files contains the line:
extension_dir = ./extensions
And that you have uncommented the line:
extension=php_mssql.dll
Also, you need to make sure that you have the ms_sql client libraries
installed on the local machine where php resides. It needs these libraries
to connect to SQL server. Just install the client tools off the SQL server
CD.
That should do it. I think this version matching things is really important
as of 4.2.0 but has always been the situation between 3.x and 4.x. In any
case, if any else knows the technical details, please fill us in.
Hope that helps.
-Flint
-----Original Message-----
From: Bob Hiller -1 [mailto:[EMAIL PROTECTED]]
Sent: Monday, August 26, 2002 1:25 PM
To: PHP Mail List
Subject: [PHP-WIN] PHP MSSQL versions
I download php_mssql.dll and added it to php.ini.
When I open any php page I get this error
MSSQL Unable to initialize module
Module Compiled with Debug=0 Thread Safety=1 Module API=20020429
PHP Compiled with Debug=0 Thread Safety=1 Module API=20010901
These option must match
What do I need to do to make the Module API's match.
Thanks,
Bob Hiller
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--- End Message ---
--- Begin Message ---
Yes. You'll find the file in the dll folder in your php distribution. Copy
it to your windows\system32 directory. See also
http://ch.php.net/manual/en/ref.mssql.php
Christoph
David Hollister wrote:
> Can someone confirm this? I don't think you need anything beyond the
> php_mssql.dll to use MSSQL specific functions. I'm pretty sure I've
> done that in the past. I'm curious now.
>
>> Also, you need to make sure that you have the ms_sql client
>> libraries installed on the local machine where php resides. It needs
>> these libraries to connect to SQL server.
>
> -----Original Message-----
> From: Flint Doungchak [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, August 27, 2002 11:38 AM
> To: Bob Hiller -1; PHP Mail List
> Subject: RE: [PHP-WIN] PHP MSSQL versions
>
> Bob,
>
> From what I understand, I don't understand it all that much, you need
> to make sure that the correct version of PHP runs with the correlated
> version of the module (for all modules not just mssql). When you
> download PHP from php.net (at least when you download the zipped
> version), the mssql module comes with the package and is located in
> the ./extensions directory.
>
> Make sure your .ini files contains the line:
>
> extension_dir = ./extensions
>
> And that you have uncommented the line:
>
> extension=php_mssql.dll
>
> Also, you need to make sure that you have the ms_sql client libraries
> installed on the local machine where php resides. It needs these
> libraries to connect to SQL server. Just install the client tools off
> the SQL server CD.
>
> That should do it. I think this version matching things is really
> important as of 4.2.0 but has always been the situation between 3.x
> and 4.x. In any case, if any else knows the technical details, please
> fill us in.
>
> Hope that helps.
>
> -Flint
>
> -----Original Message-----
> From: Bob Hiller -1 [mailto:[EMAIL PROTECTED]]
> Sent: Monday, August 26, 2002 1:25 PM
> To: PHP Mail List
> Subject: [PHP-WIN] PHP MSSQL versions
>
>
> I download php_mssql.dll and added it to php.ini.
>
> When I open any php page I get this error
>
> MSSQL Unable to initialize module
>
> Module Compiled with Debug=0 Thread Safety=1 Module API=20020429
>
> PHP Compiled with Debug=0 Thread Safety=1 Module API=20010901
>
> These option must match
>
> What do I need to do to make the Module API's match.
>
> Thanks,
> Bob Hiller
>
>
>
>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
--- End Message ---
--- Begin Message ---
Thanks for the reply.
The IUSR_MACHINENAME account does exist and does have the proper permissions
set.
Any other ideas?
Thanks again.
.:j:.
Michael wrote:
-------------------------------------------------------------
Probably your IUSR_MACHINENAME doesn't exist on the other machine, or
doesn't have read/write/execute on the remote system.. usually when
you connect to a remove fs for a virtual folder, it will request a
username and password for iis to use for authentication...
--
=======================================================================
Michael J. Ryan - tracker1 at theroughnecks dot com
Roughneck BBS: http://www.theroughnecks.net telnet://theroughnecks.net
=======================================================================
Y!: aztracker1 - aim: azTracker1 - icq: 4935386 - msn: see email
One program for aim/icq/yahoo/msn/irc - http://www.trillian.cc/
"Jeremy Johnson" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I've just installed PHP 4.2.2 as an ISAPI filter on IIS 5.0.
>
> PHP scripts local to the server are executing without complaint, however
> when executed from a virtual remote directory my PHP test script (<?php
> phpinfo();?>) always returns the following error:
>
> Warning: Failed opening '(network path of vrd)\test.php' for inclusion
> (include_path='.') in Unknown on line 0
>
> HTML files in the same virtual remote directorys are accessable.
phpinfo()
> reports that virtual directory support is enabled.
>
> any suggestions?
>
> thanks!!!!
> .:j:.
--- Synchronet 3.10j-Win32 NewsLink 1.29
* Roughneck BBS - www.theroughnecks.net - telnet://theroughnecks.net
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--- End Message ---
--- Begin Message ---
The permissions must exist not only in the directory security but also
in the share security and implying that the user "everyone" will work is
a great streatch of the true (it won't work at all with the "everyone")...
The permissions must be given explicitly to the IUSR_MACHINENAME and the
IWAM_MACHINENAME (a typo in the exact name possible).
Sometimes, the web server connects to the resources (files, permissions,
components, etc.) with one, and sometimes with the other, depends
greatly on how security is implemented in the web server and if there is
a domain controler or not...
Cheers...
Luis Ferro
TelaDigital
Jeremy Johnson wrote:
>Thanks for the reply.
>
>The IUSR_MACHINENAME account does exist and does have the proper permissions
>set.
>
>Any other ideas?
>
>Thanks again.
>.:j:.
>
>
>
>Michael wrote:
>-------------------------------------------------------------
>
>Probably your IUSR_MACHINENAME doesn't exist on the other machine, or
>doesn't have read/write/execute on the remote system.. usually when
>you connect to a remove fs for a virtual folder, it will request a
>username and password for iis to use for authentication...
>
>--
>=======================================================================
>Michael J. Ryan - tracker1 at theroughnecks dot com
>Roughneck BBS: http://www.theroughnecks.net telnet://theroughnecks.net
>=======================================================================
>Y!: aztracker1 - aim: azTracker1 - icq: 4935386 - msn: see email
>One program for aim/icq/yahoo/msn/irc - http://www.trillian.cc/
>
>
>"Jeremy Johnson" <[EMAIL PROTECTED]> wrote in message
>[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
>
>
>>I've just installed PHP 4.2.2 as an ISAPI filter on IIS 5.0.
>>
>>PHP scripts local to the server are executing without complaint, however
>>when executed from a virtual remote directory my PHP test script (<?php
>>phpinfo();?>) always returns the following error:
>>
>>Warning: Failed opening '(network path of vrd)\test.php' for inclusion
>>(include_path='.') in Unknown on line 0
>>
>>HTML files in the same virtual remote directorys are accessable.
>>
>>
>phpinfo()
>
>
>>reports that virtual directory support is enabled.
>>
>>any suggestions?
>>
>>thanks!!!!
>>.:j:.
>>
>>
>--- Synchronet 3.10j-Win32 NewsLink 1.29
> * Roughneck BBS - www.theroughnecks.net - telnet://theroughnecks.net
>
>
>
---
[This E-mail scanned for viruses by Declude Virus]
--- End Message ---
--- Begin Message ---
Try to set 'check that file exists' in the IIS admin interface on the panel
where you map .php to php4isapi.dll.
Christoph
Jeremy Johnson wrote:
> Thanks for the reply.
>
> The IUSR_MACHINENAME account does exist and does have the proper
> permissions set.
>
> Any other ideas?
>
> Thanks again.
> .:j:.
>
>
>
> Michael wrote:
> -------------------------------------------------------------
>
> Probably your IUSR_MACHINENAME doesn't exist on the other machine, or
> doesn't have read/write/execute on the remote system.. usually when
> you connect to a remove fs for a virtual folder, it will request a
> username and password for iis to use for authentication...
>
> --
> =======================================================================
> Michael J. Ryan - tracker1 at theroughnecks dot com
> Roughneck BBS: http://www.theroughnecks.net
> telnet://theroughnecks.net
> =======================================================================
Y!: aztracker1 - aim: azTracker1 - icq: 4935386 - msn: see email
> One program for aim/icq/yahoo/msn/irc - http://www.trillian.cc/
>
>
> "Jeremy Johnson" <[EMAIL PROTECTED]> wrote in message
> [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
>> I've just installed PHP 4.2.2 as an ISAPI filter on IIS 5.0.
>>
>> PHP scripts local to the server are executing without complaint,
>> however when executed from a virtual remote directory my PHP test
>> script (<?php phpinfo();?>) always returns the following error:
>>
>> Warning: Failed opening '(network path of vrd)\test.php' for
>> inclusion (include_path='.') in Unknown on line 0
>>
>> HTML files in the same virtual remote directorys are accessable.
>> phpinfo() reports that virtual directory support is enabled.
>>
>> any suggestions?
>>
>> thanks!!!!
>> .:j:.
> --- Synchronet 3.10j-Win32 NewsLink 1.29
> * Roughneck BBS - www.theroughnecks.net - telnet://theroughnecks.net
--- End Message ---
--- Begin Message ---
The ScriptingContext may only exist in Visual Studio languages as it is
a very special way to program in the IIS with VB (and a way that i can't
recommend at all due to speed, readability and portability problems).
I personnaly would place all the business logic inside the VB Component
and would leave for the PHP/ASP the task of making the presentation of
all the data.
A much cleaner design, and you can split the development of the things
between two programmers of diferent background... if needed...
Cheers,
Luis Ferro
TelaDigital
P.S.- You will find out that it is easier to debug manually then thru
the iis/vb/asp(or php in this case) layer... because when things get
wrong, the error it will return will probably be error
#ffffffffffffff.... without any more info...
Franky wrote:
>I try to use a simple COM write in VB ...
>======================================================
>Option Explicit
>
>Dim sc As ScriptingContext
>
>
>Sub OnStartPage(AspSC As ScriptingContext)
> Set sc = AspSC
>
>End Sub
>
>Public Function ecrire()
> sc.Response.Write "Voici mon super texte"
>End Function
>=======================================================
>
>...but it doesn't work! Is run in ASP put when i try in php the parameter
>is not good. I supose is the ScriptingContext variable but I don't know is
>value?!
>
>Somebody can help me Please?
>
>
>Franky
>[EMAIL PROTECTED]
>
>
>
>
>
---
[This E-mail scanned for viruses by Declude Virus]
--- End Message ---
--- Begin Message ---
Hi,
My information from database: We've got "the beat" I'm trying to edit using form:
<input type=text name=\"EditCopy\" value=\"$myrow[copy]\">
but in form is shown just We've got. Nothing after first quote.
The quote in front of 'the' screwed everything.
How can I have a whole content, with quotes in form field?
Thanks for any help.
Afan
--- End Message ---
--- Begin Message ---
url encode it? At a guess that is, I haven't tried it. the funtion is
either urlencode($myrow[copy]) or url_encode($myrow[copy]) not sure which.
> -----Original Message-----
> From: Afan Pasalic [mailto:[EMAIL PROTECTED]]
> Sent: 27 August 2002 22:20
> To: [EMAIL PROTECTED]
> Subject: [PHP-WIN] skipping quotes...
>
>
> Hi,
>
> My information from database: We've got "the beat" I'm trying to
> edit using form:
> <input type=text name=\"EditCopy\" value=\"$myrow[copy]\">
> but in form is shown just We've got. Nothing after first quote.
>
> The quote in front of 'the' screwed everything.
>
> How can I have a whole content, with quotes in form field?
>
> Thanks for any help.
>
> Afan
>
--- End Message ---
--- Begin Message ---
Hi
Iv'e been searching the net for a few hours without any luck....
Let's say that I have 3 sites one site have a database with news/articles.
On the 2 others I would like to show headlines/news/articles from the
database.
How can I do that ?
Thanks in advance
Steen
--- End Message ---
--- Begin Message ---
I assume you are using the CGI version of PHP (php.exe). Check that
php.exe has permissions to allow the IUSR_SRVR user permission to
Read/Execute php.exe. If not you will get the famous CGI error. Also
check that in the app mappings you have the proper mapping of .php to
php.exe. Also, remember to add index.php (or main.php) as index
documents in the site properties. Remember that it is good practice to
eliminate permissions for the Everyone group (on php.exe) and only allow
Administrators, SYSTEM and of course, IUSR_SRVR. Don't allow anyone that
you don't need/expect.
[EMAIL PROTECTED] (Saci) wrote in
[EMAIL PROTECTED]:">news:[EMAIL PROTECTED]:
> On my develop machine , who is the where IIS server is running
> everything works perfect, all html and php pages works ok.
>
> If I try to use another computer on the same network to browse my
> pages, I receive only the html pages and the message CGI ERROR while
> trying to open a php page.
>
> What I need to do in IIS to permit others computers on my network to
> also run scripts not only my local machine?
>
> My php directory is a subdirectory of wwwroot something like this
>
> D:\Inetpub\wwwroot\sample\php
>
> IIS5
--- End Message ---
--- Begin Message ---
Has anyone had any experience installing/working with SOAP for php on
windows? I am trying to install it to work with credit card information and
I am having trouble beyond belief.
Thanx in advance,
Kit
_________________________________________________________________
Chat with friends online, try MSN Messenger: http://messenger.msn.com
--- End Message ---