Important is that any parameter in a query needs to be parameterized. It doesn't matter is your query is select, insert, update or delete ki ...
Read more
If you want to get info about free space on server, or in particular directory, execute next code in your browser - it will give you info ab ...
Read more
Get file extension without use of explode function of preg functions
You can use pathinfo function - it will return an array with element ...
Read more
Or - how to avoid re-declaring functions?
Function redeclaration often occurs if you work with different versions of PHP, ie. on developm ...
Read more
Using cURL functions, you'll be able to connect and communicate to many different types of servers with many different types of protocols - ...
Read more
How to return primary key of last inserted record (ID) generated in the last query, like LAST_INSERT_ID() in MySQL or mysql_insert_id() in P ...
Read more