[PHP-WIN] The specified CGI application misbehaved by not returning a complete set of HTTP headers.

2004-03-22 Thread Svensson, B.A.T. (HKG)
I am curious about why the following error: "The specified CGI application misbehaved by not returning a complete set of HTTP headers." is generated while trying to read data from an empty pipe. ** DISCUSSION: I have an (working) appli

php-windows Digest 22 Mar 2004 10:36:12 -0000 Issue 2176

2004-03-22 Thread php-windows-digest-help
php-windows Digest 22 Mar 2004 10:36:12 - Issue 2176 Topics (messages 23210 through 23215): Web Server Setup hel pleas 23210 by: Student 23212 by: Viraj Kalinga Abayarathna 23213 by: Svensson, B.A.T. (HKG) 23214 by: Viraj Kalinga Abayarathna Re: WEB S

[PHP-WIN] Re: The specified CGI application misbehaved by not returning acomplete set of HTTP headers.

2004-03-22 Thread DvDmanDT
I would suspect popen() happends to output STDERR, and that dir returns some STDERR when no files are found, or when the argument is invalid.. And if so, the STDERR message would get output directly to the webserver, and if it contains two newlines (which it does really I think), the webserver woul

RE: [PHP-WIN] Slash problem in link

2004-03-22 Thread Harpreet
My images folder and the login page is at the root of my main project. f:/inetpub/wwwroot/project/login.php f:/inetpub/wwwroot/project/images\onlylogo.gif" The link works in the login.php at home but does not work Customers path is C:\project\servicepack\WebPages\login.php C:\project\servicepa

Re: [PHP-WIN] Slash problem in link

2004-03-22 Thread Luis Moreira
This is not PHP related... What is your server, IIS or Apache ? If it is Apache, do you have ALIAS ? It is different to alias /images (with trailing slash) and images (WITHOUT trailing slash), you know ? Luis - Original Message - From: "Harpreet" <[EMAIL PROTECTED]> To: <[EMAIL

[PHP-WIN] MySQL query to generate Array

2004-03-22 Thread Tony Devlin
How do you setup a mysql query to generate an array? I want to take URL and URLName from a database and use it to create an array called links. I know how to do the array and the mysql seperately, I don't know how to make the results of the mysql become the key=>value pairs in the array. Any

[PHP-WIN] Submitting forms

2004-03-22 Thread Gerardo Rojas
I've noticed that when you want to submit a form using the MyForm.submit(); method. This fails when the file is named *.php, but when it's name *.htm it works fine. Anybody have a workaround for this? I want to submit the form on the onChange event of an element within the form. -- Gerardo

[PHP-WIN] Major apache start error!!

2004-03-22 Thread Matt Gagné
Hey all! First post to this forum! Woo Hoo! Anyway, here's the poop. With Apache 1.3.14 for windows (php said working with Apache2 was experimental so I went with version that was not) and php 4.3.4 for win and I have these lines enabled in the httpd.conf (as per php install.txt): LoadModule php4

RE: [PHP-WIN] Re: The specified CGI application misbehaved by not returning acomplete set of HTTP headers.

2004-03-22 Thread Svensson, B.A.T. (HKG)
Sounds like a resonable explanation. I'll will test your suggestion. -Original Message- From: DvDmanDT To: [EMAIL PROTECTED] Sent: 22-3-2004 12:44 Subject: [PHP-WIN] Re: The specified CGI application misbehaved by not returning acomplete set of HTTP headers. I would suspect popen() happen

[PHP-WIN] back slash issue

2004-03-22 Thread Ron.Herhuth
I have a situation where I need to use backslashes as part of the string: $errorCode = $TK->OpenOutputFile("D:\public\k1\compiledCIO\$filename"); Obviously in the above example the backslash terminates the following character which causes a problem. I have tried several different arrangements a

RE: [PHP-WIN] back slash issue

2004-03-22 Thread David Felton
Try: $errorCode = $TK->OpenOutputFile("D:\\public\\k1\\compiledCIO\\$filename"); -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 22 March 2004 4:32 To: [EMAIL PROTECTED] Subject: [PHP-WIN] back slash issue I have a situation where I need to use backslashes as

Re: [PHP-WIN] MySQL query to generate Array

2004-03-22 Thread Luis Moreira
Try something like this (UNTESTED) // array1 is temporary array // array2 is the one to fill with query results $array1= array("URL"=>"nul","URLN"=>"nul"); $array2= array( 1=>array("URL"=>"","URLN" => "") ); // $n is counter of registers // begin mysql query // foreach element // $row[0] i

Re: [PHP-WIN] back slash issue

2004-03-22 Thread Luis Moreira
Escape the backslash before using it $errorCode = $TK->OpenOutputFile("D:\\public\k1\\compiledCIO\\$filename"); Luis - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, March 22, 2004 4:32 PM Subject: [PHP-WIN] back slash issue > > I have a situation

Re: [PHP-WIN] MySQL query to generate Array

2004-03-22 Thread trystano
Are you trying to create a breadcrumb trial? Tryst -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP-WIN] MySQL query to generate Array

2004-03-22 Thread Tony Devlin
Something of that sort. What I'm trying to do is dynamically create links on a site. [Home] [Page1] [Page2] etc. The array would look something like array("Home" => "index.php", "Page1" => "Page1.php"); The site is dynamically created. The user is able to create and edit new pages and thus

RE: [PHP-WIN] MySQL query to generate Array

2004-03-22 Thread trystano
Check out my thread on a similar issue... http://www.sitepoint.com/forums/showthread.php?t=158703 Tryst -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-WIN] Re: Major apache start error!!

2004-03-22 Thread Matt Gagné
Sorry, forgot to mention that I am on WinXP Pro Matt "Matt Gagné" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hey all! First post to this forum! Woo Hoo! > > Anyway, here's the poop. With Apache 1.3.14 for windows (php said working > with Apache2 was experimental so I went with

[PHP-WIN] Re: PHP WINDOWS 2000 Testing Oracle DB with PHP

2004-03-22 Thread Thierry B.
You gave permissions on c:\php, but not on 'c:\WinNt\System32\ (access denied). By the way, you can leave extensions files where the are (c:\php\extensions) and add this path tou your system path. -- Click below to answer / cliquez ci dessous pour me repondre http://cerbermail.com/?MQkxTL4vUP "Ra

[PHP-WIN] Re: php5isapi.dll not handling MySQL

2004-03-22 Thread Thierry B.
MySql libraries are not built in php anymore (5+), since there is now two libraries, one that handle Mysql 3 and early 4, and a new one for 4 and +. TB -- Click below to answer / cliquez ci dessous pour me repondre http://cerbermail.com/?MQkxTL4vUP "Don McFarland" <[EMAIL PROTECTED]> a écrit dan

[PHP-WIN] Replicating Double quotes

2004-03-22 Thread Trystano
Hi all, I have a problem in that when I am retrieving data from MySQL that containes double quotes, the double quotes gets repeat, and also the string that does contain double quotes gets double quotes added to the begin and end of it For example I get the following: "16"" Manikin" >From what

php-windows Digest 23 Mar 2004 00:50:20 -0000 Issue 2177

2004-03-22 Thread php-windows-digest-help
php-windows Digest 23 Mar 2004 00:50:20 - Issue 2177 Topics (messages 23216 through 23233): Re: The specified CGI application misbehaved by not returning acomplete set of HTTP headers. 23216 by: DvDmanDT 23222 by: Svensson, B.A.T. (HKG) Re: Slash problem in link 232