Strict Standards: Non-static method category::getCategoryDetails() should not be called statically in /home/dreaminc/public_html/code/themes/tpl.index.php on line 36

Strict Standards: Non-static method category::checkCategory() should not be called statically in /home/dreaminc/public_html/home/include/include.category.php on line 15

Strict Standards: Non-static method category::getCategoryDetails() should not be called statically in /home/dreaminc/public_html/code/themes/tpl.index.php on line 36

Strict Standards: Non-static method category::checkCategory() should not be called statically in /home/dreaminc/public_html/home/include/include.category.php on line 15
PHP - Source Code | DreamInCode.net
Strict Standards: Non-static method members::isLoggedIn() should not be called statically in /home/dreaminc/public_html/home/templates2/top.php on line 32

Strict Standards: Non-static method members::isMember() should not be called statically in /home/dreaminc/public_html/home/include/class.member.php on line 39

Strict Standards: Non-static method ipb_interface::getUserId() should not be called statically in /home/dreaminc/public_html/home/include/class.member.php on line 10

Strict Standards: Non-static method ipb_interface::checkUserId() should not be called statically in /home/dreaminc/public_html/home/include/class.member.php on line 10

Strict Standards: Non-static method members::isDicpp() should not be called statically in /home/dreaminc/public_html/home/templates2/top.php on line 32

Strict Standards: Non-static method members::isMember() should not be called statically in /home/dreaminc/public_html/home/include/class.member.php on line 16

Strict Standards: Non-static method ipb_interface::getUserId() should not be called statically in /home/dreaminc/public_html/home/include/class.member.php on line 10

Strict Standards: Non-static method ipb_interface::checkUserId() should not be called statically in /home/dreaminc/public_html/home/include/class.member.php on line 10

Strict Standards: Non-static method members::isDicpp() should not be called statically in /home/dreaminc/public_html/home/templates2/top.php on line 133

Strict Standards: Non-static method members::isMember() should not be called statically in /home/dreaminc/public_html/home/include/class.member.php on line 16

Strict Standards: Non-static method ipb_interface::getUserId() should not be called statically in /home/dreaminc/public_html/home/include/class.member.php on line 10

Strict Standards: Non-static method ipb_interface::checkUserId() should not be called statically in /home/dreaminc/public_html/home/include/class.member.php on line 10

Strict Standards: Non-static method ads::isAdCompatible() should not be called statically in /home/dreaminc/public_html/home/templates2/top.php on line 133
 

Code Snippets

  

PHP Source Code



Strict Standards: Non-static method members::isLoggedIn() should not be called statically in /home/dreaminc/public_html/home/include/class.templates.php on line 136

Strict Standards: Non-static method members::isMember() should not be called statically in /home/dreaminc/public_html/home/include/class.member.php on line 39

Strict Standards: Non-static method ipb_interface::getUserId() should not be called statically in /home/dreaminc/public_html/home/include/class.member.php on line 10

Strict Standards: Non-static method ipb_interface::checkUserId() should not be called statically in /home/dreaminc/public_html/home/include/class.member.php on line 10

Strict Standards: Non-static method members::isLoggedIn() should not be called statically in /home/dreaminc/public_html/home/include/class.templates.php on line 31

Strict Standards: Non-static method members::isMember() should not be called statically in /home/dreaminc/public_html/home/include/class.member.php on line 39

Strict Standards: Non-static method ipb_interface::getUserId() should not be called statically in /home/dreaminc/public_html/home/include/class.member.php on line 10

Strict Standards: Non-static method ipb_interface::checkUserId() should not be called statically in /home/dreaminc/public_html/home/include/class.member.php on line 10

Strict Standards: Non-static method ads::isAdCompatible() should not be called statically in /home/dreaminc/public_html/home/include/class.templates.php on line 31


Strict Standards: Non-static method category::getCategoryDetails() should not be called statically in /home/dreaminc/public_html/code/themes/tpl.index.php on line 117

