Questions tagged as 'script'

0
answers

How to perform the relevant calculations in this PHP script?

I have a PHP script to make calculations of a few linear meters, square meters, etc. The risk is that these calculations are taken from an excel spreadsheet and I have exchanged the values of the names of the cells by the $_post[''] that...
asked by 09.04.2018 / 10:27
1
answer

Shell Script create script alert file creation

I'm trying to create a script, that I detect the creation of directories / files / subdirectories, and that after that, I execute another statement / command Example: Launch a script, and if in / test / detect that it has been created, create...
asked by 02.03.2018 / 16:57
2
answers

How to empty an input type="number" in js?

How can I empty an input type="number" in javascript. Can you use the document.innerHTML = number; or how is it done?     
asked by 19.02.2018 / 19:42
1
answer

Simple geometry problem with Unity and C # [closed]

I need to detect when a ball crosses a line (raycast + line renderer, for now) that will be between two points (like a soccer goal bow) ... but these points will move around the screen ... How can I detect that? that the ball crossed the line?...
asked by 23.01.2018 / 03:27
1
answer

Script SSI Injection

Good morning, I'm trying to make a script to automate SSI Injection tests. The idea is to use curl to make the request to a form but I find the problem that when making the request, it is as if I made it to the login page. I used the co...
asked by 12.12.2017 / 12:26
2
answers

add JavaScript to a page in drupal 7

I have a problem, I have to add a script to a page in drupal 7, but when I add the script in the content of the page it is not saved, how do I add a javascript to a drupal 7 page? Thanks in advance. attached image of how to add the script....
asked by 22.03.2018 / 22:15
0
answers

Download, Upload and Move FTP Files PowerShell

I'm new with PowerShell and I'm working on a Script that has to download files from different routes on a Linux machine by FTP in other routes of a Windows machine and also move them to another destination within Linux, basically like this:...
asked by 09.10.2017 / 12:36
0
answers

MySQL query from script [closed]

I have a computer connected by SSH to another computer from which I want to run a bash script to query an external host in MySQL. I connect without problems from the command line as follows: mysql -h HOST -u USER -pPASS Once connected, I...
asked by 14.08.2017 / 12:28
0
answers

Use FOR to use the .bat file names

I'm having a problem trying to make my script read all the files in a folder to assign variables. At this moment it works as I do with a list in which I set the path of the file. Is there any way for the script to go through the servers fo...
asked by 26.07.2017 / 09:22
3
answers

SH to browse folder and copy files [closed]

I know it's a little but for someone from windows life gets complicated I need to create a script for linux that runs through a folder where files will be getting from time to time (without specific hours because it will be put by other users),...
asked by 13.11.2018 / 14:44