Share on Facebook Share on Twitter

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

Same tags:

  1. How to remove all attributes from a tag using PHP
  2. Tạo hệ thống vote giống youtube
  3. PHP – Convert number to text

Other Posts you may be interested in:

  1. Lịch thi đấu ngoại hạng Anh mùa giải 2015-2016
  2. Lịch thi đấu ngoại hạng Anh mùa giải 2018 – 2019
  3. Cách ăn chay, hay ăn thực dưỡng theo bài số 7
  4. Bộ hình nền máy tính gái xinh cực cool chất lượng Full HD 1920×1080
  5. Công cụ chuyển đổi đa định dạng, video – audio- picture với Format Factory
  6. How to restore Windows 8 – Windows 8.1 by System Restore
  7. Hostgator đang âm thầm khuyến mại 75% OFF

Last updated on August 29th, 2015 at 03:57 pm

Comments

What do you think?

x
This website is using cookies. More info. That's Fine