Subdomain Posts
None | 20 days ago
PHP | 276 days ago
None | 278 days ago
PHP | 278 days ago
PHP | 278 days ago
PHP | 278 days ago
PHP | 391 days ago
C# | 410 days ago
C# | 410 days ago
PHP | 410 days ago
Recent Posts
None | 10 sec ago
None | 17 sec ago
None | 53 sec ago
None | 59 sec ago
None | 1 min ago
None | 1 min ago
C++ | 1 min ago
mIRC | 1 min ago
None | 1 min ago
Java 5 | 1 min ago
Sitereport
Find cool info about any domain on the internet?
visit sitereport
Free Subdomains
Want a pastebin.com sub-domain for your community?
learn more...
What is pastebin?
Pastebin is a website that hosts all your text & code on dedicated servers for easy sharing.
learn more...
By mysql LOLCODE on the 16th of Jun 2009 10:10:41 PM
Download |
Raw |
Embed |
Report
<?php
/**
* LOLCode
*
* @package LOLCode
* @author 3picM1ke
* @copyright 2009
*/
function DB( $sHost, $sUser, $sPass, $sDb )
{
}
function ASK( $sQuery )
{
$aSearch = array( 'CAN I PLZ GET', 'ALL UP IN', 'OMG', 'ZORT BY', 'NO MORE THAN', 'PLZ ADD TO', 'MAKE', ' IZ ', ' N ' );
$aReplace = array( 'SELECT', 'FROM', 'WHERE', 'ORDER BY', 'LIMIT', 'INSERT INTO', 'SET', ' = ', ' AND ' );
// Not inside single quotes (strings)
$aQuotes = explode( "'", $sQuery );
foreach( $aQuotes as $nKey => $sQuote )
{
if( ( $nKey % 2 ) == 0 )
{
$aQuotes[ $nKey ] = str_replace( $aSearch, $aReplace, $sQuote );
}
}
$sQuery = implode( "'", $aQuotes );
return $rResult;
}
function MUCH( $rResult )
{
}
function DBUCKET( $rResult )
{
}
?>
Submit a correction or amendment below.
Make A New Post