Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
 
  HOME    TRACKER    PHP




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();
}




View Complete Forum Thread with Replies

See Related Forum Messages: Follow the Links Below to View Complete Thread
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?.

PHP For A Mailing List
I' trying to develop a mailing list system in php and mysql.

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?

Mailing List Script
Where I can find siple mailing list written in php and mysql ?

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?

Php Mailing List Script
I need a php mailing list script, can anyone recommend one? preferably OS if possible.

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.

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?

Is There Any Open Source Mailing List Manager That Works Good
I am searching for a good open source php mailing list manager for some days. can any one suggest me one please.

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.

Adding Items To A List Or Menu
Not sure if it is a php question but since i am working in php here it is.

Ho can i add items to (the item label=visual text and the value=index
number) a list object on a website.

I am having a list with 4 items and i would like to add the text from a
textfield (textfield1.value) to the list object so it will hold 5 items.

Adding List Items To A Database
Not sure if this is javascript or php so i put it in both newsgroups, sorry
if it's the wrong group.

I wrote (with help) a code to put several items in a list object (select)
and I would like to add the items in this list to a database.

I know how to add a selected item to the database but how can i put al the
items tot the database. I need somekind of loop wich go's through the list.

Adding Unique Things To A List
Let's say I have 100,000 pages of text in HTML files.
I want to create a lexicon in my database of all the unique words used.

What's the most efficient way to do it?

I have a script working away right now, it's been running for over 6 hours!

Here's what it does:

1) it opens a file.

2) parses all the words with a Regex.

3) loops thru the list of words,
a) SELECT from the database, to see if the word already exists.
b) if not, then it INSERTs the word.

4) loops back to 1) to open the next file.

My database table looks like:
ID - word
---------
1 abalone
2 tweezers
3 patrimony
4 kafuffle

So...
Which is most efficient?

1) SELECT to see if a word is there, then INSERT if it's not found. (do this millions of times)

2) INSERT all the words blindly, then after it's done, remove any multiples. (this would create a monstrously huge table)

3) Use the word itself as a Primary Key. Would I get a database error? or would the database (mySQL) ignore INSERTs that try to use a multiple primary key?

4) ... some other method?

efficiency is key, since as I said, this is parsing millions of words taken from HTML pages, and it will be done rather often (maybe once a day).

Adding Php.net To Opera's Search Engine List
I 've just learnt how to configure this

go to http://uk2.php.net/ (or whatever)

place your mouse cursor in the "Search For" Input Box

Right Mouse Click and select "Create Search"
Enter PHP (or whatever) as keyword

Now can now search for a PHP function by highlighting it in Opera and
rightmouse clicking to select php

or what I prefer type say

"php ucfirst" straight into Operas address/URL bar


(for your reference what an Opera PHP search looks like)
(Opera replaces the %s with your search keyword)
http://uk2.php.net/search.php?pattern=%s&show=quickref

Adding ID To Random Link Pulled From List With Php Script
I'm using script which pulls random url from list with links and loads it, but I want my affiliated webmasters to be able to add their ID to these links. for example:

I'm calling the script with: mydomain.com/thescript.php
and it pulls link from the list called links.txt

so I want my webmaster to be able to add their id at the end of mydomain.com/thescript.php

and this ID to be added to the random loaded link from the list (links.txt)

VBulletin
vBulletin is great but im after its security...can anyone here tell me how secure this is, bcoz i downloaded its lite version...and planning to purchase its full version...

IPB And VBulletin: Who Copied From Whom?
Somebody said IPB 1.2 copied code from vB 2.0....

Now IPB is in 2.0 and vB is in 3.0

How could a script be offered in a free version IPB and paid version vB,
while features and underlying codes are similar.

What is the MySQL problem IPB has to crash database but vB does not? Why can
IPB fix it?

How Does VBulletin Check License?
PHP is source code based. How could vBulletin sell a key for 1 year or for
multiple years. How can vBB check if the same key is used on different
servers/machines?

I guess there is some kind of call to headquater thing to report abuse. Am I
right?

I am looking at vBB 3.0.3 and 3.0 Gold. Can anyone tell me what 3.0 gold is?
Which is better? 3.03 or 3.0 gold?

