Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
I want to enable windows cd burn using php script or any api key,or any programable language script.how it is possible to do that with php or any programable language script?
Please Suggest?
PHPs main function is preparing and building webpages to display in a clients browser.
I don't think there is any functionality to access the disk drive with PHP alone nor do I think it would be a good idea.
The only way I can think it would work is by running tools installed on the OS through php's exec() function
http://php.net/manual/en/function.exec.php
I Have not used these tools but that's what I found when googling commandline CD ripping and burning.
https://www.cyberciti.biz/faq/linux-ripping-and-encoding-audio-files/
FYI, php runs serverside only so using the linux tools would only work on the hosting machine.
With all the opensource disc management tools out there I cant work out why you would want to build one in php
Related
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I have tried using phonegap , but the php scripts do not work?
Any other alternatives as to how the php jqm applications are deployed on tablet for testing?
PHP is meant to run on Proper Computer/Server as its a Server Side Language. So you need additional Software as the Browser does not have the ability to Interpret the PHP Language by Itself.
However its not a dead end if you wish to run PHP and JQM on a Device by itself.
On Android you can try KSWEB: server + PHP + MySQL Software which turns the device into a web server and includes PHP
Out of interest i just tested this software and it works. If you have an Android device download and install the software. The web server starts automatically. Transfer your whole folder (jqm+php scripts you have) in the htdocs folder on the phone, open a browser and type (localhost:8080/the-name-of-the-folder) and your jqm + php scripts will run ok.
https://play.google.com/store/apps/details?id=ru.kslabs.ksweb&hl=en
Alternatively Check Ubuntu touch, http://www.ubuntu.com/phone i think you can install anything on that like a LAMP server which includes PHP. Its a good choice because stuff like that is free. except for the device.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 9 years ago.
Improve this question
What kind of server configurations would I need to do in order to run a Python + Pygame code on a website.
Is php able to call and execute the python on server side? Do I need to install python on the server? I believe python is installed, but do I need to install the pygame library? What if I compile my code, will I need to install pygame on the server after that?
Can some one provide me a general list of things I will need to complete in order to make this happen?
My case:
I would like to put a game I made with Python on a website. I see how the python can run on the server no problem, but how can I ensure the client be able to play the game on their browser?
Web Browser can display/run HTML+JavaScript+SVG+(HTML)Canvas or (Adobe) Flash. You can't use PyGame to create game running on page. PyGame doesn't generate HTML+JavaScript or Flash
There might be a Python plugin somewhere, but I don't know of it and I can't imagine it's very popular. Your best bet would be to use Pyjs, previously called Pyjamas, which can translate Python to JavaScript. It doesn't support Pygame, but you might be able to write a Pygame-compatible module using the browser's canvas support. It's not a solution that you can just drop in and go, but I don't think there is one.
Yes, there is a mod like mod_php... The extension of files are
.psp
Python server pages
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 9 years ago.
Improve this question
Xampp is a great product for newbie like us, it is very easy to install and configure. Today I am thinking of rolling up my php applications which I have it inside htdocs folder with the xampp installer. I know that Xampp has a zip package version too. And what I need to know now is that: is it possible and how to include my php application inside the xampp installer or exe for distribution? An example of what I want to achieve is timetracks (it has its own server and all the applications in one installer). Any suggestion is welcome.
You Should look into using server2go http://www.server2go-web.de/ i have used various times to package my PHP apps.
Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
I am new on php . i am currently on the project that have a php file contain approx 2500 line of code.
This script is working fine in localhost but on the server it take a lot of time to reload the page.
I want to know that is there any tool or website that find out the slow running code from php script.
Any help will be appreciated..
I strongly recommend using xdebug for that - it has an integrated profiling solution. You can then parse these files with Webgrind
If you use software like XAMPP or MAMP, xdebug could be already with it. There are also lots of useful information how to setup xdebug like here http://unitstep.net/blog/2009/01/26/getting-xdebug-to-work-with-apachexampp-to-debug-php/
Maybe the server is also slower than your local machine.
Xdebug is pretty much the standard when it comes to PHP.
Some profiler will help here. The best of known to me is Xdebug. It has plugins for many IDEs.
Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 9 years ago.
Improve this question
I'm trying to start php development for facebook applications. I have already had some problems configuring PHP and Apache.
Today I found a tool called EasyPHP. Is it recommended to use this tool for developing php websites and in particular facebook applications?
EasyPHP is a perfectly good solution as far as I'm aware, but I've never used it myself so I couldn't recommend it. I use XAMPP, but it's all down to personal preference.
It's probably worth taking a look at this question on SO, or this Wiki article comparing WAMPs.
xampp
XAMPP is an easy to install Apache distribution containing MySQL, PHP
and Perl. XAMPP is really very easy to install and to use - just
download, extract and start.
wamp for windows, mamp for mac, thats what I reccommend.
I'm using Visual-AMP, It's like the IIS.
WAMP, MySQL and pretty much any IDE.
Just follow the online instructions.
WAMP includes all the tools and extensions you'll need without needing to mess around with config files