RE: [PHP-WIN] Re: PHP/IIS5/MSSQL shows CGI Header Error

2002-09-27 Thread David Redmond
t; <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Check if you have installed PHP in a folder to which only the administrator > has access to. (Either PHP or the application that is calling PHP.) > Regards, > csaravind > "David R

RE: [PHP-WIN] Re: PHP/IIS5/MSSQL shows CGI Header Error

2002-09-26 Thread David Redmond
Hi Matt, Looks like it is something screwy between the mssql functions. I've rewritten the pages to use an ADODB.Connection object and I haven't had this error since. David -Original Message- From: Matt Kynaston [mailto:[EMAIL PROTECTED]] Sent: Friday, 27 September 2002 1:25 AM To: [EM

[PHP-WIN] PHP/IIS5/MSSQL shows CGI Header Error

2002-09-25 Thread David Redmond
Hi All, I am just wondering if anyone out there using PHP (4.2.3, bug also affects previous versions and the latest CVS snapshot) with IIS5 and receives the "CGI Header Error" in PHP scripts that use an MSSQL DB connection. This bug has been logged on the PHP buglist (http://bugs.php.net/bug.ph

[PHP-WIN] RE: [PHP] Problem on file_exists()

2002-07-15 Thread David Redmond
Jack, try using forward slashes instead of backslashes;eg $fp = fopen("//nedcoraa/pdf_reports/dealing/filename.ext", "r+"); Cheers -Original Message- From: Jack [mailto:[EMAIL PROTECTED]] Sent: Tuesday, 16 July 2002 5:02 PM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: [PHP] Proble

RE: [PHP-WIN] fputs - need help!!

2002-07-15 Thread David Redmond
Try adding in a '\r' as well. This stands for a carriage return and '\n' means a line feed. The '\r' is necessary if your viewing the log file with something like notepad, etc. eg; fputs ($sysname_log, $time - SystemName: $sysname\r\n"); Cheers -Original Message- From: MAAS [mailto:[

[PHP-WIN] Header() problem

2002-06-18 Thread David Redmond
Has anyone encountered a problem whereby using the Header("Location: blah") function to redirect the client to another page, sometimes it comes up with this; -- snip -- CGI Error The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return ar

RE: [PHP-WIN] PHP.INI Lockdown

2002-05-30 Thread David Redmond
Although "php.exe -c c:\winnt\" works from the console, it doesnt seem to work through IIS. Entry in IIS is; e:\php\php.exe -c "c:\winnt\" %s Cheers -Original Message- From: David Redmond Sent: Friday, 31 May 2002 12:13 PM To: '[EMAIL PROTECTED]' Subje

[PHP-WIN] PHP.INI Lockdown

2002-05-30 Thread David Redmond
HiĀ All, is there anyway to lockdown the PHP.INI file so that only the one stored in C:\WinNT\ is read in by PHP? As it stands, you can place a copy of the INI file into the same directory as the script that your browsing to, and PHP will use that as its configuration file, rather than the one i

[PHP-WIN] NT ACL Manipulation

2002-04-29 Thread David Redmond
Hi All, Is anyone aware of any components/modules that will allow PHP to read & modify NT ACLs? Apart from having to shell to a utility such as 'xcacls', I can't seem to find anything that will do the job. Cheers -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://

RE: [PHP-WIN] Connect to MS SQL server on diff machine

2002-03-07 Thread David Redmond
Nicole, I've found on some instances that you need to specifically apply the user/group that IIS will be calling the PHP executable (and therefore php_mssql.dll) as, onto the 'PHP' directory. From what I've seen, the 'Everyone' group is not recognised by PHP. IE: If IIS is using anonymous acces

RE: [PHP-WIN] Re: WinXP Error Passing Variables (and creating)

2002-02-19 Thread David Redmond
This should also work; -- snip -- Username: \n"; } ?> -- snip -- -Original Message- From: Ross Fleming [mailto:[EMAIL PROTECTED]] Sent: Wednesday, 20 February 2002 1:06 PM To: Chris Earle; [EMAIL PROTECTED] Subject: RE: [PHP-WIN] Re: WinXP Error Passing Variables (and creating) T