Strict Standards: Non-static method category::checkCategory() should not be called statically in /home/dreaminc/public_html/home/include/include.category.php on line 15
PHP


Strict Standards: Non-static method ipb_interface::getUserId() should not be called statically in /home/dreaminc/public_html/code/themes/tpl.index.php on line 125

Strict Standards: Non-static method category::categoryChildren() should not be called statically in /home/dreaminc/public_html/code/themes/tpl.category.php on line 2

Strict Standards: Non-static method category::checkCategory() should not be called statically in /home/dreaminc/public_html/home/include/include.category.php on line 129

Strict Standards: Non-static method category::categoryChildren() should not be called statically in /home/dreaminc/public_html/code/themes/tpl.category.php on line 5

Strict Standards: Non-static method category::checkCategory() should not be called statically in /home/dreaminc/public_html/home/include/include.category.php on line 129

Strict Standards: Non-static method category::getCategoryDetails() should not be called statically in /home/dreaminc/public_html/code/themes/browse.cat.php on line 67

Strict Standards: Non-static method category::checkCategory() should not be called statically in /home/dreaminc/public_html/home/include/include.category.php on line 15

Strict Standards: Non-static method snippet::getCategorySnippets() should not be called statically in /home/dreaminc/public_html/code/themes/browse.cat.php on line 100

Strict Standards: Non-static method category::checkCategory() should not be called statically in /home/dreaminc/public_html/home/include/include.snippet.php on line 39

Strict Standards: Non-static method category::categoryChildren() should not be called statically in /home/dreaminc/public_html/home/include/include.snippet.php on line 50

Strict Standards: Non-static method category::checkCategory() should not be called statically in /home/dreaminc/public_html/home/include/include.category.php on line 129

Strict Standards: Non-static method snippet::getSnippet() should not be called statically in /home/dreaminc/public_html/home/include/include.snippet.php on line 100

Strict Standards: Non-static method snippet::checkSnippet() should not be called statically in /home/dreaminc/public_html/home/include/include.snippet.php on line 126

Strict Standards: Non-static method snippet::getSnippet() should not be called statically in /home/dreaminc/public_html/home/include/include.snippet.php on line 100

Strict Standards: Non-static method snippet::checkSnippet() should not be called statically in /home/dreaminc/public_html/home/include/include.snippet.php on line 126

Strict Standards: Non-static method snippet::getSnippet() should not be called statically in /home/dreaminc/public_html/home/include/include.snippet.php on line 100

Strict Standards: Non-static method snippet::checkSnippet() should not be called statically in /home/dreaminc/public_html/home/include/include.snippet.php on line 126

Strict Standards: Non-static method snippet::getSnippet() should not be called statically in /home/dreaminc/public_html/home/include/include.snippet.php on line 100

Strict Standards: Non-static method snippet::checkSnippet() should not be called statically in /home/dreaminc/public_html/home/include/include.snippet.php on line 126

Strict Standards: Non-static method snippet::getSnippet() should not be called statically in /home/dreaminc/public_html/home/include/include.snippet.php on line 100

Strict Standards: Non-static method snippet::checkSnippet() should not be called statically in /home/dreaminc/public_html/home/include/include.snippet.php on line 126

Strict Standards: Non-static method snippet::getSnippet() should not be called statically in /home/dreaminc/public_html/home/include/include.snippet.php on line 100

Strict Standards: Non-static method snippet::checkSnippet() should not be called statically in /home/dreaminc/public_html/home/include/include.snippet.php on line 126

Strict Standards: Non-static method snippet::getSnippet() should not be called statically in /home/dreaminc/public_html/home/include/include.snippet.php on line 100

Strict Standards: Non-static method snippet::checkSnippet() should not be called statically in /home/dreaminc/public_html/home/include/include.snippet.php on line 126

Strict Standards: Non-static method snippet::getSnippet() should not be called statically in /home/dreaminc/public_html/home/include/include.snippet.php on line 100

Strict Standards: Non-static method snippet::checkSnippet() should not be called statically in /home/dreaminc/public_html/home/include/include.snippet.php on line 126

