Login To InderWeb ! Just Play !

Username:
Password:

UserSubmittedComments

command line

running php file from linux shell vi editor and command line php for non http based files

for creating and executing a php file from ssh you need to PHP installed as binary (CGI) and add something like at top of shell script

[root:inderweb.com]!/usr/bin/php -q

.This is to tell the shell interprator(kernal) that we are using php from bin directory for executing lines of code in script.To get started with a simple php code in shell do following steps:-

  • Open shell prompt and go to your directory . e.g [root:inderweb.com ~]

Syndicate content

Popular Tags