Community discussions

MikroTik App

Search found 6 matches

by chenashop
Sun Apr 09, 2017 10:11 pm
Forum: General
Topic: how to block vpn
Replies: 7
Views: 11741

how to block vpn

there is an free extension in google chorme betternet free vpn which made bypassing any kind of content filtering unbelievably easy . i tried all kind of port blocking, gre blocking to block this kind of vpn , but no success .

any idea .. ?

TIA
by chenashop
Wed Apr 05, 2017 2:16 pm
Forum: Scripting
Topic: PHP Api add user and password to Hotspot
Replies: 9
Views: 9479

Re: PHP Api add user and password to Hotspot

hehe
I typed the whole code myself and now its working . thanks lot !
by chenashop
Wed Apr 05, 2017 8:39 am
Forum: Scripting
Topic: PHP Api add user and password to Hotspot
Replies: 9
Views: 9479

Re: PHP Api add user and password to Hotspot

I've replaced first 3 line from another working agi script . now getting error in another line :( [root@localhost auto]# php test.php PHP Parse error: syntax error, unexpected ''name'' (T_CONSTANT_ENCAPSED_STRING) in /var/www/html/auto/test.php on line 13 [root@localhost auto]# cat test.php <?php us...
by chenashop
Wed Apr 05, 2017 6:31 am
Forum: Scripting
Topic: PHP Api add user and password to Hotspot
Replies: 9
Views: 9479

Re: PHP Api add user and password to Hotspot

I've two servers. both r having same error

[root@speed html]# php --version
PHP 5.3.3 (cli) (built: Feb 9 2016 10:21:34)

[root@localhost html]# php --version
PHP 5.6.28 (cli) (built: Nov 10 2016 16:14:06)


other api from same folder is working nicely .
by chenashop
Wed Apr 05, 2017 12:08 am
Forum: Scripting
Topic: PHP Api add user and password to Hotspot
Replies: 9
Views: 9479

Re: PHP Api add user and password to Hotspot

trying with the code, I found following error [root@localhost auto]# php test.php PHP Parse error: syntax error, unexpected ''PEAR2_Net_RouterOS-1.0.0b5.ph' (T_CONSTANT_ENCAPSED_STRING) in /var/www/html/auto/test.php on line 5 my full code is [root@localhost auto]# cat test.php <?php use PEAR2\Net\R...
by chenashop
Mon Apr 03, 2017 9:46 pm
Forum: Scripting
Topic: Help on php api
Replies: 15
Views: 4993

Re: Help on php api

hello,

I am also using your client. I want to edit pppoe password from php page, so that user can edit his own password


$name = "user1";
$password = "password1";
$service=pppoe

can u help us on this ... ?