note 50137 added to function.mysql-query
| From: | wyattisimo at hotmail dot com | Date: | Sat, 19 Feb 2005 08:14:32 +0000 |
| Subject: | note 50137 added to function.mysql-query | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-85236@lists.php.net to get a copy of this message | ||
Here's a PHP script that allows you to execute any MySQL query string using a simple form.
I wrote this because my hosting server is shared and they won't let me access a MySQL command
prompt. But now with the awesome power of my Superfly MySQL Query Executer I can send queries to my
MySQL database from anywhere on the internet! aaaahhahahahahahaa! hahahaa! ...what?
For security, you should always access this script over a SSL connection because is passes the
connection variables (host, user, pass, dbase name) using POST every time you execute a query.
This script is too long to post here, so you can download it by following this link:
http://www.wyattcorp.com/mysql-queryexec.zip
Any questions, comments, or cheap shots? Give me a buzz: wyattisimo@hotmail.com
\W/
----
Manual Page -- http://www.php.net/manual/en/function.mysql-query.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+50137
Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+50137&report=yes&reason=added+to+the+manual
Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+50137&report=yes&reason=bad+code
Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+50137&report=yes&reason=spam
Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+50137&report=yes&reason=useless
Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+50137&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+50137&report=yes
Search -- http://master.php.net/manage/user-notes.php