http://calcg.org/newlogo2.png Not Logged in.
Login | Register

General Discussion Board \ Non-Calculator Related World \ need help with crazzy idea

Click here to log in (you must be logged in to post comments).

AuthorComment
Zachary940
Wraith
avatar
Posted: 6 Sep 2006
13:34 GMT
Total Posts: 714
Ok I now have a file uploader up and running at GP. That was simple.

This is what I would like to do. Create a multi file uploader that prompts the user for the directory. It sounded simple but I can't get the darn thing to work.

here is a layout of what i want it to do.

1.person clicks a link that takes him to the page
2.var dir=prompt("please enter the directory") (note:the true dirctory would be "projects/$dir")
3.user browses for files and hits upload.
4.it uploads the files


if possible i would also like the user to be ably to writ sub directorise.

say this happens.

var dir=prompt("please enter the directory") the user enters "hi/bye"

I would like it to write the folder bye in the folder hi that is in the folder projects.

but not allow folders to be written in the projects directory.

Sounds crazy I know but if you can help me please do so.

Thanks,
Zachary Redmon (Zachary940)

---
It is much easier to suggest solutions when you know nothing about the problem.
threefingeredguy
Ghost
avatar
Posted: 6 Sep 2006
14:40 GMT
Total Posts: 1189
What?

---
Someone call for an exterminator?
TheOnlyJon
Dragoon
avatar
Posted: 6 Sep 2006
18:53 GMT
Total Posts: 96
So you want people to be able to upload files and directories to a pre-existing directory in /projects/ but not be able to make ones of their own?
For example, if /projects/hi/ existed one could write to /projects/hi/bye/ but only if?

---
<--! I have no comment at this time -->
Liebe ist Krieg
Wraith
avatar
Posted: 6 Sep 2006
19:34 GMT
Total Posts: 542
thats what hes sayn.

---
~~~~LiK~~~~
Zachary940
Wraith
avatar
Posted: 8 Sep 2006
11:51 GMT
Total Posts: 714
TOJ ur right thats what I want

---
It is much easier to suggest solutions when you know nothing about the problem.
Liebe ist Krieg
Wraith
avatar
Posted: 9 Sep 2006
11:14 GMT
Total Posts: 542
ok. so now we know what you want. now how do we do it.

---
~~~~LiK~~~~
TheOnlyJon
Dragoon
avatar
Posted: 9 Sep 2006
14:30 GMT
Total Posts: 96
What are we talking about here? Java?

---
<--! I have no comment at this time -->
haveacalc
Guardian
avatar
Posted: 9 Sep 2006
14:47 GMT
Total Posts: 1111
I'm fairly certain that it's php.

---
-quoted directly from most movies that don't exist (and some that do).
Zachary940
Wraith
avatar
Posted: 10 Sep 2006
13:31 GMT
Total Posts: 714
yes it is php

---
It is much easier to suggest solutions when you know nothing about the problem.





Portal | My Account | Register | Lost Password or Username | TOS | Disclaimer | Help | Site Search | File Archives Copyright © 2002-2019 CalcG.org