60 best free fonts (re: 1001) @creativebloq »
Peep it

http://www.creativebloq.com/graphic-design-tips/best-free-fonts-for-designers-1233380



PHP date() function & time string creation tool »

PHP date & time string creation tool for the date() function

Tool - get string for unix timestamp php date() function

Every time I need to format a date from a unix timestamp... I go back and forth from my code, to the php date() function page on php.net

So, Instead, I created a tool that I can go to instead, with common formats, that will spit out the date string for me:

date | time string creation tool - phphaven.com/date-time-tool/

Feel free to use it yourself. Leave a format you want programmed in (a format you use a lot?) and I'll add it.

- enjoy




How to Download Your Instagram Photos and Kill Your Account RE: Wired »
This is great - for those pissed of at instagram lately - http://www.wired.com/gadgetlab/2012/12/how-to-download-your-instagram-photos-and-kill-your-account/


Random, Strong, Online Password Generator/Creator »
My favorite Online password creator started pissing me off 6 months ago... 

I needed a password creator an hour ago... so I made one.

Checkout my Random, Strong, & Online Password Generator/Creator

Enjoy!

OH! And do me a favor and click on an ad, it's how I make money to pay for the site (which I'm trying to update once a day).  Much Appreciate it!




Create a terms of agreement checkbox simple PHP/HTML tip »

Alternate Title: Add value to an agreement checkbox for extra assurance. 

Let's say your site has a checkbox during registration. It's an agreement to some terms or some other garbage.

Make sure you add a value attribute to the HTML code so that checking if the terms were agreed upon is a bit easier.

Example - Front-end code:


<form action="" method="post">
<textarea name="terms">SOME TERMS</textarea><br /><input type="checkbox" name="agree" value="1" /> I have 
read and agreed to these terms... blah blah<br /><input type="submit" />
</form>


There's your HTML, notice <input type="checkbox" name="agree" value="1" />

Now on the PHP (server) side, you can check for that value instead of messing with if the variable was set and the different ways browsers handle sending that over.

PHP code:

<?php

	// CHECKBOX 
	if($_REQUEST['agree']=='1') {
		// THEY AGREED TO THE TERMS!
		echo 'Sucker, you just agreed to give me all your money... READ THE TERMS NEXT TIME!'; 	
	}
	else {
		echo 'NOT AGREED! I do not know what just happened, but I do not have to deal with the different ways browsers can send over checkbox data if I just look for the value instead.';	
	}

?>

Simple "Learn PHP" kind of tip.

- enjoy



       
Search postings
Learning
Learn PHP
Need Help?
If you need help, ping me!
About Me
My name is Jeremy

I am still trying to figure out what I want to do in life, father time be damned.

I run: Conception X
I've built: Jaywire
I'm working on an agency directory

I love my family, playing video games, and developing for the web and mobile.