Strict Standards: Non-static method snippet::getSnippet() should not be called statically in /home/dreaminc/public_html/home/include/include.snippet.php on line 100

Strict Standards: Non-static method snippet::checkSnippet() should not be called statically in /home/dreaminc/public_html/home/include/include.snippet.php on line 126

Strict Standards: Non-static method snippet::getSnippet() should not be called statically in /home/dreaminc/public_html/home/include/include.snippet.php on line 100

Strict Standards: Non-static method snippet::checkSnippet() should not be called statically in /home/dreaminc/public_html/home/include/include.snippet.php on line 126

Strict Standards: Non-static method snippet::getSnippet() should not be called statically in /home/dreaminc/public_html/home/include/include.snippet.php on line 100

Strict Standards: Non-static method snippet::checkSnippet() should not be called statically in /home/dreaminc/public_html/home/include/include.snippet.php on line 126

Strict Standards: Non-static method snippet::getSnippet() should not be called statically in /home/dreaminc/public_html/home/include/include.snippet.php on line 100

Strict Standards: Non-static method snippet::checkSnippet() should not be called statically in /home/dreaminc/public_html/home/include/include.snippet.php on line 126

Strict Standards: Non-static method snippet::getSnippet() should not be called statically in /home/dreaminc/public_html/home/include/include.snippet.php on line 100

Strict Standards: Non-static method snippet::checkSnippet() should not be called statically in /home/dreaminc/public_html/home/include/include.snippet.php on line 126

Strict Standards: Non-static method snippet::getSnippet() should not be called statically in /home/dreaminc/public_html/home/include/include.snippet.php on line 100

Strict Standards: Non-static method snippet::checkSnippet() should not be called statically in /home/dreaminc/public_html/home/include/include.snippet.php on line 126

Strict Standards: Non-static method snippet::getSnippet() should not be called statically in /home/dreaminc/public_html/home/include/include.snippet.php on line 100

Strict Standards: Non-static method snippet::checkSnippet() should not be called statically in /home/dreaminc/public_html/home/include/include.snippet.php on line 126

Strict Standards: Non-static method snippet::getSnippet() should not be called statically in /home/dreaminc/public_html/home/include/include.snippet.php on line 100

Strict Standards: Non-static method snippet::checkSnippet() should not be called statically in /home/dreaminc/public_html/home/include/include.snippet.php on line 126

Strict Standards: Non-static method snippet::getSnippet() should not be called statically in /home/dreaminc/public_html/home/include/include.snippet.php on line 100

Strict Standards: Non-static method snippet::checkSnippet() should not be called statically in /home/dreaminc/public_html/home/include/include.snippet.php on line 126

Strict Standards: Non-static method snippet::getSnippet() should not be called statically in /home/dreaminc/public_html/home/include/include.snippet.php on line 100

Strict Standards: Non-static method snippet::checkSnippet() should not be called statically in /home/dreaminc/public_html/home/include/include.snippet.php on line 126

Strict Standards: Non-static method snippet::getSnippet() should not be called statically in /home/dreaminc/public_html/home/include/include.snippet.php on line 100

Strict Standards: Non-static method snippet::checkSnippet() should not be called statically in /home/dreaminc/public_html/home/include/include.snippet.php on line 126

Strict Standards: Non-static method snippet::getSnippet() should not be called statically in /home/dreaminc/public_html/home/include/include.snippet.php on line 100

Strict Standards: Non-static method snippet::checkSnippet() should not be called statically in /home/dreaminc/public_html/home/include/include.snippet.php on line 126

Strict Standards: Non-static method snippet::getSnippet() should not be called statically in /home/dreaminc/public_html/home/include/include.snippet.php on line 100

Strict Standards: Non-static method snippet::checkSnippet() should not be called statically in /home/dreaminc/public_html/home/include/include.snippet.php on line 126

Strict Standards: Non-static method snippet::getSnippet() should not be called statically in /home/dreaminc/public_html/home/include/include.snippet.php on line 100

