Email Lists
How would I go about making email lists? Someone who has something similar to what I want told me that they handle it with PHP. I'm not talking about a form where I can email an entire list, but rather an email GROUP, such that any time email went to URL from ANYONE that is a member of my site, it would come into domainname.com, and then sent back out to everyone in the "group".
Any info would be helpful. Is this possible with php? What is the email process? Right now I'm not even on a domain name on my own server.
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Mailing Lists
I have searched in many places about how to set up a mailing list that is scalable yet no web sites seems to want to give out this info. I need to have this mailing list be effective even up to hundreds of thousands of users. Any advice/resources on how to set up this mailing list?
Drop Down Lists
I have a drop down list with the town options 'Bury' and 'Ipswich' as shown below. When selecting one of the options, its value is passed to variable $townsearch. How do I change the drop down list so the option selected last time is then the current one shown in the drop down box? <body> <?php $townsearch = $_get['town']; ?> <form action="<?php echo $_SERVER['PHP_SELF']; ?>" method="get"> <select size="1" name="town"> <option>ipswich</option> <option>bury</option> </select> <input type="submit" value="GO" /> </form>
Ordering Lists
I have developed a script (with help) that tries to order events stored in my .txt file by date. The .txt file looks like this: 1st|Jan|Meeting at House| 15th|Feb|Meeting at your House etc The script orders the dates from lowest to highest but does not order dates before the 10th. Apparently 1st - 9th comes after 31st.. Code:
Maintaining Mailing Lists
I've few doubts; I'm asking two problem here. 1st, can we use PHP for maintaining mailing-lists. Say, we've 1000 users, need be e-mailed a subscription newsletter i.e. $message is same, loop through e-mail array in db. 2nd, Web site search. We maintain database after reading files using PHP and manipulate results from db. Question is, if PHP is a solution for these problems, also, when users' ( 1 ), keywords' ( 2 ) dbs grow big! There is also a limit of a PHP script execution. In 1st case, PHP has to parse, suppose 10k subscribers, and generate 10k e-mail for sendmail program. Is PHP feasible for such things. What else, is a better and professionally used solution. I don't know CGI? Perl?
Multiple Selection Lists?
i have a mutliple selection list on a form that goes like this <select name='name' multiple size=6>"; echo "<option value='one'>one"; echo "<option value='two'>two"; echo "<option value='three'>three"; etc it works fine. BUT how do u call it. For example say i selected option one and three. How do i call that on the next page so that ONE and THREE are stored.
Less-expensive Way To Set Up Defaults In Lists Etc?
I'm currently setting up default selections in <select> lists by passing an array of those defaults as keys ( 'valuefoo' => true ) as an argument to the function that sets up the list. Then, as I build each <option>, I call array_key_exists ( thisoptionvalue, arrayofdefaults ) to check whether to include the 'selected="selected"' string. So the code looks something like Routine ( array( 'valuefoo' => true, 'valuebar' => true ) ) ; ..... function Routine ( $defaultvals ) { for ( $i= etc. ) echo '<option....' . ( array_key_exists( 'curroptval', $defaultvals ) ? 'selected="selected"' : '' ) . etc ' ; } (I've elided a lot of syntax, but you get the idea) That seems slow and tedious. Does anyone know a cheaper way?
Quote's Invoices Lists...
I need someone to bounce some ideas off. This is what I'm trying to do, I want to be able to create a script that will spit out a quote based on the information filled in. The part I'm stuck on is. Entering all the items in. Ok, say I have a form, it starts off where you put in all the details (eg, who the quote is for address phone no etc.) Then there will be a list of items to go onto the quote. Now this is the part I'm stuck on. I'm thinking maybe something like an add new item button that opens a new window and then you enter in the details for each item. This then adds each item to the quote. Each item that is entered can be added directly to the database. So what I'm thinking maybe is a popup window that you fill in the details for each item, you hit submit, and then it goes back to the origional quote page, but now with the item added to the list. Maybe is there java script where you can open a new window and then refresh the parent window when the child is closed? this would then have the items listed.
Dropdown Lists From A Mysql Db
Id like to load a drop down list from a mysql database using php3 and create a link to that record. Does anyone have any ideas?
Mailing Lists Under Apache
I must develop mailing lists under Apache but I don't know how to do this, so, if someone knows how to do this.
Drop Down Lists And Variables
I have a dropdown list with values and I am having trouble getting the value chosen into a variable so that I can use it in an if statement.
Multiple Lists Selection
I am using a simple registration form that i made with the toolbox, but when I come to a multiple list to choose from (populated from the database) it doesn't work correctly. Of course, out of the multiple items selected only the last one gets inserted. From what I have read, the selection must be turned into an array then looped for this to work. Is this correct? Next how would I code this to work right. If you let me know which code to post, I will post it.
Multiple Selection Lists &
I have 2 multiple selection lists. I am using javascript so that users can select items from list 1 and move them to list 2. When the user submits the form I need my php to get the values he has/she has in list 2... I have done printf($_POST['list_2']) and it only shows one value, even when multiple are selected. I read that I need to change it's name to list_2[] but if I add the brackets to the name my javascript quits working.
Dynamic Dropdown Lists
I am recoding a greeting card website. I am using dropdowns as filters for items in a DB, so when the user picks "animals" from the "theme" dropdown, the returned cards all feature animals, and when the user picks "birthday" from the "message" option, the returned cards all feature birthday cards. However, there are some combinations that don't return any results, for example "get well" "floral" cards. Code:
Classes And Dropdown Lists
The class below works fine. The problem I have is there's a dropdown list in the middle of the loop. The dropdown list gets its data from another table in the database. Which goes through the same class. So I have a loop within a loop. What I'm trying to do is ....
Create State-cty Dropdown Lists
I've gotten everything up and running except for this -- I'd like to be able to have people have a dropdown list of cities in the US to use (or wherever) and not have to input them manually into a text field. When you do then there are issues of misspellings, etc. Now I have a list of cities from each state that is a sample that works in an html page. Problem is that it takes up 2 MB! Way too much to load on a single page and I was wondering how this is accomplished best -- do people use javascripts that can pull information from another flat flie? Do people use PHP to connect to a mysql database that might have a list of these fields and then reloads the page? I'm really not sure of best options and would be grateful for anyone to give me pointers or whether there are other examples and even places to buy these databases (not likely but good to have if I decide to do so.)
Session Info And Pull Down Lists
i have a html pull down list (<SELECT etc etc <OPTION VALUE .....) and i have the particular value the user last chose it to be in a $_SESSION['value']. How do i set the selected item of the list to this one? I can just add it in as the selected item of the list but then it appears twice.
If You're Good With Arrays And Lists, This One's For You
I'm using PHP 4.4.4. Let's say I have two scalars, $list1 and $list2. Both are comma separated lists of ordered, unsigned, unique integers. An example would be $list1 = "2,26,345"; $list2 = "3,4,26,35,525"; I am wondering if there is a short way of determining if all the numbers in $list1 occur in $list2.
Creating Form 'select Lists' Using PHP
Is it by any chance possible to use mysql and php to auto create the content for drop-down lists on forms by retrieving the values from a database? The reason i ask is that on a site i am making i am asking users to select from list (e.g. nationality) however i would like to avoid typing out every possible value of which there are about 40 (which change). I would much prefer to keep a seperate table in my database for the site.
Sorting Alphabetically Backwards Lists
This code runs @ http://www.ckoogle.com but the trouble is once I get the list backwards, and in an array. I can't sort the new array into alphabetical order. Anyone know a way to do it? <?php echo '<form action="index.php" method="post">' echo '<textarea name="input" cols="12" rows="20">' echo '</textarea><br>' echo '<input type="submit" value="Submit">' echo '</form>' if( isset( $_POST["input"] )){ $my_array = $_POST["input"]; $my_array=strrev($my_array); $my_array=explode(" ", $my_array); print_r($my_array); sort($my_array); print_r($my_array); for($cnt=0; $cnt < count($my_array); $cnt++) { echo(strrev($my_array[$cnt])); echo('<br>'); } } ?>
How To Get Hotmail/Yahoo/Aol Contact Lists ?
is there anyone familiar with the part how does most of the match making sites/schedular websites are accessing your Hotmail/Yahoo/Aol address book and even inviting your friends rather choosing one by one from your address book manually by you and make you be in the same Network?
Detecting Checkboxes And Option Lists
I am trying to figure out how to detect a <Form> check box being checked in a PHP script. Likewise, I am trying to figure out how to detect which option was chosen in a <option> list of drop-down items in a form. Code:
Auto-update Shopping Lists
I have a shopping list, or multiple shopping lists, that users and sort and add/delete items from. I know how to add/move/delete items, but that is with a submit button. Is there a way, probably through AJAX, that the mySQL tables will be updated automatically as things are changed?
Pulling Options Lists From Mysql Tables
I've set up a form to load data into my db, but rather than hard code the options lists for three of the form fields, I'd like to pull that information from three lookup tables. This will allow whoever is inputting data to do a simple update for the three lookup tables, and speed enter the data into the form for the fourth (data) table without having to alter the code in the form. Here's the wish list. The three lookup tables have a key field and a description field. I want to display the description field content for selection by the user in the form (for example, from EventClass table, display "Single Pony" and return "1" to the CompClass field if Single Pony is selected Display "Pair Pony" and return "2" to the CompClass field if Pair Pony is selected display "Single Horse" and return "3" to the CompClass field if Single Horse" is selected (etc.) in EventScores), and have the key field content loaded with the data into the data table. Once I've figured the coding for one, I can duplicate the effort for the other two tables. I have seen PHP coding inserted inside php code. I've never seen this particular practice in any other language I've programmed in. Is this how a connect/query is handled inside a form which is inside a php script? <?PHP <form><?PHP ?> </form> ?> ?? To put it another way, I want to retrieve the data from a table and display it in the options box of the form. Then, when a option value is selected, I want the key for that value returned to the table in which data is being loaded.
One Result Set Makes Two Lists With Same Keys And Values
I have a page with two drop-downs, each listing the same employee names and their id's as the values. So they look like: <select name="selection_1"> <option value="12">Curly</option> <option value="8">Larry</option> <option value="36">Moe</option> </select> ....then further down the page: <select name="selection_2"> <option value="12">Curly</option> <option value="8">Larry</option> <option value="36">Moe</option> </select> Currently I am doing this, which works but seems sloppy: <select name="selection_1"> <? while($employees=mysql_fetch_assoc($qry_rslt)) { /* ADD NAMES TO DROPDOWN WITH emp_id's AS THEIR VALUES */ ?><option value="<?=$employees['emp_id']?>"><?=$employees['name']?></option><? /* CREATE ANOTHER ARRAY WITH THE emp_id AS THE KEY */ $emp_list_2[$employees['emp_id']]=$employees['name']; } ?> </select> Then on the second drop-down: <select name="selection_2"> <? foreach($emp_list_2 as $key => $emps) { ?> <option value="<?=$key?>"><?=$emps?></option> <? } ?> </select>
Saving Selection In Drop-down Lists In PHP After Page Reload?
I can't find an answer to my quesiton anywhere. Given a drop-down list with USA states and other text fields I pass this information for further processing via PHP. If any of the required fields is empty, the PHP script would return an error and reload the form page asking to fill out those fields. All entered information is saved... except for the drop-down list selection. I tried to write a Javascript function which is echoed by PHP, but interpolation of PHP variables in the Javascript section gives a syntax error message in Javascript. The PHP script returns, e.g., an "AL" string for Alabama. Of course, I don't want to write PHP code for each option to make it selected.
Drop Down Lists Changing Depending On Other Drop Downs
I want to have a drop down system like this one. But without the radio buttons. I want to have 3 drop downs but have no idea how to go about it. I assume I will need to activate some sort of Javascript on the onChange event of the option drop downs.
Need Email Address From Submitted Html Email Form
I have an html email that contains a form with questions for the user to fill out. Without asking the user to re-input there email address into the form, is there a way for me to grab the email address its coming from when the user submits the form to the php processing program. I need a way to match the questions to the user when they submit the form.
Email Array Checking Validity Of Email Address
I had the following working but since I changed the email variable to an array it doesn't work. email[] This is part of an edit form where emails in the mailing lists can get updated however, before they get updated i need to check that each of the email addresses are valid.But the code doesn't work for the array. Code:
Grab Email Addresses From MySQL And Send An Email....
I am making a simple mail form that will SELECT email address from a MySQL table based on the userid of the person sending the email. if (isset($_POST['submit'])) { require('../database.php'); $result = mysql_query("SELECT * FROM emailList WHERE merchantId = '".$_SESSION['id']."'") or die(mysql_error()); What would be the most efficient way of storing the email addresses from MySQL (may be 1 or may be 100) and then sending them in BCC to all the people gathered from the MySQL table?
Block Email Address / Domain From Using Email Form
I keep getting the same person spamming people on my website through my email form. The email address is they keep using is sadlowski_lidia@o2.pl but this sometimes changes to a different name but still from the o2.pl domain How can I block anyone using my email from the domain name o2.pl
Google Groups Email Spider,Auction Software, Directory PPC Search Engine Software, Email Spiders - 1
Free download full version , all products http://netauction8.url4life.com/ Groupawy --------------- Google Groups Email spider. The first email spider for google groups. Millions of valid and active emails in one easy location to collect. Spiderawy --------------- Email spider machine. Multithreads and Multiplexed connections per thread with built in database system for the highest scalability and performance. Email and URL spider and extractor. Auction software for your site ---------------------------------------- Run your own auction site in minutes. Open source code in perl. Create your own auction site in just a few minutes. NetAuction is the complete auction package for every business from the personal to the corporate business. SQL database backend for the highest scalability and performance. Directory, Pay per click search engine software ------------------------------------------------------------------ Open source code in perl. Build your own pay per click search engine and build your entire sites in minutes with this software. NetEngine is turn key Pay per click search engine and content management with built in portal tools. SQL database backend for the highest scalability and performance. Site builder software -------------------------------- Open source code in perl. Build and manage your sites with the fastest browser based site builder and content management software ever. NetBuilder is a complete package very easy to use for building your sites online and offline with all the tools you ever need to manage any site of any size. Email list manager tools, free download full version --------------------------------------------------------------------- Full Email lists tools suite. Email Extractor, Spider emails from online web pages, Filter lists, Merge lists, Remove unsubscribe lists from lists, Splitter to split larg email list file to smaller files, Deduplicator to remove duplicated emails.
Email Authentication, How To Check If Just One Email
I've a few functions to check if an email is valid. What I'm wondering is how to make sure there are only one email for each field? What we are building is a contest in which a participant can send an invitation to up to 5 friends (5 email fields), sending an invitation would give one more chance of winning the prize. The fields are 40 characters, but how do I prevent someone from entering 2 email in the same field provided that the 2 are less then 40 characters total? If the 2 email are complete it's not so much of a problem, the participant would only receive one extra chance not two the mail function would send to both email no problem (provided the user superated them by either a space of semi-colon). But if the second email is incomplete and the user doesn't notice it then the mail admin would receive an error stating that the second email is not good... Anyway to prevent all that I really need to make sure of 2 things. 1) that there's only one email listed in the box and 2) that the email is valid.
How To Send PHP Email To 100+ Email Addresses
I have a script that send out html email and I have over 100 email address from people who would like to join my newsletter. But I cannot get my script to email all 100+ of these people. Any one know how I can do this? Code:
Email To Email Information Form
im creating a php form so when a user come to my website and fills out questions like "how much would you like to spend", or "the product you would like to have is". so when all the questions are filled out and the put in their email address I can get back to them. I want the php to send me the form they just sent out to MY Email Address and i need the code to send them the same email that i got so they know what they filled out and they have it for their records also.
Email A File As The Body Of Email
i have a file....: <html> .......... ........ ......... <?php echo $USer_Name; ?> ......... ......... ........ </html> assuming its called email.php, how would i send that file as the body of an email using mail(), coudl i do it. and if so, how..
PHP Email Example
I'm new to PHP and I'm trying an example from a book. This example is a small application that takes the output from a form and generates an e-mail message containing the form's contents. This is called Ex5.html : <html> <head><title>Example #5</title></head> <body> <form method=POST action=example_5.php3> EMail Address:<INPUT TYPE=TEXT NAME="email_address"><br> Phone Number: <INPUT TYPE=TEXT NAME="phone_number<br> <INPUT TYPE=SUBMIT NAME=SUBMIT> </form> </body> </html> ----------------------------------- and this is called example_5.php3 : ----------------------------------- <?PHP $message = sprintf("Form data -----------------n"); while(list($key, $val) = each($HTTP_POST_VARS)) { $message .= sprintf(#34>[%s]: %sn", $key, $value); } $message .= "n"; $message .= "More Information ------------------n"); $message .= "The user's IP address is"; $message .= getenv("remote_addr").".n"; $message .= "The user is running the web browser "; $message .= getenv("http_user_agent").".n"; mail("bijanbel@excite.com", "Feedback Form", $message, " From: Feedback someone@hotmail.com" ); ?> to invoke this I go to the html file with my browser I fill out the form and submit. then I get the following error messages : Warning: Variable passed to each() is not an array or object in /home/httpd/html/tests/example_5.php3 on line 5 ------------------------------------ Warning: Unexpected character in input: '' (ASCII=92) state=1 in /home/httpd/html/tests/example_5.php3 on line 6 ------------------------------------- Parse error: parse error, expecting `')'' in /home/httpd/html/sheilabel/tests/example_5.php3 on line 7 ------------ >>> Does anyone have any idea how to fix this ? Some how it is not recognizing $HTTP_POST_VARS as an array but why I don't know.
PHP To EMail BCC
First off let me say I know near nothing about PHP. What I do know is I need what it does for me. Some time ago I purchased a little program called PHP Form Wizard to create scripts to handle my online forms of which it does fine for me with one exception. One of the tasks it performs is that it emails the...
ISP Email
How do you validate that an email address is ISP provided and not a free mail service.
How To Add An Email To This.
Hi, I have a form that goes to mysql when a submit button is pushed. How to make some of the form fields go to an email at the same time. For example an easy summary of it: <?php If post then { ?> form fields <form action="<?php $_SERVER['PHP_SELF'] ;?>" method='post'> <input fields here> type='submit' name='Submit' value='Submit'> </form> <?php } else { $con = mysql_connect("mysql","databasename","password"); $sql="INSERT INTO etc. if (!mysql_query($sql,$con)) {die('Error: ' . mysql_error());} This is where I get stuck. Where to add the email fields. So that some of the above form fields will send to the email as well. I tried...... else { $mailto = etc. and so on here. echo "form fields sent";}} ?> But it says unexpected Telse on the last else.
Email A Log
I dont want to actually email a log as an html attachment but instead as to extract the data from the html file and send it as an html file. I know the coding for the email using the mail function but am not sure of how touse the fopen function to open the html file and extract the data to email.
Email
I need to be able to send out emails to a fairly large number of addresses. The email content will be in HTML format or text format, depending on a value associated with each address in the MySQL table. Further, each email should display the actual recipient address in the "To: " field. I could accomplish this easily enough for just a few emails, because the browser wouldn't have to wait long before all the emails are sent; however, this isn't satisfactory for thousands of emails. I need to be able to process the emails in the background so that the browser isn't tied up. (Even if the browser didn't time out, it would take several minutes to send all the emails.)
Using Email With PHP
Our php was installed on our server by a consultant who is no longer available. Now, we have just moved our servers to a new location, and the autoresponders we have written in PHP no longer work. I'm assuming there is somewhere in the setup that holds the ip for the email server. Since we have a new mail server, we need to change that setting.
Email
i want to make a webmail script but i don't know how to get e-mails from a pop3/mail server (with out deleting them).
Web Email
I would like to give users if my site free emails .. Is it better to make one or buy a ready solution ??? Does anyone know about a good email solution that i can buy ???
PHP + Email
Is it possible to have a PHP script receive an email (CSV text). The problem is this, I want a server to send me an email, and then I want to be able to have a PHP script 'listening' for email and then processing the data in the email. Is it possible to have a PHP script 'listening' or responding to an 'email received' event, so that it can process the data ?
PHP/Email
I'm working with a hosting company that blocks the user 'nobody' from sending email. How do I go about setting the user for sending email? I have a "From: " header in the message.
Php Email
My goal is to be able to send email without it being constantly detected as spam. I have no requirements for attachments. HTML would be nice though. Does anyone have a working basic Php Emailer? that works with gmail, hotmail and yahoo? I can send emails using the 'mail' function. However it is always detected as spam 100%
|