About: View PHP documentation for current word   Sponge Permalink

An Entity of Type : owl:Thing, within Data Space : 134.155.108.49:8890 associated with source dataset(s)

I couldn't find a way to open the php manual in an already-open window except by compiling Firefox myself. Instead I had to go with re-launching the browser each time I wanted to check the manual. Also, in order to launch Firefox when it is already running, the new instance will need a separate profile, so it does get a litte complicated: In recent Firefox versions (2014 and probably earlier) there is a -no-remote option. On my GNOME system I use "gnome-open "; to open the default browser (Firefox). I've configured Firefox to open new windows in new tabs if a browser is already open.

AttributesValues
rdfs:label
  • View PHP documentation for current word
rdfs:comment
  • I couldn't find a way to open the php manual in an already-open window except by compiling Firefox myself. Instead I had to go with re-launching the browser each time I wanted to check the manual. Also, in order to launch Firefox when it is already running, the new instance will need a separate profile, so it does get a litte complicated: In recent Firefox versions (2014 and probably earlier) there is a -no-remote option. On my GNOME system I use "gnome-open "; to open the default browser (Firefox). I've configured Firefox to open new windows in new tabs if a browser is already open.
Version
  • 5(xsd:double)
dbkwik:vim/property/wikiPageUsesTemplate
Previous
  • 1199(xsd:integer)
Category
  • PHP
Author
  • bigkm
Complexity
  • basic
Created
  • 2006-04-08(xsd:date)
ID
  • 1200(xsd:integer)
NEXT
  • 1202(xsd:integer)
Rating
  • 4(xsd:integer)
abstract
  • I couldn't find a way to open the php manual in an already-open window except by compiling Firefox myself. Instead I had to go with re-launching the browser each time I wanted to check the manual. Also, in order to launch Firefox when it is already running, the new instance will need a separate profile, so it does get a litte complicated: function OpenPHPManual(keyword) let firefox = '/Applications/Firefox.app/Contents/MacOS/firefox-bin' " you will need to create this profile in firefox let profile = 'Profile for PHP Manual' let url = 'http://www.php.net/' . a:keyword exec '!' . firefox . ' -p "' . profile . '" "' . url . '"' endfunction noremap gd :call OpenPHPManual(expand('')) In recent Firefox versions (2014 and probably earlier) there is a -no-remote option. On my GNOME system I use "gnome-open "; to open the default browser (Firefox). I've configured Firefox to open new windows in new tabs if a browser is already open. For mozilla, informations here: Manpageview supports php help (it uses links), for example: :Man bzopen while in a file identified by the syntax highlighting as being php. Here is what I did. I use lynx to see the documentation, but the documentation at PHP.org has some menu stuff I don't want to see (I have to scroll everytime). And the speed is slower than if it were local. So I downloaded the doc files and put it on my webserver. I still want to search the php website if i cant remember the function name. So i added two options: function OpenPHPManual(keyword) let web = 'lynx -accept_all_cookies --cookie_file=/home/jon/.lynx_cookies --cookie_save_file=/home/jon/.lynx_cookies --cookies' let url = 'http://jp2.php.net/' . a:keyword exec '!' . web . ' "' . url . '"' endfunction function OpenPHPManualLocal(keyword) let web = 'lynx' let url = 'http://192.168.0.2/~jon/phpdoc/function.' . a:keyword . '.html' exec '!' . web . ' "' . url . '"' endfunction noremap fd :call OpenPHPManualLocal(expand('')) noremap fj :call OpenPHPManual(expand('')) Add a -nopause to the above lynx command. It makes getting the files from PHP's mirrors faster. If you are using Mac OS X you can use the 'open' command which tries to use an existing Firefox window: :!open [http://www.php.net/ <a href="http://www.php.net/];">http://www.php.net/];</a> If you use 'sudo vim ...' then you're running 'open' as Admin User, which may still have Safari as the default browser, in which case you can use 'sudo /Applications/Firefox...' to start firefox as Admin and set Firefox as the default web browser.
Alternative Linked Data Views: ODE     Raw Data in: CXML | CSV | RDF ( N-Triples N3/Turtle JSON XML ) | OData ( Atom JSON ) | Microdata ( JSON HTML) | JSON-LD    About   
This material is Open Knowledge   W3C Semantic Web Technology [RDF Data] Valid XHTML + RDFa
OpenLink Virtuoso version 07.20.3217, on Linux (x86_64-pc-linux-gnu), Standard Edition
Data on this page belongs to its respective rights holders.
Virtuoso Faceted Browser Copyright © 2009-2012 OpenLink Software