php-windows Digest 25 Mar 2001 11:17:28 -0000 Issue 509 Topics (messages 6273 through 6285): Re: Mail Functions under Win32 6273 by: almir PHP4 isapi on IIS 4/5 6274 by: almir 6275 by: Phil Driscoll 6278 by: almir Error in CGI Application in IIS 6276 by: James Brash 6277 by: Flint Doungchak 6281 by: James Brash 6283 by: almir 6284 by: Flint Doungchak Time zones table 6279 by: Andris Jancevskis 6280 by: Zane Appel Re: How to handle NULL value from Value property of Field object (ADO, DAO)? 6282 by: Jason Gan Accessing a DDE server 6285 by: Chris Hills 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] ----------------------------------------------------------------------
and what is problem wiht simply using mail(); yes path should be empty ""Schollnick, Benjamin"" <[EMAIL PROTECTED]> schrieb im Newsbeitrag [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > I'm not aware of a SENDMAIL equivalent that comes with Windows NT, and I'm > trying to use a PHP script that uses the Mail() settings... > > from php.ini > > [mail function] > SMTP = lysithea.eastgw.x.com ; for Win32 only > sendmail_from = [EMAIL PROTECTED] ; for Win32 only > ;sendmail_path = ;for unix only, may supply arguments as well > (default is 'sendmail -t -i') > > Do I need a sendmail equivalent, and does anyone know of a free, but > supported package? > > I'm assuming that sendmail_path isn't suppose to be blank for W32.... > > - Benjamin > > -- > 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] >
does any of you have positive expiriences with that, I(our sysAdm) have tryied several times up to now but it was always very unstabile, and php4 in cgi cannot resolve \\filserver\projects\... it simply doesnt say anithing as this file would be <??> no error nothing , that is why we are using php3 still to develop and then we move it to linux when it is done, but does any of you have positive expiriences with php4 on windows anyhow almir
PHP4 in CGI mode is *very* stable on Windows. Cheers -- Phil Driscoll Dial Solutions +44 (0)113 294 5112 http://www.dialsolutions.com http://www.dtonline.org
yes but try using it in network envirement with //fileserver/projects/ or something like that, i cannot develop directly on web server , that is why we are still developing with php3, and do you know is it possible to use p_connect functions for DBs if you are running in cgi mode? and is isapi mode ever going to be available on windows ? -almir ps maybe it looks like like I do not like php or something like that, but that is not true otherwise, I would develop with asp :), I would just like to know why we can not use php 4 as it is supposed to be -----Originalnachricht----- Von: Phil Driscoll An: almir; [EMAIL PROTECTED] Gesendet: 24.03.01 14:48 Betreff: Re: [PHP-WIN] PHP4 isapi on IIS 4/5 PHP4 in CGI mode is *very* stable on Windows. Cheers -- Phil Driscoll Dial Solutions +44 (0)113 294 5112 http://www.dialsolutions.com http://www.dtonline.org
I recently installed PHP using the installer provided onto my Windows 2000/NT5 IIS... when I try and run anything with the .php extension I get the error: CGI Error The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return are: Thanks if you can help. James
James, I don't know if this applies to you, but I recently had the same problem. I assume you are using the CGI version. When you define the mime mapping in IIS, there is a checkbox that says: "Check for File Exists" If you do not have this checked and the file is non-existant, you will get this error. I don't know if this is your problem. If not, let me know. There are couple of more instances where this error could pop us. -Flint -----Original Message----- From: James Brash [mailto:[EMAIL PROTECTED]] Sent: Saturday, March 24, 2001 12:32 PM To: [EMAIL PROTECTED] Subject: [PHP-WIN] Error in CGI Application in IIS I recently installed PHP using the installer provided onto my Windows 2000/NT5 IIS... when I try and run anything with the .php extension I get the error: CGI Error The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return are: Thanks if you can help. James -- 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]
Thanks Flint - this did the trick James -----Original Message----- From: Flint Doungchak [mailto:[EMAIL PROTECTED]] Sent: 24 March 2001 20:36 To: 'James Brash'; [EMAIL PROTECTED] Subject: RE: [PHP-WIN] Error in CGI Application in IIS James, I don't know if this applies to you, but I recently had the same problem. I assume you are using the CGI version. When you define the mime mapping in IIS, there is a checkbox that says: "Check for File Exists" If you do not have this checked and the file is non-existant, you will get this error. I don't know if this is your problem. If not, let me know. There are couple of more instances where this error could pop us. -Flint -----Original Message----- From: James Brash [mailto:[EMAIL PROTECTED]] Sent: Saturday, March 24, 2001 12:32 PM To: [EMAIL PROTECTED] Subject: [PHP-WIN] Error in CGI Application in IIS I recently installed PHP using the installer provided onto my Windows 2000/NT5 IIS... when I try and run anything with the .php extension I get the error: CGI Error The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return are: Thanks if you can help. James
I had the same problem but this did not work , could you pleas send me (or the newsgroup) llist of "tricks" you have for this problem almir "Flint Doungchak" <[EMAIL PROTECTED]> schrieb im Newsbeitrag [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > James, > > I don't know if this applies to you, but I recently had the same problem. I > assume you are using the CGI version. > > When you define the mime mapping in IIS, there is a checkbox that says: > "Check for File Exists" > > If you do not have this checked and the file is non-existant, you will get > this error. I don't know if this is your problem. If not, let me know. There > are couple of more instances where this error could pop us. > > -Flint > > -----Original Message----- > From: James Brash [mailto:[EMAIL PROTECTED]] > Sent: Saturday, March 24, 2001 12:32 PM > To: [EMAIL PROTECTED] > Subject: [PHP-WIN] Error in CGI Application in IIS > > > I recently installed PHP using the installer provided onto my Windows > 2000/NT5 IIS... when I try and run anything with the .php extension I get > the error: > > CGI Error > The specified CGI application misbehaved by not returning a complete set of > HTTP headers. The headers it did return are: > > Thanks if you can help. > James > > > -- > 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] > > -- > 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] >
Almir, I think the other case could occur when you have a Header(Location: blah.html) to the same page as the script originates. I think... Give that a try and see if it get you anywhere. -Flint -----Original Message----- From: almir [mailto:[EMAIL PROTECTED]] Sent: Saturday, March 24, 2001 2:41 PM To: [EMAIL PROTECTED] Subject: Re: [PHP-WIN] Error in CGI Application in IIS I had the same problem but this did not work , could you pleas send me (or the newsgroup) llist of "tricks" you have for this problem almir "Flint Doungchak" <[EMAIL PROTECTED]> schrieb im Newsbeitrag [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > James, > > I don't know if this applies to you, but I recently had the same problem. I > assume you are using the CGI version. > > When you define the mime mapping in IIS, there is a checkbox that says: > "Check for File Exists" > > If you do not have this checked and the file is non-existant, you will get > this error. I don't know if this is your problem. If not, let me know. There > are couple of more instances where this error could pop us. > > -Flint > > -----Original Message----- > From: James Brash [mailto:[EMAIL PROTECTED]] > Sent: Saturday, March 24, 2001 12:32 PM > To: [EMAIL PROTECTED] > Subject: [PHP-WIN] Error in CGI Application in IIS > > > I recently installed PHP using the installer provided onto my Windows > 2000/NT5 IIS... when I try and run anything with the .php extension I get > the error: > > CGI Error > The specified CGI application misbehaved by not returning a complete set of > HTTP headers. The headers it did return are: > > Thanks if you can help. > James > > > -- > 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] > > -- > 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] > -- 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]
Hi, Does somebody point to or give information about ALL TIMEONES on the World. I want complete list and time difference for each. -- Best regards, Andris mailto:[EMAIL PROTECTED]
If only it were that easy. Due to local preferences some TZs do not observe Daylight Savings time so the "Time difference" depends a lot on what the date is and what rules that TZ uses to calculate the offset. I am in the process of writing an application (not in PHP) that will give the correct offset from GMT for a given time and date and it is pretty complex. I am basing my application on the data at ftp://elsie.nci.nih.gov/pub/ which has a list of all time zones, offsets and how to determine if you are in Standard or Daylight Savings time. It also looks like it has some C code and perl (I think) to parse the data but I don't know either of these so I am going to roll my own. Zane Appel On Sat, 24 Mar 2001 23:31:44 +0200, Andris Jancevskis <[EMAIL PROTECTED]> wrote: >Hi, > > Does somebody point to or give information about ALL TIMEONES on the > World. I want complete list and time difference for each. > >-- >Best regards, > Andris > mailto:[EMAIL PROTECTED]
I did not get an error when I accessed Fields(x)->value and Fields(x)->name where Cell in Fields(x) contains a null value. I have not tried it with a null field, but there is no such thing as a null field. Why would someone design a database where you would query "select [] from db"? :-) -----Original Message----- From: Alexander Nenashev [mailto:[EMAIL PROTECTED]] Sent: Sunday, 26 March 2000 3:45 AM To: [EMAIL PROTECTED] Subject: How to handle NULL value from Value property of Field object (ADO, DAO)? How to handle NULL value from Value property of Field object (ADO, DAO)? I get Warning: Unsupported variant type: 1 (0x1)
How can i access a dde server using php?