XenoK wrote:
jvvg wrote:
It's simple, you don't need to use someone else's script.
Just look at the move_uploaded_file command.I have! It's still not working...
Well, here's a script I can think of off the top of my head. I can't guarantee how well it will work.
Note that in processor.php, you need to change /path/to/uploaded/ to the path where you want uploaded files to go.
Also, this may be a problem with the server.
Upload page:
<form action="processor.php" method="post" enctype="multipart/form-data"> <input type="file" name="theFile" /> </form>
processor.php:
<?php if (is_uploaded_file($_FILES['theFile'])) { move_uploaded_file($_FILES['theFile']['tmp_name'], '/path/to/uploaded/' . $_FILES['theFile']['name']); } ?>
Offline
XenoK wrote:
yeah, it's definitely something wrong with the server. I'm gonna contact godaddy, see what they can do about it...
I have read in various places on the internet that GoDaddy hosting leaves something to be desired, and this may be one of them.
According to godaddyhostingsucks.com (which may be a bit biased), their support won't help you too much either.
Offline
Have you chmod-ed the target directory with write permissions?
Are you sure your form tag includes ' enctype="multipart/form-data" '?
Offline
TheSuccessor wrote:
Have you chmod-ed the target directory with write permissions?
Are you sure your form tag includes ' enctype="multipart/form-data" '?
I'll have to chmod the directory.
Offline
XenoK wrote:
jvvg wrote:
Remembering the problems you had with session variables, it is likely a server problem.
The session variables actually turned out to be a minor coding mistake...
Oh. My bad.
Offline
jvvg wrote:
XenoK wrote:
jvvg wrote:
Remembering the problems you had with session variables, it is likely a server problem.
The session variables actually turned out to be a minor coding mistake...
Oh. My bad.
Youre fine, you are just trying to help. I understand that you dislike godaddy because it simply supported SOPA - people do value their privacy. However, i have come to like their services regardless of their history, i really got what I paid for. Just trying to get across a point there :p anyways, i might try to fix it tomorrow. Who knows, i may have misconfigured something myself :p
Offline
XenoK wrote:
jvvg wrote:
XenoK wrote:
The session variables actually turned out to be a minor coding mistake...Oh. My bad.
Youre fine, you are just trying to help. I understand that you dislike godaddy because it simply supported SOPA - people do value their privacy. However, i have come to like their services regardless of their history, i really got what I paid for. Just trying to get across a point there :p anyways, i might try to fix it tomorrow. Who knows, i may have misconfigured something myself :p
Actually, in this case, the reason I don't like you using GoDaddy is that I think you're taking a Scratch collab way too seriously and putting too much money into it (especially when mine hardly has any money).
Offline
jvvg wrote:
XenoK wrote:
jvvg wrote:
Oh. My bad.Youre fine, you are just trying to help. I understand that you dislike godaddy because it simply supported SOPA - people do value their privacy. However, i have come to like their services regardless of their history, i really got what I paid for. Just trying to get across a point there :p anyways, i might try to fix it tomorrow. Who knows, i may have misconfigured something myself :p
Actually, in this case, the reason I don't like you using GoDaddy is that I think you're taking a Scratch collab way too seriously and putting too much money into it (especially when mine hardly has any money).
I'm using the website more than just a way to advertise my collaboration. I'm using it to practice my skills, and take my organization to new heights, more than just making scratch projects. Thanks for you concern though.
Offline
XenoK wrote:
yeah, it's definitely something wrong with the server. I'm gonna contact godaddy, see what they can do about it...
No jvvg forgot the submit button
Offline