>exec(), system(), ... work well in isapi mode in php 4.0.6.
>check your code!!
>then post your code!!
Hi,
The program i tested is very simple. This is the php code
##
the execution of this script is :
test ...
Warning: Unable to fork [dir c:\] in c:\inetpub\wwwroot\manager_4\te
Thanks Andrian,
Paul DuBois suggested the same thing you did.
The column that concerns me is already UNIQUE,
so all I need to do is something like this, after the insert statment
in PHP like you suggest:
// check if row is returned, if yes error, if no insert
if (mysql_affected_row
>I've installed PHP and MySQL on my Win2K Pro box according to
>a doc I got (thanks). Accessing a php-doc results in
>
>The page cannot be displayed
>There is a problem with the page you are trying to reach
>and it cannot be displayed.
This happens time to time with me when the bloody morons to
>I can connect using ODBC but not the mssql functions
If you can connect via ODBC, then it means that the
SQL server is set up to accept your connection. Most
likely your environment is not the problem in this case.
You might need to explore the php manual about the how-to
things to connect to t
I have been looking for a while for a way to supply spell checking to the
users of my submit forms, and stumbled accross the tutorial at Zend
Technologies (http://www.zend.com/zend/spotlight/spellchecking.php?print=1)
dealing with this, utilizing the Aspell/Pspell modules.
Now, this is all dandy,
>I know I can get rid of the warning message by excluding warnings
>in the php.ini file. I just included it to show that it seems like php
>manages
>to connect, but then gets disconnected and the script just dies.
>
>I have tested this on Apache 1.3.12 and by just running the PHP executable.
I al
On Wednesday 27 June 2001 11:37, Edmund wrote:
>
> Yup. They are. Actually, even when I upgraded my previous php
> installation with 4.05, it still couldn't load the gd dll file,
> or at least, that dll file was making php choke.
I've just installed the full Windows binary distribution on my N
Hi Pete,
spontaneously I can give you two different ways/suggestions:
1.) Get the value 'mysql_query' returns.
If it's _not_ true, call 'mysql_errno'.
If it returns (1062) this means you have a dupplicate entry.
--> Inform the user.
2.) make a 'SELECT COUNT(*) as num_entries FROM as
In my experience, if you see a 500 error from PHP on Windows, then you've
installed the ISAPI module and it's fallen over.
The two courses of action are:
Easy - switch to a cgi installation of php, or change your server to Apache
and use the Apache module version of PHP.
Hard - download the so
Hello PHP users,
I believe many people on this list run their PHP scripts
on IIS or Win32 Apache. I have released yet another HTTP server
that I belive is well suited for running PHP programs.
The program is still in development quality but I'd appreciate
any comments from PHP users here.
Orenos
>I can connect using ODBC but not the mssql functions
Are the MSSQL extensions installed? That could be it.
--Jason
--
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
You neet to install the Client Tools for MSSQL Server (basically the file
ntwdblib.dll) and the enable the mssql extension. You can do this in php.ini py
removing the semi colon in front on the line
;extension=php_mssql.dll
Or if you are using the CGI version you could use dl("php_mssql.dll");
Christian Sandfeld wrote:
>
Hi Christian,
> I'm new to the list, so I didn't get the full story. But I fealt like
> throwing in my 2 cents anyway. I'm running IIS4 on NT4.0 SP6, and was
> experiencing great difficulties getting PHP 4.0.5 to work when loading the
> PDF and GD .DLL's. I never both
php-windows Digest 28 Jun 2001 02:38:50 - Issue 631
Topics (messages 8080 through 8085):
Re: 500 error
8080 by: Johan Lundqvist
Re: system(), Access is denied
8081 by: Delbono
help connecting to MS SQL 7.0 dbase
8082 by: Joann Coffey
notify user of duplicate entry
I'm having serious problems with getting PHP to run quietly on my system.
I'm not sure if it's just because i have windows 98 but I was wondering if
this problem can be reproduced on other OS's. PHP 4.0.6 does this too. This
only happens when I have PHP installed. If i start Apache without PHP, it
[EMAIL PROTECTED] (BAMHA Mostafa Ftmms) wrote in
6F80F42D4777D4119359001083FCBB9E138CF0@ISSYNTSF02:">news:6F80F42D4777D4119359001083FCBB9E138CF0@ISSYNTSF02:
> Hi all,
> I'm using the ISAPI version of PHP-4.0.6 on Win2K but the Exec command
> still doesn't
> work on Win2K and IIS.
>
> However,
16 matches
Mail list logo