Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Nov 1st, 2004, 9:18 AM   #1
Billy Brethren
Newbie
 
Join Date: Nov 2004
Posts: 2
Rep Power: 0 Billy Brethren is on a distinguished road
I have a project I need to do, where I send "Announcements" (in the form of Posts) to Members/Patricipants of various forums.

There are @ 200 of these forums and they are exactly the same, so as I envision it, it is a simple matter of generating a list of web-site addresses, doing a few repetitive keystrokes to log in, post the message and log off, and then go to the next web-address.

I took a class in BASIC 20 years ago, and this project seems fairly simple.

Can it be done in HTML ? If not, what is the easiest programming language to use.

Could someone please hold my hand and answer questions until I learn how to write this program ?


Thanks in advance,


Billy Brethren
Billy Brethren is offline   Reply With Quote
Old Nov 1st, 2004, 10:03 AM   #2
Pizentios
Programming Guru
 
Pizentios's Avatar
 
Join Date: May 2004
Location: Brandon, Manitoba, Canada
Posts: 2,023
Rep Power: 7 Pizentios is on a distinguished road
Send a message via ICQ to Pizentios Send a message via MSN to Pizentios
you could probally use php. however you might run into problems with the security on these forums. Most forums don't let you post from outside of being loged in. unless they have a guest option. After you get around the security of the forums it would be as simple as finding out what the tables etc are used in the db or forums to store the post. But the only way your going to find that out is but ether grabing a copy of the forum software, or asking an admin directly for the info. First option is most viable. As far as the security goes i havn't the foggyest idea on how the forums that your trying to post to work, so i can't really help you with this problem other than what i have just posted.

Are you sure your not just trying to spam 200 forums all at once with a ad or somthing?
__________________
Profanity is the one language that all programmers understand.

Check out my Blog <---updated Nov 30 2007!
Pizentios is offline   Reply With Quote
Old Nov 1st, 2004, 5:40 PM   #3
Billy Brethren
Newbie
 
Join Date: Nov 2004
Posts: 2
Rep Power: 0 Billy Brethren is on a distinguished road
Wow. This is the second forum where WHY I want to do this is more relevant that what or how. This must be an indicator of the current "culture" of Programmers, apparantly in reaction to spam & spammers.

I could probably write an entire essay on this subject, but really I came to a technical forum to get technical information.

For the record, the messages I want to send is not "spam" in the sense that it is an advertisment for a product or service in exchange for money. I will not profit once cent in this endeavor, nor will anyone else. I used the phrase "public announcements" in the most political sense. I will be perfectly happy to fully inform any technically informed and helpful person that wants to know while they are helping me to inform myself, but really I can't see how it is anyone's business or why they would even care.

As far as the technical end of the situation, all these "forums" are owned & operated by one company, they all have the exact same format and so I can do all the logging "on" & "off" with one username and one password (mine) and that (and how) I do this is perfectly legitimate. It's simply that it would be a full-time job doing each of these posts one at a time, and I would like to have the ability to send my message to everyone all at once.

I am not so concerned with the security issues, rather I just need help in setting up (what I thing of as) the "For-Next" loop, the data set for the various web-addresses and the completely repetitive keystrokes for logging on & off.

This can't possibly be "rocket science", and the amount of "spam" in the universe is not going to increase one byte by my actions. I think what I want to do is VERY interesting, and would be willing to share with a helpful person.

I appreciate the suggestion for PHP; it is the second time I have heard it. I went to a PHP web-site and perused their "tutorial" and it looked extremely difficult to learn.

HTML can't send keystrokes ? HTML can't read from a data set and run a loop that picks up the NEXT data at each iteration ?

This seems so simple to me. I thought HTML was an actual language that could do things. Is it better described as a protocol ?

Thanks in advance.

Billy Brethren
Billy Brethren is offline   Reply With Quote
Old Nov 1st, 2004, 5:50 PM   #4
big_k105
PFO Founder

 
big_k105's Avatar
 
Join Date: Mar 2004
Location: Fargo, ND
Posts: 1,630
Rep Power: 10 big_k105 is on a distinguished road
Send a message via AIM to big_k105 Send a message via MSN to big_k105 Send a message via Yahoo to big_k105
php or perl/cgi is goin to be your best bet for this. HTML is not actually a programming language it is a markup language. which means it is only ment for formatting and what not. so php is goin to be one of the few options you have here as the forums you are trying to post on are probably run in php. so first question i would need to find out is what forum software do all of these forums run. if its custom you will need to find this info out and will probably need to find the source code for the forums to even have a chance of boing able to do this. another thing to look into is creating a bot that can go to each website and then post what you need it to post. this will only work tho if the forums dont have away to stop bots from logging on to a user name. if they dont then it should be just fine. let us know what software they are running i can try my best to guide you thru this
and there is no reason to get upset over when a member askes you why you are doing this they are just trying to get a better idea of the project.
__________________
BIG K aka Kyle
Programming Forums
Kyle K Online

