Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
This is the deadest forum I have ever seen.
#1
Anyways, anyone know a way to have PHP upload files to your computer? I have a theory.

Edit: Title fix
#2
? What exactly do you mean?
#3
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.
#4
You mean like getting the contents of a web page and printing it out?
#5
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.
#6
Well, that's actually pretty simple, considering you can just do [lua]echo(file_get_contents("http://www.roblox.com/Default.aspx"));[/lua]

:O
#7
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....
#8
I've seen worse forums!
it only had 3 users and 4 posts!
from January 2008
#9
This thread is from like 8 months ago...

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


Forum Jump:


Users browsing this thread: 2 Guest(s)