Posts by Lucas Pires • 257 points
7 posts
-
5
votes3
answers2818
viewsQ: Check Mysql Connection Existence in PHP
I had this question recently, how to check if there is an open connection with mysql? Everyone knows that to use the mysql_real_escape_string need to have a connection right, so I wanted to check if…
-
0
votes2
answers97
viewsQ: The PHP Exception class for the system?
One question that came to me just now is "The PHP Exception class for the system?", what I mean is, when we release an exception in the script, something after this exception remains in operation?…
-
4
votes2
answers134
viewsQ: How to use Logicexception from PHP?
I’m studying the handling of errors in PHP, and already know how to use Exception, but I was in doubt about the LogicException, what is its purpose? And how to use it correctly?…
-
5
votes2
answers16023
viewsQ: How to Update PHP Version on Wampserver?
Does anyone know how to upgrade the latest version of PHP to Wampserver?
-
2
votes3
answers408
viewsQ: What is the best way to create PHP-related posts?
I have a system that I use, but I wanted to have a system to leave more filtered the search for related posts, currently using the REGEXP of SQL to do, I have already used the LIKE and the results…
-
8
votes1
answer350
viewsQ: How to use Salts and hashs with PHP?
Following people, I have to make a system of registration and login of users, but wanted to increase the security of this system using Salts in passwords, someone could show me a simple example…
-
1
votes1
answer144
viewsQ: Syntax Highlight and Tinymce4
Whenever I put a JS, PHP or CSS script in tinymce inside the tags <pre>, like Syntax Highlight, it works perfectly, but if I want an HTML script, like tinymce is an HTML editor it removes my…