PHP Classes

Get_page_example.php file not working

Recommend this page to a friend!

      MySite with Wikipedia  >  All threads  >  Get_page_example.php file not working  >  (Un) Subscribe thread alerts  
Subject:Get_page_example.php file not working
Summary:Get_page_example.php file not working
Author:Antonio Jose
Date:2012-10-09 19:50:20

  1. Get_page_example.php file not working   Reply   Report abuse  
Antonio Jose - 2012-10-09 19:50:20
Hello, first of all forgive for the English!
My case is that I have commented the file as follows:
<? php
include 'wikipedia.class.php';
$ x = new wikipedia ('');
echo $ x-> get_page ('story', true);
I have it on a Apache server Ubutu. When I put in the file browser, does not show me anything, I gave the appropriate permissions to the directory where you stay.
The other files I have not touched, are as I have downloaded. Any suggestions? thanks