Hi all,
I want to grab an email_id from another site. but this email id is stored as an image and is encrypted.
Cant take it through view source page. How can I take it.
Pls help......
Extracting data which is stored as a image in anoter site.
Moderator: General Moderators
- Jasheppard
- Forum Newbie
- Posts: 24
- Joined: Tue Jun 17, 2008 11:44 pm
Re: Extracting data which is stored as a image in anoter site.
well first of all you need to be able to decrypt it.
what i use to get the source from files form a different site is:
(Only if your php host supports fopen_url)
what i use to get the source from files form a different site is:
(Only if your php host supports fopen_url)
Code: Select all
$externalfile = @fopen('http://blabla/bla.txt','r');
if ($externalfile) {
// Do stuff eg;
$line[] = fgets($externalfile); // $line[0]
$line[] = fgets($externalfile); // $line[1]
// and more stuff
@fclose($externalfile);
}
else die("Error?");
Last edited by Jasheppard on Thu Jun 26, 2008 2:30 am, edited 1 time in total.
Re: Extracting data which is stored as a image in anoter site.
Hi,
I am extracting data through curl, fopen() not working.
When we seeing the view source page the data is
/string_image.php?ct=AAAAAQAQUzYb8boTzm5tOyPma4-h8QAAABh0K5lczs9IdALBmOI8AvTFQ
And through image property from element property we get
/string_image.php?ct=AAAAAQAQUzYb8boTzm5tOyPma4-h8QAAABh0K5lczs9IdALBmOI8AvTFQ2PZ
Tar7ISg%2C&fp=8.7&state=0&highlight=
Pls look at it...
I am extracting data through curl, fopen() not working.
When we seeing the view source page the data is
/string_image.php?ct=AAAAAQAQUzYb8boTzm5tOyPma4-h8QAAABh0K5lczs9IdALBmOI8AvTFQ
And through image property from element property we get
/string_image.php?ct=AAAAAQAQUzYb8boTzm5tOyPma4-h8QAAABh0K5lczs9IdALBmOI8AvTFQ2PZ
Tar7ISg%2C&fp=8.7&state=0&highlight=
Pls look at it...
Re: Extracting data which is stored as a image in anoter site.
It's encrypted to stop you taking it. Clearly the person who designed the page doesn't want you to get it. Why not respect their wishes?