Member since 04/15/2009

Name: Benjamin Pearson

Location: Melbourne


2 snippets

2283 profile views

0 Comment(s) Posted

View their favorites



first submission:submitting first snipplet

benjaminpearson's Recent SnippetsTagged php

« Prev 1 Next »
Proper enumerations in PHP are hard to come by. This uses a class as a pseudo enumeration. Sometimes you'll want to lookup the string name side of the enum when you have the value (ie, you have "1" and you want the string "Flood").
0 476 posted 14 years ago by benjaminpearson
The following are instructions to "re-post" files that have been already been POSTed to your php script. This can help if you want to have a form (with file upload) that POSTs its data to your own script where the text elements can be handled and the...
2 658 posted 14 years ago by benjaminpearson
« Prev 1 Next »