PHP Code Snippets Tagged with php
(25)
Just a pretty simple Higher/Lower Script
This simple PHP function is pretty handy if you want your websites pages in the title without having to name individual ones.
It will look like:
Rate it, post comments :P
Ok, so this short php script is real usefull for if you have loads of subdirectories of completely different websites like i do. these can be webs for sale, or just random websites *shrugs* it's for your
Fairly useless slots game. hehe. can be used on any named webpage, the script will retrieve the name and re-direct blaaa. not much to it really. i was learning functions, and came up with it :P
Example:
A source code analyzer. Searches through code in this case php files
and finds possible vulnerable syntax. This code uses (3) arrays to store
the strings to search for & one last function for custom
Password = jonesy
I'll leave it up for a week or two as an example.
If you have any questions, drop me a PM or leave a comment
i don't think i'm the creator of this, found on HDD, last modified date is over 3 years so *shrugs* rewrote it today to be in one file ;)
Installation:
filename.php?type=setup <--- setups the tables
This is a very simple PHP snippet that will set $title, $meta_keywords and $meta_description for use in your page header. You'll need to create meta_tags.txt which will use this format:
page_name.html|page
PHP sendmail script made for my mIRC snippet ( http://www.hawkee.com/snippet/3458/ )
To use: save as 'mircemail.php', upload to web host (need sendmail enabled to work) make sure the url is at something
This is a script that allows users to find their lost zetaboards or invisionfree forum. Demo: http://petpow.33host.com/board_finder/ :D
this is just a silly little game i made earlier when i was bored (hehe)
This is a simple meta tag generator - you enter the information and it generates the *XHTML VALID* meta tags
Ok, who here has a host which is gay and makes you go through like 4/5 pages to get to your site to edit? Well this way, you can just visit one page and edit it.
Just upload and visit.
Add a
This function let u use like
really simple!
Simply place the first main php code into image.php then enter the last two code lines into a .htaccess file! Put images into the right directory, change the locations where needed and voila! The image