Convert bat to .sh
I have code to download image on windows, but, i have a hosting linux, i want to run code on linux, but i dont know.Plz help me
PHP Code:
|
Don't know what shell you're using, but I wouldn't be surprised if it was BASH. In that case, start here --> http://tldp.org/LDP/abs/html/abs-guide.html
|
Something like that (if the PHP command line interface client is installed) :
Code:
#!/bin/bash |
that windows bat dose not download a photo
it runs the php file"downloadimages.php " -- we have no way of knowing what is in it then passes the arguments "Website_name Db_prefix Website_root DB_name Db_username Db_password Ignore_list_file_name" to the unknown "downloadimages.php " file to grab ( i am assuming) these DB_name, Db_username, Db_password unless the site you run this against is OWNED by you this might be illegal |
All times are GMT -5. The time now is 11:57 AM. |