Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
開発前の退屈なことをすべて実行するスクリプトを作成して、WordPress のインストールを自動化しようとしています。たとえば、あるドメインに WordPress をインストールした場合http://domain.tld、事前に定義されたユーザー名とパスワードを入力するフォームを に送信するスクリプトをどうにか作成できますhttp://domain.tld/wp-install.phpか?
http://domain.tld
http://domain.tld/wp-install.php
wp-install.php がどのように見えるかはわかりませんが、curl を使用できるはずです。このようなもの:
curl --data "username=myuser&password=mypassword" http://domain.tld/wp-install.php