![]() |
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. |
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? |
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.
|
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. |
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. |
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. |
Hi. In the form tag...
Code:
<form action="LINK HERE" method="get"> |
All times are GMT -8. The time now is 01:30 AM. |
Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright © 2001 - 2005, ThinkDing LLC. All Rights Reserved.