Title: RE: [PHP-DB] index.html or index.php
echo "I am currently viewing " . $_SERVER["REQUEST_URI"];
?>
REQUEST_URI and a simple string manipulation will help you.
___
Shaun Riches
Computer Science Student
-Original Message-
From: Ron Piggott (PHP) [mailto:[EMAI
I have used both index.html and index.php in the various directories.
Is there a way to tell which was loaded if a user visited:
www.domain.com/directory/
?
Ron
same again on the back end
Bastien
From: "Ron Piggott (PHP)" <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
To: Bastien Koert <[EMAIL PROTECTED]>
CC: PHP DB
Subject: [PHP-DB] I still have a bit more of the string to get rid of ...
Date: Thu, 28 Sep 2006 22:13:59 -0400
Where '$eachLine' is a
Where '$eachLine' is a line of HTML code the following command
echo str_replace("http://www.actsministrieschristianevangelism.org/christianliving/quiet_time_quotations_and_reflection_topics.html";>here.
I want to get rid of everything including and following the "
What do I do next?
eregi_replace or str_replace can do that for you
Bastien
From: "Ron Piggott (PHP)" <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
To: PHP DB
Subject: [PHP-DB] Searching PHP strings
Date: Thu, 28 Sep 2006 21:12:18 -0400
I have been playing tonight for a few minutes.
The following code:
P
I have been playing tonight for a few minutes.
The following code:
Produces me output like:
137
http://www.actsministrieschristianevangelism.org/christianliving/quiet_time_quotations_and_reflection_topics.html";>here.
What I want to do now is to remove the
http://www.actsministrieschristia
I have two php versions on one server. One of them has mysql support, the
other has mssql support and is used to run scripts via the comand line. I
am trying now to compile in mysql support to the command line one and I keep
getting:
configure: error: Cannot find MySQL header files under yes.
I have two php versions on one server. One of them has mysql support, the
other has mssql support and is used to run scripts via the comand line. I
am trying now to compile in mysql support to the command line one and I keep
getting:
configure: error: Cannot find MySQL header files under yes.
Part of why I want to do this is for the programming experience. This
is why I didn't implement the google solution already. Ron
On Wed, 2006-09-27 at 22:44 -0400, Ron Piggott (PHP) wrote:
> Has anyone wrote a search engine for the web site? I am wondering if
> someone has the time to help me
OK, this makes my day clear!!
I have versiĆ³n 3.23.49-3 of MySQL
Thanks Dwight!
-Original Message-
From: Dwight Altman [mailto:[EMAIL PROTECTED]
Sent: Jueves, 28 de Septiembre de 2006 11:32 a.m.
To: php-db@lists.php.net
Subject: RE: [PHP-DB] SQL query
Check your version. Subselects were
Check your version. Subselects were only added in MySQL Version 4.1.
Regards,
Dwight
> -Original Message-
> From: Edwin Cruz [mailto:[EMAIL PROTECTED]
> Sent: Thursday, September 28, 2006 10:53 AM
> To: 'Miguel Guirao'; php-db@lists.php.net
> Subject: RE: [PHP-DB] SQL query
>
> Make sur
Truth be told, Google's free slap-it-on-your-web site search tool
(http://www.google.com/services/websearch.html) will do everything you
want and save you a lot of coding. Assuming this is for
actsministries.org which seems to be a useful resource of information;
it is probably well indexed by
Make sure that your second query is returning only one row, if it dont
help, try this:
$query="select email from usuarios where userName in (select username
from fussv where folio = 'FUSS-130-2006')"
MySQL think that you second query returns more than 1 row, that's why
mysql dont accept your quer
Hello list,
Whats wrong with my SQL query:
$query="select email from usuarios where userName = (select username from
fussv where folio = 'FUSS-130-2006')";
I get an error!
I have tested the two individual sentences and they worked OK!
---
Miguel Guirao Aguilera
Logisti
What I haven't figured out is how to crawl my site. If I knew how to
crawl my site I could write a basic search engine and develop it over
time. This is the crucial issue I need help with.
I have a really basic search engine I wrote last year. I told my web
site what pages the user could sea
Hi
> What about the MySQL "LIKE" command? Research it.
An excellent start for searching a db, but did you miss the point of the
question. He wanted to know if anyone had experience with this to save
him building from the ground up.
I haven't, l so didn't reply
If no other help is forthcoming,
Title: RE: [PHP-DB] Search engine
What about the MySQL "LIKE" command? Research it.
This is assuming your data is stored properly without redundant data and in a MySQL database.
___
Shaun Riches
Computer Science Student
-Original Message-
From: Ron Piggott (PHP) [
17 matches
Mail list logo