Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

usr/bin/php vs. usr/bin/GET 1

Status
Not open for further replies.
Hi

See both man pages, for [tt]php[/tt] and [tt]GET[/tt].
[tt]php[/tt] is a script interpreter so will try to execute the commands in the script with the name "[ignore][/ignore]".
[tt]GET[/tt] is a simple browser emulation and will download the document from the URL "
I underlined the main difference : in the first case the argument will be considered a file name, so you should have a file with that name. ( Excepting the case, that usr/bin/php is not the [tt]php[/tt] CLI interpreter. )

Feherke.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top