Category : forms

I have a big form with almost 13000 inputs(checkboxes), this the html/smarty code, my problem is when checking checkboxes in the end of the form (the last ones), their values got always null. I debugged the $_POST values like this if (isset($_POST[‘partsfilter’])) { $vars = $_POST[‘partsfilter’]; var_dump($vars[5366]); var_dump($vars[5368]); var_dump($vars[5525]); this one return null when it ..

Read more

I’m working on a login website with PHP and Javascript. But before submitting the username and the password, the password has to be encrypted. To do so, I use the following code (Please don’t mind the get method, it’s normal) : <form name="myForm" action="home" method="get"> <div class="form-group pb-3 pt-0"> <label for="password"><?= $content[‘MyAvatarConnexion’][‘password’] ?></label> <input type="password" ..

Read more

I want to update my profile image. But when I Clicked on the upload avatar button it give me a fatal error the error is as following Fatal error: Uncaught ValueError: Path cannot be empty in C:xampphtdocsuploadimgfunctions.php:269 Stack trace: #0 C:xampphtdocsuploadimgfunctions.php(269): file_get_contents(”) #1 C:xampphtdocsuploadimgusersideaccountsetting.php(2): include(‘C:xampphtdocs…’) #2 {main} thrown in C:xampphtdocsuploadimgfunctions.php on line 269 Code of ..

Read more