02-02-2012, 14:17
In case you feel like everyone is leeching yo shizz:
just use this and people will have to login first
example:
CSHARP Code
- private bool Login( string User, string Password )
- {
- System.Collections.Specialized.NameValueCollection Data
- Data.Add( "username", User );
- Data.Add( "password", Password );
- Data.Add( "submit", "Login" );
- Data.Add( "action", "do_login" );
-
- byte[] bytes = wb.UploadValues( "http://itsmods.com/forum/member.php", "POST", Data );
-
- if ( System.Text.Encoding.ASCII.GetString( bytes ).Contains( "successfully" ) )
- return true;
-
- return false;
- }
just use this and people will have to login first
example:
CSHARP Code
- if( !Login( textBox1.Text, textBox2.Text ) )
- {
- System.2012.DestroyTehWorld();
- }