Strict Standards: Non-static method snippet::checkSnippet() should not be called statically in /home/dreaminc/public_html/home/include/include.snippet.php on line 126

Strict Standards: Non-static method snippet::getSnippet() should not be called statically in /home/dreaminc/public_html/home/include/include.snippet.php on line 100

Strict Standards: Non-static method snippet::checkSnippet() should not be called statically in /home/dreaminc/public_html/home/include/include.snippet.php on line 126

Strict Standards: Non-static method snippet::getSnippet() should not be called statically in /home/dreaminc/public_html/home/include/include.snippet.php on line 100

Strict Standards: Non-static method snippet::checkSnippet() should not be called statically in /home/dreaminc/public_html/home/include/include.snippet.php on line 126

Strict Standards: Non-static method snippet::getSnippet() should not be called statically in /home/dreaminc/public_html/home/include/include.snippet.php on line 100

Strict Standards: Non-static method snippet::checkSnippet() should not be called statically in /home/dreaminc/public_html/home/include/include.snippet.php on line 126


  1  2  3  >  »  


Strict Standards: Non-static method category::getCategoryDetails() should not be called statically in /home/dreaminc/public_html/home/include/include.tpl.func.php on line 20

Strict Standards: Non-static method category::checkCategory() should not be called statically in /home/dreaminc/public_html/home/include/include.category.php on line 15

Strict Standards: Non-static method category::getCategoryDetails() should not be called statically in /home/dreaminc/public_html/home/include/include.tpl.func.php on line 20

Strict Standards: Non-static method category::checkCategory() should not be called statically in /home/dreaminc/public_html/home/include/include.category.php on line 15

Strict Standards: Non-static method category::getCategoryDetails() should not be called statically in /home/dreaminc/public_html/home/include/include.tpl.func.php on line 20

Strict Standards: Non-static method category::checkCategory() should not be called statically in /home/dreaminc/public_html/home/include/include.category.php on line 15

Strict Standards: Non-static method category::getCategoryDetails() should not be called statically in /home/dreaminc/public_html/home/include/include.tpl.func.php on line 20

Strict Standards: Non-static method category::checkCategory() should not be called statically in /home/dreaminc/public_html/home/include/include.category.php on line 15

Strict Standards: Non-static method category::getCategoryDetails() should not be called statically in /home/dreaminc/public_html/home/include/include.tpl.func.php on line 20

Strict Standards: Non-static method category::checkCategory() should not be called statically in /home/dreaminc/public_html/home/include/include.category.php on line 15

Strict Standards: Non-static method category::getCategoryDetails() should not be called statically in /home/dreaminc/public_html/home/include/include.tpl.func.php on line 20

Strict Standards: Non-static method category::checkCategory() should not be called statically in /home/dreaminc/public_html/home/include/include.category.php on line 15

Strict Standards: Non-static method category::getCategoryDetails() should not be called statically in /home/dreaminc/public_html/home/include/include.tpl.func.php on line 20

Strict Standards: Non-static method category::checkCategory() should not be called statically in /home/dreaminc/public_html/home/include/include.category.php on line 15

Strict Standards: Non-static method category::getCategoryDetails() should not be called statically in /home/dreaminc/public_html/home/include/include.tpl.func.php on line 20

Strict Standards: Non-static method category::checkCategory() should not be called statically in /home/dreaminc/public_html/home/include/include.category.php on line 15

Strict Standards: Non-static method category::getCategoryDetails() should not be called statically in /home/dreaminc/public_html/home/include/include.tpl.func.php on line 20

Strict Standards: Non-static method category::checkCategory() should not be called statically in /home/dreaminc/public_html/home/include/include.category.php on line 15

Strict Standards: Non-static method category::getCategoryDetails() should not be called statically in /home/dreaminc/public_html/home/include/include.tpl.func.php on line 20

Strict Standards: Non-static method category::checkCategory() should not be called statically in /home/dreaminc/public_html/home/include/include.category.php on line 15

