Results 1 to 3 of 3
May 14, 2009, 21:37 #1
Fetch records from third party website
There is a scenario where there is an HTML form on some website (say http://xyz.com/user.php), which prompts for username. When you enter the username and click on "Submit", using the POST method it takes you to the same page (user.php), queries the DB and then redirects to that user's profile (http://xyz.com/profile.php?profile=55412256)
Please note that in the above querystring, 55412256 is NOT the username that you input in the first page, its probably an autoID or something else, so please do not get confused.
The profile.php page includes User's Firstname, Lastname, Date Of Birth.
The html format for the same is:
<table border="0" width="100%"> <tbody> <tr> <td><h1>Member details</h1></td> </tr> <tr> <td><br> <br> <strong>Name: </strong> <span id="Name">Mr John Smith </span><br> <br> <strong>Date of Birth: </strong> <span id="DOB">31 Oct 1982 </span><br> <br> </td> </tr> </tbody> </table>
Now, my question is that, since I do not have the DB access to that website, so is there anyway I can automate this system in my application and fetch a user's Date of birth?
What I mean is, people come to my website, enter their username and get their date of birth. I know this is pretty pointless but this is what I need
I don't know how but I have a strong feeling that this can be done.
May 14, 2009, 22:34 #2
- Join Date
- Jul 2005
- West Springfield, Massachusetts
- 187 Post(s)
- 2 Thread(s)
Can you go directly to the profile.php page without going to user.php page first as long as you know the profile "autoID" value?
May 14, 2009, 22:38 #3
Yes I can.
There are apparently 50,000 users in their database and I do not want to store them on mine or hard code each one's autoID in my application