Posts by Paulo Henrique Rocha • 45 points
4 posts
-
1
votes1
answer122
viewsQ: Mask or remove email, phone and urls from a PHP string
It is as follows: I have a system that users post an ad, only that the sale is brokered by the system, so users cannot post contact details in the ad description, mainly phone numbers, emails or…
phpasked Paulo Henrique Rocha 45 -
0
votes1
answer435
viewsQ: How to encrypt a PHP code?
I created a system using the standard MVC (model-view-controller), in PHP and Mysql database, and would like to encrypt the code, at least the main parts, before leaving my computer, to prevent it…
phpasked Paulo Henrique Rocha 45 -
0
votes2
answers480
viewsA: Return primary key after insertion into Mysql
Otherwise if it is mysqli, if you are not using a class (object oriented), the function insert_id(); can be used as follows: mysqli_insert_id($conexao_com_mysql) instead of: $mysqli->insert_id…
-
3
votes1
answer865
viewsQ: How to view domain availability (whois) with php?
How do I check the availability of a national domain (.br) and others using PHP? Is there any php class ready for this?
phpasked Paulo Henrique Rocha 45