Forum: PHP Jul 16th, 2006 |
| Replies: 5 Views: 7,801 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: 7,801 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: HTML and CSS Jul 13th, 2006 |
| Replies: 7 Views: 3,404 Use simply CSS wasn't take you 2 years to learn! The following is nice and simple solution to background colour:<table style="background-color: #123456"> |
Forum: PHP Jul 12th, 2006 |
| Replies: 2 Views: 1,586 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,523 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: JSP Oct 12th, 2005 |
| Replies: 25 Views: 15,211 Not sure why you choose JSP? It would be easier to program uisng PHP and ASP and there are tons of open source around. |
Forum: PHP Oct 8th, 2005 |
| Replies: 9 Views: 4,169 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... |