View Full Version : Does anyone know where to find...
Massiel
02-16-2002, 08:52 AM
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?
Lesane
02-16-2002, 09:06 AM
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).
Massiel
02-16-2002, 09:29 AM
Thank you so much Lesane, that was great info! I am going to look into it and see how I go... :D
Massiel
02-16-2002, 02:01 PM
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 :)
Lesane
02-17-2002, 10:34 AM
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:
letter.php?pw=vbulletin
After that you come to a page where you can type the subject and the body of the newsletter.
Good luck ;)
Massiel
02-17-2002, 01:29 PM
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?
Lesane
02-17-2002, 01:37 PM
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.
Massiel
02-17-2002, 01:42 PM
Thank you Lesane!! works like a charm, thanks for your patience and kindness! :D
Lesane
02-17-2002, 02:03 PM
Your welcome :D
vBulletin® v3.8.12 by vBS, Copyright ©2000-2024, vBulletin Solutions Inc.