User input validation, client-side or server-side? [closed]
Is it better to validate user input before it's sent to the server with JS or server side with PHP? Or maybe it's worth ...
Latest news, tutorials, and updates from the PHP community
7044 articles available
Is it better to validate user input before it's sent to the server with JS or server side with PHP? Or maybe it's worth ...
Should a function return `null`? E.g. [Code Block] Is the latter considered bad practice or doesn't it matter? PS Whethe...
Is it possible to group and_where / or_where / or_like... statements together so as not to mix with other and/where stat...
I have created a facebook application for sending messages.I am posting some content and image to my wall using php face...
I know that it is possible to call a function with a variable number of parameters with call_user_func_array() found her...
Something that really would like to know but never found out are shortcuts in PHP. I am currently coding a function with...
Basically i'm trying to build a comment system. The user looks at a photo on the site, and then can view all the comment...
How do I write the following query as a CodeIgniter active record script? [Code Block] I came up with this, but it does ...
I've just installed a nginx+php-fpm server. Everything seems fine except that PHP-FPM never writes error to its log. fpm...
I am not too familiar with objects, i usually convert them to arrays using a script, but i thought it was time to man up...
I've developed a web application in PHP and MySQL. One part of the system I've been putting on hold for a while now, is ...
I am getting a MySQL error from my parameterized query. How can I fix it? [Code Block] The error: You have an error in y...
Showing 6229 to 6240 of 7044 articles