2DWorlds Forums

Full Version: This is the deadest forum I have ever seen.
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Anyways, anyone know a way to have PHP upload files to your computer? I have a theory.

Edit: Title fix
? What exactly do you mean?
The file protacol.

Sadly, something in the php.ini file on x10Hosting, does not allow me so.

Anyway, I "hacked" roblox and printed their script.
You mean like getting the contents of a web page and printing it out?
Yes, something like that.

I designed my own function, gFileContents() to get the contents of a file.

I was testing it out and did gFileContents("http://www.roblox.com/Default.aspx")

It printed the contents.

You can have the entire API if you want.
Well, that's actually pretty simple, considering you can just do [lua]echo(file_get_contents("http://www.roblox.com/Default.aspx"));[/lua]

:O
Never knew that existed.

There's a lot more...

Let me see...

sError() - Stops the script, and prints an error

sNotice() - See the ATTENTION bar on Virtualscope

gCookies() - prints a list of cookies.

redirect() - Redirects the user without using header. More reliable than header("Location"), but slower.

protect - Protects the page

And so on....
I've seen worse forums!
it only had 3 users and 4 posts!
from January 2008
This thread is from like 8 months ago...

It's not dead enough for THAT to be a normal reply timelength.