Here's the thing : I did a php script, in PHP4, for handling forms and mailing the data using templates.
Problem is, the server is as to be used on as only php 3.0.16, and some of my script expressions don't work!
exemples :
$pattern = ereg("{{[A-z0-9_]*}}", $var2use[$index]);
Works well in php4, but generates a syntax error with php3(most of my ereg_replace do the same too)
eval( "\$line = \"$line\";" );
#$line is taken from a template, which DO contain html. Again, all this worked well in php4, but in php3 generates parses errors!.
Please, I need help on how to make my script work in php3, teh server seem unwilling to upgrade to PHP4 ... (even after repeated requests that they update their darn software)
Vempyre