How to find out if you're using HTTPS without $_SERVER['HTTPS']
I've seen many tutorials online that says you need to check `$_SERVER['HTTPS']` if the server is connection is secured w...
Latest news, tutorials, and updates from the PHP community
6985 articles available
I've seen many tutorials online that says you need to check `$_SERVER['HTTPS']` if the server is connection is secured w...
If I am using mysqli prepared statements, do I still need to use `mysqli_real_escape_string()` as well? Is this necessar...
[Code Block] Why does the above code only output the first letter in message? "t".
I'm having some trouble trying to use a query result as an array. First, I run a query to get all the zip values that I ...
I recently ran up against a problem that challenged my programming abilities, and it was a very accidental infinite loop...
I'm using PHP5, CodeIgniter and Apache. The localhost php pages were loading fine and then suddenly they started crashin...
I'm working with a `DOMDocument`, and I'm wondering if there exists some way of using CSS-like selectors to select nodes...
This is the function I currently use (from a PHP book I bought): [Code Block] But I feel like it could be safer. for exa...
Often, when writing PHP, I'll have it output some HTML content like this: [Code Block] Obviously, this won't parse as I ...
In my MySQL database, I have this column called: Name: Date Type: datetime I have few values in that column: 2009-01-05 ...
Below is my code for the function I am using to retrieve multiple data from my table, but I would like to use bind_resul...
I've got a string with HTML attributes: [Code Block] How to transform that string into an indexed array, like: [Code Blo...
Showing 6901 to 6912 of 6985 articles