pulkit wrote:Does any one know how to autorun my php application when i start XAMP package on windows XP(I want my php appllication start as i start XAMP on my computer as default appication
By "XAMP package" do you mean Apache Friends XAMPP or something else?
By "php application" do you mean a PHP editor, an executable written in PHP, or a site written in PHP that you view in your browser?
Assuming you want to run Apache Friends XAMPP and the Eclipse editor, create a batch file that looks something like this:
start_eclipse_xampp.bat
Code: Select all
cd C:\dev\eclipse
start eclipse.exe
cd C:\dev\xampp
start xampp-control.exe
exit
If you want to start Eclipse maximized, write
If you want to start XAMPP minimized, write
If you also want to open your default browser and navigate to localhost, write
There isn't really a point to that, though, since Apache isn't running yet.
You can store the batch file in a convenient location or store it in a safe place and put a shortcut to it in a convenient location.
Edit: This post was recovered from search engine cache.