I'm new to PHP and need help to read an image from a site and convert it to .PNG format.
In the first part, I tried the file_get_contents and readfile without success. I receive an error message (The specified CGI application misbehaved by not returning a complete set of HTTP headers.)
Build an array called $myWeek which will hold the array elements Today, Yesterday and then builds up the rest of the week by the name of the day going back 1 week.
Then you just need to pass your date to the function.
Originally, this post was published on Monitis Blog, you can check it
In business circles, we sometimes hear that today is the “age of the customer.” And so it is. Thanks to the enormous advances over the past few years in consumer techno…