[PHP-DB] file upload, again

2001-11-13 Thread koelwebdesign
hi there, I've searched the lists and forums for a couple of days now but nope... when I upload a file all is well, it get stored in the tmp directory, the filename and path get stored in the mysql database, however, it won't copy to the desired directory unless I give everyone write permissions t

Re: [PHP-DB] file upload, again

2001-11-13 Thread koelwebdesign
a lot of sites) so I probably have to make an ftp connection and upload the file from there. am I right? Leo Kuiper www.koelwebdesign.nl - Original Message - From: Grant Johnson <[EMAIL PROTECTED]> To: koelwebdesign <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Tuesday,

Re: [PHP-DB] file upload, again

2001-11-13 Thread koelwebdesign
or can I copy a file doing something like: copy file to http://user:[EMAIL PROTECTED]/blah? well, I think you need a path instead of a webadress Leo Kuiper www.koelwebdesign.nl - Original Message - From: Grant Johnson <[EMAIL PROTECTED]> To: koelwebdesign <[EMAIL PROTECTED]&

Re: [PHP-DB] Re: New to PHP and MySQL!!!

2001-11-22 Thread koelwebdesign
please do yourself a big favor and look at the mysql website. www.mysql.com there you'll find how to do it and much more. btw. the manual comes with mysql when you download it. read it and you'll soon be addicted. or something like (on win98) cd mysql\bin mysqladmin -u root create binary_data m

Fw: [PHP-DB] Flushing PHP output

2001-11-22 Thread koelwebdesign
Leo Kuiper "Building a map in order to find what's not lost but left behind." - Beth Orton - Original Message - From: koelwebdesign <[EMAIL PROTECTED]> To: Neil Lathwood <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Thursday, November 22,

Re: [PHP-DB] Authenticate problem

2001-11-26 Thread koelwebdesign
> $strconnectionuser=mysql_connect("123.345.567.789","$USER"); I think it should be: > $strconnectionuser=mysql_connect("123.345.567.789","$USER","$PASSWORD"); Leo Kuiper "Building a map in order to find what's not lost but left behind." - Beth Orton - Original Message - From: Harpr

Re: [PHP-DB] db connect problems.

2001-11-28 Thread koelwebdesign
well, I didn't debug this massive script, but maybe you just want to connect to a mysql database? then this is the short way: $user = "your_username_for_the_database"; $pass = "your_password_for_the_database"; $con = mysql_connect("your_host", $user, $pass); if(!$con) { print "no connection

Re: [PHP-DB] db connect problems.

2001-11-28 Thread koelwebdesign
which is even better, all I tried to do was to point out just how simple it can be... btw. I prefer mysql_fetch_array ps. (ik woon in koudekerk, kilometertje of 8 van waddinxveen en werk als tekenaar op een ingenieursburo... klein wereldje) Leo Kuiper "Building a map in order to find what's not

Re: [PHP-DB] 5928 Would you like to lose weight while you sleep? 537417

2001-12-06 Thread koelwebdesign
[EMAIL PROTECTED] just tell this a$$hole to stop it. and that we are all super deluxe web-experts and that his site is dead for the next 15 years if he continues to send us his shit. or is that maybe a bit too aggresive? Leo Kuiper "Building a map in order to find what's not lost but left behi

Re: [PHP-DB] Problem with file upload...

2001-12-10 Thread koelwebdesign
> I already asked my provider if I have the rights to access the tmp/ file and > he says yes! but does php also have the right to put in your webdirectory? the problem is: php does not use your username and password. what I did (and I don't know if you've got the same problem), is fread all data