Forum: PHP Jul 16th, 2006 |
| Replies: 5 Views: 8,004 You have to fopen first before you can fread or fget.
$template = './email/signup.html';
$fd = fopen($template,"r");
$message = fread($fd, filesize($template));
// try output it on screen to... |
Forum: PHP Jul 15th, 2006 |
| Replies: 5 Views: 8,004 You can use Fread function to get the content of your webpage to $email variable. Then use str_replace function to replace any thing you want to change. If needed, you can also use explode function... |
Forum: PHP Jul 12th, 2006 |
| Replies: 2 Views: 1,599 You may have to use your ISP's SMTP setting. For example, I have to swap the SMTP setting for receiving mail at home and in the office using the same laptop. |
Forum: PHP Jul 10th, 2006 |
| Replies: 3 Views: 2,582 The BCC is part of header:
$headers="From: " . $_POST['email'] . "\r\n" .
"Inquiry: " . $_POST['inquiry'] . "\r\n" .
// ect etc
"Contact: " . $_POST['contact'];
"BCC: " . $_POST['email'];
... |
Forum: PHP Oct 8th, 2005 |
| Replies: 9 Views: 4,270 PHP, CFM and ASP are ideal for voting system. All these can do the same thing using different scripting methods. It is more important to know what kind of server you are going to use (depends on... |