How to use php $GET with runeaudios page setup? (Solved)

General discussion about RuneAudio. Do not post any support or feature requests here.

How to use php $GET with runeaudios page setup? (Solved)

Postby irishwill2008 » 20 Sep 2016, 11:10

I want to block access to the music settings page (Directory: /mpd/).
I dont want people messing with settings so i am using a key method so if you enter ?key=12433 then itl enter but when i load the music settings page /mpd/ if i try adding ?key it just doesnt like it. I tried /mpd?key=12433 and it brang me to software failure page (Error page when entered a unknown url). If i do it with a direct .php format it works. So if i did test.php?key=12433 it works, its not the code its just the way runeaudio loads pages i am guessing. Any way to disable the weird way or any way to implement a key system using the correct structure? I only want to restrict access to MPD section anyway (the music settings page "/mpd/").
Let me know thanks!
Last edited by irishwill2008 on 23 Sep 2016, 14:24, edited 1 time in total.
irishwill2008
 
Posts: 157
Joined: 26 Jul 2016, 14:49
Location: Ireland

Re: How to use php $GET with runeaudios page setup?

Postby irishwill2008 » 23 Sep 2016, 14:24

I just created a login script inside the mpd.php using sessions and stuff.
Nice setup i got here now. Everything seems to be going into working order ;)
irishwill2008
 
Posts: 157
Joined: 26 Jul 2016, 14:49
Location: Ireland

support RuneAudio Donate with PayPal


Return to General discussion

Who is online

Users browsing this forum: No registered users and 17 guests
cron