Questions tagged as 'script'

0
answers

Ajax request with PHP does not recognize scripts

I am creating a code, where I send a form with ajax and return the result obtained in a PHP file (comment.php), however this file ignores the scripts linked in the page where the form is contained (question.php): Ajax code (question.php):...
asked by 28.10.2018 / 04:07
0
answers

Refresh comments without loading page

Reformulating the question: Foreachpost,Ihaveafeedbackform.WhatIneedtodoispasstheformidtothescriptsoIcanhandlethecommentinthepost.However,topassthevaluetothedivprocess,Iwouldneedtosomehowputtheidofthenewcommentonthatdiv,sowhenthereisanotherc...
asked by 01.11.2018 / 05:46
0
answers

Consultation in the Moodle bank in order to bring the number of students approved in a certain course

I need to create a script that searches the bank of Moodle for the number of students approved in a given course and the number of students dropping out, I ask the help of experts about the Moodle bank schema for a path in order to assemble my q...
asked by 18.10.2018 / 16:23
1
answer

Problem with cookie

I would like my script to verify the existence of the informed Cookie and if it did not exist insert, and if it was already existing did not insert. My code is this: $protocol = (strpos(strtolower($_SERVER['SERVER_PROTOCOL']),'https') ==...
asked by 25.10.2018 / 21:57
0
answers

Script to execute program

Hello. I would like an example of Script by VBS itself, so check if there is activity in Windows and so if there is no activity in the previous 15 minutes, this script runs a certain program.     
asked by 18.10.2018 / 21:56
1
answer

How to use JSON [closed]

I have a link from an API ( link ) I want to know if there's any way I can get it "name": "Norkx", "sex": "female", "vocation": "Royal Paladin", "level": 407, "world": "Inabra" and print in HTML?     
asked by 27.09.2018 / 21:03
0
answers

Google Sheets Script

Good Morning! In the company I work recently we have changed the office package to the G-Suite and with this we are facing some problems because many sectors use excel for complex functions, then there is the problem: Today in Excel we have a sp...
asked by 20.09.2018 / 13:13
0
answers

Two refresh being one with redirection

So, guys, I needed the page to refresh, being a second with redirection. In case mine is like this: echo '<meta http-equiv="refresh" content="1;listaclientes.php">'; So far so good, I edit the registry and then it redirects to the...
asked by 04.09.2018 / 20:49
0
answers

Script with automatic function in a site always doing the same process after a while

I'm looking for help in a particular function that I believe is easy but I do not understand the subject and if anyone can help I'm grateful. There is a website on the internet called BTCSPINER where you spin the spiner to mine satoshis. Only in...
asked by 04.09.2018 / 05:07
1
answer

Vector size in a JSON in Shell Script

I'd like to get the size of a vector in a JSON in the scriipt shell but I'm only getting the size of each vector string, ie for the example: #!/bin/bash j='{"Nomes": { "nome": ["maria", "jose", "vitor","caio"] }}' echo $j echo $j | jq -r "....
asked by 07.09.2018 / 22:17