php-windows Digest 11 Jun 2007 19:58:19 -0000 Issue 3254

Topics (messages 28056 through 28059):

Re: Drag and Drop
        28056 by: Darren Whitlen
        28058 by: zerof

PECL extension Install Questions . -  Re: [PHP-WIN] Fatle Error:   
FILTER_VALIDATE_EMAIL
        28057 by: Mark Abrams
        28059 by: Niel Archer

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 ---
Daniel Kaliel wrote:
I am trying to create a document store that will allow people to upload
documents to a website by dragging and dropping them on a certain
section of the webpage.  Further, I would prefer that the documents be
kept directly in the mySQL database as binaries.

I have been told you can do this with ASP, can it be done with PHP?


Saving binary files in a database is hell. It really is. The speed is a lot slower, keeping the future in mind it will also be easier and moe maintainable if they were actually saved as files rather than in the database itself.

Upload the file. Save the file name, id number (auto_increment works well here) to the database. Move the uploaded file to your files folder.

This dramatically decreases the size of your database, and a huge speed increase will take effect, no matter what size the files are.

Darren


---------------------------------------------------------

Daniel Kaliel, MCP

Network Administrator

====================================

No animals were hurt during this transmission,

however, some electrons were terribly

inconvenienced.



--- End Message ---
--- Begin Message ---
Daniel Kaliel escreveu:
I am trying to create a document store that will allow people to upload
documents to a website by dragging and dropping them on a certain
section of the webpage.  Further, I would prefer that the documents be
kept directly in the mySQL database as binaries.
-------------------------
I think Dreamweaver ( from Adobe ) has a "Timeline" animator, that has the capabilities you are looking for. (Javascript)
--
zerof
http://www.educar.pro.br/
Apache - PHP - MySQL - Boolean Logics - Project Management
----------------------------------------------------------
Você deve, sempre, consultar uma segunda opinião!
----------------------------------------------------------
Deixe todos saberem se esta informação foi-lhe útil.
----------------------------------------------------------      
You must hear, always, one second opinion! In all cases.
----------------------------------------------------------
Let the people know if this info was useful for you!
----------------------------------------------------------

--- End Message ---
--- Begin Message ---
Thank you Neil,

I am running PHP5 under ApacheTriad.  The Windows PHP install does not work 
on my XP Pro PC - Recieved errors "The procedure entry point_encode_pointer 
could not locate the dynamic link library MSVCR80.DLL. (I checked the file 
and path settings - these are correct)

So I downloaded ApacheTriad - it installed OK and the PHP works in the 
Apache server only.  I stall have the entry point error when using a CMD 
input.


My questions are:  Can I copy the PECL library into my C:\apache2triad 
directory and set a flag in the PHP.INI?   If so where do I find a windows 
download of PECL or PEAR?

Thank you.
Mark


"Niel Archer" <[EMAIL PROTECTED]> wrote in message 
news:[EMAIL PROTECTED]
> Hi,
>
> filter is not part of PHP core, it is a PECL extension. For more info
> read the documentation at http://uk.php.net/manual/en/ref.filter.php
>
> Niel 

--- End Message ---
--- Begin Message ---
Hi Mark

> The Windows PHP install does not work  on my XP Pro PC -
> Recieved errors "The procedure entry point_encode_pointer 
> could not locate the dynamic link library MSVCR80.DLL

  I don't use the windows installer, so can't offer advice on it. 
However, MSVCR80.DLL, is Microsoft's Visual C++ Runtime and I believe is
available somewhere on the MS web-site.

The short answer is Yes, you can add them to your installation.  PEAR
libraries are PHP scripts, so usable on all platforms.  PECL extensions
are available as windows DLLs

Both PEAR/PECL use the same method to download, which is part of the
standard PHP installation.  Look at the respective web-sites for
documentation on PEAR/PECL and their packages.

http://pear.php.net

http://pecl.php.net


Niel

--- End Message ---

Reply via email to