Strict Standards: Non-static method category::getCategoryDetails() should not be called statically in /home/dreaminc/public_html/home/include/include.tpl.func.php on line 20

Strict Standards: Non-static method category::checkCategory() should not be called statically in /home/dreaminc/public_html/home/include/include.category.php on line 15

Strict Standards: Non-static method category::getCategoryDetails() should not be called statically in /home/dreaminc/public_html/home/include/include.tpl.func.php on line 20

Strict Standards: Non-static method category::checkCategory() should not be called statically in /home/dreaminc/public_html/home/include/include.category.php on line 15

Strict Standards: Non-static method category::getCategoryDetails() should not be called statically in /home/dreaminc/public_html/home/include/include.tpl.func.php on line 20

Strict Standards: Non-static method category::checkCategory() should not be called statically in /home/dreaminc/public_html/home/include/include.category.php on line 15

Strict Standards: Non-static method category::getCategoryDetails() should not be called statically in /home/dreaminc/public_html/home/include/include.tpl.func.php on line 20

Strict Standards: Non-static method category::checkCategory() should not be called statically in /home/dreaminc/public_html/home/include/include.category.php on line 15

Strict Standards: Non-static method category::getCategoryDetails() should not be called statically in /home/dreaminc/public_html/home/include/include.tpl.func.php on line 20

Strict Standards: Non-static method category::checkCategory() should not be called statically in /home/dreaminc/public_html/home/include/include.category.php on line 15

Strict Standards: Non-static method category::getCategoryDetails() should not be called statically in /home/dreaminc/public_html/home/include/include.tpl.func.php on line 20

Strict Standards: Non-static method category::checkCategory() should not be called statically in /home/dreaminc/public_html/home/include/include.category.php on line 15

Strict Standards: Non-static method category::getCategoryDetails() should not be called statically in /home/dreaminc/public_html/home/include/include.tpl.func.php on line 20

Strict Standards: Non-static method category::checkCategory() should not be called statically in /home/dreaminc/public_html/home/include/include.category.php on line 15

Strict Standards: Non-static method category::getCategoryDetails() should not be called statically in /home/dreaminc/public_html/home/include/include.tpl.func.php on line 20

Strict Standards: Non-static method category::checkCategory() should not be called statically in /home/dreaminc/public_html/home/include/include.category.php on line 15

Strict Standards: Non-static method category::getCategoryDetails() should not be called statically in /home/dreaminc/public_html/home/include/include.tpl.func.php on line 20

Strict Standards: Non-static method category::checkCategory() should not be called statically in /home/dreaminc/public_html/home/include/include.category.php on line 15

Strict Standards: Non-static method category::getCategoryDetails() should not be called statically in /home/dreaminc/public_html/home/include/include.tpl.func.php on line 20

Strict Standards: Non-static method category::checkCategory() should not be called statically in /home/dreaminc/public_html/home/include/include.category.php on line 15

Strict Standards: Non-static method category::getCategoryDetails() should not be called statically in /home/dreaminc/public_html/home/include/include.tpl.func.php on line 20

Strict Standards: Non-static method category::checkCategory() should not be called statically in /home/dreaminc/public_html/home/include/include.category.php on line 15

Strict Standards: Non-static method category::getCategoryDetails() should not be called statically in /home/dreaminc/public_html/home/include/include.tpl.func.php on line 20

Strict Standards: Non-static method category::checkCategory() should not be called statically in /home/dreaminc/public_html/home/include/include.category.php on line 15

Strict Standards: Non-static method category::getCategoryDetails() should not be called statically in /home/dreaminc/public_html/home/include/include.tpl.func.php on line 20

Strict Standards: Non-static method category::checkCategory() should not be called statically in /home/dreaminc/public_html/home/include/include.category.php on line 15

Strict Standards: Non-static method category::getCategoryDetails() should not be called statically in /home/dreaminc/public_html/home/include/include.tpl.func.php on line 20

