juicehunter 30 Posted February 21, 2013 Report Share Posted February 21, 2013 So my friend asked me yesterday is it possible to include php in ubot. The anwer was everything is possible! So what do you guy's think would this be a nice asset? http://i.imgur.com/BHosI4p.png?1 1 Quote Link to post Share on other sites
LoWrIdErTJ - BotGuru 904 Posted February 21, 2013 Report Share Posted February 21, 2013 absolutely... great plugin.. Quote Link to post Share on other sites
alex 1 Posted February 21, 2013 Report Share Posted February 21, 2013 wohoo, fuckin nice job buddy! Quote Link to post Share on other sites
blumi40 222 Posted February 21, 2013 Report Share Posted February 21, 2013 BOMB! wanna ! Quote Link to post Share on other sites
Fabier 11 Posted February 21, 2013 Report Share Posted February 21, 2013 This.... would complete me. Quote Link to post Share on other sites
Aymen 385 Posted February 21, 2013 Report Share Posted February 21, 2013 yea thats pretty nice plugin !looking forward to see it released ! Quote Link to post Share on other sites
zdot 14 Posted February 21, 2013 Report Share Posted February 21, 2013 way to go buddy! Quote Link to post Share on other sites
Kazzo 9 Posted February 21, 2013 Report Share Posted February 21, 2013 Awsome! Quote Link to post Share on other sites
Kreatus (Ubot Ninja) 422 Posted February 21, 2013 Report Share Posted February 21, 2013 Nice one buddy. Looks like you are going to release a lot of very useful plugins here like aymen did. Quote Link to post Share on other sites
malefic 48 Posted February 21, 2013 Report Share Posted February 21, 2013 You are on a roll mate, keep them coming Quote Link to post Share on other sites
SaHiN 14 Posted February 21, 2013 Report Share Posted February 21, 2013 wouw very nice Quote Link to post Share on other sites
Bliss 194 Posted February 21, 2013 Report Share Posted February 21, 2013 Thats great Quote Link to post Share on other sites
Frank 177 Posted April 26, 2013 Report Share Posted April 26, 2013 Any further development on this plugin? I'd be interested too. Frank Quote Link to post Share on other sites
beatngu 65 Posted April 27, 2013 Report Share Posted April 27, 2013 I would also like to see this in ubot.However this would be a huge job to implement in to ubot,and it would not come cheap.The best would be to get the ubot devs to implement this to ubot so we do not need to pay a huge amount of cash to get this working. PS:Looked in to get this done myself but after a small amount of research its not even worth it.You can get a bit of php running in ubot but there is to much work involved and to many function that would not work.So paying a huge amount of cash to get some functions of php working is not so intressting or is it? Do you think it is worth it and how much would you like to pay to get this plugin?And what functions of php would you like the most? Quote Link to post Share on other sites
VentureOnline 49 Posted April 27, 2013 Report Share Posted April 27, 2013 Its not that big of a job. The uBot devs could just implement the mongoose server inside ubot and attach a PHP 5.4 install. If I was at all good with C# I'd get this done with a plugin. Unfortunately I am awful with C#. Quote Link to post Share on other sites
VentureOnline 49 Posted April 30, 2013 Report Share Posted April 30, 2013 Ok I fully admit im not totally versed in this but couldn't you use something like this: http://mongoose.googlecode.com/git-history/a69a2da39dcca63ad1a77553d3bc3a05f42e0e66/bindings/csharp/example.cs Basically the idea I would think is a plugin integrating this tiny server with a "Start Server" and "Stop Server" command. The "Start Server" command would have a file selector where you select what folder the PHP files are in and then a function that you place inside the load html panel that contains any PHP code you want. The way Mongoose server works right now is you just need to tell it where the PHP folder is and where the localhost is. If you made the localhost whatever the load html panel is and used the file selector to select the PHP installation I figured it'd be doable. So users like me who want to take advantage of PHP Curl run from the users machine could just include a PHP folder with our bots and that'd be that. Once again this is just a basic idea of how I think it could work with a plugin. Quote Link to post Share on other sites
beatngu 65 Posted May 2, 2013 Report Share Posted May 2, 2013 Yes it should be possible to get php to work on local with mongoose,but the performance would not be good and not worth it.The combination of mongoose+php+ubot api= poor performance. I would really want to know what Eddie has to say about this matter,if anyone knows if ubot can handle moongose and php then it is him.As far as just a plugin i really doubt that anyone will make anything that is going to work out good enough for us to use in bots and if someone finds a way then i think it will be a expensive plugin . Quote Link to post Share on other sites
juicehunter 30 Posted May 4, 2013 Author Report Share Posted May 4, 2013 Yes it should be possible to get php to work on local with mongoose.Your both wrong really, you don't need a server to run php code. I can run now php curl and all other php plugins in the code. That being said the ubot community is just not profitable to make high grade plugins for. Quote Link to post Share on other sites
beatngu 65 Posted May 4, 2013 Report Share Posted May 4, 2013 You are talking about running php in CLI mode?Did not think about that,but still not going to see a plugin dev make that anytime soon for cheap.I still think php will only be added to ubot if Eddie does it...... Quote Link to post Share on other sites
VentureOnline 49 Posted May 4, 2013 Report Share Posted May 4, 2013 Your both wrong really, you don't need a server to run php code. I can run now php curl and all other php plugins in the code. That being said the ubot community is just not profitable to make high grade plugins for. Well I would pay a premium price for it as I assume some others would as well. Quote Link to post Share on other sites
merkaba 36 Posted June 1, 2013 Report Share Posted June 1, 2013 As far as I'm aware, all you have to do is get any copy of apache that has php. Find php.exe and save it somewhere. Delete everything else if you don't want it. Create an environmental variable.http://www.nextofwindows.com/how-to-addedit-environment-variables-in-windows-7/ From there you can use shell commands. http://php.net/manual/en/install.windows.commandline.php Not exactly the cleanest way to do it, but if you want to experiment with integration that's where I'd start. *EDIT* Follow steps on that first link except set the file path to php.exe Quote Link to post Share on other sites
whoami 26 Posted March 13, 2014 Report Share Posted March 13, 2014 As far as I'm aware, all you have to do is get any copy of apache that has php. Find php.exe and save it somewhere. Delete everything else if you don't want it. Create an environmental variable.http://www.nextofwindows.com/how-to-addedit-environment-variables-in-windows-7/ From there you can use shell commands. http://php.net/manual/en/install.windows.commandline.php Not exactly the cleanest way to do it, but if you want to experiment with integration that's where I'd start. *EDIT* Follow steps on that first link except set the file path to php.exeSo technically it is possible to run PHP only including the php.exe? What about apache server?That would be great, not requiring clients to set up anything to be able to use the program.If someone has a solution for this I will be happy to pay premium price. Quote Link to post Share on other sites
LoWrIdErTJ - BotGuru 904 Posted March 13, 2014 Report Share Posted March 13, 2014 http://www.botguru.net/ubot-studio-php-compiler-plugin/ Then include the php.exe with your program and point to it for any calls. Quote Link to post Share on other sites
Proven 1 Posted March 21, 2014 Report Share Posted March 21, 2014 What about this it looks like it could be integrated? http://www.php-compiler.net/ Phalanger – the PHP compiler for .NETWelcome to Phalanger – full-featured PHP runtime & compiler for .NET/Mono frameworks. Phalanger is modern open-source implementation of PHP, compatible with the vast array of existing PHP code. In addition Phalanger gives PHP-application developers lot of new possibilities; from improving performance and using modern environments, to taking advantage of seamless unique .NET integration. Quote Link to post Share on other sites
lnietob 0 Posted October 7, 2014 Report Share Posted October 7, 2014 So my friend asked me yesterday is it possible to include php in ubot. The anwer was everything is possible! So what do you guy's think would this be a nice asset? http://i.imgur.com/BHosI4p.png?1I wonder if you are selling this PHP plugin for the Ubot Studio or any knows another! Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.