Hello, i'm trying to setup an automatic mysql backup, its a PHP script where can i put it so that its only accessable from the inside? Do i have to setup an alias folder in apache? How do i do it, when i put the script in my www directory it works good but its accessable from outside and anyone. Can i set it up to run like phpmyadmin and even have a link in the wamp menu? The script is called phpmybackup????thanks
If you use the PHP command line interface (CLI), the script can be anywhere. CLI scripts have nothing to do with the www folder. If add the folder c:\wamp\bin\php\php5.2.5\bin into the system PATH, you can call PHP in your .cmd scripts by just php, not with the full path.
ya i used wamp to add an alias but i want it to come up in the wamp main menu with sqllight and phpmyadmin how do i do that so i can just bring up the wamp menu and click it...