Re: [PHP-DB] Connect to MySQL through Proxy?

2001-08-04 Thread John Lim
Hi, The adodb database library has a wrapper to send queries using http. See http://php.weblogs.com/adodb_csv Regards, John Stephane Felix [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Or write a mysql-http pipe... that shouldn't be very hard write

[PHP-DB] Transforming doc files into html

2001-08-04 Thread Cami
Hi there, Does anybody know if is any way in which when you upload a word document file you can parse it and transform it into an html file? Is this possible ? Has anybody tried it? I know I can transform it into a txt file but wouldn't it be even better if we can do an html file? Thanks, Cami

RE: [PHP-DB] Transforming doc files into html

2001-08-04 Thread Dave Watkinson
Yeah you can - I've been doing this with Visual Basic. I've been receiving people's Word Document CVs, and then converting them to text for inserting to the database, and then converting to HTML for prospective employers to view them online. All you need to do is reference Microsoft Word in your

[PHP-DB] Grouping functions inside WHERE clause - may or not

2001-08-04 Thread Ventsyslav Vassilev
Hi, My simple question is: May i use grouping functions in the WHERE clause of a SQL query in mySQL? For example, this failed to work: SELECT date_field FROM tablename WHERE date_filed BETWEEN MIN(date_field) AND MAX(date_field); In the mySQL manual i red the following into Functions to use in

[PHP-DB] Insert Update

2001-08-04 Thread Joris Kluivers
is there a mysql query that inserts into a database, but if the item already exists it does not insert but updates? Joris

Re: [PHP-DB] Insert Update

2001-08-04 Thread Patrik Wallstrom
On Sat, 4 Aug 2001, Joris Kluivers wrote: is there a mysql query that inserts into a database, but if the item already exists it does not insert but updates? replace into -- patrik wallstrom | f o o d f i g h t tel: +46-8-6188428 | s t o c k h o l m gsm: +46-709580442 |

Re: [PHP-DB] Insert Update

2001-08-04 Thread Leo de Kleijn
Use REPLACE - Oorspronkelijk bericht - Van: Joris Kluivers [EMAIL PROTECTED] Aan: [EMAIL PROTECTED] Verzonden: zaterdag 4 augustus 2001 18:20 Onderwerp: [PHP-DB] Insert Update is there a mysql query that inserts into a database, but if the item already exists it does not insert but

Re: [PHP-DB] Grouping functions inside WHERE clause - may or not

2001-08-04 Thread Paul DuBois
At 6:59 PM +0300 8/4/01, Ventsyslav Vassilev wrote: Hi, My simple question is: May i use grouping functions in the WHERE clause of a SQL query in mySQL? For example, this failed to work: SELECT date_field FROM tablename WHERE date_filed BETWEEN MIN(date_field) AND MAX(date_field); In the mySQL

Re: [PHP-DB] Transforming doc files into html

2001-08-04 Thread Chris Hobbs
I use the tools from here: http://wvware.sourceforge.net/ I've got a wrapper php script that calls wvhtml like this: passthru(PATH=$PATH:/usr/local/bin /usr/local/bin/wvHtml /var/www/html/$file /var/www/html/$file.html); Where $file is the Word doc that has been previously uploaded. I then

[PHP-DB] List Results Not Working

2001-08-04 Thread Steve Fitzgerald
I'm trying to list the results of a query, but I keep getting the following error: Parse error: parse error, expecting `T_STRING' or `T_VARIABLE' or `T_NUM_STRING' I must be missing something because I can't find what's causing the

[PHP-DB] Re: List Results Not Working

2001-08-04 Thread Hugh Bothwell
Steve Fitzgerald [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... echo .$list[CallID]. .$list[CallDateTime] ^^^ Try removing the leading ' . ' -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For

[PHP-DB] LE INTERESARA

2001-08-04 Thread cursos
OFERTA PARA MEXICO: [EMAIL PROTECTED] 1.8.2001.Publicidad/EnseƱanza a Distancia Hola que tal: El motivo de la presente carta es informarte de la posibilidad de

[PHP-DB] odbc problems - cannot connect to MS Access db

2001-08-04 Thread Paul Fenton
Please help I am trying to get PHP to connect to MS Access db on a win2000 server, but only getting following errors: Warning: SQL error: , SQL state 0 in SQLConnect in d:\websites\~nit\hello.php on line 7 Warning: Supplied argument is not a valid ODBC-Link resource in

[PHP-DB] NON sql database

2001-08-04 Thread Eric Marenyi
I am trying to develop a dynamic website, but I dont have the capability to use SQL, or Access databases, can I use PHP to interface with a different type of database?, maybe a text delimited, or something, please help, thanks -- Eric Marenyi CEO Virtual British Airways

Re: [PHP-DB] NON sql database

2001-08-04 Thread Grant Johnson
Eric Marenyi wrote: I am trying to develop a dynamic website, but I dont have the capability to use SQL, or Access databases, can I use PHP to interface with a different type of database?, maybe a text delimited, or something, please help, thanks -- Eric Marenyi CEO Virtual British

[PHP-DB] Clearing all session variables

2001-08-04 Thread olinux
Hi all I am using this to free all session variables but it does not work. session_unset(); session_destroy(); What must I do to do this? olinux _ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com -- PHP

RE: [PHP-DB] Clearing all session variables

2001-08-04 Thread olinux
dang, sorry I wasn't issuing session_start(); before these... -Original Message- From: olinux [mailto:[EMAIL PROTECTED]] Sent: Saturday, August 04, 2001 10:37 PM To: php-db Subject: [PHP-DB] Clearing all session variables Hi all I am using this to free all session variables but it

[PHP-DB] counting and displaying a how many figure

2001-08-04 Thread Dave Carrera
Hi All I would like to know how to count how many downloads of a file I have on my site is downloaded and display something like file.name downloaded times on my page. I have this idea using mysql db. table files ID int autoincrment, file_name, URL, I believe this would utilise