|
It just worked! ;3;3;3
I didn't have CURL support for php5 yet, and I called chmod and chown on the wrong directory ._.
I learned some pretty neat stuff here last couple of days!
Thank you so much Froast :D
<3 [3] |
|
|
MrNicNacJoin Date: 2008-08-29 Post Count: 28554 |
@Happywalker
I miss the bad old days (not really) when I did:
sudo chown root / -R
[WARNING: Don't do that]
That was fun... |
|
FriedtjofJoin Date: 2010-07-02 Post Count: 1932 |
Everything on one of my servers is chmod 777'd, all ports are DMZed, and everything runs as root. It's probably the most insecure system ever used, but it's easy to use ;)
Lord of all things, breaded and unbreaded. |
|
digpoeJoin Date: 2008-11-02 Post Count: 9092 |
@ghost whats the ip? |
|
FriedtjofJoin Date: 2010-07-02 Post Count: 1932 |
Yes. ;)
Lord of all things, breaded and unbreaded. |
|
|
Currently testing this out for my group to include messaging and shouting purposes only.
I'm having issues with connecting a small bug?
Output:
prntscr/736zzs
local game = game
local HttpService = game:GetService("HttpService")
local print = print
local tostring = tostring
local baseURL = 'asd'
local POSTKey = 'asd'
local GETKey = 'asd'
local string = string
return setfenv(function()
if game.PlaceId == asd or game.PlaceId == asd or game.CreatorId == asd then
print('Access Granted')
local m ={}
m.SystemFunction = function(action,parameters)
local array = {
Validate = POSTKey,
Action = action,
Parameter1 = parameters[1],
Parameter2 = parameters[2],
}
return HttpService:PostAsync(string.format('%s/receiver.php?key=%s',baseURL,GETKey),HttpService:JSONEncode(array))
end
return m
else
print('Access Denied')
return nil
end
end,{})
|
|
|
DTrumpJoin Date: 2015-01-22 Post Count: 3294 |
Nice contribution, man! I'm a PHP developer myself, was planning on using features exactly like the ones you shared for a group - they can be useful if used correctly. |
|
gskwJoin Date: 2013-01-05 Post Count: 1364 |
@micke I quickly ran through his code and it look like a problem in shout.php:12, so try echoing $response and curl_getinfo($curl,CURLINFO_HEADER_SIZE) before that line and see what they say. |
|
|
|
|
I'm thinking of using this like Happy. Using my Raspberry Pi B+! I have just set up a web server for it. |
|
DTrumpJoin Date: 2015-01-22 Post Count: 3294 |
@powerhot - For beginners, I'd recommend Apache. However, one of my personal favorites (and what I currently use) is nginx. |
|
|
I'm currently using Apache in my server (I already have it up and running). |
|
|
Ok, so I tried to echo not much success out of it...
I went back through to make sure my settings were correct, they are...
I'm simply using your receiver and trying to use shout, but it won't comply? Help? |
|
|
|
I'mma keep this bumped for people who need / want it |
|
|
AlvronJoin Date: 2011-04-03 Post Count: 300 |
brokkeee
FAILURE: Incorrect/missing validation key. |
|
|
b
I have skin, potatoes have skin, therefore I'm a potato. |
|
selisoJoin Date: 2011-01-30 Post Count: 6443 |
ok ty bump ty |
|
|
Okay, sorry if I'm necrobumping, but I have this error, on line 30 of login.php:
"Parse error: syntax error, unexpected '['"
on line 30, there's this:
$responsearray = json_decode($response,true)['d']
any help?
|
|
|
|