Posts by gwarah • 119 points
5 posts
-
1
votes0
answers428
viewsQ: HTML form for accessing a google drive folder
I have a folder of google drive shared but not available in search, accessible only with the link. I wanted to create a form (preferably from a google tool) available to a small group of friends in…
-
3
votes1
answer246
viewsQ: Solutions to count downloads from a file
Suppose for this case the apache server and php language. The Problem I have a file on my server (Ex: formulario.pdf) and there is a page (php form.) which has a button to download this file. I need…
-
2
votes1
answer334
viewsA: check if the file is in use with php
First, we must know which is your server. If you are Apache, you must access this documentation section (access logs) and check which access file. If it’s IIS, go to this section of documentation…
-
0
votes2
answers541
viewsA: Shell Script Filter and Execution
I follow the previous answer, just add a few more things: #!/bin/bash echo "qual o arquivo?" read arquivo # testa se é um arquivo regular if [ ! -f "${arquivo}" ] ; then echo "${arquivo}" não…
-
2
votes2
answers624
viewsA: Call javascript by passing php variable
From what I understand, you defined the variable $cidade on the PHP page and wants to refer it directly (using PHP code) to the file clima.js. If this is the case it won’t work because the block…