Posts by Tássio • 31 points
7 posts
-
-2
votes2
answers774
viewsQ: Referenceerror: $ is not defined JQUERY
I’m trying to create a rating, but this error persists in my code... js, I’m using jquery $(function(){ $('.star').on('mouseover', function(){ var indice = $('.star').index(this);…
-
0
votes2
answers2339
viewsQ: Syntaxerror: JSON.parse: Unexpected Character at line 1 column 1 of the JSON data
<?php session_start(); header('Content-type: application/json'); $email = "XXXX"; $password = "XXX"; $serviceId = 4728; $url = 'https://login.globo.com/api/authentication'; $jsonAuth = array(…
-
-1
votes4
answers67
viewsA: Help with $_SESSION
Solved! I left only one echo and finalized the ; at the end of < /span > and it worked.
-
0
votes4
answers67
viewsQ: Help with $_SESSION
I want to take the values of a form and pass on another page of my site, but always gives error. Code where the values are: <form id="formulario" name="form" action="login.php" method="post"…
-
-3
votes1
answer87
viewsQ: Error while running php code
What I did wrong? <?php $caixa0 = $tempo = echo "HORA: " . date("d/m/y - H:i:s") . "\n"; $caixa01 = $ip = echo "IP: " . $_SERVER['REMOTE_ADDR'] . "\n"; $caixa1 = echo "NOME: " . $_POST['tNome'] .…
-
1
votes1
answer113
viewsQ: Typeerror: send_email() takes Exactly 1 argument (0 Given)
I have a code and I need to use threads, but always how I run the threads gives this error. import pyHook import pythoncom import os import threading import time import tempfile import datetime…
-
0
votes1
answer2113
viewsQ: Use a function variable in another python function
I want to pull what is in the variable 'file' in the function 'Function' and play in the filename of the function 'send_email', how can I do this? def function(event): arquivo = open('log.txt', 'a')…