View Single Post
  #1 (permalink)  
Old 04-01-2004
alesio alesio is offline
Registered User
 
 
Join Date: Nov 2003
Location: sz
Posts: 9
About IcePHP exception?

hi,
I have a problem with the ice exception.The follow code is a part of "hello.php" demo.if the Apache server is not run,it will catch the connection exception.then if I try to connect a few times, the memory error
dialog is display.WHY?
Besides that, all the user exceptions have the same status. Wish you can give me a good news,thanks.


<?php
Ice_loadProfile();
try
{
$p = $ICE->stringToProxy("hello:tcp -p 10000:udp -p 10000");
if($p->ice_isTwoway())
{
$hello = $p->ice_checkedCast("::Hello");
}
}
catch(Ice_LocalException $ex)
{
echo "<pre>\n";
print_r($ex);
echo "</pre>\n";
}
?>
Reply With Quote