By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
437,614 Members | 1,680 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 437,614 IT Pros & Developers. It's quick & easy.

How to use a single module across multiple sites

P: 4
I have a search module which has a search form and a php script to search.
Now i have to use this search module over multiple sites . If i do that it shows path of search script on browser than the site's address .How to avoid.
Please Help.
Mar 1 '08 #1
Share this Question
Share on Google+
6 Replies


Markus
Expert 5K+
P: 6,050
Im sorry, i dont understand.
Do you have an example?
Maybe show us what you do and dont want.
Mar 1 '08 #2

P: 4
Im sorry, i dont understand.
Do you have an example?
Maybe show us what you do and dont want.
here is it:
<li class="last"><A href="http://www.alfa.co.in/products/testsite/sampleweb/properties.php" >Property Search</A></li>

now this property.php when loads it replaces my url address from
"http://sampleweb/search.php" to "http://www.alfa.co.in/products/testsite/sampleweb/properties.php"

but i want this URL "http://sampleweb/properties.php"

how can i hide from users that i m taking that page from "www.alfa.co.in"
Mar 1 '08 #3

hsriat
Expert 100+
P: 1,654
Have a look at this.
Mar 1 '08 #4

P: 4
its not actually phishing , both pages will be created by me but will be kept at diffrent places , its like creating affilite websites where except layout ,functionalities will be same. Functionalities need to be centralized to reduce headache of no of updation as no of sites .
Thats the idea actually
Mar 1 '08 #5

hsriat
Expert 100+
P: 1,654
its not actually phishing , both pages will be created by me but will be kept at diffrent places , its like creating affilite websites where except layout ,functionalities will be same. Functionalities need to be centralized to reduce headache of no of updation as no of sites .
Thats the idea actually

Then you should use Iframe.

And if both are your pages, why don't you make a copy of your script and use it in the other one?
Mar 1 '08 #6

P: 4
Then you should use Iframe.

And if both are your pages, why don't you make a copy of your script and use it in the other one?
i dont want to copy as, if there will be 100 sites i will have to copy it at 100 locations , also i dont want to use frames/ Iframes ,I read it has some issues with search engines.
Mar 4 '08 #7

Post your reply

Sign in to post your reply or Sign up for a free account.