View Single Post
Old 08-01-2005, 08:36 AM   #4
Charter
Head Mole
 
Charter's Avatar
 
Join Date: May 2003
Posts: 2,539
Set a PHP info page in the es subdirectory:
Code:
<?php phpinfo(); ?>
And call the PHP info page from a browser. Look for es.symptoms101.com on the page. Is it by HTTP_HOST or something else?

The code above was to attempt to get the correct site_id depending on what (sub)domain the user entered prior to searching, without having to change the HTML form on each page.

You might try using the following in the HTML form instead:
Code:
<input type='hidden' name='site' value='XX'/>
<input type='hidden' name='path' value=''/>
<input type='hidden' name='refine' value='1'/>
Where XX is the site_id number from the sites table.

You might may to tweak the HTML like so:
Code:
<input type='hidden' name='site' value='XX'/>
<input type='hidden' name='path' value='es/'/>
<input type='hidden' name='refine' value='1'/>
If the URLs in the sites table are www instead of subdomains.
__________________
Responses are offered on a voluntary if/as time is available basis, no guarantees. Double posting or bumping threads will not get your question answered any faster. No support via PM or email, responses not guaranteed. Thank you for your comprehension.
Charter is offline   Reply With Quote