Programming Designs Forums

Programming Designs

You are not logged in.

Announcement

This forum is for archival purposes only. Registration and posting have been disabled.

#1 2008-11-08 09:44 AM

cipcip
New Member
Registered: 2008-11-08
Posts: 1
Website

Need a little help

Hello,

I am trying to use your pagerank script available here: http://programming-designs.com/page/web … amp;item=2

When I include the pagerank.php file on my index, it shows me the source of the page when i access it and not the page that was supposed to.

My header looks like this:

Code:

<?php
error_reporting(0);
    include('pagerank.php');
    include('data.class.php');
    include('config.php');
    include('tag_cloud.php');
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
and so on .....

And when i comment it, the page works. Can someone please give me an idea of what to do ?

Thank you!

Offline

 

2008-11-08 09:44 AM

Sponsors


#2 2008-11-22 07:26 PM

InSp3KtaH
Junior Member
From: Montreal
Registered: 2007-01-26
Posts: 94
Website

Re: Need a little help

if the php source is shown to you instead of loading the requested scripts.. that means that php is not installed or not installed properly on the server you are running the script from


There was a king, who had a dream with no idea
of what this could mean and nobody could interpret
of seven empires falling, the wolf is at the door
as predicted years ago, that that was, that is, that is no more...

Megadeth - Washington is next

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2005 Rickard Andersson