Skip to content
This repository has been archived by the owner on Dec 24, 2019. It is now read-only.

ourtownrentals/test-php-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Test PHP Application

License

Description

This is a public repository to test deployment of PHP applications.

  • app/index.html - Static HTML page.
  • app/index.php - Same as app/index.html, but prints current PHP version.
  • app/query/index.php?value=test - Test using query strings.
  • app/cron.php - Writes a timestamp to app/data/cron.txt. Use to test a cron task.
  • app/info/index.php - Shows phpinfo() output.
  • app/private.php, app/info/private.php app/public.php, and app/info/public.php - Use to test which PHP files may be executed.
  • app/db/index.php - Tests connection to a MySQL compatible database.
  • app/rw/index.php - Writes to and then reads from app/data/rw.txt. The app/data path will need to be created or mounted by the host system.

Source Code

The test-php-app source is hosted on GitHub. Clone the project with

$ git clone https://github.com/ourtownrentals/test-php-app.git

License

Copyright 2016 OurTownRentals.com.

Warranty

This software is provided "as is" and without any express or implied warranties, including, without limitation, the implied warranties of merchantibility and fitness for a particular purpose.