Programming language to make a forum

AI Thread Summary
To create a program for automatically generating threads in a forum, PHP is recommended as the most suitable programming language, especially since the forum software is likely built in PHP. Beginners can use simple text editors like Notepad or TextPad to write PHP code. Learning resources are available at php.net. Once the PHP code is written, it should be executed on a web server like Apache or IIS, or from a shell. Direct access to the forum's database is suggested for creating threads, minimizing the need to manage URLs or data handling. While Java can also be used for internet interactions, PHP is favored for its ease of use for beginners. For those looking to develop more advanced programming skills, starting with C or similar languages is advised, while scripting languages like Perl, Ruby, Python, or PHP are suitable for simpler tasks. Ultimately, the choice of programming language should align with the user's goals as a programmer.
GiTS
Messages
132
Reaction score
0
I want to make a simple program for an experimental forum of mine. I need it to automatically make threads. I don't really have any legitimate programming experience or knowledge. What programming language would be good for my needs? Preferably one that can interact with the internet like retreiving the current URL and going to a URL.
 
Computer science news on Phys.org
Your forum software is most likely written in php. It should be a simple matter of adding some additional php to the forum's code to add "fake" content to your database.

- Warren
 
what program can I use to write php code?
 
Notepad. TextPad. UltraEdit. Emacs. Any editor you want, really.

Honestly if you have no programming experience, this mission is not the right place to begin. Sorry to burst your bubble.

- Warren
 
where's a good place to learn php?
 
chroot said:
Your forum software is most likely written in php. It should be a simple matter of adding some additional php to the forum's code to add "fake" content to your database.

- Warren
Just to make sure, once the php code is written were exactly do I put it?
 
once you write your php program you will need to download the php library (if you haven't already done so). In most cases php programs are executed by a webserver (apache, IIS, etc.) but you can also run it from a shell (like from DOS).

From what I understand from your post, you don't really need to worry too much about URLs and posting data and handling data. If you have have access to your forum, you should just access the database/flatfile directly in order to create threads.
 
Java programming language will be the best for you as it can interact with the internet and can retrieve current URL and also at the same time go to it.
 
  • #10
I would recommend php over java since java has a steep learning curve
 
  • #11
Depending on what kind of programmer you wish to be, shall choose your first language. If you wish to be a real programmer, I recommend beginning with C (possibly Pascal also). Then moving on to Java, C#, or/and C++.

If you wish to write little scripts once in awhile, for either maintaining your system or a CGI script for a website: study something similar to Perl, Ruby, Python, or/and PHP. Though, PHP is only implemented for web development.

Thus, choose your goal as a programmer. :-p Of course you can choose to write little scripts, then move to real programming; though, I believe it is a waste of time.
 

Similar threads

Back
Top