Strict Standards: Non-static method category::checkCategory() should not be called statically in /home/dreaminc/public_html/home/include/include.category.php on line 15

Strict Standards: Non-static method category::getCategoryDetails() should not be called statically in /home/dreaminc/public_html/home/include/include.tpl.func.php on line 20

Strict Standards: Non-static method category::checkCategory() should not be called statically in /home/dreaminc/public_html/home/include/include.category.php on line 15
Submitted: January 2, 2010        Views: 4524

Strict Standards: Non-static method bbcode::parse() should not be called statically in /home/dreaminc/public_html/home/include/include.tpl.func.php on line 57

Strict Standards: Non-static method bbcode::add() should not be called statically in /home/dreaminc/public_html/code/bbcode.conf.php on line 16
Submitted: August 8, 2008        Views: 83341

Strict Standards: Non-static method bbcode::parse() should not be called statically in /home/dreaminc/public_html/home/include/include.tpl.func.php on line 57

Strict Standards: Non-static method bbcode::add() should not be called statically in /home/dreaminc/public_html/code/bbcode.conf.php on line 16
PHPs version of the ASP functions left() and right()
Submitted: September 24, 2012        Views: 727

Strict Standards: Non-static method bbcode::parse() should not be called statically in /home/dreaminc/public_html/home/include/include.tpl.func.php on line 57

Strict Standards: Non-static method bbcode::add() should not be called statically in /home/dreaminc/public_html/code/bbcode.conf.php on line 16
This script blocks people from viewing your site if they come from countries you do not wish to have access to your site. Also has a whitelist, where only people from countries you allow will be allowed to view the site. It uses the site hostip.info to retrieve the user's country. As far as I know (and as far as the site provides), you are allotted an unlimited amount of calls. However, be respectful and don't be a bandwidth hog.
Submitted: August 21, 2008        Views: 6277

Strict Standards: Non-static method bbcode::parse() should not be called statically in /home/dreaminc/public_html/home/include/include.tpl.func.php on line 57

Strict Standards: Non-static method bbcode::add() should not be called statically in /home/dreaminc/public_html/code/bbcode.conf.php on line 16
For CLI scripts, allows you to ensure that only one copy of the script will run at a given time, using a PID (process ID) file.
Submitted: September 13, 2011        Views: 1302

Strict Standards: Non-static method bbcode::parse() should not be called statically in /home/dreaminc/public_html/home/include/include.tpl.func.php on line 57

Strict Standards: Non-static method bbcode::add() should not be called statically in /home/dreaminc/public_html/code/bbcode.conf.php on line 16
Converts plain text links to html links.
Plus Days in PHP by huzi8t9
Submitted: November 9, 2009        Views: 1760

Strict Standards: Non-static method bbcode::parse() should not be called statically in /home/dreaminc/public_html/home/include/include.tpl.func.php on line 57

Strict Standards: Non-static method bbcode::add() should not be called statically in /home/dreaminc/public_html/code/bbcode.conf.php on line 16
Not good with cookie times? This will do it all for you.
Submitted: August 31, 2007        Views: 2560

Strict Standards: Non-static method bbcode::parse() should not be called statically in /home/dreaminc/public_html/home/include/include.tpl.func.php on line 57

Strict Standards: Non-static method bbcode::add() should not be called statically in /home/dreaminc/public_html/code/bbcode.conf.php on line 16
PHP will not delete a Directory if there are files still in it this function will delete directory or empty it.
Submitted: February 16, 2009        Views: 2283

Strict Standards: Non-static method bbcode::parse() should not be called statically in /home/dreaminc/public_html/home/include/include.tpl.func.php on line 57

Strict Standards: Non-static method bbcode::add() should not be called statically in /home/dreaminc/public_html/code/bbcode.conf.php on line 16
Although very simple, this is a commonly overlooked or unthought of usage for php. Often I see a site that uses php, but has an out of date copyright for their code.
Submitted: September 9, 2011        Views: 1288

