Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.php > #19257
| From | "J.O. Aho" <user@example.net> |
|---|---|
| Newsgroups | comp.lang.php |
| Subject | Re: What is in this file |
| Date | 2023-01-09 15:41 +0100 |
| Message-ID | <k22nd9FicanU1@mid.individual.net> (permalink) |
| References | <17593d43-603f-4b4d-bd8c-5373323545e1n@googlegroups.com> |
On 09/01/2023 12.04, Samuel Walubanda wrote: > <br /> > <b>Warning</b>: extract() expects parameter 1 to be array, null given in <b>/var/www/admin/www/admin.writerbay.com/app/controllers/files.php</b> on line <b>138</b><br /> > <br /> > <b>Warning</b>: reset() expects parameter 1 to be array, null given in <b>/var/www/admin/www/admin.writerbay.com/app/controllers/files.php</b> on line <b>139</b><br /> a missing array, the variable you think has an array value is actually unassigned and will be treated as null. So check before line 138 in the files.php why the array variable is empty and keep in mind to not trust $_GET/$_FILES, you need to verify the data first so you know no one can use your code for something else than it was intended for. function used on line 138: https://www.php.net/manual/en/function.extract.php function used on line 139: https://www.php.net/manual/en/function.reset.php -- //Aho
Back to comp.lang.php | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
What is in this file Samuel Walubanda <walubandasamuel@gmail.com> - 2023-01-09 03:04 -0800
Re: What is in this file "J.O. Aho" <user@example.net> - 2023-01-09 15:41 +0100
Re: What is in this file "Heyy there, how are you there? Let's talk" <angel11111111111111111111111111111111@hotmail.com> - 2023-03-23 10:50 -0700
csiph-web