VBulletin And Daylight Savings Time?
I've been programming out the time offsets for some software and want to automatically take DST into consideration. Anyhow... from my research I found out that the EU and the US are the only timezones that practice daylight savings.

This means-I'm assuming-that nations such as S America and Africa do not observe DST, which leaves a bit of a problem since they are in the same time zone as the US and Europe.

So this leaves me wondering, do I include it or not? I've noticed that with vBulletin and ezBoard, there's not option for me to select DST. Does anyone know if these products include it automatically?

How To Check If User Is Logged In In VBulletin With PHP
Anybody knows how to check if a visitor in vBulletin with a PHP script?

Registration
when somebody want to order something in my e-shop it is necassary to
have a registration before so I have to check if the user is already
record or not.
What is an ordinary way to realize it.
Another question, until yet I work with a frameset so I have in a form
all variable values compendious. Is this a usually way or should I try
to realize it with strictly php.

User Registration In A DB
I am creating a web application which involves users registering
details in a DB. Obviously this is a very common thing to do and there
seem to be many different ways to solve this problem.

1. Is there a way to do this without needing to hard code DB login
details into the source?
2. Is it better practice to create individual DB users for new members
when they register and use DB authentication, or should the DB
connections all be through a single user and use code to check a table
containing user name and password hash?
3. Is there a way to create a connection pool in PHP?

Registration Script
The script is for a page that has a short summary of an article, when the article is clicked on if the user hasn't already registered it will bring them to a registration page *KEY*... and once they register they will automatically be brought to the full articles page. Not sure if this is relevent but both the summary and full article pages are *.html pages.

Is there any premade solutions that can do this?

User Registration
I am trying to make a user registration for one of my sites. It works fine, but I am trying to get it to not register the same username twice. PHP Code:

Registration System
I have a registration system, that gets info form a user sticks it into mysql and sends him/her confrmation email. It works, except the email confirmation.
When I enter a hotmail, gmail, yahoo... email I do not get the confirmation email.
But when I enter an email account from my website (admin@_____.org ), where the registration script is. I get the confirmation email. Code:

User Registration
i'm having a problem getting my form to check if user exists in database my problem is the part in red all the other parts work except the checking of the user please help if able. Code:

Registration Script
I am using a registration script for my website, but when the register button is pressed, the information doesn't get inserted into the database. No error messages are displayed. This is my code:

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 = &#391;') 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?

3rd Party Registration Prevention
I am interested in incorperating one of those 3rd party registration prevention images some registration systems use.
Its a image of some jagged letters and numbers. You type the string into a feild as part of the registration process.

User Registration Using Flatfiles
I was looking for a script that would let users sign up and gain acess to a members only section of my site. The only catch is that i would like it to store the data in a text file or something of the sort.

Registration Of User Details In A DB
I am creating a web application which involves users registering
details in a DB. Obviously this is a very common thing to do and there
seem to be many different ways to solve this problem.

1. Is there a way to do this without needing to hard code DB login
details into the source?

2. Is it better practice to create individual DB users for new members
when they register and use DB authentication, or should the DB
connections all be through a single user and use code to check a table
containing user name and password hash?

3. Is there a way to create a connection pool in PHP?

Sending Email From My Php Registration
Can anyone tell me how to create a php script that when the user click
the Submit button, a message will be sent to friends email add stored
in mysql table?

I created this ff table structure using mysql ?

Field Type Size Description

Name Text 30 Your name
Email_add Text 30 Your Email
F_name Text 30 Your Friend’s Name 1
F_name2 Text 30 Your Friend’s Name 2
F_name3 Text 30 Your Friend’s Name 3
F_Email Text 30 Your friend’s Email 1
F_Email2 Text 30 Your Friend’s Email 2
F_Email3 Text 30 Your Friend’s Email3


Note: After clicking Submit Button of the Registration.Php
a message will be send directly to the email add stored in
F_Email,
F_Email2, and F_Email3 fields.

Site Registration Script
Does anyone know of a script that will allow people to register for a website and then automactly email them a unique registration number?


Copyright © 2005-08 www.BigResource.com, All rights reserved