[PHP] Simple Mail

2002-08-14 Thread Dave Leather
Something is VERY weird with trying to send mail. I am running Apache for windows and trying to send mail... using a line such as mail("[EMAIL PROTECTED]", "My Subject", "Line 1\nLine 2\nLine 3"); But I get an error of Warning: Failed to Connect in c:\program files\apache group\apache\htdocs\c

[PHP] Simple date question

2002-08-12 Thread Dave Leather
I hope this is a simple date question I am using an MSSQL database, and have a datetime field called start_date and end_date. When I use query analyser and do a SELECT start_date from CF_#orders The format is 2002-08-11 12:13:44.000 In Php - my code is start_date; ?> The format is now Aug 1

[PHP] HELP with forms

2002-08-02 Thread Dave Leather
Is there a way to read a FORM varaiable into PHP variable. The kicker here is the form variable is in a framed window. Example, I have my main page in a 2 part frame (90%/10%). The bottom 10% has a form on it called 'fileform' with one text box called filevalue -- source snippit -- -- end

[PHP] Creating a dbase file on a virtual directory with IIS

2002-06-26 Thread Dave Leather
Running IIS4 on NT 4 server... Have a VIRTUAL directory setup to a Novell netware drive.. I have the virtual directory called PI. My IIS server is called FLC So.. when I go to //FLC/PI - I see a directory listing. No problem. When I attempt a $DbName = '//flc/pi/test.dbf'; $TableDef = arra

[PHP] Re: PHP with IIS

2002-06-24 Thread Dave Leather
error... Warning: unable to open database http://flcintranet/pi2000/ordentry/1/orders.dbf in C:\InetPub\wwwroot\pappreport.php on line 80 I am going INSANE! I have no logical explanation for this... ANY ideas... Dave "Dave Leather" <[EMAIL PROTECTED]> wrote in message

Re: [PHP] PHP with IIS

2002-06-24 Thread Dave Leather
pt.dbf . If you were using a linux/unix > machine I'd tell you to check the permisions on this directory to make sure that > apache can write to it. I wish I could help you out further, but I don't do > windows. > > James > > -Original Message- > From: D

Re: [PHP] PHP with IIS

2002-06-24 Thread Dave Leather
uot;, 25), array("STATE", "C", 2), array("ZIP","C", 10), array("TOTAL", "N", 10, 2) ); // creation Print "attempting to create $dbname"; if (!dbase_create($dbname, $TableDef)){ print "Error cr

Re: [PHP] PHP with IIS

2002-06-24 Thread Dave Leather
tudent5830">news:00ca01c21ba6$b2b36ea0$7432260a@student5830... > Does the user to which ISS runs under have network permissions to access p:\ > ? > IIRC you need to set up ISUR_machine_name to have permission to the remote > share. > > Andrew > - Original Message - &g

[PHP] PHP with IIS

2002-06-24 Thread Dave Leather
Hello all, I am attempting to open and/or create a DBASE file on a NOVELL network. When I attemp a command such as if (!dbase_open("C:\\orders.dbf",2)){ print "COULD NOT OPEN DB"; }else{ print "DB WAS OPENED"; } I receive a message that says "DB WAS OPENED - no problem... On my IIS