2DWorlds Forums
This is the deadest forum I have ever seen. - Printable Version

+- 2DWorlds Forums (http://2dworlds.buildism.net/forum)
+-- Forum: Off Topic (http://2dworlds.buildism.net/forum/forumdisplay.php?fid=5)
+--- Forum: Programming (http://2dworlds.buildism.net/forum/forumdisplay.php?fid=30)
+--- Thread: This is the deadest forum I have ever seen. (/showthread.php?tid=8212)



This is the deadest forum I have ever seen. - Dignity - 09-01-2011

Anyways, anyone know a way to have PHP upload files to your computer? I have a theory.

Edit: Title fix


RE: This is the deadist forum I have ever seen. - noob007 - 09-01-2011

? What exactly do you mean?


RE: This is the deadist forum I have ever seen. - Dignity - 09-01-2011

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.


RE: This is the deadist forum I have ever seen. - noob007 - 09-02-2011

You mean like getting the contents of a web page and printing it out?


RE: This is the deadist forum I have ever seen. - Dignity - 09-02-2011

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.


RE: This is the deadest forum I have ever seen. - noob007 - 09-02-2011

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

:O


RE: This is the deadest forum I have ever seen. - Dignity - 09-02-2011

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....


RE: This is the deadest forum I have ever seen. - vat21s - 05-09-2012

I've seen worse forums!
it only had 3 users and 4 posts!
from January 2008


RE: This is the deadest forum I have ever seen. - Qwertygiy - 05-09-2012

This thread is from like 8 months ago...

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