Posts by Natanael Nicolas • 53 points
8 posts
-
1
votes2
answers939
viewsQ: Javascript - Open new tab and close current
How can I open a new guide on JavaScript and close the current? I tried using this code but error 500 on the server redirect.php echo "</script>window.open(https://google.com,…
-
0
votes1
answer126
viewsQ: Delete line in html file
I have a file that shows the time and name that a user logged in to the site, this file is password protected, is there any way to put a [Delete] button to delete certain line ? I use the following…
-
0
votes1
answer525
viewsQ: Capture visitor’s local time
Hello, for security reasons I need to pick the time the visitor of the page entered, but the system apparently is taking time from the server. IP: [XXX.XXX.XXX.XXX] Date: [03-07-2017 - 14:05:49]…
-
1
votes1
answer205
viewsQ: Convert string to Static?
It is possible to be converting string to Static ? String prefix = getConfig().getString("prefix"); String sufix = getConfig().getString("sufix"); Cannot make a Static Reference to the non-static…
javaasked Natanael Nicolas 53 -
-1
votes4
answers5462
viewsA: how to insert picture into database
I can help you in the part of creating the mysql table. Take a look at the code below, create table imagens ( imagem_id tinyint(3) not null default '0', imagem_type varchar(25) not null default ' ',…
-
0
votes3
answers210
viewsA: Audio aleatorio na pagina
I put a shuffle($files); p choose a random file before the for and a Break; after the audio echo. <?php $dir_path = "data/"; $extensions_array = array('mp3'); if(is_dir($dir_path)) { $files =…
-
1
votes3
answers2080
viewsA: avoid Ubmit of a form with barcode reader
The barcode reader works like a keyboard. It identifies the code, type and press enter. vc have to configure the reader and disable the auto enter function.
-
1
votes3
answers210
viewsQ: Audio aleatorio na pagina
I wish that whenever someone walks into a page some random mail is reproduced that is in a folder. I tried to use this <?php $dir_path = "data/"; $extensions_array = array('mp3');…