Hello,
I have written the following php code:
<?php
$sTemp = msg[1];
$iLength = strlen($sTemp);
$sFind = ',Related';
$iPos = strpos($sTemp, $sFind);
?>
When I run this code, I am getting an error on
Line 2 and Line 4 saying "object required".
Does anyone know why I would be getting these errors?
I have used this php code on other servers before with no problem, but when I recently used it on a new server I am working on I get errors.
I have written the following php code:
<?php
$sTemp = msg[1];
$iLength = strlen($sTemp);
$sFind = ',Related';
$iPos = strpos($sTemp, $sFind);
?>
When I run this code, I am getting an error on
Line 2 and Line 4 saying "object required".
Does anyone know why I would be getting these errors?
I have used this php code on other servers before with no problem, but when I recently used it on a new server I am working on I get errors.