[PHP-DB] Convert a SQL compliant date to Epoc Unix seconds

2004-10-06 Thread Stéphane Pinel
Hello,
Sorry if the question has already been posted, I checked the archives 
and didn't find anything
related.

I'm looking for a simple way to convert a SQL compliant date (eg 
2004-09-06) into a Unix
Epoc seconds (similar to the one returned by function "time()").

Thanks.
Stephane
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: [PHP-DB] Uploading an image then storing it in a MySQL blob field

2003-02-03 Thread Stéphane Pinel



De: Stéphane Pinel <[EMAIL PROTECTED]>
Date: Lun 3 fév 2003  19:57:25 Europe/Paris
À: [EMAIL PROTECTED] (Edward Peloke)
Objet: Rép : [PHP-DB] Uploading an image then storing it in a MySQL  
blob field


Le lundi, 3 fév 2003, à 19:44 Europe/Paris, Edward Peloke a écrit :

I think you might find it a better option to upload the image to a  
folder on
the server and save the image path in the db...not the actual image.


Yes I know but in this particular case, I need to store the images in  
the MySQL
DB since this DB will be connected to a system that can't deal with  
files.

Thanks.

--- 
----
Stéphane Pinel - Exenevex SA
4D Plugins [MySQLConnect for 4D] [DBGateway for 4D]
iChat/AIM: s.pinel
--- 




---- 
---
Stéphane Pinel - Exenevex SA
 
---


--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP-DB] Uploading an image then storing it in a MySQL blob field

2003-02-03 Thread Stéphane Pinel
I'm looking for a sample code that process an image upload AND
insert it in a MySQL blob file.

Thanks.

 
---
Stéphane Pinel - Exenevex SA
 
---


--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php