Basic Online Forum
Submitted by johnmatthews.m… on Friday, June 3, 2016 - 15:25.
Language
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)
note:
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
- <link rel="shortcut icon" href="images/iconNHP.png" media="screen" type="image/png" title="NHP" />
- <title>NHP| View file</title>
- <a href="forum.php" style=" font-family:Arial">Back to forum page</a><body>
- <?php
- require "connect.php";
- $h=mysql_query("Select count(ForumID) as 'v' from forums where Files like '%.pdf' and Files ='$n'");
- $rt=$hq['v'];
- }
- if($rt!=0){?>
- <object data="<?php echo 'forum_folder/'.$n;?>" type="application/pdf" width="100%" height="100%"><p>Unable to load file</p></object>
- <?php }
- else{?>
- <OBJECT width="100%" height="100%"><PARAM name="movie" value="<?php echo 'forum_folder/'.$n;?>">
- <PARAM name="wmode" value="transparent">
- <PARAM name="quality" value="high">
- <EMBED width="100%" height="100%" src="<?php echo 'forum_folder/'.$n;?>" type="application/x-shockwave-flash" wmode="transparent" quality="HIGH" "=""></object>
- <?php
- }
- }?>
- </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 SourceCodester.com for viruses, but new viruses come out every day, so no prevention program can catch 100% of them.
FOR YOUR OWN SAFETY, PLEASE:
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.
Comments
good you are the one who
good you are the one who could develop my DMS. please help me with it. I need it for my office.
Add new comment
- Add new comment
- 310 views