Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chapter 3.2, download gif command not working #4

Open
roelandxyz opened this issue Jun 1, 2024 · 1 comment
Open

Chapter 3.2, download gif command not working #4

roelandxyz opened this issue Jun 1, 2024 · 1 comment

Comments

@roelandxyz
Copy link

In chapter 3.2 this command does not work as intended:

php -r "copy('http://clipartmag.com/images/website-under-construction-image-6.gif', 'public/images/under-construction.gif');"

The gif that is created is actually an html page.

I tried with wget, but that has the same result. A manual download does work.

@ameotoko
Copy link

That URL should be changed to https:

- php -r "copy('http://clipartmag.com/images/website-under-construction-image-6.gif', 'public/images/under-construction.gif');"
+ php -r "copy('https://clipartmag.com/images/website-under-construction-image-6.gif', 'public/images/under-construction.gif');"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants