Skip to content

Commit 95b7753

Browse files
committed
Added site copy to readme
1 parent d96c19f commit 95b7753

File tree

1 file changed

+28
-2
lines changed

1 file changed

+28
-2
lines changed

README.md

+28-2
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,28 @@
1-
php-rest-sql
2-
============
1+
PHP REST SQL
2+
============
3+
4+
A HTTP REST interface to MySQL written in PHP
5+
6+
Description
7+
-----------
8+
9+
PHP REST SQL is a class used to open a HTTP REST interface to a MySQL database using PHP and a HTTP server. Using standard HTTP requests, the data in a database can be created, retrieved, modified and deleted.
10+
11+
Requirements
12+
------------
13+
14+
PHP REST SQL was built and tested using Apache 2.0.45, PHP 4.3.4, and MySQL 3.23, although it should work with any version of PHP4 and MySQL and any HTTP server that will pass requests of all HTTP method types to PHP.
15+
16+
REST Browser
17+
------------
18+
19+
The database can be queried using a regular Web Browser, but to send the appropriate HTTP PUT, POST and DELETE requests you'll need a REST browser.
20+
21+
The Poster Firefox extension allows you to easily craft HTTP requests from within Firefox.
22+
23+
Installation
24+
------------
25+
26+
Place all the files in a directory in your Web servers docroot and edit the config file "phprestsql.ini" with your database information and the URL path to the directory.
27+
28+
To use tidy URLs, an example .htaccess file is included for the Apache Web server and the mod_rewrite module. Without mod_rewrite PHPRestSQL URLs will use the querystring and default document behavour to envoke the PHP script for the variety of URLs required by the RESTful interface.

0 commit comments

Comments
 (0)