473,386 Members | 1,973 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

How to use a single module across multiple sites

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
6 1595
Markus
6,050 Expert 4TB
Im sorry, i dont understand.
Do you have an example?
Maybe show us what you do and dont want.
Mar 1 '08 #2
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
1,654 Expert 1GB
Have a look at this.
Mar 1 '08 #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
1,654 Expert 1GB
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
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

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

Similar topics

16
by: noah | last post by:
Does PHP have a feature to associate Cookie sessions with a persistent database connection that will allow a single transaction across multiple HTTP requests? Here is how I imagine my process: I...
1
by: Craig Ringer | last post by:
Hi folks I'm a bit of a newbie here, though I've tried to appropriately research this issue before posting. I've found a lot of questions, a few answers that don't really answer quite what I'm...
9
by: Aguilar, James | last post by:
I know that one can define an essentially unlimited number of classes in a file. And one can declare just as many in a header file. However, the question I have is, should I? Suppose that, to...
2
by: Ashish Shridharan | last post by:
Hi All I have been tryign to figure out the scope of a module as shown declared below in a web environment. My Questions are Is this module shared across multiple instances of the...
9
by: Abhishek Srivastava | last post by:
Hello All, In IIS 6.0 We have a concept of worker processes and application pools. As I understand it, we can have multiple worker process per appliction pool. Each worker process is dedicated...
5
by: BPearson | last post by:
Hello I would like to have several sites share a single web.config file. To accomplish this, I would point the root of these sites to the same folder. Is there any reason why I might not want to...
1
by: Pony Tsui | last post by:
Hi All, i had two .net 2.0 websites, but i don't know how to login one websites, then open or redirect another website without signin again? anyone can help me? Thanks -- Pony Tsui
35
by: keerthyragavendran | last post by:
hi i'm downloading a single file using multiple threads... how can i specify a particular range of bytes alone from a single large file... for example say if i need only bytes ranging from...
13
by: Samir Chouaieb | last post by:
Hello, I am trying to find a solution to a login mechanism for different domains on different servers with PHP5. I have one main domain with the user data and several other domains that need...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.