|
|
|
||||
|
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() |
|
|||||||
| Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
|
Thread Tools |
|
|
#1 |
|
Confirmed User
Join Date: Sep 2004
Posts: 825
|
PHP XML Parsing Problem for Alexa Rank
I'm trying to create a small PHP script that reads an XML file and extracts the value of an attribute (if that makes sense)
Example: XML file: http://data.alexa.com/data?cli=10&da...ckyourself.com The part I'm looking for is this one: <REACH RANK="4582"/> The script is supposed to output "4582" but nothing is working and its 6:17am Please ![]() |
|
|
|
|
|
#2 |
|
Confirmed User
Join Date: Sep 2004
Posts: 825
|
bump.....
|
|
|
|
|
|
#3 |
|
Too lazy to set a custom title
Join Date: Jan 2002
Location: Holland
Posts: 9,870
|
stil looking?
__________________
Don't let greediness blur your vision | You gotta let some shit slide icq - 441-456-888 |
|
|
|
|
|
#4 | |
|
Confirmed User
Join Date: Jul 2004
Location: Denmark ICQ: 7880009
Posts: 2,203
|
Quote:
If you only want that one part there is not need to really parse the XML.. PHP Code:
that should do it.. |
|
|
|
|
|
|
#5 |
|
Confirmed User
Join Date: Sep 2004
Posts: 825
|
Thanks, it works great
|
|
|
|
|
|
#6 |
|
Confirmed User
Join Date: Jul 2004
Location: Denmark ICQ: 7880009
Posts: 2,203
|
no problem
|
|
|
|