diff --git a/README-en.md b/README-en.md new file mode 100644 index 0000000..03502fe --- /dev/null +++ b/README-en.md @@ -0,0 +1,70 @@ + +## πŸ“˜ PicHost Image Hosting +| Free | Open Source | Stable | Feature-rich | Practical | API | PHP | + +![](https://img.shields.io/badge/Original%20Author-Xiaoxiaobai5724-red) ![](https://img.shields.io/badge/License-MIT-blue) ![](https://img.shields.io/badge/Version-v1.1-green) + +[![](https://img.shields.io/badge/πŸ‡¨πŸ‡³Simplified%20Chinese-pink)](http://leonmmcoset.jjxmm.win:2000/odoorbell/image-pichost/src/branch/main/README.md) [![](https://img.shields.io/badge/πŸ‡±πŸ‡·English-yellow)](http://leonmmcoset.jjxmm.win:2000/odoorbell/image-pichost/src/branch/main/README-en.md) + +--- + +### πŸ€” Why Did I Create This Project? +Current image hosting services often require various PHP functions and complex configurations, with inconsistent quality. I wanted to develop a purely handcrafted, open-source image hosting platform. Writing the code myself is also more secure. + +### 😘 Acknowledgments +Thanks to the users in NodeLoc, whose support motivated me to keep going and encouraged me to open-source the project early. + +### 😜 Installation +Hmmm... It is not recommended to download using Git commands to avoid permission issues. Simply upload the files directly to your server, and it's ready to use! + +Prerequisites: + +- PHP 8.2 or similar (not confirmed) +- MySQL support +- Looking for experts to help test it + +1. Modify `config.php` + After setting up the database, go to lines 15-18 of the file: + ``` + HOST β†’ Database domain + NAME β†’ Database name + USER β†’ Database username + PASS β†’ Database password + ``` + PS: Be careful when editing the file; do not delete any other symbols. + + Go to lines 20-24: + ``` + WEB β†’ Website URL + SITE β†’ Site name + (↓ The values below can be filled in later or left empty) + MAX_FILE_SIZE β†’ X*X*X + ALLOWED_TYPES β†’ ['jpg', 'jpeg', 'png', 'gif', 'webp'] + ``` + + Go to lines 26-33 (if you don’t know how to fill these, search for tutorials online): + ``` + EHOST β†’ Email domain provider + NUM β†’ Email port number + EUSER β†’ Recipient email + EPASS β†’ Authorization code + FUSER β†’ Sender email + FNAME β†’ Sender name + SECURE β†’ Protocol (ssl for encrypted, tls for unencrypted) + ``` + + For the rest, fill them out only if you know how; otherwise, it's best not to touch them. + +2. `languages/zh-CN.php` + This is the Chinese language pack. You can fill in your own `site_title`. + +## 🌟 Issues (Problems) +It’s best to report any issues in the `issue` section, as NL (NodeLoc) might not always check. + +## ✈️ Updates +There is no automatic update feature; you need to download the new version manually. + +--- + +Give it a Star, please! awa +Thank you \ No newline at end of file