I've just taken over a site written in php and I'm struggling with this error message:
Deprecated: Function eregi_replace() is deprecated in /home/content/myserverdetails/myfile.php on line 203
The code is from a program that sends out ecards. The errors relate to the following lines:
$output = eregi_replace("\"",""",$output);
$this->send_text = ereg_replace('"','"',$postcard_text);
$this->card_text = ereg_replace('"','"',$postcard_text);
Is is possible to tell just from that code what I need to change? I'm running php 5.3. I'm trying to learn the basics of php but I would really appreciate any pointers to help get rid of this error. Thanks!