PHP Random Quotes – Random Text script

0

This is very simple PHP Random Script to get Text from txt file and show it where you want to show. You can easy include it by PHP code or using java script to include it. With java script, you can easy share your random quote, just give theme a code, that’s all. PHP Random Quote run with 4 files inside. Here is how you install it:
Upload all file inside folder: php-random-quote to your web host. Edit file bienthuy.txt to your need.
One quote per line. You can enter quote as much as you want, just remember ONE PER LINE
Then run it in your browser: domain.com/php-random-quote/index.php

Demo PHP Random Quotes: http://demo.bienthuy.com/php/random-text/

If you want to share it, just give your friend Java Script like this:

Files Content: ONE PER LINE, you can use html code in this txt file.
bienthuy.txt

btrand.php

Using: If you use PHP, then include it where you want to show

If you want to use Java Script or want to share, use this code:

If share, just edit the link:

Download PHP Random Quote: http://yyen.info/A3IWdo2YXD

PHP Random Quotes – Random Text script
5 - 1188 votes

Same tags:

  1. Tạo hệ thống vote giống youtube
  2. PHP – Convert number to text

Other Posts you may be interested in:

  1. Hosting – Hostgator shared packages
  2. Responsive Tables Bootstrap Examples
  3. 26 điều bạn nên “có kiêng” để “có lành”
  4. Transfer domain .xyz về dreamhost chỉ $1.95
  5. PHP Smart download – Hide real files path
  6. CentOS server 6.5 x64, install APACHE, PHP, MYSQL, FTP and PHPMyAdmin
  7. Một số thủ thuật với htaccess Mod Rewrite
Cập nhật lúc: 15:57:53 PM, 29th August 2015

Comments

Leave A Reply