ricardo_78
January 9th, 2009, 09:38 AM
I have installed Bluefish and it looks pretty good.
I am tryingto set up external browser support to view php files root /opt/lampp/htdocs/
The following:
firefox -new-window http://localhost/%s&
gives me a newwindow with http:/localhost/opt/lampp/htdocs/myfile.php where the file I wantto view is myfile.php.
Almost there but I need to remove /opt/lampp/htdocs/. I understand
sed s /opt/lampp/htdocs/
is part of the answer but I am not sure how to apply it...
Can anyone throw me a bone on this one?
I am tryingto set up external browser support to view php files root /opt/lampp/htdocs/
The following:
firefox -new-window http://localhost/%s&
gives me a newwindow with http:/localhost/opt/lampp/htdocs/myfile.php where the file I wantto view is myfile.php.
Almost there but I need to remove /opt/lampp/htdocs/. I understand
sed s /opt/lampp/htdocs/
is part of the answer but I am not sure how to apply it...
Can anyone throw me a bone on this one?