Profile
Achievement
benjaminpearson's Recent SnippetsTagged php
- All /
« 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
670
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
1040
posted 15 years ago by benjaminpearson