[PHP] PLEASE SIGN-ME OFF !
PLEASE SIGN-ME OFF ! I've sent already all emails requested to sign-me off this list, but I keep receiving emails Sergio Treiger - Original Message - From: Stefan Rusterholz [EMAIL PROTECTED] To: Dani [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Wednesday, January 16, 2002 11:09 AM Subject: Re: [PHP] CONTINUE - variable problem - help! whoops, typo: echo (isset($row[somename_$var]) $row[somename_$var] !== ) ? $row[somename_$var] : Sorry, but \$row[\somename_$var\] is not set.; above code should be correct :) (notice: it's only 1 line - email could display it on multiple lines). and here a smaller explanation of the ternary operator (?:): echo (condition) ? condition is true : condition is false; if conditions evaluates to true then PHP interprets it like echo condition is true; else echo condition is false; best regards Stefan Rusterholz -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] PLEASE SIGN-ME OFF !
PLEASE SIGN-ME OFF ! I've sent already all emails requested to sign-me off this list, but I keep receiving emails - Original Message - From: Nicolas Costes [EMAIL PROTECTED] To: PHP ((E-mail)) [EMAIL PROTECTED] Sent: Wednesday, January 16, 2002 12:01 PM Subject: [PHP] GetHostByName Hi all !!! I've made a PHP script which takes IP's of my network (x.x.x.2 - x.x.x.254) and then uses GetHostByName() to resolv names of the machines if they exist. (This is in order to check for free IP's and redo my DHCP config) But this only works for my own machine, because I filled my /etc/hosts with it's address and name... PHP (Or Linux) doesn't try to check outside What can i do ??? Do I have to lauch any kind of daemon to resolve names ??? Most of my machines are addressed by DHCP. Note : Same kind of program written with C++ returns Unknown Host Thanx, -- ( ° Nicolas Costes //\\ IUT de La Roche / Yon / \/ ) [EMAIL PROTECTED] '- http://luxregina.free.fr -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] PLEASE SIGN-ME OFF !
At 08:17 AM 1/16/2002, treiger wrote: maybe if you wern't totally retarded you read the footer of this email and EVERY other email that passed through this list. ~kurth PLEASE SIGN-ME OFF ! I've sent already all emails requested to sign-me off this list, but I keep receiving emails Sergio Treiger - Original Message - From: Stefan Rusterholz [EMAIL PROTECTED] To: Dani [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Wednesday, January 16, 2002 11:09 AM Subject: Re: [PHP] CONTINUE - variable problem - help! whoops, typo: echo (isset($row[somename_$var]) $row[somename_$var] !== ) ? $row[somename_$var] : Sorry, but \$row[\somename_$var\] is not set.; above code should be correct :) (notice: it's only 1 line - email could display it on multiple lines). and here a smaller explanation of the ternary operator (?:): echo (condition) ? condition is true : condition is false; if conditions evaluates to true then PHP interprets it like echo condition is true; else echo condition is false; best regards Stefan Rusterholz -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]