Page 1 of 1

Call to undefined function

Posted: Sun Aug 18, 2002 1:47 am
by jamesm
I think I may have a settings problem.

If I use the mail function:
$mail($to,$subject,$msg,$mailheaders);

I receive:
Fatal error: Call to undefined function: () in C:\Apache Group\Apache2\htdocs\mailit.php on line 19

Also a similar thing happens with cURL calls.

Running Win98 Apache HTTP Server Version 2.0, PHP4.2.2

Any ideas?
Thanks

Posted: Sun Aug 18, 2002 1:58 am
by hob_goblin
why do you have a $ before the function


try


mail()

instead of

$mail()

Progress!

Posted: Sun Aug 18, 2002 2:10 am
by jamesm
Thanks, I assumed it was the same as my cURL problem!