Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Parse Error

Status
Not open for further replies.

Gazzieh

IS-IT--Management
Dec 18, 2006
117
GB
I have been working on an email php module but am encountering a problem attaching a file to the email.

The three primary lines relating to the error are:

801 $autoresponder_attachment_file = "hi.doc";
802
803 $autoresponder_attachment_path = ""/home/gazzanew/public_html/";
804
805 $autoresponder_attachment_content_type = "application/msword";

When I run the code I get the following error:

Parse error: parse error, unexpected T_STRING in /home/gazzanew/public_html/emailattach.php on line 805

Any ideas?
 
Yep. Thanks!

Just spotted it and corrected it and everything works fine.

Really grateful for your response.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top