Re: [PHP] unset()- newbie question

2001-05-22 Thread Chris Sano
"; unset( $array[ 'test' ] ); echo "after " . $array[ 'test' ]; ?> returns: before chris after hence, the unset function works fine for me. what version of php are you running? ""Tom"" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I can't seem to get uns

Re: [PHP] Class var not retaining values

2001-05-22 Thread Chris Sano
Is the class variable declared as an array? class test{ var $reasons = array(); function addReason( $score, $reason, $id ) { $reasons[ $index ] = "$score|$reason|$id"; } } Hope this helps, -C ""Bob"" <[EMAIL PROTECTED]> wrote in message 9ec2rm$etg$[EMAIL PROTECTED]">n

Re: [PHP] Network Connectivity help please

2001-05-20 Thread Chris Sano
You could always do a cron job and have a script run every 10-15 minutes, load the existing and connecting IP's in a text file and use another script to print out the latest successful pings. -C ""Brian"" <[EMAIL PROTECTED]> wrote in message 9e4msm$e5a$[EMAIL PROTECTED]">news:9e4msm$e5a$[EMAIL P

Re: [PHP] PHP and XHTML

2001-05-20 Thread Chris Sano
XHTML is just making your HTML documents XML ready. This means closing your tags, etc.. And Rasmus is right when he says PHP is 100% compatible with XHTML. -C <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > i won't pretend to be an XML guru, but isn't saying

[PHP] .phps on win32 (IIS5)

2001-05-18 Thread Chris Sano
Does anyone know how to create a PHP source file (.phps) in windows? I tried looking on the PHP site and had no luck.. Any help would be greatly appreciated.. Am running IIS5.0 with PHP4.0.5 Thanks! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED]