Search found 5 matches

by benjaminitk
Wed Mar 14, 2012 8:44 am
Forum: Other
Topic: Using XAMPP to upload & send files from localhost
Replies: 1
Views: 750

Using XAMPP to upload & send files from localhost

Hi i'd like to know how I can set up my localhost in order to send e-mails as the mail() function isn't working in php. I'd also like to know how if possible I can upload files, probably zipped and unzipped word and pdf documents, to the localhost and send them from localhost in an e-mail. I've got ...
by benjaminitk
Tue Mar 13, 2012 12:10 am
Forum: Tutorials
Topic: PHP Tutorial: Email File Attachments [part 02]
Replies: 6
Views: 1127

Re: PHP Tutorial: Email File Attachments [part 02]

OK now I'm really lost and confused. I've downloaded XAMPP package for windows, so now using this tutorial I should be able to email people using these scripts. I can use my localhost to set up and send emails to different accounts can't I? Or am I breaking down : @? I have Mercury, this will allow ...
by benjaminitk
Mon Mar 12, 2012 9:54 pm
Forum: Tutorials
Topic: PHP Tutorial: Email File Attachments [part 02]
Replies: 6
Views: 1127

Re: PHP Tutorial: Email File Attachments [part 02]

Ahh thanks. It looks like I need to set my "SMTP settings in my ini file - Warning: mail() [function.mail]: Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set() in C:\xampp\htdocs\core\inc\ma...
by benjaminitk
Mon Mar 12, 2012 9:19 pm
Forum: Tutorials
Topic: PHP Tutorial: Email File Attachments [part 02]
Replies: 6
Views: 1127

Re: PHP Tutorial: Email File Attachments [part 02]

Thanks for the quick reply, I was just looking into all sorts of solutions on the net, some awkward techniques using PEAR. That's gotten rid of the error, thanks there's one more still.. Warning: mail() [function.mail]: "sendmail_from" not set in php.ini or custom "From:" header ...
by benjaminitk
Mon Mar 12, 2012 7:32 pm
Forum: Tutorials
Topic: PHP Tutorial: Email File Attachments [part 02]
Replies: 6
Views: 1127

PHP Tutorial: Email File Attachments [part 02]

I'd like to start just by saying thanks for making the tutorials, they're so easy to follow. Whilst attempting this tutorial, I've got to the end and I have the following error message on the mail.inc.php script : Parse error: syntax error, unexpected '(', expecting ')' in C:\xampp\htdocs\core\inc\m...