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
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]
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.