Re: [PHP-DB] Need a shopping cart
Jeff Have you tried: http://www.hotscripts.com it seems to have a huge selection of PHP scripts - i'm not sure if it has what you are after though. Why don't you have MySQL installed on your NT machine? It is a LOT quicker than any MS Access database, or flat file - especially if you are setting up a shopping cart site. Tom At 18:46 11/07/2001 -0700, you wrote: Can anyone direct me to a shopping cart package (preferrably in PHP, although PERL would possibly work) which utilizes either an MS Access database or flat files? I've found several shopping carts, but they all seem to require MySQL which I do not have access to on my server. My server is Windows NT 4 with PHP 4 and PERL 5. I sure hope someone can help. Thanks in advance. Regards, Jeff [EMAIL PROTECTED] - ICQ UIN: 736807 Training, Web Hosting and Design http://www.HookedOnThe.Net -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP-DB] pulling my hair out
Brad Try this: -- ?php $status = 0; if (isset($myTstCky) ($myTstCky == ChocChip)) $status = 1; if (!isset($CCHK)) { setcookie(myTstCky, ChocChip); header(Location: $PHP_SELF?CCHK=1); exit; } ? html headtitleCookie Check/title/head body bgcolor=#FF text=#00 Cookie Check Status: ?php printf ('font color=#%s%s/font ;', $status ? 00FF00 : FF, $status ? PASSED! : FAILED!); ? /body /html --- It's taken from here: http://www.php.net/manual/en/function.setcookie.php If that still fails to work then your PHP config must be awry.. Tom At 21:16 11/07/2001 -0700, you wrote: I have one script that looks like this: ?php setcookie (logged_in, yes, time() - 3600); setcookie (logged_user_name, brad, time() - 3600); ? SENT and another that looks like this: ?php print start br; echo $HTTP_COOKIE_VARS[logged_in]; print br; echo $logged_user_name; print br; print end; ? which I have also tried like this: ?php print br; echo $logged_in; print br; echo $logged_user_name; ? It seems like this should be extremely simple, but when I run the first one, and then the second one, the second one only writes the br's to the document. It also doesnt trigger my browser (tried in netscape and ie5) to alert me that a cookie is being sent, I turned that option on just to test this script. Please Help! Brad -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP-DB] pulling my hair out
Stupid html e-mail... That code may not come through properly... copy it from the site, as what's below is only half complete. Tom At 16:23 12/07/2001 +1200, you wrote: Brad Try this: -- ?php $status = 0; if (isset($myTstCky) ($myTstCky == ChocChip)) $status = 1; if (!isset($CCHK)) { setcookie(myTstCky, ChocChip); header(Location: $PHP_SELF?CCHK=1); exit; } ? Cookie Check Status: ?php printf ('%s ;', $status ? 00FF00 : FF, $status ? PASSED! : FAILED!); ? --- It's taken from here: http://www.php.net/manual/en/function.setcookie.php If that still fails to work then your PHP config must be awry.. Tom At 21:16 11/07/2001 -0700, you wrote: I have one script that looks like this: ?php setcookie (logged_in, yes, time() - 3600); setcookie (logged_user_name, brad, time() - 3600); ? SENT and another that looks like this: ?php print start br; echo $HTTP_COOKIE_VARS[logged_in]; print br; echo $logged_user_name; print br; print end; ? which I have also tried like this: ?php print br; echo $logged_in; print br; echo $logged_user_name; ? It seems like this should be extremely simple, but when I run the first one, and then the second one, the second one only writes the br's to the document. It also doesnt trigger my browser (tried in netscape and ie5) to alert me that a cookie is being sent, I turned that option on just to test this script. Please Help! Brad -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP-DB] HTML question
Is /htdocs/ your web root? If it isn't the browser loading up the page would not have access to /www/img/backgroundimage.jpg. If it is - try removing the space after the .jpg in your body tag. Tom At 15:51 10/07/2001 -0700, you wrote: Hello, pure HTML server question: images like (backgroundimage.jpg) stored on server at: /htdocs/www/img util.showpic.html is stored at : /htdocs/util/ How to use backgroundimage.jpg as background in util.showpic.html ? body background=/www/img/backgroundimage.jpg does not work.. what if anything will work? Thnaks Ken -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP-DB] Re: MySQL Database Locking - needed?
Thanks for the reply Manual. The updating IS done with one single query - but the problem is that if two people are editing the same car, the second update will overwrite the first. Not a huge problem - and the chance of it happening is almost nil - but there is still the possibility.. Changing databases seems a little extreme - and not possible with our web host. Tom At 20:03 10/07/2001 -0300, you wrote: Hello, Tom Peck wrote: Hi The company I work for has recently developed a Car Dealer type site, which acts as a large on-line used car yard. Currently the MySQL database holding the cars is added too / edited / deleted by one person employed for the job - but we hope to expand to allow the Dealers themselves admin rights to their on-line cars. I have begun development of a Dealer Admin area - but have a couple of questions regarding this: 1) Would any sort of Table Locking be needed for this - for example if two people were trying to update the same car, at the same time etc etc.. No, if updating is done with a single query. 2) If yes, is there any on-line documentation on this? 3) What other problems could arise if this was implemented? It depends on what you really want to do. Anyway, MySQL has LOCK TABLES but I don't recommend to use them without proper because you inadvertdly may leave the database locked. The latest versions also support transactions. It's a bit awkward but it works, although the recommendation is the same. Maybe you want to try other databases that handle transactions more efficiently like Oracle, or PostgreSQL if you can't afford a commercial database. If you are not sure about switching to other databases, you may want to try Metabase which is a database abstraction package that lets you write portable database applications. That way, you may switch (or not) to another database later without changing your application code. Metabase is free and is available here: http://phpclasses.UpperDesign.com/browse.html/package/20 Manuel Lemos -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP-DB] HTML question
when you load up your web page in your browser, what folder do you see? It is most likely the contents of the www/ folder. If this is the case, then all of your files which you want accessible to the web (ie html and images) need to be somewhere under this. Try putting both the background image and the html file in the www folder, then change your body tag to: body background=backgroundimage.jpg then load up the page. If that works fine, and you want the images in a different folder, create a dir (eg. img ) coming off the www/ folder, then put the background image in there, and change your body tag to: body background=/img/backgroundimage.jpg or body background=img/backgroundimage.jpg If your html file was in the img/ directory, and the image was in the www/ folder, so it looks like this: /www/img/file.html /www/backgroundimage.jpg then your body tag could be: body background=../backgroundimage.jpg the ../ just traverses down a directory. If none of this makes sense to you, you should probably do some basic html tutorials or something :-) Tom At 16:19 10/07/2001 -0700, you wrote: HI, thanks not sure what the web root is. first dir I see on FTP is / so is that the root? and it contains a whole bunch of dirs including htdocs htdocs contains dirs: img (pics) util (utility html pages) www (main html pages) is there a way to refer to images in imgfrom html pages in util AND www I have things like ../img/ not sure what that means. thanks, ken - Original Message - From: Tom Peck [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, July 10, 2001 4:00 PM Subject: Re: [PHP-DB] HTML question Is /htdocs/ your web root? If it isn't the browser loading up the page would not have access to /www/img/backgroundimage.jpg. If it is - try removing the space after the .jpg in your body tag. Tom At 15:51 10/07/2001 -0700, you wrote: Hello, pure HTML server question: images like (backgroundimage.jpg) stored on server at: /htdocs/www/img util.showpic.html is stored at : /htdocs/util/ How to use backgroundimage.jpg as background in util.showpic.html ? body background=/www/img/backgroundimage.jpg does not work.. what if anything will work? Thnaks Ken -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP-DB] Re: MySQL Database Locking - needed?
So what you mean is: If someone clicks on a car to edit, a txt file is written (maybe called the carID.txt). Then if someone else clicks on that car to edit it, it says that it is already being edited by someone else because the txt file exists? So what happens if that person who clicked first closes his browser before updating the car? How can that text file be automatically erased? I think I'll just assume that this wont be a problem, and if someone overwrites someone elses edit then too bad.. :-) Tom At 16:30 10/07/2001 -0700, you wrote: Tom Peck wrote: Thanks for the reply Manual. The updating IS done with one single query - but the problem is that if two people are editing the same car, the second update will overwrite the first. Not a huge problem - and the chance of it happening is almost nil - but there is still the possibility.. Changing databases seems a little extreme - and not possible with our web host. Tom How about writing a text file that would be your lock file, rather than depending upon MySQL to do it for you? -- Raquel He who has imagination without learning has wings and no feet. --Anonymous -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP-DB] HTML question
The php file placed in your /util/ directory will not be accessible by the web.. everything you want accessible to the web has to be placed in the /www/ folder.. so place the php file in the /www/ folder (or /www/util/ if you like) and the images in the /www/img/ folder, and use the body tag: body background=img/backgroundimage.jpg (for /www/) or body background=/img/backgroundimage.jpg (for /www/ and /www/util/) or body background=../img/backgroundimage.jpg (for /www/util/) Tom At 16:38 10/07/2001 -0700, you wrote: I Looked up the root..sorry it is DOCUMENT_ROOT .. /htdocs/www so I guess browsers think they are starting out at /htdocs/www and can't go below to get anything? so if I have phtml pages at /htdocs/util/ like www.util.consumergrapevine.org/showdatabases.php and images at /htdocs/www/img can I use an image in /htdocs/www/img as sa background imge in a page located in dir /htdocs/util/ ?? if so,what would be the body tag look like? body background=/img/backgroundimage.jpg ? or should I move my /img/ dir somewhere else like maybe throw 'em in with all the pages in /htdocs/www ? thanks again, Ken - Original Message - From: Tom Peck [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, July 10, 2001 4:00 PM Subject: Re: [PHP-DB] HTML question Is /htdocs/ your web root? If it isn't the browser loading up the page would not have access to /www/img/backgroundimage.jpg. If it is - try removing the space after the .jpg in your body tag look like? body background=/www/img/backgroundimage.jpg Tom At 15:51 10/07/2001 -0700, you wrote: Hello, pure HTML server question: images like (backgroundimage.jpg) stored on server at: /htdocs/www/img util.showpic.html is stored at : /htdocs/util/ How to use backgroundimage.jpg as background in util.showpic.html ? body background=/www/img/backgroundimage.jpg does not work.. what if anything will work? Thnaks Ken -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP-DB] RE: trash last message ,this ones right I think
The problem is that they are completely different websites, from the web browser point of view - even though they are so close to each other on the server... You should have mentioned this was a sub domain site :-) If you REALLY don't want to copy the image from the www folder to the util folder, then you have to use: body background=http://www.consumergrapevine.org/img/background.jpg; So that the browser can reach the image file. Tom At 17:30 10/07/2001 -0700, you wrote: Hello again, DOCUMENT_ROOT is.. /htdocs/www I have a php file ( showdatabases.php) in my subdomain area /htdocs/util/ it loads up just fine: and if you click it, you will see my database structure if you like..:) http://util.consumergrapevine.org/showdatabases.php I have images stored in /hdocs/www/img/ right now (of course i could move them, and fix all references to them) but I like them there because I can refer to images in pages in /www/ with background=img/bgpic.jpg...of course this works just fine becuz /img/ is just down from /www/. but now I have pages in subdomains as menitoned above like: /htdocs/util/showdatabases.php and of course I want to refer to images from those subdomain pages too,,and of course I don't want to have another dir with the same pics in them..something like... /htdocs/util/img/ becuz I already have the pics in /htdocs/www/img/ and if I make another sub domain called /htdocs/stuff , I don't want to have to copy the pics AGAIN into /htdocs/stuff/img right? So,,, (yes I may be getting to the end now..) how or where should I put my pics so the /www/ and /util/ and /stuff/ guys can use them as background pics? what would the body tag look like? body background=../www/img/background.jpg doesn;t work what will? body background=What?? thanks again, Ken -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP-DB] RE: trash last message ,this ones right I think
Yes that is correct. Your main site root is: /htdocs/www/ And your sub site (util) root is /htdocs/util/ These are two different sites from the browser's point of view. Neither site will have access to anything below the root folder (from the browser). Tom At 18:02 10/07/2001 -0700, you wrote: Thanks Tom and sorry I didn't mention it properly at first,, I was trying to analyse the problem. is it becuz the first part of the referenece being the ../ in body background=../www/img/background.jpg the ../ wants to take the browser into illegal territory above the root? because we are starting from /htdocs/util so the ../ would try to go back to /htdocs which is above the root (/htdocs/www) illegal territory. just tryin to understand it thanks , Ken - Original Message - From: Tom Peck [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, July 10, 2001 5:50 PM Subject: Re: [PHP-DB] RE: trash last message ,this ones right I think The problem is that they are completely different websites, from the web browser point of view - even though they are so close to each other on the server... You should have mentioned this was a sub domain site :-) If you REALLY don't want to copy the image from the www folder to the util folder, then you have to use: body background=http://www.consumergrapevine.org/img/background.jpg; So that the browser can reach the image file. Tom At 17:30 10/07/2001 -0700, you wrote: Hello again, DOCUMENT_ROOT is.. /htdocs/www I have a php file ( showdatabases.php) in my subdomain area /htdocs/util/ it loads up just fine: and if you click it, you will see my database structure if you like..:) http://util.consumergrapevine.org/showdatabases.php I have images stored in /hdocs/www/img/ right now (of course i could move them, and fix all references to them) but I like them there because I can refer to images in pages in /www/ with background=img/bgpic.jpg ...of course this works just fine becuz /img/ is just down from /www/. but now I have pages in subdomains as menitoned above like: /htdocs/util/showdatabases.php and of course I want to refer to images from those subdomain pages too,,and of course I don't want to have another dir with the same pics in them..something like... /htdocs/util/img/ becuz I already have the pics in /htdocs/www/img/ and if I make another sub domain called /htdocs/stuff , I don't want to have to copy the pics AGAIN into /htdocs/stuff/img right? So,,, (yes I may be getting to the end now..) how or where should I put my pics so the /www/ and /util/ and /stuff/ guys can use them as background pics? what would the body tag look like? body background=../www/img/background.jpg doesn;t work what will? body background=What?? thanks again, Ken -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP-DB] RE: trash last message ,this ones right I think
Ken If the util site is going to be part of the main site, why don't you put it in the www folder? ie. /htdocs/www/util/ the idea for different site roots is so that you can keep different sites separate. If you had the root as /htdocs/ for all, then the website address would be: http://www.yourdomain.com/www/index.php or wat eva.. not very nice.. Tom At 18:26 10/07/2001 -0700, you wrote: Thanks again, why couldn't the main root be /htdocs/ ? ken - Original Message - From: Tom Peck [EMAIL PROTECTED] To: Ken Sommers [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Tuesday, July 10, 2001 6:05 PM Subject: Re: [PHP-DB] RE: trash last message ,this ones right I think Yes that is correct. Your main site root is: /htdocs/www/ And your sub site (util) root is /htdocs/util/ These are two different sites from the browser's point of view. Neither site will have access to anything below the root folder (from the browser). Tom At 18:02 10/07/2001 -0700, you wrote: Thanks Tom and sorry I didn't mention it properly at first,, I was trying to analyse the problem. is it becuz the first part of the referenece being the ../ in body background=../www/img/background.jpg the ../ wants to take the browser into illegal territory above the root? because we are starting from /htdocs/util so the ../ would try to go back to /htdocs which is above the root (/htdocs/www) illegal territory. just tryin to understand it thanks , Ken - Original Message - From: Tom Peck [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, July 10, 2001 5:50 PM Subject: Re: [PHP-DB] RE: trash last message ,this ones right I think The problem is that they are completely different websites, from the web browser point of view - even though they are so close to each other on the server... You should have mentioned this was a sub domain site :-) If you REALLY don't want to copy the image from the www folder to the util folder, then you have to use: body background=http://www.consumergrapevine.org/img/background.jpg; So that the browser can reach the image file. Tom At 17:30 10/07/2001 -0700, you wrote: Hello again, DOCUMENT_ROOT is.. /htdocs/www I have a php file ( showdatabases.php) in my subdomain area /htdocs/util/ it loads up just fine: and if you click it, you will see my database structure if you like..:) http://util.consumergrapevine.org/showdatabases.php I have images stored in /hdocs/www/img/ right now (of course i could move them, and fix all references to them) but I like them there because I can refer to images in pages in /www/ with background=img/bgpic.jpg ...of course this works just fine becuz /img/ is just down from /www/. but now I have pages in subdomains as menitoned above like: /htdocs/util/showdatabases.php and of course I want to refer to images from those subdomain pages too,,and of course I don't want to have another dir with the same pics in them..something like... /htdocs/util/img/ becuz I already have the pics in /htdocs/www/img/ and if I make another sub domain called /htdocs/stuff , I don't want to have to copy the pics AGAIN into /htdocs/stuff/img right? So,,, (yes I may be getting to the end now..) how or where should I put my pics so the /www/ and /util/ and /stuff/ guys can use them as background pics? what would the body tag look like? body background=../www/img/background.jpg doesn;t work what will? body background=What?? thanks again, Ken -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP-DB] LOAD DATA LOCAL ERROR
I may be not understanding properly without checking your MySQL syntax, but should it not be C:\WINDOWS\Desktop\db.txt? Tom At 08:53 10/07/2001 -0500, you wrote: Every time I use the command LOAD DATA LOCAL INFILE C:WINDOWS:Desktop:db.txt INTO TABLE booktest; I get this error message... ERROR: File 'C:WINDOWS:Desktop:db.txt' not found (Errcode: 2) How can I load my file to the database??? --Will -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]