Jump to content

[SOLVED] PHP Include changes target of link


member

Recommended Posts

Hi,

I got a problem: when u go to www.islamcentre.net, you can see the arabic text part. and below that there is a bit of text that has "srh..." in purple colour. The pronlem is, is that it changes the link from http://hanmia8.freehostia.com/index.php?option=com_quran......
to
http://www.islamcentre.net/index.php?option=com_quran

as the http://hanmia8.freehostia.com/index.php?option=com_quran is a Joomla module I cannot use it for my non Joomla site.

Is there a piece of code to change the target url back to normal?

or open it in a new window?

If u don't get my way of saying it, post here and i'll give u some extra information if u need to know.

Thank You. Your help is most appreciated.
here's the include code that i use:
--------------------------------------------------------------------------------------------------
<?php print file_get_contents('http://hanmia8.freehostia.com/index.php?option=com_content&task=view&id=5&Itemid=6'); ?>
----------------------------------------------------------------------------
hope that helps

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.