Posts by cHida • 416 points
10 posts
-
1
votes1
answer159
viewsA: tmp_name of files inside a zip folder
the tmp_name is just the temporary path where the file gets saved before you move it to the folder you want, it is not the original is only temporary. If you want the name of the zip file you sent…
-
1
votes1
answer115
viewsA: SQL return in PHP converts accent to '?'
From what I understand it may be the very encounter of the connection with Oracle. You can try to force encoding on the connection itself in this way: $conn = oci_connect( $username, $pass,…
-
1
votes1
answer43
viewsA: How can I pass a redirected parameter by clicking a button
You can put this button inside a mini form. <form action="iAutenticacao.php" method="post"> <input type="hidden" name="idOportunidade" value="1234" /> <button…
-
1
votes1
answer155
viewsA: Send form with Input Hidden automatically after being filled in
The only way I imagine in this situation is by placing a jQuery, and you already fill in the fields by php. $(window).load( function(){ $('.btn').trigger('click'); }); Oh but one of his own…
-
2
votes1
answer70
viewsA: Invalid argument supplied for foreach() with correct supplications!
It is that not all $value that goes to your second foreach return an Array, you must make a check if it is an array before running a foreach and give the value you want if it is not an Array.
-
1
votes1
answer674
viewsA: How to set default size of a PHP image
What you want can be solved this way: $dest = imagecreatefromjpeg('imgs/bg.jpg'); $tamanho = imagesx($dest); $width = 594; $height = 387; $larguraPadrao = 700; $alturaPadrao = 500; $centro_x = ceil(…
-
0
votes1
answer21
viewsA: Image opacity tagged with MAP
What you want is not possible friend. The only way to do what you want is by using SVG. Make a CSS + jQuery combination and you can do whatever you want. Suggestions:…
-
5
votes3
answers4981
viewsA: How to customize input file?
Hello only with CSS you will not get. I’ve put together a simple way to do what you want with jQuery and CSS https://jsfiddle.net/4oz8znv9/2/ $(function(){ $('#upload').on('change',function(){ var…
-
3
votes2
answers252
viewsA: Interpret and direct with URL that after domain contains a hash
As @Evandro Araújo said, the server will never receive any content that comes after # because it is only interpreted by the browser. So it is not possible to treat these terms with Apache, you will…
-
7
votes2
answers415
viewsA: How to use css Calc() in safari?
only works from Safari 6 and the order has to be reversed width: -webkit-calc(100% - 100px); /* para Chrome */ width: -moz-calc(100% - 100px); /* para Firefox */ width: calc(100% - 100px); /* para…