Hello,
I've picked up a book called the PHP Developer's Cookbook, specifically
for the search engine that was featured in it. It required the use of
PEAR's File/Find.php, which my host hasn't installed, ..and very likely
will not.
Is there another way of coming up with a search engine in PHP tha
I don't think my server even has PEAR installed, so even if I just put
the script on my own directory, it still needs the PEAR.php - will I
need to do that too?
> -Original Message-
> From: Rasmus Lerdorf [mailto:[EMAIL PROTECTED]]
> Sent: Saturday, March 23, 2002 1:56 P
,
and then make the path to the PEAR.php in the Find.php.
I don't know if this will work for the search application from the PHP
Dev's Cookbook but so far it seem to be working this way.
> -Original Message-----
> From: lmlweb [mailto:[EMAIL PROTECTED]]
>
> I don'
How do I know if my web hosting server installed PEAR correctly?
I'm trying to create a Search Engine from the PHP Developer's Cookbook,
and so far, here's what I know:
PHP has the PEAR installed ('--with-pear' according phpinfo.php)
And having telnetted into my server, was able to find the PEA
I'm suffering eye fatique, and after reading the code for the maybe
millionth of time, I still can't figure out what I'm doing wrong in this
one.
Ideally, you get to this registration form by clicking on a link in a
previous page, so the registration form automatically enters in the event
name. T
who the heck was that :)
"James Arthur" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
>
>
> Notice anything different?
>
> --jaa
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
For example, on a page, I have this link:
http://www.website.com/register.html?select=$title";>$title
where
$title is whatever the database spits up on a previous query. Now I want to
be able to carry that $title onto the next page, which is a form mail for
registering for the events, without h
t;
> just because a variable is appended to a url, doesn't mean it HAS to be
used
> in an SQL statement. It can be used for anything you like - even
ignored...
> :)
>
>
> -Original Message-
> From: lmlweb [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, April 02, 2002 2
ersion());
"Martin Towell" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> yep - definately need that hidden field, just a simple line will do
> (normally)
>
>
>
> you'll have to do "funky" stuff if t
I got an email someone submitted through my web form. I've been using this
form for a while, and it had always worked. It still works, but something
new has popped up.
If someone writes, "I'm available to meet with you anytime. We'll talk about
our project."
It appears as: I\'m available to meet
gt;news:[EMAIL PROTECTED]...
> stripslashes() should work - or set the magic quote thingy to off
>
> -----Original Message-
> From: lmlweb [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, April 03, 2002 1:12 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP] Mail function acting a
I've answered myself, thanks all!
It's definitely > $form[message] = stripslashes($form[message]);
mail(...);
"Lmlweb" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hosted web, so option to turn on or of
How can I do that - controlling via .htaccess? Pointing me to references
would be good.
TIA
LML
"Miguel Cruz" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> On Tue, 2 Apr 2002, lmlweb wrote:
> > Hosted web, so option to tu
Yes.. I found that there.
My site doesn't allow .htaccess - now I'm off to find out why.
"Jason Wong" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> On Wednesday 03 April 2002 12:06, lmlweb wrote:
> > How can I do that - controlling via .
I'm just curious:
if I use within my html codes:
, I get an error message telling me:
Parse error: parse error, expecting `','' or `';''
However, if I take out one of the variables so that it reads it works.
Has it always been this way? I never noticed before, as I'm quite the
newbie. If so
TECTED]">news:[EMAIL PROTECTED]...
> On Mon, 8 Apr 2002, lmlweb wrote:
> > I'm just curious:
> >
> > if I use within my html codes:
> >
> > , I get an error message telling me:
> >
> > Parse error: parse error, expecting `','
I did a simple search at sourceforge.net, and got this link. Try this link
instead:
http://sourceforge.net/projects/pc4p/
"Jason Caldwell" <[EMAIL PROTECTED]> wrote in message
001701c1e1b9$784c7300$0202a8c0@cosmos">news:001701c1e1b9$784c7300$0202a8c0@cosmos...
> Thanks for the response... I don
I'm trying to get my code to print out a "sorry - no results" message if
there is no match. I've read the If statement in the PHP manual
(http://www.php.net/manual/ro/control-structures.php#control-structures.if)
and
I think my code structure may be wrong.. am I wrong to nest it this way in
the
Hi,
I've rewritten the code to:
// Sends the Query
$sql_result = mysql_query($sql);
if (!$sql_result) {
echo "Can't execute $sql " . mysql_error();
exit;
}
if (mysql_num_rows($sql_result) == 0) {
$option_block .= "Sorry, your search has resulted in 0 records. Please try
again. \n";
}
/
19 matches
Mail list logo