Tagged Questions
-4
votes
1answer
319 views
Changing IP address of Apache server using PHP statically
I want to statically assign the IP address of my Arch linux using php. I want to change the IP by using netmask,interface,broadcast,address & gateway. The user puts up the values into a html page. ...
2
votes
2answers
188 views
Turn a bash and php script into a distributable rpm
I'm semi unix knowledgeable and I want to be able to call down an rpm from my server, run it with something like rpm -i , and have access to the script anywhere.
The script is a combination awk and ...
2
votes
2answers
2k views
Executing a shell command from PHP with shell_exec
Included in my thesis is to create an administration interface, in which an
administrator can approve users whom have asked for access to use
OpenNebula.
Upon approval the users should be added to ...
7
votes
2answers
261 views
Strip // Comments From Files
What's the best way to strip all code comments in a given directory? I'd like to strip out all // ... EOL comments, and /* blah \*/ (or /** ... \*/) comments as well.
This is a PHP project, and I'd ...