Jump to content

phpaccount

New Members
  • Posts

    4
  • Joined

  • Last visited

phpaccount's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. I don't see how that will work. Because first you will be redirected to another website, and after that its impossible to execute scripts of any kind afaik. Unless cURL can fill out post forms...
  2. I just want a simple visit counter, I have almost no experience in php so I don't know where to start.
  3. I currently have this <?php /* counter */ //opens countlog.txt to read the number of hits$datei = fopen("countlog.txt","r");$count = fgets($datei,1000);fclose($datei);$count=$count + 1 ; // opens countlog.txt to change new hit number$datei = fopen("countlog.txt","w");fwrite($datei, $count);fclose($datei); ?> But it counts mostly 3 or 4 times for 1 visit, I read somewhere broken images are the causes(Can't fix it, im new to this). So how do I make a simple counter that counts the visitors of your website? Not with a visual element, but just so it stores visits in countlog.txt
  4. If I have a php file linked to a login form, could I login to gmail? For example, something like this: header("Location: https://www.google.com/accounts/ServiceLoginAuth?continue=http://mail.google.com/gmail&service=mail&Email=".$LOGIN."&Passwd=".$PASSWORD."&null=Sign+in") If im correct, this is a piece of the login form I have: <DIV class="email-div"><LABEL for="Email"><STRONGclass="email-label">Username</STRONG></LABEL><INPUT id="Email" name="Email"type="email" spellcheck="false"></DIV><DIV class="passwd-div"><LABEL for="Passwd"><STRONGclass="passwd-label">Password</STRONG></LABEL><INPUT id="Passwd" name="Passwd"type="password"></DIV> Sorry if I made a mistake, I just followed a guide somewhere how to make a login form, and im completely new to php.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.