What do you want to save?
Add Code snippet
New code examples
-
PHP 2022-02-18 06:15:27
php resize image on upload
// resize on upload $maxDim = 800; $file_name = $_FILES['myFile']['tmp_name']; list($width, $height, $type, $attr) = getimagesize( $file_name ); if ( $width > $maxDim || $height > $maxDim ) { $target_filename = $file_name; $ratio = $width/$h... Add solution -
PHP 2022-02-18 04:50:14
laravel read origanl value before update
$model->getOriginal('attribute') Add solution -
Html 2022-02-17 15:35:04
size not allowed on input html
<!DOCTYPE html> <html> <head> <title>HTML maxlength attribute</title> </head> <body> <form action = "/cgi-bin/hello_get.cgi&... Add solution -
C++ 2022-02-17 06:35:18
could not find the task c c++ active file
{ // Use IntelliSense to learn about possible attributes. // Hover to view descriptions of existing attributes. // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 "version": "0.2.0", "configurations&quo... Add solution -
PHP 2022-02-15 13:25:03
load more in laravel
<!DOCTYPE html> <html lang="{{ str_replace('_', '-', app()->getLocale()) }}"> <head> <meta name="csrf-token" content="{{ csrf_token() }}"> <title>Laravel dynamic auto load more page ... Add solution -
Other 2022-02-15 04:35:02
How can we create data driven framework using TestNG?
TESTNG: 1. @DataProvider annotation 2. Excel file with the help of Apache POI 3. JSON or CSV file for API testing 4. Data which comes from Database and stores in collections To use the DataProvider feature in the test cases, you have to declare ... Add solution -
C# 2022-02-14 07:05:08
how to validate request body in c#
[Valid] //here we apply the filter and request made to this model is validated by validation rules on the model [HttpPost] public HttpResponseMessage someMethod(SomeValidationModel someValidationModel) { //some logic } // define your Reusable Mod... Add solution
Best helpers
Ranking is empty