Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.php > #19256 > unrolled thread

What is in this file

Started bySamuel Walubanda <walubandasamuel@gmail.com>
First post2023-01-09 03:04 -0800
Last post2023-03-23 10:50 -0700
Articles 3 — 3 participants

Back to article view | Back to comp.lang.php


Contents

  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

#19256 — What is in this file

FromSamuel Walubanda <walubandasamuel@gmail.com>
Date2023-01-09 03:04 -0800
SubjectWhat is in this file
Message-ID<17593d43-603f-4b4d-bd8c-5373323545e1n@googlegroups.com>
<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 />

[toc] | [next] | [standalone]


#19257

From"J.O. Aho" <user@example.net>
Date2023-01-09 15:41 +0100
Message-ID<k22nd9FicanU1@mid.individual.net>
In reply to#19256
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

[toc] | [prev] | [next] | [standalone]


#19406

From"Heyy there, how are you there? Let's talk" <angel11111111111111111111111111111111@hotmail.com>
Date2023-03-23 10:50 -0700
Message-ID<d78b20f5-1077-456f-9634-46b02d82f7f7n@googlegroups.com>
In reply to#19257
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀

⠀⠀⠀⠀☀️⠀⠀⠀⠀☀️⠀⠀☀️☀️☀️☀️⠀⠀⠀⠀☀️⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀☀️⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀☀️⠀⠀⠀⠀⠀⠀⠀⠀⠀☀️⠀⠀⠀
⠀⠀⠀⠀☀️⠀⠀⠀⠀☀️⠀⠀☀️⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀☀️⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀☀️⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀☀️⠀⠀☀️⠀⠀⠀⠀⠀⠀⠀☀️⠀⠀
⠀⠀⠀⠀☀️☀️☀️☀️⠀⠀☀️☀️☀️☀️⠀⠀⠀⠀☀️⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀☀️⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀☀️⠀⠀⠀⠀☀️⠀⠀⠀⠀⠀☀️⠀⠀
⠀⠀⠀⠀☀️⠀⠀⠀⠀☀️⠀⠀☀️⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀☀️⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀☀️⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀☀️⠀⠀⠀☀️⠀⠀⠀⠀⠀
⠀⠀⠀⠀☀️⠀⠀⠀⠀☀️⠀⠀☀️☀️☀️☀️⠀⠀⠀⠀☀️☀️☀️☀️⠀⠀⠀⠀⠀☀️☀️☀️☀️⠀⠀⠀⠀⠀⠀⠀☀️⠀⠀⠀⠀⠀⠀⠀⠀☀️⠀⠀⠀

⠀⠀⠀⠀⠀⠀⠀⠀⠀
⠀




On Monday, January 9, 2023 at 4:41:54 PM UTC+2, J.O. Aho wrote:
> 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

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.php


csiph-web