![]() |
Small hack to allow game installations from a remote server (with 1550 or so games)
1 Attachment(s)
I do need this tested - as the way I set it up its just a bit of a pain to test myself :(
With my limited testing, it appears to work - and since my addition is about three lines of code, (plus a copy/paste/modification of another 10 or 15 lines) - not much to mess up here - but if there is a way - I will always find it. Attached - and link below
Code:
http://sportsforum.ws/_arcade.phps |
oh - and since I didnt mention it - copy your arcade.php file in the admincp folder to a backup name, and then save the above file as arcade.php
This is the changes I made to the original Find PHP Code:
Above it Add PHP Code:
Find PHP Code:
Above it Add PHP Code:
Thats it. As I said not much to mess up :) |
I just gave this a whirl and it did not work. The error listed is:
Quote:
|
Quote:
You cant use file_put_contents()? :( Wait - thats a php5 one isnt it? Just ran over to php.net - figured there would be a cheap substitute siting there for php4 - and there was :) (cheap - there was a better one - but this one was shorter and I assume it works - dont need anything other than writing the file PHP Code:
Throw that in above the last section - man - life without file_put_contents - I wouldnt even remember to how to write a file anymore :( |
All times are GMT. The time now is 02:45 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|