On 11/09/2007, ensoniqca1 <[EMAIL PROTECTED]> wrote:
>
>
>  I was reviewing an example for uploading a file via PHP but the
>  example seems to negate a real example with a real database over the
>  internet. In other words the script in the book seems oriented towards
>  localhost but doesn't show any examples of creating an actual table in
>  MySQL. Does anyone know how to adapt the code?
>

Hi Floyd,

The scripts you have there are a typical file upload script you would
expect to find anywhere in php.  Some have a little more error
checking involved but still a very real script.

Why would a file upload script want/need to create a table in the
database?  If you want to find out how to use mysql there are plenty
of tutorials on the internet and your book probably has some if it's
got a mysql or database section.  You might consider having a look at
the MySQL Docs (http://dev.mysql.com/doc/) and the PHP Pages on MySQL
(http://php.net/mysql).

Phill

Reply via email to