Is It Very Difficult To Setup A Simple Mailing List?
I've seen and been on mailing lists where there are a bunch of people on it, but, when you reply to "the list" you are actually replying to something like, "mailinglist@widgets.com". So I want to setup something like this for a special project. I'm imagining that when the server gets an email to "mailinglist" that it would basically just re-send the message to everyone on the list.
Is this very difficult or even advisable using PHP's mail function?
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Simple Quest But Difficult Enough
Just wonder how to validate one specific input field in a form processing script against a written variable in a form processing script. Just as a security measure against spam.
Mailing List Manager, Send To List
I'm looking for a mailing list script (php) that has a function to let users to reach out to all recipient on the list by simple send the email to a specific maillist- address. Mailman has this functionn but as a just got a webserver account I can't use mailman nor install it.
Php Mailing List
Can anyone point me to a php script that stores email addresses into a txt file? The purpose for this is for a mailing list, ideally if a user wanted to unsubscribe the email would be removed from the text file.
Php Mailing List
Is it possible to implement a mailing list using PHP?. I know I could maintain a list of emails addresses in a db and send mail to them through my website, but how can I get true mailing list behaviour where emails are sent to a particular address (like mailinglist@mydomain.com) and then distributed to all of the email addresses?.
Mailing List
I want to create a mailing list for my website but i have never done this before, I searched on google and all i found was free mailing lists but when a user subscribes, it takes them to the website that provides the free mailing list and it has an ad for them when i send out an email, can anyone help me create my own mailing list?
Mailing List
i insert the emails and their names so i can do it lik 'Hi {name}, wehave a great new product.. etc' OK but how do i send an email to he all the emails in the rows, using mail()?
Mailing List
I am making a simple mailing list, and i have created a form which adds a persons email to a php document. I'm not sure about how i woould remove an email from the php document though? Any ideas?
Mailing List
I am really interested in putting a mailing list on my website. I have only just discovered php and mysql and I found a program called php list on my cPanel X control panel on my website. I would like to put a text box on my navigation bar that has inside it "enter your e-mail" (when they click this disappears) and a button on the right of that which says "join" (I will have a jpg underneath this text box saying "Mailing List"). When someone clicks on "join" I would like them to get sent to a page with the e-mail address field filled out in the right table with what the address they entered in the navigation pane, along with a name field they can fill out and a Submit button. I have seen these on many websites so I assume it is not that hard to do, but I am pretty lost as to how everything is connected (the database (mysql?) and the php list program). I assume when they click submit it will send their details to a mysql database / send them a confirmation e-mail. I was wondering what code I will need to make this system work, as I have been reading and googling and I am quite lost as to the mechanics of how it all works.
PHP Mailing List Problem
Here's the problem: I've been trying to send to my mailing list using a PHP script, but the page that executes the send times out before the script can actually send to everyone on the list; only about the first half gets sent to.. Is there any possible way around this or to stop the browser from timing out?
Writing Mailing List In PHP?
what's the best way to write a simple mailing list program? If one tries to send email to over 600 addresses using mail(), a usual script will most likely timeout. So, the question is, what's the best way to sendout email to over 600 ppl?
Php Mailing List-> Performance
i wrote a php script that sends mail to a list of email generated from a database. this database contains about 8000 email adresses and depending on what the users chose in their preferences it sends out mail accordingly. in general this would come down to roughly 6000 emails per list. the script iterates through the list of email addresses and send out a new email to every email address found that fits the mailing type. the box doing this is an athlon 1400Mhz. now, my question, how heavy will this be for sendmail? i can imagine that this will take some time before all 6000 emails have been send. php is set in the ini to time out after 30 seconds and maybe this script will be running for longer than that with 6000 emails to send. i could test this but i dont think all of those people would be very happy receiving test emails. also, i could send just one mail with all those email addresses stuffed into the Bcc header but i dont know if that would make difference and if the php mail() function likes 6000 mail addresses in the Bcc header. anyone with experience with sending large volumes of mail like this have some advice for me?
Php Mailing List Operation
I'm using the mail() function to send out newsletters to subscribers, problem is that it seems a little unreliable... at the moment I assemble the mail outside a loop then iterate through all the mail addresses for($i=0;$i<$numaddresses;$i++){ mail($to[$i],$subj,$message,$fromstr); } should i be putting in a delay message or a retry_on_fail method or anything?
Subscription Mailing List
Im building my first php site and what im looking for is a simple tutuorial / example of a form which allows users to enter their email address, which is stored in my Mysql db. Also need to know how to go about mailing everyone who subscribes to my news letter. I know its probably quite simple, but i'd like to check for duplicate email addresses, verify email addresses (dont know if that possible) and allow them to un-subcribe.
Mailing List Using MySQL / PHP
I have written a database which uses PHP to run through each ID in the database and then generate a persons name and address to include into the rest of the PHP to send an email out. But as people have deleted or updated their details on this mailing list, I now have "holes" in database. Ordinarily not a problem, but the code I've written starts at ID 1 and after sending an email increments to the next ID. But when it encounters a now vacant ID, it sends an error email to me associated with that now blank ID row of data. How can I change my code that will increment through all the results in turn, but not give me these error emails when people have amended the database?
Timeout Mailing List?
i heave a mailing list with just over 700 people on it. on page one i have a form for newsletter to be typed in, then the person submits the form and the next page has the php to send out the newsletter to all the email addresses in the database. my problem is that the page times out and an connection error occurs, so i don't think everyone in the list gets emailed. how do i get around this problem?
Dynamic Mailing List?
I have a schedule of people that need reminders sent to them weekly. I have figured out how to set a Crontab to send the reminder automatically ... but the people are not the same every week. I know that I could build multiple scripts and hard code the email addresses, setting a cron job for each - but is there any way to build ONE script that will read a text file based on the date and pull the names/email addresses off of that?
Making A Mailing List
I have tons of members on my website, and I want to e-mail them all, but I do not want add all their names to a address book or e-mail them individually. So I was wondering after I flush(Erase) the database, when the user register the "script" will auto adds them to a mailing list, so I can download the mailing list and add it to my address book and e-mail them all at once. If there is a script already out there, can I have it?
Key Code Generation For Mailing List
I want to send a unique url to each member of my mailing list for mailing list removal purposes. I see this done all the time, but I'm not sure how they do it. I want the user to click on the link at the bottom of their email, which takes them to a page where they confirm there removal from the list. It doen't have to be super secure, its just a personal site, I just don't want idiots going in and guessing random addressess trying to get them removed from the list.
Remove From Mailing List Via Variables In URL
i have often joined other mailing lists and i notice that when emails are sent out there is usually an option to delete your email from the mailing list. i was wondering which is the best way to go about this. would it be a matter of sending a link in the email which is something like... http://wwwmysite.com/deletemail.php?somebody@somewhere.com deletemail.php being a simple script that takes that email addy and deletes it from the database? or is there a better way to do it?
Duplicate Mail When I Send A Mailing-list
I use mysql and the function mall to send a mailing-list. When I execute my script, certain person receives two or more identical messages. I think that the problem is in the server smtp which does not manage to send all the messages at the same time.
Adding A Mailing List To Vbulletin Registration
I have added yes and no buttons to an option called bsmailinglist in the form for registration on my forums. Now I want to have that answer handled according to the following code. I have the yes button set to TRUE and the no button set to FALSE. After adding the folloing code to the script that handles the form (register.php), I get a parse error on the last line of php, the closing php flag. Code: function BSwrite ($email) { $BSfile = "bsmailinglist.txt"; $BSopen = fopen ($BSfile, "a"); if ($BSopen) { fwrite ($BSopen, "$bsmailinglist, "); fclose ($BSopen); } // end BSwrite Function if ($bsmailinglist) { BSwrite(); }
Php Sending Mails To Mailing List Show Strange Headers
i need to send a mail to one mailing list address.when i sent to this the from address comes as newsletter-request@abc.com; on behalf of; ABC[abc@abc.com] where newsletter@abc.com is the mailing list id abc@abc.com is the moderator id when i change the to address to any other email address other than this mailing list, the from field works fine. i have given the mailing list, in the Bcc header.
Very Simple Drop-down List...
Hi! I'm having a problem with a very simple drop-down list since the page comes out with no elements in the drop-down but giving no errors. This is the code: <form name="year_search_form" method="post" action="results.php"> <select name="select_year" id="select_year"> <? $query="SELECT * FROM table ORDER BY year"; $result = mysql_query($query) or die ("Error in query: $query. " ..mysql_error()); while ($line = mysql_fetch_array($result)) { print ("<OPTION value=".$line['year']."></OPTION>"); } ?> </select> </form>
Simple 'Who's Online?' List
I can figure out how to add people to the list. I'd presume you'd have a column in a database table called on/off. In them, you could either have 1 or 0. If someone's online, 1, if not, 0. I'd guess that the 1 would be written as they log in and the sessions are registered. But, how do you write the 0? At what point is that written? So basically, how would you do it, and code if possible?
Creating Simple Unordered List Menu From XML?
Does anyone have any examples or links to examples of generating a simple unordered list menu with multiple levels from an XML file? We are redesigning the navigation on our website and I was hoping to make this as flexible as possible.
Very Difficult Or Impossible
Hi, this morning I have seen that the script at pagina: http://www.teachingonline.it/script/statistiche2.php wasn't working properly With this code I estract the day of the week in numeric format $data=$record['Data_Visita']; // year-month-day date format $anno=substr($data,1,4); $mese=substr($data,6,2); $giorno=substr($data,8,2); $utime = mktime (0,0,0, $mese,$giorno,$anno,-1); $weekday=date('w',$utime); if ($weekday==0) $weekday=7; // days from 1 to 7 (in Italian) echo $weekday; This code has worked correctly before sept 30, after this day, I should have had weekday=6, then 7, then 1 again, but after 5 I get 3, and so on
Simple Mailling List Framework Wanted (not Email)
I am looking for a simple mailing list and label maker application in PHP. The main code I want is the editing and lookup of records as I will add the label printing. Maybe someone knows of a free PHP framework mailing list application. 1) Displays data from a single table in either form or list style. 2) Allows, add, edit, delete, next, previous, last, first 3) Filter and Order By MySQL or other ODBC database is ok. I will be using fpdf.org for the label maker to generate the labels in PDF format.
Simple A-Z Link List For Searching Mysql Database
I'm trying to set-up a simple A-Z list so that people can search a mysql database by each letter. Click on "A" get all records in the DB that start with "A". I have it working no problem but i want to be able to add "#" so that the user can get all records that start with a Number. For some reason the query i'm running won't grab any records that start with a number? here is the query:
Simple Script For Doing A Simple Photo Album And Journal?
I'm looking to quickly get a photo album online. Very simple, thumbnails, a few pages, maybe a description, but hopefully a small script that's easy to edit and work into my existing site. I know about hot scripts, etc. but I was wondering if any one could recommend one? Secondly, I also want to setup a journal. It's not really a "blog" although I guess blog software may work. But it isn't going to be a message board or anything like that. Just a place to put out random bits of news. Once again, same premise, I'm trying to find the most simple script possible that could basically traverse a directory of simple textfiles and produce a list. I know all about Blosxom and stuff like that, but I'd like a script that just did the above and didn't overtake my site like PHPNuke or something like that. I'll probably roll my own, but I thought I'd check first.
XML DOM Setup With PHP
I am using PHP version 4.4.0.0 and apache2 version 2.0.54. I am trying to install the xml dom support but am not having any luck. Following the instructions on php.net I have done the following: 1. Set the extensions directory in php.ini extension_dir = "C:/php/extensions" 2. Loaded the xmldom module by uncommenting the line in php.ini extension=php_domxml.dll 3. Copied iconv.dll into C:WindowsSystem32 so that it can be found on my system's path 4. Restarted my Apache Server phpinfo() shows that xmldom support is enabled domxml DOM/XML enabled DOM/XML API Version 20020815 libxml Version 20611 HTML Support enabled XPath Support enabled XPointer Support enabled DOM/XSLT enabled libxslt Version 1.1.7 libxslt compiled against libxml Version 2.6.11 The code that is throwing the error is as follows: $dom = new DOMDocument(); I am getting the error message: PHP Warning: domdocument() expects at least 1 parameter, 0 given in F:webpopup est.php on line 11
List Contents Of A Folder, Make List Of Links
Does anyone know how I can write a script that: - reads in all the files in a particular directory - displays the file names in a html list and makes a link of them: <ul> <li><a href="filelocation1">filename 1</li> <li><a href="filelocation2">filename 1</li> <li><a href="filelocation3">filename 1</li> </ul> etc.? So basically it creates a list of links with the contents in that directory, so you can download them from there.
Get List Of Messages From One Table, Message List Indicator From
I have two tables. One has a list of messages left by users using fields named mbxno for the mailbox and msgno for the message number. I have another table that has mailbox settings for each user that contains a field named "messagelist" to indicate if they want to be included on the message list or not. What I'm trying to create is a list of the most-recent messages with a lookup on the users table to indicate whether a message in the list should be included in the message list based on the user's mailbox settings. SELECT messages.msgno, messages.mbxno, users.messagelist FROM messages, users WHERE (users.messagelist = Ƈ') ORDER BY msgno DESC LIMIT 100 What I'm getting, though is a list that looks like this: mbxno: 1114 msgno: 0412141623 msglist: 1 mbxno: 1114 msgno: 0412141623 msglist: 1 mbxno: 1114 msgno: 0412141623 msglist: 1 mbxno: 1114 msgno: 0412141623 msglist: 1 mbxno: 1114 msgno: 0412141623 msglist: 1 mbxno: 1114 msgno: 0412141623 msglist: 1 mbxno: 1114 msgno: 0412141623 msglist: 1 mbxno: 1114 msgno: 0412141623 msglist: 1 I think what's happening is that I'm using the wrong type of join and more rows are being created than necessary. If I add "DISTINCT" to the query, I get a list of the most-recent messages as I expect, but the "messsagelist" value is sometimes wrong (again, probably because the data is getting jumbled). For example, the messagelist value for the second row (2214) should be 0, not 1. mbxno: 1114 msgno: 0412141623 msglist: 1 mbxno: 2214 msgno: 0412141622 msglist: 1 mbxno: 2189 msgno: 0412141408 msglist: 1 mbxno: 0000 msgno: 0412141213 msglist: 1 mbxno: 0003 msgno: 0412141213 msglist: 1 mbxno: 2265 msgno: 0412132029 msglist: 1 mbxno: 0000 msgno: 0412131950 msglist: 1 How should I be doing this? If nothing else, what kind of join will work with a long list compared to a value from a short list?
CURL Setup
How to setup CURL in wamp?. Please help me!
Server Setup?
I need to setup a new Linux RedHat 7.0 server I need to run. I'm new to this whole world of *nix and server admin but I do have some experience with Microsoft IIS. I was wondering if there's a program or script that will install the latest Apache, PHP, Perl and MySQL on my Linux server. I really don;t have the time to invest in learning everything and I need to get this server up for someone ASAP. If this isn't available do you know of any tutorials or websites that will help me get this running as quick as possible.
GD Lib Setup Problems
I have Windows XP with PHP5 installed. In the PHP5.ini it reads (not commented): extension=php_gd2.dll The extension path is right as well. Now I have an Apache running. However dumping the gd_info causes problems already (so does creating an image from a JPEG). Fatal error: Call to undefined function gd_info() Otherwise, my PHP5 works fine. And when I start PHP.exe, it will even say "gd module already loaded". I also restarted my PC.
Php Setup On Win 2000 IIS
php setup on win 2000 IIS how is it done, i've try but the pages dont show up . any one know of a step by step setup tutrioal on this please. I have phpMyAdmin 2.3.3 and My SQL.
Faster DB Setup
Which database setup would be faster to run insert/select/update queries on - 1 table with hundreds of thousands of records, or hundreds of tables with thousands of records (connected by an id)?
LAMP Setup
I am trying to set up a Linux machine (Fedora 3) as a LAMP server on a LAN with a Windows XP Prof machine. The boxes are connected via a cheap switch. I have added the site address to the Hosts file on both machines, flushed all chains from iptables on the Linux machine and there appears to be no firewall on XP. From the XP machine I can telnet mysite.com 80 and get my html test page - however when I use Internet Explorer it cannot find my page and responds "The web page you requested is not available offline". The same thing happens when I use another box with windows 2000. Pressing the connect button just sends it off looking for - what I assume - is a DNS site From the Linux machine I have used Tcpdump to monitor the traffic (at least this is making me learn about Fedora) on the XP machine. I get plenty of traffic when I use telnet but nothing when I use Internet explorer - I would have expected something not that I understand what the messages mean
Setup New Database
in a project i want to offer the user a feature that installs a new mysql-db with given values. the values are stored in a *.txt-file. WORKS: - create a new db. - select the database to create tables - create a table DOESN'T WORK: - instert something into table content of sql.txt: PHP Code: CREATE TABLE mytable
FastCGI Setup
Can anyone give me an example of the setup of FastCGI with php (with apache). There are some good instruction how to do it with a Zeus webserver, but none with apache.
Cgi Setup On Apache Under Rhe
i've been wading through the docs and usenet for a bit now trying to figure out how to setup cgi to run in cgi on a stock rhe box - which is of course configured to run mod_php. the reason i need to do this is to test a theory that a certain library (mapscript) failes under mod_php but not cgi so i'm unconcerned with security issues at this point: i'm testing only. i've tried various permutations of cgi.xxx settings in a local php.ini and SetEnv REDIRECT_STATUS On in .htaccess files to now avail. i'm on a gov box and don't have admin privs so i'm looking for a way to force php into cgi mode, even if it's a hack like exporting some vars in a sh script and exec'ing php. is there a way to force php into cgi mode that someone can reccomend. sorry if that has been answered before - but i've been reading/digging for a few hours with no luck. ps - i'm a php newbie but quite versed in cgi/www devel in various languages other than php.
PHP IMAP Setup
I am running FreeBSD box 4.5 , i am trying to install PHP, Courier-IMAP and IMP well i have it working except for the PHP IMAP support i am quite new to all this system admin stuff so i'll tell you how i installed PHP /usr/ports/www/mod_php4 i did make , and make install and then choose options from the scrren ie IMAP etc It give a few errors sorry they flew past too quick , anyway even when i put the follwoing line into php.ini extention=imap.so , i get the error that imap.so cant be found Everything else is ok as i have tested the IMAP Server with Sqwebmail but i was trying to get IMP to work. IMP wokrs fine but i get an "invalid function error" for all IMAP functions so it doesnt really work at all.
PHP Setup On Win2K
I've administrated various types of servers and set-up countless development environments for PHP and MySQL I've never created a full production server before, relying on service/hosting providers to do this for me. So, I'm looking for any advice on setup, bugs, tutorials, technical resources, thoughts, or experiences. Maybe this could become a sticky for technical/security setups? Who knows... I'm especially interested in custom builds of the php engine. There are many functions I know I'll never use in the life of this server, such as CURL, Cybercash, .NET, FrontBase, etc. I'm looking for tutorials/tips on compiling for Windows if anybody has any. Can a custom isapi module be compiled for windows?
Sql Setup Scripts
Ive recently been asked to take on a site that uses some light weight php scripts - im a 100% n00b when it comes to PHP so you know whats coming. the client went into the files and amended what she thought was her admin password... only its not... i think its the database connection login and password $link = mysql_connect ("localhost", "USERNAME", "PASSWORD") or die (__FILE__ . __LINE__); anyone know how i can reset this back to how it was without a backup or could the host help with this (i am asking them)?
Timer Setup?
is there a way to make a function that would do sometime in a given period of time without anyone having to activated?
|