Posts by Ramon Ribeiro • 41 points
5 posts
-
0
votes1
answer44
viewsQ: Crontab stops working when Oracle connection arrives in PHP
I am trying to run a routine by crontab, but it hangs on the connection to the Database. But if I run the file normally as: php /var/www/html/pasta/teste.php He returns the data to me normally: This…
-
0
votes1
answer86
viewsA: How do I set "searched" value in input with Raintpl
You need to enter a variable for Raintpl to use it in the form. For example: "user variable". The HTML code would look like this: <input type="text" class="col-3 form-control" name="nome"…
-
0
votes1
answer86
viewsQ: How do I set "searched" value in input with Raintpl
I’m moving my project to Raintpl and found nothing in their documentation about it. Before I used to wear it like this: <form method="POST" class="row py-4" action=""> <?php $nome =…
-
1
votes1
answer100
viewsA: How do I save an image in a path by searching from an Oracle base?
I managed to solve it, not the way I wanted, but it worked! First I converted the special characters with base64_encode($assinatura) and entered it into the other Database (Mysql). Then I recovered…
-
2
votes1
answer100
viewsQ: How do I save an image in a path by searching from an Oracle base?
I’m trying with the PHP GD library, like this: <?php $con = oci_connect('root', '123', '172.16.1.100/DB'); $stmt = oci_parse($con, "SELECT Nome, Imagem FROM Tabela where ID = '1'");…