$name I didn’t follow the example. What I wrote was $name=date('Y-m-d h:i:s').".".Tail variable
Then it prompted failed to open stream: Invalid argument in, if I remove the date, it will be fine. What did I do wrong?
PHP中文网2017-08-23 11:50:16
Post the error message. rand(0,10).'.'.$lastimg; The code here is wrong. Change it to rand(0,10).$lastimg;
Reply
ringa_lee2017-08-23 11:40:10
What you are reporting is an error in the parameters of the date function