Jump to content

php include help, Parse Error


member

Recommended Posts

Hi,

I got an error like this: Parse error: parse error, unexpected T_STRING in http://hanmia8.freehostia.com/index.php?option=com_content&task=view&id=12&Itemid=27 on line 7

On this page:http://islamcentre.awardspace.com/includetest/index.php

What is wrong?

Here is the php code which Is on that page:

<head><meta http-equiv="Content-Type" content="text/html; charset=windows-1256" />
</head>
<?php include('http://hanmia8.freehostia.com/index.php?option=com_content&task=view&id=12&Itemid=27'); ?>
<html>
<title>CodeAve.com (JavaScript: Print This Page)</title>
<body bgcolor="#FFFFFF">


If anyone knows how to fix this please let me know here.

Thank You, your help is most appreciated.
Link to comment
https://forums.phpfreaks.com/topic/20427-php-include-help-parse-error/
Share on other sites

i am Including a non-local file becuase, that is a prayer Time module Created for Joomla CMS Which cannot be installed on Non CMS sites. I use that site so that I can embed the times using an iframe or preferably php include.
I also have other Joomla Modules and COmponent which I want to use to be embedded into my main site.

[quote author=newb link=topic=107686.msg432310#msg432310 date=1158008560]
why r u including a non-local file......................................


anyway mazman is right
[/quote]

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.