Posts by Luiz Felipe • 97 points
5 posts
-
1
votes1
answer254
viewsQ: Validate IP in javascript / html
The user informs the ip in the field and would like it to complete with the "." . Does anyone have any idea how to mount? <tr > <td align="center" font-size="50"> <font…
-
1
votes1
answer2071
viewsQ: Insert input value into array
How to store the values of an input at array positions? I would like to take the value that was typed in the field and store it in an array, where I need to sort the values that were added in the…
-
1
votes1
answer62
viewsQ: Use file data in php code
I would like to know how to modify such code so that it reads the file data .txt to carry out the search from them. Code: <?php function dijkstra($graph_array, $source, $target) { $vertices =…
phpasked Luiz Felipe 97 -
5
votes2
answers7910
viewsQ: Read text file and play the content in positions in an array!
I’m not sure I can read a file .txt and store your data in different positions in one array. The file is saved as follows: city=A(100,80); city=B(160,70); city=C(110,50); city=D(140,120);…
-
-1
votes2
answers541
viewsQ: Shell Script Filter and Execution
I have a problem in Shell Script, where: You need to report a file; Check if it’s a file .C, .JAVA or neither of; If you are either, compile as chosen and run; (I don’t know much about Shell)…