-1

let's say I have

user@123:~/project/tools$ ./res.sh ../example/data/data.sql

how can do that in php because I don't want to do that manually when I run my code

2

1 Answer 1

0

In your PHP file you add the following line:

exec("/home/123/project/tools/res.sh ../example/data/data.sql");
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.