RE: (no subject)

"Julio Meneses" <[email protected]>
Newsgroups gmane.comp.web.perlfect-search
Message-ID <000201c26e2e$d3ad82f0$3c00a8c0@ibm>
Hi Daniel,

Done what you said but remove the html tags,

1. in php_search: $search_url =
"http://www.domaine.com/cgi-bin/perlfect/search/search.pl";
2. in conf.pl: $SEARCH_URL = http://www.domaine.com/php_search.php;
3. in the the seach form: <form method="get" action="/php_search.php">

And I always get this error when I send a query:

Warning:
fopen("http://www.mydomaine.com/cgi-bin/perlfect/search/search.pl?&q=tes
t&p=1&lang=en&mode=all", "r") - No such file or directory in
/usr/local/psa/home/vhosts/domaine.com/httpdocs/php_search.php on line
26

Warning: fread(): supplied argument is not a valid File-Handle resource
in /usr/local/psa/home/vhosts/domaine.com/httpdocs/php_search.php on
line 27

Warning: fclose(): supplied argument is not a valid File-Handle resource
in /usr/local/psa/home/vhosts/domaine.com/httpdocs/php_search.php on
line 28


No idea what is going wrong, but I can't get the PHP parser running.
Please, have you ever seen this error or know where am I doing something
wrong? Thanks a lot for your support!!

Julio 

-----Mensaje original-----
De: Daniel Naber [mailto:[email protected]] 
Enviado el: lunes, 07 de octubre de 2002 0:06
Para: Julio Meneses
Asunto: Re: [Perlfect-search] (no subject)


On Sunday 06 October 2002 23:15, you wrote:

> 1. Where should the php_search.php file be placed? Under cgi-bin, 
> cgi-bin/search or in any other folder?

In any other folder.

> 2. When you say remove all the html form search.htm and no_match.htm, 
> you mean really all the html tags? What about the table where the 
> output is formated?

Only the outer tags (<html>, <head> etc) need to be removed, i.e.
everthing 
that's already in the wrapper (PHP) file.

regards
 Daniel

-- 
http://www.danielnaber.de


_______________________________________________
perlfect-search mailing list
[email protected]
To unsubscribe, set other personal options or view the list archives please visit:
http://perlfect.com/mailman/listinfo/perlfect-search

lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.