Few suggestions for this: For sending email, you can use mail() function. We have PHPmailer class which has lot more options to send a mail. I suggest you that.
For uploading daily news, you can either: 1. create a page daily_news.php and pass the ID parameter like daily_news.php?id=1234 and in your page accept the parameter and include a file wherever you want to display the news as $id=$_GET['id']; include($id.".txt"); In our example it include 1234.txt and So, everytime you have a news just create a text file and just pass this file name as parameter to the daily_news.php page. 2. Or you can keep your news in your database and pass the id in the url and retreive the news based on the ID in the url. But i dont think this is a good choice. These are just in my view. There will be many others options. I hope seniors will come up with another good choice. All the best !! On Tue, Feb 3, 2009 at 1:31 PM, Habib ur Rehman <habib_afridi2...@yahoo.com>wrote: > HI friends > i am habeeb, > can any one send me some code of Email sending in php. > and also i want to build a magazine website where i can > daily upload the news..how can i do this.. > thanks a lot > > > -- "The tragedy in life doesn't lie in not reaching your goal. The tragedy lies in having no goal to reach." ---srujana [Non-text portions of this message have been removed]