View Full Version : Does anyone know where to find...

16 Feb 2002, 10:52
a php script for a newsletter? I want to add the newsletter feature to my site, but I don't know how to do it or where to find a good script, does anyone have any suggestions?

16 Feb 2002, 11:06
I'm using this simple newsletter on my site @ lesane-crooks.com.

To install:

Edit letter.php and letter.html and then upload all the 3 files and point the users to the letter.html and voila.

If you are searching more advanched newsletters then you should check here (http://www.hotscripts.com/search/?query=newsletter&category=PHP).

16 Feb 2002, 11:29
Thank you so much Lesane, that was great info! I am going to look into it and see how I go... :D

16 Feb 2002, 16:01
I took a look at the newsletter you are using Lesane, what is the subscribers.txt for? Where do you get to type the actual newsletter? I am not familiar with how newsletters works at all... thanks in advance :)

17 Feb 2002, 12:34
subscribers.txt is the file that holds all the subscribers, all the emails.

When you opened letter.php then by the config you had the option to enter your own password. If you filled there for example vbulletin then you can reach the field where you have 2 type the newsletter like this:


After that you come to a page where you can type the subject and the body of the newsletter.

Good luck ;)

17 Feb 2002, 15:29
Lesane I was just trying it.... It is really cool, however I get the following messages after subscribing

Warning: fopen("subscribers.txt","a+") - Permission denied in /home/bigjozzy/public_html/newsletter/letter.php on line 82

Warning: Supplied argument is not a valid File-Handle resource in /home/bigjozzy/public_html/newsletter/letter.php on line 84

Warning: Supplied argument is not a valid File-Handle resource in /home/bigjozzy/public_html/newsletter/letter.php on line 85

Thank you for subscribing to the mailing list, a confirmation email is on his way! administrator@dietsupporters.com

I checked the subscribers.txt after subscribing 2 email addresses and nothing was there.... I also tried sending a newsletter and it said it sent it but I did not get anything hehe

Any ideas of what is wrong?

17 Feb 2002, 15:37
i forgot to say that you have to chmod the file subscribers.txt to 777. :o

If you are using wsftp then you can chmod subscribers.txt by right click on the file and choose for "chmod(UNIX)" and there you select everything and click on ok.

Chmod to 777 means that you give permissions to write to the file, if u didnt do that u receive errors like u had below.

17 Feb 2002, 15:42
Thank you Lesane!! works like a charm, thanks for your patience and kindness! :D

17 Feb 2002, 16:03
Your welcome :D