Questions tagged as 'script'

1
answer

Error when establishing a connection with the Database

I'm getting this message several times: Error establishing a connection to the Database IhavereadsomematerialaboutthisproblemandalwaysthesolutionistoverifytheWP-configfileandverifythattheMYsqlusernameandpasswordarecorrectandcorrect.Isther...
asked by 17.01.2016 / 15:13
1
answer

How could I trigger an action in a PHP script with a link?

How could I trigger an action in a PHP script from a link? <ul class="categorias"> <li><a href="">Lançamentos</a></li> <li><a href="">Vista Panorâmica</a></li> <li><a h...
asked by 16.10.2014 / 02:51
1
answer

Start reading txt from a specific line in Python [duplicate]

I have some txt files that follow a pattern:    link   Thieves get caught after sending selfies with stolen iPad to iCloud victim    There are several types of meliantes Those you have never heard [...] That is:    original link...
asked by 20.12.2018 / 21:07
1
answer

Copy by Javascript and HTML tags

I have four HTML files and inside of them have multiple tables <table> . I'm trying to put at the end of each of these files a code to just copy the tables, so that later I can paste in excel and go organizing. I am not able to c...
asked by 10.09.2018 / 15:17
1
answer

Update the first input when inserting

I have this form: <form name="form1" class="teste" class="form-validate" id="feedback_form1"> <div class="campo"> <fieldset> <h1> <legend> <center>...
asked by 06.08.2018 / 16:33
1
answer

Compares size of the selected files in the input with the PHP disk_free_space

I need a javascript script to compare the selected files size in input with disk_free_space (in my case disk_free_space('D:') ") of PHP , but it has to be before sending to the page that does I'm using upload of multip...
asked by 19.08.2018 / 00:48
1
answer

Error when using Javascript window.history.back () [duplicate]

Hello, I am having trouble using the window.history.back () method in Javascript, it has the functionality to return to the previous page of my application, the problem is that I have a POST-type search on this page and when I try to return...
asked by 01.06.2018 / 19:53
1
answer

Script for postgres database

I created this script, to clear the table from the bank and to clear id 's. It works, but not the right way It runs and authenticates on psql . but instead of running the sql command it only opens psql . If someone has an exit alr...
asked by 13.06.2018 / 22:12
1
answer

Run script only when the screen is off

Speak, I'm trying to automate phone routines with an app I've made and to make it more effective I'm trying to implement a script so it runs whenever the phone's screen is turned off. For example: if the screen is off > run the script, make al...
asked by 16.04.2018 / 15:07
1
answer

Doubt - SQL Server Dates

In the script below when a given task is completed the other will open on the first business day of the subsequent month. Example : Task 10 was completed on day 18-11-2016 , then another will be generated on day 01-12-2016 . The...
asked by 25.09.2017 / 13:56