PhpDig.net

Go Back   PhpDig.net > PhpDig Forums > Troubleshooting

Reply
 
Thread Tools
Old 08-16-2004, 03:04 PM   #1
cnit
Green Mole
 
Join Date: Aug 2004
Location: argentina
Posts: 8
Question Show search results in other site

Hi, I 'm using phpdig 1.8.3 version, and I have a problem, I have two different sites in different servers:
- server 1 (www.equipamientosfox.com/buscar.htm): this have the search form.
- server 2 (www.cnit.com.ar): this have the data base and the program (phpdig) installed.
I need that the results have to be showed in a page, into the server 1.
This is posible?

Sorry about my english, I hope you understand me.
Thanks.
cnit is offline   Reply With Quote
Old 08-16-2004, 05:37 PM   #2
vinyl-junkie
Purple Mole
 
Join Date: Jan 2004
Posts: 694
You would have to be able to execute a script on server 1 that sits on server 2. I doubt if the host for server 2 would allow this.

You would also need capability of accessing your phpdig database from a remote server. You would need to check with the host for server 2 to see if that was allowed, but again, I seriously doubt if they'd let you do that.

Is there some reason you can't have both the script and database on server 1?
vinyl-junkie is offline   Reply With Quote
Old 08-17-2004, 04:05 PM   #3
Charter
Head Mole
 
Charter's Avatar
 
Join Date: May 2003
Posts: 2,539
As they are both your sites, you might try setting define('SEARCH_PAGE','search.php'); to define('SEARCH_PAGE','http://www.cnit.com.ar/dir/search.php'); in the config file.
__________________
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
Old 08-20-2004, 08:19 AM   #4
cnit
Green Mole
 
Join Date: Aug 2004
Location: argentina
Posts: 8
Unhappy help please

Iam modify the file config.php in the server www.cnit.com.ar

define('SEARCH_PAGE','http://www.cnit.com.ar/buscador_fox/search.php');

but the results show in the server www.cnit.com.ar.

Iam need the results show in www.equipamientosfox.com/buscar.htm no into cnit.com.ar.

Please visit:
www.equipamientosfox.com/buscar.htm for to see mi problem.
Help Please.
cnit is offline   Reply With Quote
Old 08-20-2004, 08:26 AM   #5
Charter
Head Mole
 
Charter's Avatar
 
Join Date: May 2003
Posts: 2,539
http://www.phpdig.net/showthread.php?threadid=1187

Basically all search form tags would need the action element to be the URL to the site holding PhpDig.
__________________
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
Old 08-20-2004, 01:16 PM   #6
cnit
Green Mole
 
Join Date: Aug 2004
Location: argentina
Posts: 8
that I do?
I define in the form (in www.equipamientos.com/buscar.thm):
<input type='hidden' name='site' value='www.equipamientosfox.com/buscador.htm'>

<input type='hidden' name='path' value=''> ¿what define?

Thanks and sorry for my poor english.
cnit is offline   Reply With Quote
Old 08-20-2004, 02:11 PM   #7
Charter
Head Mole
 
Charter's Avatar
 
Join Date: May 2003
Posts: 2,539
Hi. In the form tag...
Code:
<form action="LINK HERE" method="get">
__________________
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
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
show results in an include (php) vuurvos How-to Forum 1 10-05-2005 07:44 AM
Show URL path of results. JAB Creations How-to Forum 1 09-05-2005 11:04 PM
No most searched terms, biggest results, most 0 results, last search queries, etc. jongag1 How-to Forum 6 04-22-2005 11:43 AM
Forcing a page to always show up first in search results based on keyword derrickp How-to Forum 3 02-22-2005 01:01 PM
how to show shorter titles in results? orbitalz Troubleshooting 1 05-01-2004 07:18 AM


All times are GMT -8. The time now is 12:05 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright © 2001 - 2005, ThinkDing LLC. All Rights Reserved.