Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 807

PHP is a widely-used, general-purpose scripting language that is especially suited for web development.

11 votes
Accepted

Checking date & time in PHP

php echo $countdown; // just personally prefer full tags ? … This way, you can have staff simply use an internal webform to change schedules instead of having the PHP dev hard-code the changes every time. …
bob-the-destroyer's user avatar
8 votes
1 answer
565 views

MySQLi_Recordset: blending SPL and Statement/Query results

I've made a SPL-based class named "Recordset" that wraps both MySQLi_STMT and MySQLi_Result objects and allows treating either as a 3-dimensional array. It requires PHP5.3+. I'm pretty bummed about …
3 votes
Accepted

Uploading a file to the server

One thing that immediately stands out to me is whether $_FILES['uploadfile'] actually exists for each upload request. Do an isset on it first to make sure a client doesn't send a post with fabricated …
bob-the-destroyer's user avatar
1 vote

Simple MVC in PHP

Unlike other SPL interfaces, I'm not finding that this pair of built-in interfaces has any intrinsic value other than to provide a template. It would be nice if Observer can automatically trigger its …
bob-the-destroyer's user avatar