Re: [PHP-WIN] Re: PHP retrieve Client machine name

2005-11-17 Thread trystano
>Just enable Windows NTLM authentication in the PHP pages and use >PHP call >GetEnv("LOGON_USER"); How exactly would you enable Windows NTLM Authentication in PHP pages? Tryst -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] any fairly large production sites on IIS/PHP out there?

2005-11-17 Thread Armando
I have to agree with Matt on this. I don't personally know of anyone that runs that kind of volume in an IIS/PHP environment specifically because they were also not confident with this approach - they all went the Apache route; the modular structure was the biggest feature point. Most people I

Re: [PHP-WIN] Re: PHP retrieve Client machine name

2005-11-17 Thread Manuel Lemos
Hello, on 11/17/2005 10:55 PM Frank M. Kromann said the following: I Think the corret answer to this question is $REMOTE_ADDR or $_SERVER['REMOTE_ADDR']. This will return the IP address of the client that connects. Right, for some reason I read he wanted the Windows client user name. -- Rega

Re: [PHP-WIN] Re: PHP retrieve Client machine name

2005-11-17 Thread Frank M. Kromann
I Think the corret answer to this question is $REMOTE_ADDR or $_SERVER['REMOTE_ADDR']. This will return the IP address of the client that connects. - Frank > Hello, > > on 11/17/2005 02:42 PM Alf Stockton said the following: > > In a PHP 5.0 program running under Windows 2000 with Apache 2 I nee

[PHP-WIN] Re: PHP retrieve Client machine name

2005-11-17 Thread Manuel Lemos
Hello, on 11/17/2005 02:42 PM Alf Stockton said the following: In a PHP 5.0 program running under Windows 2000 with Apache 2 I need to retrieve either the client machine name or the client machine IP. Is this possible ? Just enable Windows NTLM authentication in the PHP pages and use PHP c

Re: [PHP-WIN] Printing in windows

2005-11-17 Thread Frank M. Kromann
Hi Fernando, the printer_write() function writes directly to the printer and you do not need to call printer_start_doc(), priner_start_page() etc. These functions must be used if you are printing useing the printer_drap_text(). Here is two examples from the documentation: - Frank > > Gr

RE: [PHP-WIN] any fairly large production sites on IIS/PHP out there?

2005-11-17 Thread Matt Murphy
I'd recommend Apache on windows, IIS seems like it's not very widely used or very well supported. Matt > -Original Message- > From: Travis Raybold [mailto:[EMAIL PROTECTED] > Sent: Thursday, November 17, 2005 10:03 AM > To: php-windows@lists.php.net > Subject: [PHP-WIN] any fairly lar

[PHP-WIN] Printing in windows

2005-11-17 Thread Fernando Ocampo Ramón
Greetings from Mexico. I wrote an script to pull some data from a database and created a report to be printed directly by php. All went fine until i noticed that after the actual printing there is an extra blank page. I've tried on a Epson FX980 and several HP LaserJet Printers with the same

Re: [PHP-WIN] Manipulating images

2005-11-17 Thread Paul Menard
Well first of all the HTML image tag you provided '' really have no play in processing for PHP or Apache. This is pass-through code. In other words you are parsing this via PHP to build the filename for the img src= attribute but the fact the file does not actually exist is not a concern of PHP

[PHP-WIN] Manipulating images

2005-11-17 Thread Marcos R. Cardoso
Hello, we use here a script to convert our users' photos into thumbnails using the functions imagecreatefromjpeg(), imagejpeg() and others. Later we found out that we could simply use a tag like the one below, since the photos are thumbnails nowadays. "<"img src="<"?=$code.'-'.$digit?">".jpg

[PHP-WIN] PHP retrieve Client machine name

2005-11-17 Thread Alf Stockton
In a PHP 5.0 program running under Windows 2000 with Apache 2 I need to retrieve either the client machine name or the client machine IP. Is this possible ? -- Regards, Alf Stocktonwww.stockton.co.za Linux 2.6.12-9-386 Q: How can you tell when a salesman is lying? A: Wh

[PHP-WIN] any fairly large production sites on IIS/PHP out there?

2005-11-17 Thread Travis Raybold
i am trying to switch our application over to PHP (currently ASP). unfortunately, due to the complexity of both the code and the site setup (hundreds of sites using the same code) it needs to be a sectional replacement. given that and the lack of in house support for linux/unix, the only realis

Re: [PHP-WIN] Apache on Win2k errors

2005-11-17 Thread Bob Stout
Alf Stockton wrote: > When I look in the Apache log file I find the following occurring over > and over. > > [Wed Nov 16 21:40:51 2005] [notice] Parent: child process exited with > status 1 -- Restarting. > [Wed Nov 16 21:40:51 2005] [notice] Apache/2.0.53 (Win32) PHP/5.0.3 > configured -- resumin

Re: [PHP-WIN] Re: Command mode question

2005-11-17 Thread TonyY
Marc, That's correct, thanks for the help. I was not able to remember I was using cmd.exe before, and now trapped by command.com. It's great to see things working again. Tony Marc Ferguson <[EMAIL PROTECTED]> wrote: Hi Tony, I tried cd \Program Files and cd "\Program files" and they wor

[PHP-WIN] Apache on Win2k errors

2005-11-17 Thread Alf Stockton
When I look in the Apache log file I find the following occurring over and over. [Wed Nov 16 21:40:51 2005] [notice] Parent: child process exited with status 1 -- Restarting. [Wed Nov 16 21:40:51 2005] [notice] Apache/2.0.53 (Win32) PHP/5.0.3 configured -- resuming normal operations [Wed Nov 16 2

Re: [PHP-WIN] Double quotes and HTML

2005-11-17 Thread trystano
Try the following... "; else echo ""; ?> ... you just need to come out of the string and back into PHP code. You can do it within the string but I prefer to separate my PHP from strings so that I know where the logic is. Tryst -- PHP Windows Mailing List (http://www.php.net/) To unsu

RE: [PHP-WIN] Double quotes and HTML

2005-11-17 Thread Luis Moreira
There is nothing wrong with escaping the quotes. Your problem is a bad syntax. You need to "execute" the $_POST command, not print it. Try this if (isset($_POST["user_id"])) echo ""; else echo ""; Luis -Original Message- From: Wayne Khan [mailto:[EMAIL PROTECTED] Sent: