frustrating problem
Posted: Mon Nov 15, 2004 4:05 pm
Hey, i've been using php for a while now.. [though not enough to concider myself very good] and im encountering an annoying and frustrating problem in writing a bit of code that my mind has been toying with for a bit.
the goal of the project is to get infromation about a planetside account and produce an image describing the user from the information gathered. a minor hitch in the concept is that they dont expose their database, or any tie in to their database to anyone, save for this website:
http://myplanetside.station.sony.com/character.jsp
so that left me with trying to parse that website using php.
my first semi-successful attempt was to fread the entire site into a string and then display the string just to see what i'd get. what was returned was the top of the page down to the bottom of the "Planetside" top nav bar, but none of the dynamic content. im guessing(blindly) that this is because it's deciding its done reading before the website has decided its done spouting information. can anybody tell me how to make it hold on a bit before ending, or perhaps point me in an entirely different direction?
thank you,
~keedy
the goal of the project is to get infromation about a planetside account and produce an image describing the user from the information gathered. a minor hitch in the concept is that they dont expose their database, or any tie in to their database to anyone, save for this website:
http://myplanetside.station.sony.com/character.jsp
so that left me with trying to parse that website using php.
my first semi-successful attempt was to fread the entire site into a string and then display the string just to see what i'd get. what was returned was the top of the page down to the bottom of the "Planetside" top nav bar, but none of the dynamic content. im guessing(blindly) that this is because it's deciding its done reading before the website has decided its done spouting information. can anybody tell me how to make it hold on a bit before ending, or perhaps point me in an entirely different direction?
thank you,
~keedy