Welcome Guest ( Log In | Register)



 
Reply to this topicStart new topic
> Show Sql Queries From Other Site
hype
post Jun 6 2005, 05:23 AM
Post #1


Legend Killer
*********

Group: Members
Posts: 678
Joined: 15-April 05
From: Singapore
Member No.: 5,697



How do I use the sql database from other site? like showing the stats of certain field.

Lets say I'm on a forum and wanted to show the number of post I have from a particular forum like trap17 on my own site how do I do that?
Go to the top of the page
 
+Quote Post
Tyssen
post Jun 6 2005, 05:27 AM
Post #2



***********

Group: Members
Posts: 1,161
Joined: 9-May 05
From: Brisbane, QLD
Member No.: 6,818



You'd have to have read access to that other database on the other site's server and I doubt very much that anyone's going to let you do that, particularly as there's privacy issues involved.
Go to the top of the page
 
+Quote Post
hype
post Jun 6 2005, 05:31 AM
Post #3


Legend Killer
*********

Group: Members
Posts: 678
Joined: 15-April 05
From: Singapore
Member No.: 5,697



I've seen some sites able to do this as its only showing fields that everyone can see, its publicaly shown like the post count...
Go to the top of the page
 
+Quote Post
Tyssen
post Jun 6 2005, 05:40 AM
Post #4



***********

Group: Members
Posts: 1,161
Joined: 9-May 05
From: Brisbane, QLD
Member No.: 6,818



You'd still have to get in contact with the admins of the site whose stats you want to use for them to tell you how you would go about it. Probably best sending an email or PM.
Go to the top of the page
 
+Quote Post
HmmZ
post Jun 6 2005, 06:39 AM
Post #5


Super Member
*********

Group: Members
Posts: 362
Joined: 2-March 05
From: The Netherlands
Member No.: 4,097



This is a very tough one, the only easy way is sending the admins an e-mail and ask if you can fetch some data off their site, but maybe i can help you if you are more specific, url and what kind of fields you want to fetch.
Go to the top of the page
 
+Quote Post
SystemWisdom
post Jun 6 2005, 04:01 PM
Post #6


Advanced Member
*******

Group: Members
Posts: 117
Joined: 3-May 05
From: A Canadian South of the 49th Parallel
Member No.: 6,544



My suggestion would be to open a socket/request connection to trap17 forums using PHP (specifically a URL pointing to your members page "http://www.trap17.com/forums/hype-m5697.html") and once you receive the statically generated content you could store it all in a string and simply parse that string looking for the values you want.. You could gather alot of information about yourself from your member page..

Just a suggestion, I have never actually done it, but it shouldn't be too hard..
Go to the top of the page
 
+Quote Post
hype
post Jun 7 2005, 08:25 AM
Post #7


Legend Killer
*********

Group: Members
Posts: 678
Joined: 15-April 05
From: Singapore
Member No.: 5,697



Look at this page made by a KoC clan site:

http://www.lordgaldorsclan.net/ranks/index.php?allranks

They made this ranking system with infomation from the Kings of Chaos itself by talking those stats out and placing in their site, but they do not have permission from the admins...
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic

Collapse

> Similar Topics

Topics Topics
  1. Script: Phpbb Mod, Total Users Registered(1)
  2. Disctionary Site(4)
  3. Search Site Pages Using Keywords?(6)
  4. Need Help With The Header() Function(2)
  5. Add The Online Proxy To Your Site.(0)
  6. Help Skinning My Site(2)
  7. "grand" Login System?(7)
  8. Show Number Of Queries In The Footer(4)
  9. I'm Using Too Much Resources Of My Site(12)
  10. Too Many Connections Created In Mysql By My Site(4)
  11. Good Script Site(6)
  12. Too Many Mysql Queries?(1)
  13. The Downloads On My Site(8)
  14. Posting To An External Site Without Url Change(0)
  15. String Search Outside My Site?(2)
  1. Wap Redirection(12)
  2. I Need Webmail On My Server(0)
  3. Beginner's Php Tutorial Online At My Site(12)
  4. Cms Opensource(1)
  5. Use Bb Code On Your Site!(7)
  6. Php Problems(3)
  7. New Arisen Site Problem(2)
  8. Displaying Your Phone Number On A Wap Site(3)
  9. Connecting Php Site To Database(6)
  10. Html Site With Login(2)
  11. Xbox Gamertag Profile On Site(2)


 



- Lo-Fi Version Time is now: 13th October 2008 - 05:36 PM