Strict Standards: Non-static method bbcode::parse() should not be called statically in /home/dreaminc/public_html/home/include/include.tpl.func.php on line 57

Strict Standards: Non-static method bbcode::add() should not be called statically in /home/dreaminc/public_html/code/bbcode.conf.php on line 16
Validates a floating point number to $x digits before the decimal place, and $y digits after.
Submitted: May 9, 2009        Views: 3433

Strict Standards: Non-static method bbcode::parse() should not be called statically in /home/dreaminc/public_html/home/include/include.tpl.func.php on line 57

Strict Standards: Non-static method bbcode::add() should not be called statically in /home/dreaminc/public_html/code/bbcode.conf.php on line 16
Create your own bbcode in PHP
Submitted: March 25, 2008        Views: 5792

Strict Standards: Non-static method bbcode::parse() should not be called statically in /home/dreaminc/public_html/home/include/include.tpl.func.php on line 57

Strict Standards: Non-static method bbcode::add() should not be called statically in /home/dreaminc/public_html/code/bbcode.conf.php on line 16
This code reads all the lines in a text file then alphabetizes it and overwrites the file with the alphabetized version
Submitted: May 10, 2010        Views: 2286

Strict Standards: Non-static method bbcode::parse() should not be called statically in /home/dreaminc/public_html/home/include/include.tpl.func.php on line 57

Strict Standards: Non-static method bbcode::add() should not be called statically in /home/dreaminc/public_html/code/bbcode.conf.php on line 16
Inserts a value into an array at a specified index and moves all values that come after the specified index back one.
Bad Word Filter in PHP by f1sh
Submitted: October 18, 2007        Views: 4097

Strict Standards: Non-static method bbcode::parse() should not be called statically in /home/dreaminc/public_html/home/include/include.tpl.func.php on line 57

Strict Standards: Non-static method bbcode::add() should not be called statically in /home/dreaminc/public_html/code/bbcode.conf.php on line 16
Converts "bad" words into ?#*@!
BBCode Class in PHP by f1sh
Submitted: October 18, 2007        Views: 5545

Strict Standards: Non-static method bbcode::parse() should not be called statically in /home/dreaminc/public_html/home/include/include.tpl.func.php on line 57

Strict Standards: Non-static method bbcode::add() should not be called statically in /home/dreaminc/public_html/code/bbcode.conf.php on line 16
This function will parse BBCode Tags.
Submitted: May 14, 2008        Views: 4061

Strict Standards: Non-static method bbcode::parse() should not be called statically in /home/dreaminc/public_html/home/include/include.tpl.func.php on line 57

Strict Standards: Non-static method bbcode::add() should not be called statically in /home/dreaminc/public_html/code/bbcode.conf.php on line 16
This is a snippet for calculating the distance between 2 points. Each "point" is represented by the longitude & latitude for that location
Crop String in PHP by Cbeppe
Submitted: March 22, 2012        Views: 917

Strict Standards: Non-static method bbcode::parse() should not be called statically in /home/dreaminc/public_html/home/include/include.tpl.func.php on line 57

Strict Standards: Non-static method bbcode::add() should not be called statically in /home/dreaminc/public_html/code/bbcode.conf.php on line 16
This snippet will crop a string at a certain number of characters. If instructed, it will also make sure to not end the string in the middle of a word. This makes it very useful when previewing sentences for instance. Thanks to ATLI for reviewing and changing some parts of the script, particularly the way the excess letters are removed.
Submitted: September 4, 2008        Views: 8882

Strict Standards: Non-static method bbcode::parse() should not be called statically in /home/dreaminc/public_html/home/include/include.tpl.func.php on line 57

Strict Standards: Non-static method bbcode::add() should not be called statically in /home/dreaminc/public_html/code/bbcode.conf.php on line 16
Deletes a line in a text file if it equals the $text_to_delete parameter of the function
Submitted: August 5, 2008        Views: 6211

Strict Standards: Non-static method bbcode::parse() should not be called statically in /home/dreaminc/public_html/home/include/include.tpl.func.php on line 57

