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
autorun application with XAMP start
Moderator: General Moderators
autorun application with XAMP start
Hi,
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
)
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
- greyhoundcode
- Forum Regular
- Posts: 613
- Joined: Mon Feb 11, 2008 4:22 am
Re: autorun application with XAMP start
Does placing a shortcut in the Start > All Programs > Startup folder work?

Re: autorun application with XAMP start
By "XAMP package" do you mean Apache Friends XAMPP or something else?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 "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
exitCode: Select all
start /max eclipse.exeCode: Select all
start /min xampp-control.exeCode: Select all
start http://localhost/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.
Last edited by McInfo on Mon Jun 14, 2010 2:26 pm, edited 2 times in total.
Re: autorun application with XAMP start
Thanks for the replying,
But my question is that i have developed my application name for example xyz
now my first page name is a.php
Now when i start my xamp for the developing any application in XAMP for that i need to start XAMP and also Apache 2.2 upto this point r u clear???
now when i start XAMP my old application which i had made xyz it start when i run xamp_start.exe or on duoble click on xamp_start.exe
i hope now u got the what i want to do.
This is like in java in Java if u configure any web.xml on startup of tomcat application runs if u write http://localhost:8080
i want the same in php
thanking you,
pulkit
But my question is that i have developed my application name for example xyz
now my first page name is a.php
Now when i start my xamp for the developing any application in XAMP for that i need to start XAMP and also Apache 2.2 upto this point r u clear???
now when i start XAMP my old application which i had made xyz it start when i run xamp_start.exe or on duoble click on xamp_start.exe
i hope now u got the what i want to do.
This is like in java in Java if u configure any web.xml on startup of tomcat application runs if u write http://localhost:8080
i want the same in php
thanking you,
pulkit
Re: autorun application with XAMP start
m i clr? ! rly
I've searched but haven't found any evidence of a program called XAMP that is associated with Apache. I do know of and use XAMPP, though.
New file: start_xampp.bat
If you double-click on start_xampp.bat, xampp_start.exe will start minimized, then your default browser will open and automatically navigate to your "application" at http://localhost/xyz/a.php. Your browser will have to wait for Apache and MySQL to start, so there will be a little delay before your site comes up.
If that doesn't answer your question, your question might be "Where do I change the start page?". The answer to that is in the XAMPP FAQ.
Edit: This post was recovered from search engine cache.
I've searched but haven't found any evidence of a program called XAMP that is associated with Apache. I do know of and use XAMPP, though.
New file: start_xampp.bat
Code: Select all
cd C:\xampp
start /min xampp_start.exe
start http://localhost/xyz/a.php
exitIf that doesn't answer your question, your question might be "Where do I change the start page?". The answer to that is in the XAMPP FAQ.
Edit: This post was recovered from search engine cache.