Please do not PM or email me programming questions. Post them in the forums instead.
big_k105 is offline   Reply With Quote
Old Nov 1st, 2004, 5:53 PM   #5
BlazingWolf
Hobbyist Programmer
 
Join Date: Sep 2004
Posts: 207
Rep Power: 4 BlazingWolf is on a distinguished road
HTML is madeo only for designing your wesbite. You will have to use PHP, or ASP to do want you want to do.

If you look into it more PHP is very simple langauge to learn.
__________________
_______________________________
BlazingWolf
BlazingWolf is offline   Reply With Quote
Old Nov 2nd, 2004, 8:31 AM   #6
Pizentios
Programming Guru
 
Pizentios's Avatar
 
Join Date: May 2004
Location: Brandon, Manitoba, Canada
Posts: 2,023
Rep Power: 7 Pizentios is on a distinguished road
Send a message via ICQ to Pizentios Send a message via MSN to Pizentios
Quote:

Wow. This is the second forum where WHY I want to do this is more relevant that what or how. This must be an indicator of the current "culture" of Programmers, apparantly in reaction to spam & spammers.

I could probably write an entire essay on this subject, but really I came to a technical forum to get technical information.
Why do you think it's like that?? Maybe because people that spam have wreaked it for "ligitimate" operators like you? Paranoia is the best defense against spam, spyware, etc....

Also, if you know anything about how bad spam and spyware have become, you'd understand why i asked the question that i did. I personally wouldn't want to be responible for coding a program that spams a bunch of on-line forums.

Now for your problem.

It's all going to come down to a set of sql statments. However, why out knowing more about the forum software it'll be hard for anyone to design a program to send these statments out to the various websites that you want to connect too.

Another option (and the most simple) would be get permission from the company that owns these forums to connect to the database backend only and skip the webbased crap. It'd be alot easyer just talking to the database. Also then you'd know what to exactly put into your sql staments.
__________________
Profanity is the one language that all programmers understand.

Check out my Blog <---updated Nov 30 2007!
Pizentios is offline   Reply With Quote
Old Nov 2nd, 2004, 11:03 AM   #7
Ooble
I eat cake for breakfast.
 
Ooble's Avatar
 
Join Date: Jul 2004
Location: In my box.
Posts: 4,434
Rep Power: 9 Ooble is on a distinguished road
You could write a simple Windows app that uses the PostMessage or SendKeys Windows APIs to type in your username and password, click the Post button, type the info in, post it, and log out.
__________________
Me :: You :: Them
Ooble is offline   Reply With Quote
Old Nov 6th, 2004, 2:50 AM   #8
bl00dninja
Programming Guru
 
bl00dninja's Avatar
 
Join Date: Oct 2004
Location: namespace std
Posts: 1,246
Rep Power: 5 bl00dninja is on a distinguished road
yeah, every time i get drunk and send out technical support emails (questions) to people i always forget about it and wake up the next day with some email explaining that my foul/vulgar language is unnecessary. i hate them.
__________________
i put on my robe and wizard hat...

Have you ever heard of Plato, Aristotle, Socrates?...Morons.
bl00dninja is offline   Reply With Quote
Old Nov 6th, 2004, 6:31 PM   #9
kurifu
Expert Programmer
 
kurifu's Avatar
 
Join Date: Jul 2004
Location: Halifax, Nova Scotia (Canada)
Posts: 784
Rep Power: 5 kurifu is on a distinguished road
Send a message via ICQ to kurifu Send a message via MSN to kurifu
Just as though, you could probably get around the whole security issue of not being logged in by signing your work with an X.509 certificate, this is a little more complex, but would address most of the security issues related with the project.

gPGP and openSSL have good API you can work with the acheive this if you are interested.
__________________
Clifford Matthew Roche &lt;geek@cliffordroche.com&gt;
Web Hosting: http://www.crd-hosting.com
Consulting: http://www.crdev-consulting.com
kurifu is offline   Reply With Quote
Old Nov 7th, 2004, 6:24 AM   #10
Ade
Hobbyist Programmer
 
Ade's Avatar
 
Join Date: Oct 2004
Location: England, UK
Posts: 139
Rep Power: 0 Ade is an unknown quantity at this point
I know I'm a nub when I don't understand something in the HTML forum!
__________________
Don't wound what you can't kill
Ade is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 2:19 PM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC