php-windows Digest 5 Apr 2003 23:49:30 -0000 Issue 1669
Topics (messages 19313 through 19319):
db search
19313 by: Bobo Wieland
Re: Subject: PHP probs with XML docs
19314 by: Neil Smith
Re:Subject: Fw: PHP array => Javascript array :: solved
19315 by: Neil Smith
ereg_replace...
19316 by: Bobo Wieland
What authentication types does php_pgsql.dll support?
19317 by: Richard Hollis
PHP and beers...
19318 by: Max Graham
PHP MySQL question
19319 by: ODCS
Administrivia:
To subscribe to the digest, e-mail:
[EMAIL PROTECTED]
To unsubscribe from the digest, e-mail:
[EMAIL PROTECTED]
To post to the list, e-mail:
[EMAIL PROTECTED]
----------------------------------------------------------------------
--- Begin Message ---
Hi all!
Any good tutorials for adding a search-function to your homepage?
I have a 'q&a' section with three fields fetched from a mysql table. The
fields are: headline(varchar(50)), question(text) and answer(text). These
are the feilds that should be searched...
I think my ISP has mysql 3.23.54 so I guess I won't be able to use FULLTEXT
INDEX?
.bobo
--- End Message ---
--- Begin Message ---
OK my reply got mangled because I had to put html markup in it heh - lets
try that again :
<!DOCTYPE Doctype goes here>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Title goes here</title>
</head>
<body>
Body text goes here
</body>
</html>
Note this doesn't contain the <xml ... > processing instruction.
Hope that's clearer.
Neil.
At 05:25 05/04/2003 +0000, I wrote:
Message-Id: <[EMAIL PROTECTED]>
Date: Fri, 04 Apr 2003 16:00:59 +0100
To: [EMAIL PROTECTED]
From: Neil Smith <[EMAIL PROTECTED]>
Cc: [EMAIL PROTECTED]
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"; format=flowed
Subject: Re: [PHP-WIN] Re: Subject: PHP probs with XML docs
According to the xhtml spec, you should be sending the doctype tags and
PIs like this :
http://www.w3schools.com/xhtml/xhtml_syntax.asp
<!DOCTYPE Doctype goes here>
Body text goes here Which means that you should *not* hav a PI at the top
specifying xml. So, if you send a header with content-type of xml but
leave out the PI a the top of the document, what happens ? (NB : PHP will
send content type text/html unless you specify otherwise )
Hope that helps
Neil.
--- End Message ---
--- Begin Message ---
LOL 'enthusiasm' - Sure, I think you put them off by quite rightly pointing
out it would save you several hours of coding time (but cost us several
hours of coding time instead :-) Hehe
Anything you want to share ? I suspect cause its recursive it would be a
small snippett :-)
Cheers,
Neil Smith.
At 05:25 05/04/2003 +0000, you wrote:
From: "Ignatius Reilly" <[EMAIL PROTECTED]>
To: "Win32 list PHP" <[EMAIL PROTECTED]>
Date: Fri, 4 Apr 2003 20:02:10 +0200
MIME-Version: 1.0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: 8bit
Subject: Fw: PHP array => Javascript array :: solved
In face of the lack of enthusiasm generated by my question, I decided to
write the blasted function myself. (a refreshing exercise in recursion)
--- End Message ---
--- Begin Message ---
is there some way to change the following code:
$wrd = ereg_replace("[^[:alnum:]]", "", $wrd);
so that it does not remove å,ä and ö?
.bobo
--- End Message ---
--- Begin Message ---
Hi
Does anyone know what server security authentication types (pg_connect())
the supplied php_pgsql.dll supports?
Many thanks
Richard
--- End Message ---
--- Begin Message ---
Try finding an empty beer bottle, and blowing across the top of it
While this may not have any effect on your CD, it has been known to have a
profound effect on beer openers. It's sort of like their mating call :P
> Message-ID:
> <[EMAIL PROTECTED]>
> From: "Asendorf, John" <[EMAIL PROTECTED]>
> To: "Svensson, B.A.T. (HKG)" <[EMAIL PROTECTED]>, Php Win32 list
> <[EMAIL PROTECTED]>
> Date: Fri, 4 Apr 2003 09:00:06 -0500
> MIME-Version: 1.0
> Content-Type: text/plain;
> charset="iso-8859-1"
> Subject: RE: [PHP-WIN] PHP and beers...
>
> How rude to us Americans. We're just starting our workday and you taunt
> us with your proximity to beer drinking time!
>
> I fart in your general direction!
>
> ---------------------
> John Asendorf - [EMAIL PROTECTED]
> Web Applications Developer
>
>
>
> > -----Original Message-----
> > From: Svensson, B.A.T. (HKG) [mailto:[EMAIL PROTECTED]
> > Sent: Friday, April 04, 2003 9:02 AM
> > To: Php Win32 list
> > Subject: [PHP-WIN] PHP and beers...
> >
> >
> > I have this problem with a php CD: I can't find it! I need to find it
> > because I put my beer opener on top of it, so now I wonder if anybody
> > know how I can find it? We are namely going to start to drink
> > our Friday
> > beers with in 1 hour now, so I am really desperate to locate it.
> >
> > --
> > PHP Windows Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
--- End Message ---
--- Begin Message ---
I have a database of user inputted information and need to create a page
where the user can update their information. The user will log in using
their name and password and then be forwarded to a form with all the fields
they can update - but what is the best way to write the records to the
database. Lets say the user wants to update 3 out of ten fields - would I
have to write a query for each field and write them one by one, or is there
a better way to do this. Any thoughts on this are appreciated.
B.
--- End Message ---