The Diaoying team shared the source code of the Baidu Wenku website program, which is an open platform website used to build an open platform website for netizens to share documents online. On a website built with the source code of the Baidu Sharing Library program, users can read and download online courseware, exercises, exam question banks, thesis reports, professional materials, and various official document templates. Materials in various fields such as legal documents and literary novels need to be deducted from the corresponding Baidu points. The documents accumulated on the platform are all uploaded by enthusiastic users. The website that shares the library itself does not edit or modify the content of documents uploaded by users. By uploading documents, users can obtain virtual point rewards from the platform, which can be used to download the documents they need. You need to log in to download documents. Free documents can be downloaded after logging in. For uploading documents that have been priced by the user, you need to pay virtual points when downloading. The current platform supports mainstream ones. doc(.docx), .ppt(.pptx), .xls(.xlsx), pdf, txt file formats.
Introduction to the document upload function
1. Upload my documents, share knowledge, and share happiness. Document sharing is an open resource acquisition platform. Every document accumulated comes from the selfless sharing of netizens.
The operation of uploading documents is very simple. As long as you have a Baidu account and have attachments on your computer, you can easily complete the upload operation.
2. Good online reading experience Document sharing supports online reading of content in attachments, and provides functions such as zoom and full screen. Here you can get an almost perfect reading experience.
3. Download the document, thanks to the selfless sharing of the document uploader. There is a button to download the document at the bottom of each document page. Click it to download the document.
1. Install PHP integrated environment (you already know this)
2. Put the files in the "php imitation Baidu library source code" folder into your WEB root directory and create a database docshare. The default MYSQL database account root password is 123456.
3. Import the database docsahre.sql under phpmyadmin
4. The background address is your website address /admin. Enter the background account admin and password 123456. Change the default template to baidumb in the system settings and clear the document data of the originally uploaded demonstration.
5. In the background - module - upload a new module (import the HTML automatic update and QQ login template. I have already made the relevant file modifications, but the module has not been imported into the database yet. After importing, just set it up in the background. No need. Modify the file again)
6. Generate homepage
7. Install software:
Before installing the following software, you must first install OFFICE2007 net2.0 or above windows2003 system on this machine. Do not cancel the anti-virus software!
Install auxiliary software (1) mysql data source driver (2) SaveAsPDF
(3)swftools
(4) Online document conversion background (intranet version) Default installation - copy wordtoflash.exe to the installation directory to replace crack and then copy suncn.dll to c:windowssystem32suncn.dll
(5) Start--Run--Enter RegSvr32 c:windowssystem32suncn.dll and press Enter--Register
Online document conversion background configuration: (.... is the path) root password 123456---test connection--configure below after success
Generate FLASH saving directory......your WEB directorybookswfs
Website root directory............your WEB directory image directory settings.............your WEB directoryuploadsallimg
Extract the introduction and save it............your WEB directorytxt
After configuring, click Execute to upload the document.
OK! Finish