Strict Standards: Non-static method bbcode::add() should not be called statically in /home/dreaminc/public_html/code/bbcode.conf.php on line 16
This snippet will parse your DIC blog for use on your website. I currently have it set up to only pull the title of each blog post, as well as the first 10 words of each post. You could then link from the blurb to the actual post on DIC. I'm sure this could be adapted to whatever rss feed you are using.
Submitted: June 8, 2008        Views: 3087

Strict Standards: Non-static method bbcode::parse() should not be called statically in /home/dreaminc/public_html/home/include/include.tpl.func.php on line 57

Strict Standards: Non-static method bbcode::add() should not be called statically in /home/dreaminc/public_html/code/bbcode.conf.php on line 16
This function does not alter the original image at all, it just displays a smaller size image, almost like a thumbnail.
Submitted: July 24, 2008        Views: 1649

Strict Standards: Non-static method bbcode::parse() should not be called statically in /home/dreaminc/public_html/home/include/include.tpl.func.php on line 57

Strict Standards: Non-static method bbcode::add() should not be called statically in /home/dreaminc/public_html/code/bbcode.conf.php on line 16
A simple function to go through a file and replace text.
Submitted: January 2, 2010        Views: 5321

Strict Standards: Non-static method bbcode::parse() should not be called statically in /home/dreaminc/public_html/home/include/include.tpl.func.php on line 57

Strict Standards: Non-static method bbcode::add() should not be called statically in /home/dreaminc/public_html/code/bbcode.conf.php on line 16
this class is detecting visitor's (OS, Brwoser and Browser version)
Submitted: June 13, 2008        Views: 3968

Strict Standards: Non-static method bbcode::parse() should not be called statically in /home/dreaminc/public_html/home/include/include.tpl.func.php on line 57

Strict Standards: Non-static method bbcode::add() should not be called statically in /home/dreaminc/public_html/code/bbcode.conf.php on line 16
never overwrite a file when uploading again
Page Scraper in PHP by huzi8t9
Submitted: April 29, 2010        Views: 1613

Strict Standards: Non-static method bbcode::parse() should not be called statically in /home/dreaminc/public_html/home/include/include.tpl.func.php on line 57

Strict Standards: Non-static method bbcode::add() should not be called statically in /home/dreaminc/public_html/code/bbcode.conf.php on line 16
Open up a webpage and return all the links.
Submitted: January 29, 2009        Views: 3330

Strict Standards: Non-static method bbcode::parse() should not be called statically in /home/dreaminc/public_html/home/include/include.tpl.func.php on line 57

Strict Standards: Non-static method bbcode::add() should not be called statically in /home/dreaminc/public_html/code/bbcode.conf.php on line 16
This will count number of page views in a session.
Submitted: July 18, 2010        Views: 5056

Strict Standards: Non-static method bbcode::parse() should not be called statically in /home/dreaminc/public_html/home/include/include.tpl.func.php on line 57

Strict Standards: Non-static method bbcode::add() should not be called statically in /home/dreaminc/public_html/code/bbcode.conf.php on line 16
Implementing the PHP __get and __set to mimic class Properties
  1  2  3  >  »  


Submit a Code Snippet and get a chance to win a </dream.in.code> 1GB Thumb Drive!



Strict Standards: Non-static method members::isDicpp() should not be called statically in /home/dreaminc/public_html/home/templates2/copyright.php on line 77

Strict Standards: Non-static method members::isMember() should not be called statically in /home/dreaminc/public_html/home/include/class.member.php on line 16

Strict Standards: Non-static method ipb_interface::getUserId() should not be called statically in /home/dreaminc/public_html/home/include/class.member.php on line 10

Strict Standards: Non-static method ipb_interface::checkUserId() should not be called statically in /home/dreaminc/public_html/home/include/class.member.php on line 10

Strict Standards: Non-static method ads::isAdCompatible() should not be called statically in /home/dreaminc/public_html/home/templates2/copyright.php on line 77