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
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,
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]&
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
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,
> $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
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
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
[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
> 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
10 matches
Mail list logo