[PHP-WIN] mail in WIN2K

2002-07-15 Thread MAAS
Hi Iam trying to use mail in WIN2K PRO, I use IIS. But I only get this in my browser Warning: Server Error in c:\inetpub\wwwroot\log.php on line 23 I use code like this. But what should I use for headers? mail($recipient, $subject, $msg, $mailheaders); Should I do anything in php.ini? I have

[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

php-windows Digest 16 Jul 2002 07:03:22 -0000 Issue 1243

2002-07-15 Thread php-windows-digest-help
php-windows Digest 16 Jul 2002 07:03:22 - Issue 1243 Topics (messages 14769 through 14779): MSSQL and NT Authentification 14769 by: Gabor Niederlaender 14777 by: Christoph Grottolo Re: Fopen errors out when opening a URL 14770 by: Brian Huff Clear Form onLoad

[PHP-WIN] Problem on file_exists()

2002-07-15 Thread Jack
Dear all I had a folder which the path is : (\\nedcoraa\pdf_reports\dealing room\report) it stores a lot of PDF reports in there. I'm trying to use the file_exists() function to detect if a specific file exist in this folder, but i got a problem is : It seems that php can go through (\\nedcoraa\pd

[PHP-WIN] PHP Network functions

2002-07-15 Thread Chris Knipe
Lo all, What extensions needs to be enabled to be able to use PHP's network functions in Windows? I'm specifically after the DNS related functions (getmxrr, gethostbyname & fsockopen)... Thank you kindly. -- me

[PHP-WIN] Re: MSSQL and NT Authentification

2002-07-15 Thread Christoph Grottolo
hi > I went after my problem with the NT authentification and I found out, > that if you want to make a NT-based Authentification (f.ex for an > ODBC-Connection) the I_USR will be seen as the actual user... > > I granted then rights to the I_USR in the DB, but this way, I cannot > distinguish whi

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] [PHP-DB] RE: PHP meetup [CROSS-POST] Meet other PHP Developersin Your Area

2002-07-15 Thread Martin Clifford
Yes, everyone please join up! I would love to find more developers in the Maryland area, and I'm sure others would in their areas as well! Let's do the great american get togeth... err... the great php get together! Martin Clifford Homepage: http://www.completesource.net Developer's Forums: h

[PHP-WIN] RE: PHP meetup [CROSS-POST] Meet other PHP Developers in Your Area

2002-07-15 Thread Jay Blanchard
[snip] No, it's not a dating service :) Want to meet other PHP developers in your area? Check out: http://php.meetup.com/ Pretty nifty idea... especially given the lack of user groups in the U.S. I thought for others who had not seen this I would post this. There is probably already a user

[PHP-WIN] Re: Clear Form onLoad

2002-07-15 Thread William Stickles
The index page has an include for the footer page...   Virile V lets men and women in a loving relationship restore the bond of closeness and intimacy that sometimes gets lost when sex becomes infrequent or unsatisfying. Simply put, Virile V,

[PHP-WIN] Re: Clear Form onLoad

2002-07-15 Thread William Stickles
The index page has an include for the footer... "William Stickles" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hello everyone. > I have been teaching myself PHP over the past few months. I have to say > that I am impressed with the learning curve for it.

[PHP-WIN] Clear Form onLoad

2002-07-15 Thread William Stickles
Hello everyone. I have been teaching myself PHP over the past few months. I have to say that I am impressed with the learning curve for it. I do have a problem that has popped up that maybe someone could help with. I have a javascript that clears my forms using the onLoad command for my other

[PHP-WIN] Re: Fopen errors out when opening a URL

2002-07-15 Thread Brian Huff
check out this ini value: allow_url_fopen its set to false for some versions of PHP. another thing, do a sanity check to make sure it works at all... like this: $fp = fopen ("c:\\temp\\test.txt", "r"); also note, you cant use include() or require() with remote files on windows. also note, i

[PHP-WIN] MSSQL and NT Authentification

2002-07-15 Thread Gabor Niederlaender
Hi all! I went after my problem with the NT authentification and I found out, that if you want to make a NT-based Authentification (f.ex for an ODBC-Connection) the I_USR will be seen as the actual user... I granted then rights to the I_USR in the DB, but this way, I cannot distinguish which use

php-windows Digest 15 Jul 2002 14:21:31 -0000 Issue 1242

2002-07-15 Thread php-windows-digest-help
php-windows Digest 15 Jul 2002 14:21:31 - Issue 1242 Topics (messages 14763 through 14768): Re: Quick request (ereg?) 14763 by: Ross Fleming HEAD METHOD 14764 by: nimesh Kocheta Re: SESSION QUESTION 14765 by: Tomator SNMP -> LOG 14766 by: MAAS CGI Error

[PHP-WIN] fputs - need help!!

2002-07-15 Thread MAAS
Hi I use this line fputs ($sysname_log, "$time - SystemName: $sysname\n"); I would like to get a log file, and everytime I refresh this page it will make a new line and write $the local time - SystemName: $sysname So after a while it will look like this $the local time - SystemName: $sysname

[PHP-WIN] CGI Error

2002-07-15 Thread David Elliott
Hi all, I am getting this error. ==8<= CGI Error The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return are: FATAL: emalloc(): Unable to allocate 1949066614 bytes

[PHP-WIN] SNMP -> LOG

2002-07-15 Thread MAAS
Hi I would like to collect data from snmpget and log it. Anyone have a idea how to do this? // maas, Sweden -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-WIN] Re: SESSION QUESTION

2002-07-15 Thread Tomator
> Is there a bug in php4.2.1 dealing with sessions? I am using $_SESSION to > set my session variables and it will not work. Can anyone offer examples > that they have used that work? I am going insane. I had similar problem, so I realized that $_SESSION["name"]=value starts working after som