I just tried this script and the result is 8, this is very puzzling ... your result was 28? Please try again with this script, I can't understand how the results could be different when using the exact same scripts unless the server is somehow involved. My server does block get_file_contents() but I am not aware it is configured to change the results using these functions.
Here is the result I get from your script after adding print_r($xml); to the last line to view the result details. When you run my script (the first script from the first post) do you get the same result as well 28?
[text]SimpleXMLElement Object
(
[id] => 0f80cf1ad2c4cbd6d9fe47ae4ab3ee11
[generator] => Facebook Syndication
[title] => Web Press Creative GUI CMS Website Free Download's Facebook Wall
[link] => Array
(
[0] => SimpleXMLElement Object
(
[@attributes] => Array
(
[href] =>
http://www.facebook.com/
)
)
[1] => SimpleXMLElement Object
(
[@attributes] => Array
(
[rel] => self
[href] =>
http://www.facebook.com/feeds/page.php? ... 4130730204
)
)
)
[updated] => 2014-01-26T18:36:17-08:00
[icon] =>
http://www.facebook.com/favicon.ico
[logo] =>
http://profile.ak.fbcdn.net/hprofile-ak ... 2597_n.jpg
[entry] => Array
(
[0] => SimpleXMLElement Object
(
[title] => Development has begun on a template/plug-in set that will allow Web Press Creati...
[id] => 6d6913f2557bc1ef29fad1c92c78af3d
[link] => SimpleXMLElement Object
(
[@attributes] => Array
(
[rel] => alternate
[type] => text/html
[href] =>
http://www.facebook.com/photo.php?fbid= ... 204&type=1
)
)
[published] => 2014-01-27T02:36:17+00:00
[updated] => 2014-01-27T02:36:17+00:00
[author] => SimpleXMLElement Object
(
[name] => Web Press Creative GUI CMS Website Free Download
)
[content] => Development has begun on a template/plug-in set that will allow Web Press Creative users to build their own personal social website that is linked with Facebook and allows for bi-directional posting with any Facebook account displaying the Facebook page content, sorting, storage and editing along with many other types of data manipulation and usages with additional options of functionality that Facebook does not offer with the Facebook page alone.<br /> <br /> Along with all the features of Facebook users can "Tune in" to the myFBpage channel to interact with and endless possibility of features like videos, news, games or any media channel masters wish to provide. Applications will become available the control channel masters accounts as another plug-in for Web Press Creative.<br /> <br /> Requests for functions, services and features is very important to our developers at this stage of the development so if there is anything you have always wanted Facebook could do or have any great ideas you want to share now is the time to tell us. We can make it happen! Let us know what you would like!!<br /> <br /> More information on the progress on this project will be available as it is available.<br /> <br /> Thank you,<br /> Donald Dion Web Press Creative web application developer.<br/><br/><a href="
http://www.facebook.com/photo.php?fbid= ... nt_count=1" id="" title="" target="" onclick="" style=""><img class="img" src="
http://photos-g.ak.fbcdn.net/hphotos-ak ... 3300_s.png" alt="" /></a>
)
[1] => SimpleXMLElement Object
(
[title] => SimpleXMLElement Object
(
[0] =>
)
[id] => 1bdb6059ceb757696b5a0c9971da7707
[link] => SimpleXMLElement Object
(
[@attributes] => Array
(
[rel] => alternate
[type] => text/html
[href] =>
http://www.facebook.com/webpresscreativ ... 6840533568
)
)
[published] => 2014-01-23T20:18:29+00:00
[updated] => 2014-01-23T20:18:29+00:00
[author] => SimpleXMLElement Object
(
[name] => Web Press Creative GUI CMS Website Free Download
)
[content] => <a href="
http://profile.ak.fbcdn.net/hprofile-ak ... 2597_s.jpg" id="" title="" target="" onclick="" style="">
http://profile.ak.fbcdn.net/hprofile-ak ... jpg</a><br /><br/><a href="/webpresscreativedownload/posts/642733005789983" id="" style="">Web Press Creative GUI CMS Website Free Download</a><br/>Development has begun on a template/plug-in set that will allow Web Press Creative users to build their own personal social website that is linked with Facebook and allows for bi-directional posting with any Facebook account displaying the Facebook page content, sorting, storage and editing along with many other types of data manipulation and usages with additional options of functionality that Facebook does not offer with the Facebook page alone. Requests for functions, services and features is very important to our developers at this stage of the development so if there is anything you have always wanted Facebook could do or have any great ideas you want to share now is the time to tell us. We can make it happen! Let us know what you would like!! More information on the progress on this project will be available as it is available. Thank you, Donald Dion Web Press Creative web application developer.
)
[2] => SimpleXMLElement Object
(
[title] => Development has begun on a template/plug-in set that will allow Web Press Creati...
[id] => d09636c978aab175cc7af3baa64cad2b
[link] => SimpleXMLElement Object
(
[@attributes] => Array
(
[rel] => alternate
[type] => text/html
[href] =>
http://www.facebook.com/webpresscreativ ... 3005789983
)
)
[published] => 2014-01-23T20:18:03+00:00
[updated] => 2014-01-23T20:18:03+00:00
[author] => SimpleXMLElement Object
(
[name] => Web Press Creative GUI CMS Website Free Download
)
[content] => Development has begun on a template/plug-in set that will allow Web Press Creative users to build their own personal social website that is linked with Facebook and allows for bi-directional posting with any Facebook account displaying the Facebook page content, sorting, storage and editing along with many other types of data manipulation and usages with additional options of functionality that Facebook does not offer with the Facebook page alone.<br /> <br /> Requests for functions, services and features is very important to our developers at this stage of the development so if there is anything you have always wanted Facebook could do or have any great ideas you want to share now is the time to tell us. We can make it happen! Let us know what you would like!!<br /> <br /> More information on the progress on this project will be available as it is available.<br /> <br /> Thank you, <br /> Donald Dion Web Press Creative web application developer.
)
[3] => SimpleXMLElement Object
(
[title] => Whats in development right now?
Web Press Creative developers are beginning dev...
[id] => 6b6cefd3633945861e3de07edfe9748f
[link] => SimpleXMLElement Object
(
[@attributes] => Array
(
[rel] => alternate
[type] => text/html
[href] =>
http://www.facebook.com/webpresscreativ ... 6916843592
)
)
[published] => 2014-01-02T21:04:04+00:00
[updated] => 2014-01-02T21:04:04+00:00
[author] => SimpleXMLElement Object
(
[name] => Web Press Creative GUI CMS Website Free Download
)
[content] => Whats in development right now?<br /> <br /> Web Press Creative developers are beginning development on the following:<br /> <br /> WPC self install plug-in – this plug-in will self install additional add-on's, template sets and other future available scripts and updates.<br /> <br /> New template theme sets are coming soon !<br /> <br /> WPC language compiler for a symbolic scripting language that loads and utilizes core functions and includes scripts with simple directives that compiles scripting from a database library containing WPC 'Web Press Creative Preprocessed Context' directives along with the PHP functions making PHP script writing for Web Press Creative quick and simple.
)
[4] => SimpleXMLElement Object
(
[title] => GUI CMS MENU DATABASE SECTION
This menu system allows the administrative user t...
[id] => 62dfbbfbb4a168874d2bce9d8bd9109e
[link] => SimpleXMLElement Object
(
[@attributes] => Array
(
[rel] => alternate
[type] => text/html
[href] =>
http://www.facebook.com/webpresscreativ ... 5863510364
)
)
[published] => 2014-01-02T21:01:39+00:00
[updated] => 2014-01-02T21:01:39+00:00
[author] => SimpleXMLElement Object
(
[name] => Web Press Creative GUI CMS Website Free Download
)
[content] => GUI CMS MENU DATABASE SECTION<br /> <br /> This menu system allows the administrative user to enter into all aspects of the website core and make changes or edit web pages and settings.<br /> <br /> Database section:<br /> <br /> This section displays all data in the database and allows that data to be searched for specific values. These values will all be highlighted in red throughout all the data. The search can ether be case insensitive or if 'find exact values' box is checked becomes case sensitive.
)
[5] => SimpleXMLElement Object
(
[title] => GUI CMS MENU MENU TYPES SECTION
This menu system allows the administrative user...
[id] => 63239897e990b960a0159b3d5c3784ad
[link] => SimpleXMLElement Object
(
[@attributes] => Array
(
[rel] => alternate
[type] => text/html
[href] =>
http://www.facebook.com/webpresscreativ ... 5753510375
)
)
[published] => 2014-01-02T21:01:24+00:00
[updated] => 2014-01-02T21:01:24+00:00
[author] => SimpleXMLElement Object
(
[name] => Web Press Creative GUI CMS Website Free Download
)
[content] => GUI CMS MENU MENU TYPES SECTION<br /> <br /> This menu system allows the administrative user to enter into all aspects of the website core and make changes or edit web pages and settings.<br /> <br /> Menu types:<br /> <br /> In this section all available installed menus are listed and can be launched for use, each has a description of the menu and unwanted menus installed can be completely removed by clicking 'delete'.
)
[6] => SimpleXMLElement Object
(
[title] => GUI CMS MENU PLUG-IN'S SECTION
This menu system allows the administrative user...
[id] => a98ed7233f37dc35e66048e24864a967
[link] => SimpleXMLElement Object
(
[@attributes] => Array
(
[rel] => alternate
[type] => text/html
[href] =>
http://www.facebook.com/webpresscreativ ... 5653510385
)
)
[published] => 2014-01-02T21:01:06+00:00
[updated] => 2014-01-02T21:01:06+00:00
[author] => SimpleXMLElement Object
(
[name] => Web Press Creative GUI CMS Website Free Download
)
[content] => GUI CMS MENU PLUG-IN'S SECTION<br /> <br /> This menu system allows the administrative user to enter into all aspects of the website core and make changes or edit web pages and settings.<br /> <br /> Plug-in's section:<br /> <br /> In this section all the available plug-in's install will be listed and the user is able to change settings on plug-in's. Installed plug-in's can be uninstalled by clicking on 'delete' to remove plug-in and all files, folders and database entries associated with the unwanted plug-in.
)
[7] => SimpleXMLElement Object
(
[title] => GUI CMS MENU TEMPLATE SECTION
This menu system allows the administrative user t...
[id] => 2968bb9e54b219ea2428ee40b40e08e4
[link] => SimpleXMLElement Object
(
[@attributes] => Array
(
[rel] => alternate
[type] => text/html
[href] =>
http://www.facebook.com/webpresscreativ ... 5500177067
)
)
[published] => 2014-01-02T21:00:45+00:00
[updated] => 2014-01-02T21:00:45+00:00
[author] => SimpleXMLElement Object
(
[name] => Web Press Creative GUI CMS Website Free Download
)
[content] => GUI CMS MENU TEMPLATE SECTION<br /> <br /> This menu system allows the administrative user to enter into all aspects of the website core and make changes or edit web pages and settings.<br /> <br /> Template selection section:<br /> <br /> Select the preferred template for the website from the drop down menu and click on 'preview' to see what the template will look like. To change the template used for the website click 'save' the website will then use the new template selection for all web pages.<br /> <br /> Menu button will display the menu for that template and once it is selected for any special settings for that template if any are available.
)
)
)[/text]