Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes HTML, CSS and JavaScript and the fly likes how to link mirror sites? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "how to link mirror sites?" Watch "how to link mirror sites?" New topic
Author

how to link mirror sites?

rrn rose
Greenhorn

Joined: Apr 14, 2009
Posts: 10
my website (english) in php , sql .

on the index page there's a link to the arabic site which is a mirror site of the english site.

whenever i click the link , it is directing to the index.php of arabic site.

this is the code




what i need is , if i am on the site.php of english site and then i click the link it should direct to site.php of arabic site..
if i am on the abc.php of english site and then i click the link it should direct to site.php of arabic site..
likewise it should be applicable to all the php pages..

hope you understood the problem..
please help me........
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
The link needs to point to the page you are on. The links need to be smarter.

Eric
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61430
    
  67

"rrn rose", please check your private messages for an important administrative matter.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to link mirror sites?