Top

PHP Code Snippets Tagged with php

  (52)  
Sort by 
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
6 comment(s)    Score: 6.0    Platform: PHP    Posted by sunslayer on Nov 09, 2009
its a pretty basic parser but its my first go at PHP :)
Tags: parser  php  runescape  stats 
+ 0 likes
2 comment(s)    Score: 0.0    Platform: PHP    Posted by sunslayer on Oct 31, 2009
this can be transformed to do whatever you need, I just made it to mess around
Tags: black  fading  php  text  white 
+ 0 likes
2 comment(s)    Score: 0.0    Platform: PHP    Posted by Korvin on Aug 18, 2009
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:..
Tags: php  script 
+ 0 likes
4 comment(s)    Score: 0.0    Platform: PHP    Posted by AlexHopper on Aug 16, 2009
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
Tags: image  php  random 
+ 0 likes
1 comment(s)    Score: 0.0    Platform: PHP    Posted by Korvin on Aug 13, 2009
This script uses the PHP IRC framework found here: http://www.hawkee.com/snippet/5658/ This is a simple PHP script that will connect to an IRC server and channel, and will allow users to "roll"..
Tags: fun  game  hill  irc  king  of  php  script  the 
+ 0 likes
1 comment(s)    Score: 0.0    Platform: PHP    Posted by Gforce20 on May 28, 2009
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..
Tags: combo  dynamic  mirc  php  script  sig  signature 
+ 0 likes
5 comment(s)    Score: 0.0    Platform: PHP    Posted by hy71194 on May 14, 2009
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..
Tags: bot  php  socket 
+ 4 likes
18 comment(s)    Score: 10.0    Platform: PHP    Posted by bone282 on Apr 30, 2009
My first PHP script! Woo! I think this is finally the right language I've been searching for, it looks so much like mIRC and I love it! You can see the script "in action" @ http://dark-purple.comuv.com/slots.php..
Tags: game  html  php  script  slots 
+ 0 likes
9 comment(s)    Score: 4.0    Platform: PHP    Posted by ^Neptune on Apr 26, 2009
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..
Tags: irc  php  trigger 
+ 0 likes
8 comment(s)    Score: 0.0    Platform: PHP    Posted by killwithme on Apr 18, 2009
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'])..
Tags: php  tinyurl 
+ 0 likes
0 comment(s)    Score: 0.0    Platform: PHP    Posted by bone282 on Mar 10, 2009
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..
Tags: bot  calc  calculator  php 
+ 1 likes
4 comment(s)    Score: 6.0    Platform: PHP    Posted by bone282 on Mar 04, 2009
Just a simple way of generating a random string.
Tags: bot  password  php  random  username 
+ 0 likes
3 comment(s)    Score: 5.0    Platform: PHP    Posted by bone282 on Mar 04, 2009
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
3 comment(s)    Score: 5.0    Platform: PHP    Posted by bone282 on Mar 01, 2009
Connects to an IRC server you specify and idles. Basically this is a frame for an IRC bot.
Tags: bot  illuminati  irc  kingskrown  php 
+ 0 likes
1 comment(s)    Score: 0.0    Platform: PHP    Posted by kingskrown on Jan 24, 2009
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
0 comment(s)    Score: 0.0    Platform: PHP    Posted by LordHawk on Jan 16, 2009
This is my first irc bot made with PHP: idea is simple playing a game that forces you into searching for peopld just type !search bla and it will post in anotehr channel note : $search_channel cld be..
Tags: bot  game  irc  php  search 
+ 0 likes
4 comment(s)    Score: 0.0    Platform: PHP    Posted by ODD on Dec 26, 2008
Basically, this is but written for phpBB2 :) Hopefully everyone can use this.
+ 3 likes
15 comment(s)    Score: 8.0    Platform: PHP    Posted by F*U*R*B*Y* on Dec 05, 2008
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
17 comment(s)    Score: 8.0    Platform: PHP    Posted by jonesy44 on Nov 30, 2008
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
29 comment(s)    Score: 7.8    Platform: PHP    Posted by F*U*R*B*Y* on Nov 08, 2008
this will retrieve your halo 3 weapon kills and medals from social rankings. the image id and how many kills/medals gets spit out via array ( example of how to use image id within snippet ). made this..
Tags: bungie  halo  php  stats 
+ 0 likes
8 comment(s)    Score: 6.0    Platform: PHP    Posted by sean on Sep 16, 2008
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
6 comment(s)    Score: 5.0    Platform: PHP    Posted by DiGiTaL on Sep 15, 2008
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
9 comment(s)    Score: 5.0    Platform: PHP    Posted by sean on Sep 08, 2008
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..
Tags: 44  generator  gradient  image  jonesy  jonesy44  php 
+ 1 likes
6 comment(s)    Score: 7.0    Platform: PHP    Posted by jonesy44 on Aug 28, 2008
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"..
Tags: 44  download  downloads  file  files  gb  jonesy  jonesy44  kb  mg  php  script  size  transfer 
+ 0 likes
7 comment(s)    Score: 6.5    Platform: PHP    Posted by jonesy44 on Aug 16, 2008
1 2 3 Next
Bottom