Well, I've put a (not so good) script to open a php file on apache at
http://lua-users.org/wiki/SciteOpenPhpLocalhost

function openbrowser()
        local f = props['FilePath']
        local s,e,path,file = string.find(f,'^(/var/www/)(.*)')
        if path == '/var/www/' then
                target = ("http://10.132.1.18/"; .. file)
                firefox = ('mozilla-firefox ' .. target .. ' &')
                print("Opening  " .. target)
                --print(firefox)
                os.execute(firefox)
        else
                print("You must put your php files under /var/www in order to 
run them.")
        end     
end

command.go.subsystem.*.php=3
command.go.*.php=openbrowser()

_______________________________________________
Scite-interest mailing list
[email protected]
http://mailman.lyra.org/mailman/listinfo/scite-interest

Reply via email to