[01:07] soprano, is the home folder encrypted ? [01:54] AminosAmigos: c'est resolut :D [01:55] :) great ! [02:49] la solution je l'ai trouvé ici , ca vous aide peut etre http://www.ubuntugeek.com/how-to-recover-password-under-ubuntu.html === davlefou_ is now known as davlefou [13:31] Salam tous le Monde [13:32] AminosAmigos, voila la solution d'hier pour recuperer le mot de passe http://www.ubuntugeek.com/how-to-recover-password-under-ubuntu.html [13:33] ok merci :) soprano [13:33] De rien :D [13:33] hey AminosAmigos soprano [13:34] AminosAmigos: tu te debrouille en php !! [13:34] AminosAmigos I finally returned to this channel :) [13:34] hey ounis :D Good for you [13:35] salam soprano [13:35] elacheche_anis, salam :D [13:35] what do you mean ? soprano [13:36] AminosAmigos: i mean if you know how to make a script php ( page html + script shell ) [13:37] No :) [13:38] AminosAmigos, great [13:39] i have a ppa problem (can't fetch ) and i can't tell what is that ppa for :/ [13:39] http://ppa.launchpad.net/norsetto/... any ideas ? [13:40] Is there is anyone can help me [13:40] AminosAmigos it's easy get rid of your Ubuntu OS :D it's too shitty to fix all its problems [13:41] what do you use ounis ? [13:41] soprano what is the need? [13:41] in general or right now? [13:42] In general I use CentOS [13:42] right now I'm too ashamed of the OS I use (it's the companie's PC) [13:42] LoL i know that feel bro [13:43] ounis: how to make a script php ( page html + script shell ) [13:43] please be more specific soprano [13:44] you mean when you open the web page the php script launches a shell script on the server? [13:44] hello guys [13:44] take a look here http://pastebin.com/P5FZsJQS [13:44] hey Tux-Tn [13:44] Tux-Tn: hi :D [13:44] ounis, time to change the topic :D [13:45] yeah! [13:45] soprano your code style is too ugly [13:46] i'll try to read it evn if it's causing too much pain to my eyes [13:47] ounis: :S i have test it , it works fine , ther is one problem at line 265 [13:47] I mean the coding style [13:47] not if it works or not [13:47] code beauty is important too [13:48] OK, got it [13:49] soprano you got examples of the 3 conf files? [13:51] i have 2 only ; wait a minute [13:53] ok [13:55] Soprano Soprano_ pay attention to railing spaces @ the end of your lines & spaces in empty lines [13:55] indentation is important too [13:56] ounis: http://pastebin.com/RM4ZW7QP the is an other example [13:59] still missing conf.php [13:59] try to give something that works not something missing setup [14:02] Soprano_ try to give a short esplanation of the function of each code [14:02] he doesn't know [14:02] Soprano_ try also to add a phpdoc style comment to each function [14:02] Tux-Tn try to stfu [14:02] wtf? [14:03] ounis, u wanna a kick? [14:03] yes please [14:04] okay [14:04] but seriously [14:04] Soprano_ got the code from somewhere [14:04] and he doesn't know how to code in php [14:04] at least a short explanation on what the code is supposed todo [14:05] especially if the code is that bad [14:05] it's too hard to read [14:05] tooo* [14:05] pfff, I mean too* [14:06] * ounis in a boring meeting, so trying to occupy himself with anything [14:07] Soprano_ you still here? [14:07] ounis: yep :/ [14:07] so any answer? [14:08] ounis, when u will finish ur meeting? [14:08] idk the retards I work with talk too much to say nothing [14:08] they don't respect time plannings [14:09] so it may stay for a while [14:09] ounis: no, but you can take a look here , http://176.9.238.187/indexx? [14:09] what is that? [14:09] try to put code 11 and Activate [14:10] I got no activation code [14:10] and you will see the message [14:10] indeet what is the problem? [14:10] indeed* [14:11] at line 256 in the first file , there the Reactive Action [14:11] sorry line 265 [14:15] your issue is in function file_user_check() [14:15] try to var_dump $act['End'] [14:16] ounis: did you try to put code : 11!!! [14:16] yep [14:16] the date is the UNIX origina date [14:16] original* [14:17] try it now and see the message [14:17] it means the value of the date is 0 [14:17] now it says expire [14:17] yep [14:18] what i have understan from file [14:18] if($act['End']>time()) [14:18] gives expire code [14:18] check line 270 [14:19] yep [14:19] i guess ther is the problem [14:19] I still maintain that the issue is in function file_user_check() [14:19] or maybe in user.xml [14:19] the structure maybe not good [14:20] Tux-Tn please change the topic [14:20] in here it's not about ubuntu at all [14:20] Tux-Tn add me as op [14:21] ounis , try to put code: 15 [14:22] and i will explain you the proxy.act, user.xml, proxy.codes [14:23] ok it worked [14:23] in proxy.act [14:23] makes an history [14:24] [2012/08/21][18:22:44] Username = AB1345558964 Password = 503399b4ac487 15=10 Start: 2012/08/21 End: 2012/08/31 IP: ********* [14:24] in user.xml [14:24] generate a user and password with start date and end date [14:25] alright [14:26] but the reactive action dosen't work :S [14:27] the problem is here in line 270 i guess if ( $_SERVER["HTTP_USER_AGENT"] == $GLOBALS['USER_AG'] ) [14:34] no it isn't [14:34] it's in L441 & L 443 [14:35] try to put mktime(0, 0, 0, (int) $month, (int) $day, (int) $year), [14:36] Soprano_ does that solve your issue? [14:36] Ok wait [14:37] mktime(0, 0, 0, (int) $month, (int) $day, (int) $year), sorry , where i put it !!! :S [14:37] replace the old mktime in L441 & L443 [14:37] Ok Got it [14:37] :) [14:38] I told you it's in that function & you need to var_dump($act['End']) [14:38] mktime(0, 0, 0, (int) $month, (int) $day, (int) $year), !!! must be terminatd by ( ; ) no !! [14:38] yes [14:38] Ok [14:39] I don't give you the fish I'm teaching you how to catch it ;) [14:40] Expire code [14:40] same problem [14:40] i'm not pro but i guess is at line 265 [14:40] wait i will explain you [14:41] try now and put the code 14 and see what message you will got it [14:43] ounis failed [14:44] Soprano_ how can I test it locally? [14:44] Activation , Reactivation , Wron code and Expire code , at lines ( 265 --- 280 ) [14:45] do you mean how to test it in your machine ! [14:45] Activation , Reactivation , Wron code and Expire code , at lines ( 256 --- 280 ) [14:50] ounis, are you there ? [14:50] I insist it's in $act['End'] mktime is not working right [14:51] lol [14:51] got it [14:51] the problem is in the XML [14:51] don't put "expire-date" it't "endDate" [14:52] no [14:53] if is it really what you [14:53] i will not got this in proxy.act [14:53] [2012/08/21][18:52:22] Username = AB1345559986 Password = 5033a0a638c6e 14=10 Start: 2012/08/21 End: 2012/08/31 IP: 164.******** [14:53] and this in use.xml [14:54] time it's correcte [14:54] correct [14:54] in fact you need to put "endDate" after the activaation the code will convert it to "expire-date" [14:55] you may need to put it in a future date let's say in 2013 [14:55] after activation the code ( who has been in proxy.codes like this 14=10 ( code 14 for 10 days ) he delete automaticly [14:56] you mean endate in 2013 !! [14:56] yep [14:56] for example [14:56] put the code 11 :D [14:56] no [14:57] I did [14:57] it worked! [14:57] Yep [14:58] [2012/08/21][18:57:22] Username = AB1345561022 Password = 5033a1d26f378 11=366 Start: 2012/08/21 End: 2013/08/22 IP: 164.******* [14:58] [14:58] you see it's works fine [14:58] believe me [14:59] you need to put "endDate" the execution will change it to "expire-date" [15:00] i don't think so [15:01] "endate" change "expire-date" in user.xml [15:01] "endDate" not "endate" [15:02] and yes the execution is changing it [15:02] and the Activation , Code Expire, Wrong Code , Reactive, all this will be doing withe chek file proxy.act [15:02] IDK I still don't understand what your code is doing [15:03] I just gave you what is going on & why you see those messages [15:03] you can test it in your machine !! [15:03] you will understand [15:03] yes [15:03] I understood! [15:04] so with this config file [15:04] don't negotiate too much with me I know what I'm talking about and I get mad quickly when people act as you do [15:05] Ok [15:06] i didn't say anything :/ who makes you mad [15:08] pfff [15:09] your making me repeate the same thing more than 5 times [15:10] If it's not stupidity (BTW I hate stupidity) your trying intentionally to make me mad! [15:10] I said I know what I'm talking about [15:10] you just need to try what I told you [15:10] no need to ask me about it [15:11] Ok [15:12] if you're too stupid to understand what I'm saying don't ask questions until you get a brain first [15:24] Salam [15:24] salut Tux-Tn [15:28] hey DelphiWorld [15:29] hey ounis [15:29] sup? [17:29] salut DelphiWorld [17:29] ca va bien? [17:29] 3idek mabrouk [17:29] merci Tux-Tn et a tout le monde:P [17:29] tré long tamp Tux-Tn [17:29] ouai [17:29] t'es rentré du maroc? [17:30] oui Tux-Tn ;) [17:30] Tux-Tn: et samedi a dubai :P [17:31] tu fais le tour du monde ? :D [17:32] Tux-Tn: LOL [17:33] Tux-Tn: http://mum.mikrotik.com/ [17:35] :O [17:35] t'as de la place dans ta valise? [17:37] Tux-Tn: oui, elle est grande ;)