halk


Member since 10/02/2012

Name: Hal Kitts

Location: Upstate New York

Website: not yet just a sandbox

I like to code:)

5 snippets

656 profile views

0 Comment(s) Posted

View their favorites

Profile

Achievement

first submission:submitting first snipplet

halk's Recent SnippetsTagged php



« Prev 1 Next »
This is a static session wrapper that handles single variables and arrays. It allows setting, resetting, and deleting session variables (without destroying the session). It regenerates the session id every time a session is started to prevent sessi...
0 196 posted 8 years ago by halk
/** * THIS FUNCTION WILL RENDER A CONTAINER OR SELF-CLOSING HTML ELEMENT. * IT AUTO DETECTS WHAT TYPE YOU WANT * BASED ON RATHER OR NOT YOU SET A _data KEY IN THE ARRAY OF * ATTRIBUTES PASSED TO THE FUNCTION * * USING AN ASSOCIATIVE ARRA...
0 227 posted 8 years ago by halk
https://gist.github.com/4098493 (examples of use below the class code) This class allows you to load a file of snippets that are really mini-templates copy them from your repository fill the token slots in them the with your data and render them as...
0 206 posted 8 years ago by halk
Does not require http in the text to link. It must start with www however. Optionaly make the links popup in a new window.
0 255 posted 8 years ago by halk
This function dosen't use curl, or any other libraries. Just include it in your function library and use it like this: $Post_result = _post('http://www.yourdomain.com/your_path/post_api.php',"method=fetchJson&params=select * from user");
0 208 posted 8 years ago by halk
« Prev 1 Next »