Log into another site using php

Links for php scripts

Moderators: egami, macek, gesf

Post Reply
johnj
php-forum Super User
php-forum Super User
Posts: 1803
Joined: Thu Mar 10, 2011 5:07 pm

Mon Jun 18, 2012 7:55 am

Please read up about php curl and try a few examples.

User avatar
egami
php-forum GURU
php-forum GURU
Posts: 2192
Joined: Wed Oct 06, 2010 11:19 am
Location: Happy Valley, UT

Mon Jun 18, 2012 10:42 am

well..
you're asking for code to help do a little hacking on some HTML from hackforums.net; and you say it doesn't sound suspicious.

cURL is what you'll need.
You'll also need a valid login and password, a valid URL to attach to..


you'll need to read a little up on get_file_contents(); as well as some string manipulation tools to get what you want.. thinks like strpos, substr, strstr, preg_match, etc.

Good Luck!
I don't think you'll get exact code, and if you do.. I'd be leary about it.

Post Reply
  • Information
  • Who is online

    Users browsing this forum: No registered users and 1 guest