PHP Code Snippets Tagged with php
(52)
this function returns four parameters, the language its translating from, the language its translating to, the original text, and the translated text. separated by |
the rest is pretty much self-expl..
+ 0 likes
i am back and now im not making any more mirc scripts
i starting to make php codes
*******************
this well grab the Real Ip and proxy
- IP joined on - IP/Proxy: 75.24.71.80 - Host:..
+ 0 likes
Just change the directory to what you want, it's set to http://www.yoursite.com/images/ right now, so change to what you want.
Demo version: http://left4quake.com/test.php
+ 0 likes
Hi, this is my first release here, please comment what you like/dislike about it! :)
Ok, so this is a multi-PHP-mIRC script. Basically, the users in your IRC room will trigger the signature updater..
+ 0 likes
A bot i made for a friend who wanted to execute php strings with eval. I added a couple other functions aswell.
-------------
Commands:
.auth add <nick>
.auth del <nick>
.auth list
.join..
+ 4 likes
inspired by this one:
http://www.hawkee.com/snippet/5330/
i think it's obvious what it does
there are some bugs so dont expect it to work perfectly,
actions, status messages and notices are not..
+ 0 likes
An extremely easy, and sometimes handy (especially with room bots
spamming large quantities of links in one go).
You might call it with something like this ($matches1['1'] = the url/s.)
if (strlen($matches1['1'])..
+ 0 likes
This just uses googles own calculator..
heres what the output looks like
[12:49][RandomUser] !calc 23*4/56^2/456+8999
[12:49][PHP_Bot] (((23 * 4) / (56^2)) / 456) + 8999 = 8999.00006
full instructions..
+ 1 likes
Scraping the classic fact generators. And a simple but effective use of array_rand.
Call 'do_RandomFacts' by either of the following:
do_RandomFacts("chuck");
do_RandomFacts("mrt..
+ 0 likes
Connects to an IRC server you specify and idles. Basically this is a frame for an IRC bot.
+ 0 likes
This code allows you to display your MAIN site directory, it will also open the pages in the directory allowing you to edit and save your changes. This code is simply something i FIXED for a friend who..
Tags:
php
+ 0 likes
Basically, this is but written for phpBB2 :)
Hopefully everyone can use this.
+ 3 likes
This script can be added to a website to check if a port on a specified website/ip is open or not. my use for this was for checking with my uTorrent port.
In basic, if a socket is openned, it has connected...
+ 4 likes
a basic IRC Bot with a few commands.
Commands are:
!sayit <Your message here> - The bot just repeats your message.
!md5 <your message here> - The bot just says the md5 sum of your message.
How..
+ 3 likes
Hello.
This is a hit counter I wrote in php...few weeks ago for a friend.
Cop that code and save it in a file called
Note that the Styles propertie's values must be in CSS.
Let me know if..
+ 1 likes
simple encryption example. output is the sum of 2 and the ascii value of each character.
for example, below is listed a string of characters and their ascii value.
+ 2 likes
Okay, so this little script is put seperately in your directory, then you can access it using CSS, or an image html tag. The idea is mainly for a web banned. This is the script i used on Lindrian's website.
http://www.hawkee.com/profile/img/2034/
http://omega.neeq.net/?page=/theme.php
Example:
That's..
+ 1 likes
Okay well! this page is real helpfull if you want to display a bunch of downloads without needing an sql table, and without having to update the index page
Paste this into a file "index.php"..
+ 0 likes





