Posts by Paulo C. Teixeira • 116 points
7 posts
-
2
votes2
answers397
viewsQ: Problems with HTTPS and WWW Redirection
I’m struggling with something, I have various conditions to meet in mine. htaccess but I can never answer them at once, just once or twice. I have a project in Laravel on the way…
-
0
votes2
answers207
viewsQ: Problem with categories in Prestashop
Hi, I’d like someone’s help, I’ve had this problem for days and there’s no research that could solve this. I am testing a product import tool in Prestashop, and after some tests I went to delete the…
-
0
votes2
answers2535
viewsA: Request in the Cielo API in PHP using Curl
Follow how I made the request via POST in my integration. $request is an array with card information, client, etc... as it is in the same documentation. $data_string = json_encode($request, true);…
-
3
votes1
answer105
viewsQ: Remove string numeric sequence
I have the following problem, I believe I can solve it with regular expressions, but I am terrible with the same. Let’s say I have a string that way: CONECTOR BNC FEMEA + F MACHO 024267 or so PLUG…
-
4
votes1
answer976
viewsA: Project copy without installation of Laravel Framework
If you are manually copying the project You can simply copy everything and unzip on the target server, you need to watch the permissions of the folders, the folder 'Storage' needs chmod 777. And do…
-
0
votes3
answers90
viewsA: IF comparing with GET does not work
If you want to keep the same way you are making the mistake is in the relatives you put in the if. Below is the correction. if($_GET['categoria'] == 0) { $mysql = new conexao(); echo 'Erro'; }else{…
phpanswered Paulo C. Teixeira 116 -
0
votes3
answers4737
viewsA: Capture text within a <td> via jQuery
Here is an example of how to take the text of an HTML element and manipulate it. In this example I took the text of the DIV and put it inside an Input. I hope I’ve helped. $(function(){ var…