[PHP-WIN] Re: undefined variable

2002-02-07 Thread daniel cozzolino
You can also avoid these errors by prefixing your variables like so: > if(@$user1==$USER && @$password1==$PASSWORD) { This has the advantage of skipping the error on this occasion rather than for all. dan "Nicole Amashta" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL P

[PHP-WIN] printing directly from php

2001-12-06 Thread daniel cozzolino
Hi all, I would like to print directly from php to the client default printer. i tried using the code example from php.net: $handle = printer_open(); printer_write($handle, "Text to print"); printer_close($handle); but get Fatal error: Call to undefined function: printer_open() which leads me t

[PHP-WIN] sendmail

2001-12-05 Thread daniel cozzolino
Hi all. i need to send a mail message from within a php script. running a windows server, is windmail the best option? any suggestions for sendmail alternatives? thanks. Dan -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,