Re: [PHP] Find MAC Address in PHP

2007-04-24 Thread Puskás Zsolt ( Errotan )
Hi. Sorry for my bad english. :( Maybe you could write a simple deamon program in C or even in PHP to be run as root. The function of this deamon program is to listen to a port (eg. 1) and you could fsockopen it and send the IP address of the client computer and the deamon returns the MAC

Re: [PHP] PHP mail() problem

2007-03-20 Thread Puskás Zsolt ( Errotan )
Hi. Recently I have this kind of issue. This is a possible solution: $text=message text; $subject=message subject; $header=From: [EMAIL PROTECTED]. MIME-Version: 1.0\r\n. Content-type: text/html; charset=utf-8\r\n. Content-Transfer-Encoding: 8bit\r\n;

[PHP] suphp and header (Status: xxx yyyyy) not seeing default error page

2007-03-15 Thread Puskás Zsolt ( Errotan )
Hello everybody. Sorry for my bad english. I'm using apache 2.2.3-3.3 ; php 5.2.0-8-cgi ; suphp 0.6.2-1 on debian etch. I'm running php as cgi ( using suphp ). I can't get header (Status: 404 Not found); and other header (xxx) commands to send default error page like

Re: [PHP] suphp and header (Status: xxx yyyyy) not seeing default error page

2007-03-15 Thread Puskás Zsolt ( Errotan )
apache_get_modules() ] ). So I just clone them. I make a function to output the same as the apache error documents at least the header() function sends the correct header code. On 3/15/07, Puskás Zsolt ( Errotan ) [EMAIL PROTECTED] wrote: Hello everybody. Sorry for my bad english. I'm