My code lib! Uploading Problems!

randomize

New Member
Messages
674
Reaction score
0
Points
0
Hey guys,

I mentioned in an earlier post that I was building an codelibrary and needed a way to upload the scripts.

I think I have fount a tutorial which will show me how to do it!

But however I need to know the way in which it is done, is it ok to be run on the x10hosting servers, with slight modifications to the script.

Its currently for images, but I could change it for scripts.

Here is the link:
http://www.forgedtutorials.com/viewtut.php?tutid=12

thanks for feedback
Randomize
 

Chris S

Retired
Messages
2,055
Reaction score
1
Points
38
The answer is probably going to be a No because it would allow file uploads to the site and that is against the TOS if I am correct

note I am not 100% correct
 
Last edited:

Bryon

I Fix Things
Messages
8,149
Reaction score
101
Points
48
I'm not meaning to go against what you said Chris, but..

I think it would be alright for you to have a upload system for programming scripts/files/etc, since it wouldn't directly be coprighted files, and your site wouldn't be primarily an 'upload site'.

I have a suggestion though for you. If your going to have people upload code files, why not just have a textarea on your site, (With a few other things of course.. ), that someone could copy and paste the code into, then when they hit submit and have the recieving script insert it all into a MySQL database? Just a suggestion though.
 
Last edited:

Cynical

Active Member
Messages
3,492
Reaction score
0
Points
36
The way Bryon mentioned would be far easier than uploading a file, especially if you saved the scripts in text files rather than in a database. Actually it would be pretty cool if your site offered both the option to upload scripts or use a textarea...
 

randomize

New Member
Messages
674
Reaction score
0
Points
0
yeah that might be a good idea actually!

i was just wondering, the sql way might of been easier for me, but I suppose I can do the text area as well!

How would be the best way of doing the text area?

Presumbly, I would still need to use an MySQL database!

I am going to run a few test pages, see what happens!
 
Top