Forum Moderators: coopster
An object with no properties is no longer considered "empty".
What does this mean exactly? I have the following script that is important to my site :
if (empty($stringID)) {
header("Location: http://www.example.com/page.php");
exit();
}
This tests to see if the URL that the visitor entered has a required variable. If it doesn't it diverts to another page. How does php5 handle this?
[edited by: eelixduppy at 3:48 am (utc) on Jan. 16, 2008]