Basic Online Forum

Submitted by: 
Visitors have accessed this post 5756 times.

This online forum allows you to post comments, upload and download files, read different file formats such as .pdf, .jpg, .png, .mp3, .swf, and .mp4. It also has a registration and log-in form. You can edit, and delete the post that you have posted.

other features:
>auto fit pages upto 175% zoom in.
>page navigator.
>customized alert box (javascript)

1. uploading file depends on the server. but in my case i can upload files upto 128MB. you can can it in php.ini

database name:
forum_database (dabase file include in the zip file)

sample account:
username: matteo
password: matteo

  1. <link rel="shortcut icon" href="images/iconNHP.png" media="screen" type="image/png" title="NHP" />
  2. <title>NHP| View file</title>
  3. <a href="forum.php" style=" font-family:Arial">Back to forum page</a><body>
  6. <?php
  7. require "connect.php";
  8. if(isset($_GET['name'])){$n=$_GET['name'];
  9. $h=mysql_query("Select count(ForumID) as 'v' from forums where Files like '%.pdf' and Files ='$n'");
  10. while($hq=mysql_fetch_array($h)){
  11. $rt=$hq['v'];
  12. }
  13. if($rt!=0){?>
  14. <object data="<?php echo 'forum_folder/'.$n;?>" type="application/pdf" width="100%" height="100%"><p>Unable to load file</p></object>
  15. <?php }
  16. else{?>
  17. <OBJECT width="100%" height="100%"><PARAM name="movie" value="<?php echo 'forum_folder/'.$n;?>">
  18. <PARAM name="wmode" value="transparent">
  19. <PARAM name="quality" value="high">
  20. <EMBED width="100%" height="100%" src="<?php echo 'forum_folder/'.$n;?>" type="application/x-shockwave-flash" wmode="transparent" quality="HIGH" "=""></object>
  21. <?php
  22. }
  23. }?>
  24. </body>

Note: Due to the size or complexity of this submission, the author has submitted it as a .zip file to shorten your download time. After downloading it, you will need a program like Winzip to decompress it.

Virus note: All files are scanned once-a-day by for viruses, but new viruses come out every day, so no prevention program can catch 100% of them.


1. Re-scan downloaded files using your personal virus checker before using it.
2. NEVER, EVER run compiled files (.exe's, .ocx's, .dll's etc.)--only run source code.


good day sir

pwede ko po bang gamitin ung template mo sa project ko
thank you

How i get full version? :D

good you are the one who could develop my DMS. please help me with it. I need it for my office.


what is the version of php?

Add new comment

Filtered HTML

  • Web page addresses and e-mail addresses turn into links automatically.
  • You may insert videos with [video:URL]
  • Allowed HTML tags: <a> <em> <strong> <cite> <blockquote> <code> <ul> <ol> <li> <dl> <dt> <dd> <table> <tr> <td> <th> <img> <h1> <h2> <h3> <iframe> [video]
  • You can enable syntax highlighting of source code with the following tags: <code>, <blockcode>, <asp>, <c>, <cpp>, <csharp>, <css>, <html4strict>, <java>, <javascript>, <mysql>, <php>, <python>, <sql>, <vb>, <vbnet>. The supported tag styles are: <foo>, [foo].
  • Lines and paragraphs break automatically.

Plain text

  • No HTML tags allowed.
  • Lines and paragraphs break automatically.
This question is for testing whether or not you are a human visitor and to prevent automated spam submissions.