Lines Matching full:echo

36echo '<div style="color: red; border: 1px red dashed; font-weight: bold; padding: 10px; margin: 10…
94 echo '<tr><th nowrap>Latest phpThumb version:</th><th colspan="2">'.$versions['raw']['latest'].'</t…
95 echo '<tr><th nowrap>This phpThumb version:</th><th colspan="2" style="background-color: ';
99 echo 'white';
103 echo 'lightblue';
107 echo 'lightblue';
111 echo 'lime';
114 echo 'olive';
117 echo 'yellow';
120 echo 'orange';
123 echo ';">'.$phpThumb->phpthumb_version;
124 echo '</th><td>'.$message.'.<br></td></tr>';
127 echo '<tr><th>phpThumb.config.php:</th><th colspan="2" style="background-color: ';
130echo 'red;">"phpThumb.config.php" version does not match phpThumb version. Please be sure to use t…
132 echo 'lime;">"phpThumb.config.php" exists and "phpThumb.config.php.default" does not';
135 echo 'yellow;">"phpThumb.config.php" and "phpThumb.config.php.default" both exist';
137 echo 'red;">rename "phpThumb.config.php.default" to "phpThumb.config.php"';
139 echo 'red;">"phpThumb.config.php" not found';
141 echo '</th><td>"phpThumb.config.php.default" that comes in the distribution must be renamed to "php…
144 echo '<tr><th>phpThumb.config.php<br>[disable_debug]</th>';
145 echo '<th colspan="2" style="background-color: '.($PHPTHUMB_CONFIG['disable_debug'] ? 'lime' : 'red…
146 echo '<td>DO NOT DISABLE THIS ON ANY PUBLIC-ACCESSIBLE SERVER. Prevents phpThumb from displaying an…
148 echo '<tr><th>phpThumb.config.php<br>[high_security_enabled]</th>';
149 echo '<th colspan="2" style="background-color: '.($PHPTHUMB_CONFIG['high_security_enabled'] ? 'lime…
150 echo '<td>DO NOT DISABLE THIS ON ANY PUBLIC-ACCESSIBLE SERVER. If disabled, your server is more vul…
152 echo '<tr><th>phpThumb.config.php<br>[high_security_password]</th>';
154 echo '<th colspan="2" style="background-color: '.(($password_complexity >= 20) ? 'lime' : ((strlen(…
155 echo '<td>DO NOT DISABLE THIS ON ANY PUBLIC-ACCESSIBLE SERVER. If disabled, your server is more vul…
158 echo '<tr><th>cache directory:</th><th colspan="2">';
161 echo '<div style="background-color: '.( is_dir($phpThumb->config_cache_directory) ? 'lime;">exi…
162 echo '<div style="background-color: '.(is_readable($phpThumb->config_cache_directory) ? 'lime;">rea…
163 echo '<div style="background-color: '.(is_writable($phpThumb->config_cache_directory) ? 'lime;">wri…
164 echo '</th><td>Original: "'.htmlspecialchars($orig_config_cache_directory).'"<br>Resolved: "'.htmls…
167 echo '<tr><th>cache write test:</th><th colspan="2">';
170 echo '<div>'.htmlspecialchars($phpThumb->cache_filename ? implode(' / ', preg_split('#[/\\\\]#', $p…
171 echo '<div>directory '.(is_dir(dirname($phpThumb->cache_filename)) ? 'exists' : 'does NOT exist').'…
173 echo '<div style="background-color: '.(is_dir(dirname($phpThumb->cache_filename)) ? 'lime;">directo…
177 echo '<div style="background-color: lime;">write test succeeded</div>';
183echo '<div style="background-color: '.(($new_perms == '0644') ? 'lime' : (($new_perms > '0644') ? …
186 echo '<div style="background-color: lime;">delete test succeeded</div>';
188 echo '<div style="background-color: red;">delete test FAILED</div>';
192 echo '<div style="background-color: red;">write test FAILED</div>';
194 //echo '</th><td>Original: "'.htmlspecialchars($orig_config_cache_directory).'"<br>Resolved: "'.htm…
195 echo '</th><td>Created and deletes a sample cache file to see if you actually have create/delete pe…
198 echo '<tr><th>temp directory:</th><th colspan="2">';
200 echo $phpThumb->phpThumb_tempnam();
201 echo '<div style="background-color: '.( is_dir($phpThumb->config_temp_directory) ? 'lime;">exis…
202 echo '<div style="background-color: '.(is_readable($phpThumb->config_temp_directory) ? 'lime;">read…
203 echo '<div style="background-color: '.(is_writable($phpThumb->config_temp_directory) ? 'lime;">writ…
204 echo '</th><td>Original: "'.htmlspecialchars($orig_config_temp_directory).'"<br>Resolved: "'.htmlsp…
207 echo '<tr><th>PHP version:</th><th colspan="2" style="background-color: ';
209 echo 'lime';
211 echo 'darkgreen';
213 echo 'lightgreen';
215 echo 'green';
217 echo 'yellow';
219 echo 'orange';
221 echo 'red';
223 echo ';">'. PHP_VERSION;
224 echo '</th><td>PHP5 is ideal (support for numerous built-in filters which are much faster than my c…
227 echo '<tr><th>GD version:</th><th colspan="2" style="background-color: ';
230 echo 'lime';
232 echo 'yellow';
235 echo 'orange';
237 echo 'red';
239 echo ';">'.(!empty($ServerInfo['gd_string']) ? $ServerInfo['gd_string'] : 'n/a');
240 echo '</th><td>GD2-bundled version is ideal.<br>GD2 (non-bundled) is second choice, but there are a…
257 echo '<tr><th>ImageMagick version:</th><th colspan="2" style="background-color: ';
260 echo 'lime';
262 echo 'lightgreen';
264 echo 'green';
266 echo 'darkgreen';
268 echo 'olive';
271 echo 'orange';
273 echo 'red';
275 echo ';">';
276 echo '<div style="color: navy; font-family: monospace;">'.htmlspecialchars($phpThumb->config_imagem…
277 echo ' <span style="cursor: help;" title="file_exists" >['. (int) (@file_exists($p…
278 echo ' <span style="cursor: help;" title="file_exists_ignoreopenbasedir">['. (int) $phpThumb->file_…
279 echo ' <span style="cursor: help;" title="is_file" >['. (int) (@is_file($phpTh…
280 echo ' <span style="cursor: help;" title="is_readable" >['. (int) (@is_readable($p…
281 echo ' <span style="cursor: help;" title="is_executable" >['. (int) (@is_executable(…
282 echo '</div>';
283 echo '<div style="color: blue; font-family: monospace;">'.htmlspecialchars($phpThumb->ImageMagickCo…
284 echo ($ServerInfo['im_version'] ?: 'n/a');
285 echo ($IMreleaseDate ? '<br><br>This version of ImageMagick is '.NiceTimeFormatting($IMversionAge).…
286 echo '</th><td>ImageMagick is faster than GD, can process larger images without PHP memory_limit is…
289 echo '<tr><th>ImageMagick features:</th>';
293 echo '<th colspan="2">|';
305echo '| <span style="background-color: '.($foundOneThatWorks ? 'lime' : $missingcolor).';">'.htmls…
309echo '| <span style="background-color: '.($foundOneThatWorks ? 'lime' : $missingcolor).';">'.htmls…
313 echo '|</th>';
315 echo '<th colspan="2" style="background-color: orange;">ImageMagick not found</th>';
317 echo '<td>All of these parameters may be called by phpThumb, depending on parameters used. Green m…
320 echo '<tr><th>ImageMagick formats:</th>';
322echo '<td colspan="2"><div style="width: 100%; height: 200px; overflow: auto; font-family: monospa…
324 echo '<th colspan="2" style="background-color: orange;">ImageMagick not found</th>';
326 echo '<td>ImageMagick can only read/write formats as listed here. You may need to recompile ImageMa…
328 echo '<tr><th>GD features:</th><th colspan="2">';
334echo '<div style="background-color: '.($gd_info[$feature] ? 'lime' : $missingcolor).';">'.htmlspec…
338 echo '</th><td>PNG support is required for watermarks, overlays, calls to ImageMagick and other int…
341 echo '<tr><th>GD extension "EXIF"</th><th colspan="2" style="background-color: ';
343 echo 'lime';
345 echo 'orange';
347 echo ';">'.(extension_loaded('exif') ? 'TRUE' : 'FALSE');
348 echo '</th><td>EXIF extension required for auto-rotate images. Also required to extract EXIF thumbn…
351 echo '<tr><th>php_sapi_name()</th><th colspan="2" style="background-color: ';
354 echo 'red';
356 echo 'orange';
358 echo 'yellow';
360 echo 'lime';
362 echo 'green';
364 echo ';">'.htmlspecialchars($php_sapi_name).'</th>';
365 echo '<td>SAPI mode preferred to CGI mode. FCGI mode has unconfirmed strange behavior (notably more…
368 echo '<tr><th>Server Software</th><th colspan="2" style="background-color: ';
371 echo 'red';
374 echo 'lightgreen';
376 echo 'lime';
379 echo 'darkgreen';
381 echo ';">'.$server_software.'</th>';
382 echo '<td>Apache v1.x has the fewest compatibility problems. IIS has numerous annoyances. Apache v2…
385 echo '<tr><th>curl_version:</th><th colspan="2" style="background-color: ';
391 echo 'lime';
393 echo 'yellow';
395 echo ';">'.$curl_version.'</th>';
396 echo '<td>Best if available. HTTP source images will be unavailable if CURL unavailable and <i>allo…
398 echo '<tr style="background-color: #EEEEEE;"><th colspan="4">&nbsp;</th></tr>';
399 echo '<tr style="background-color: #EEEEEE;"><th>function_exists:</th><th colspan="2">Value</th><th…
424 echo '<tr><th>'.$function.'</th><th colspan="2" style="background-color: ';
426 echo 'lime;">TRUE';
428 echo $color.';">FALSE';
430 echo '</th><td>'.htmlspecialchars($description).'</td></tr>';
434 echo '<tr style="background-color: #EEEEEE;"><th colspan="4">&nbsp;</th></tr>';
435 echo '<tr style="background-color: #EEEEEE;"><th>Setting</th><th>Master Value</th><th>Local Value</…
447 echo '<tr><th>'.$feature.':</th>';
448echo '<th style="background-color: '.(@get_cfg_var($feature) ? $color_true : …
449echo '<th style="background-color: '.(preg_match('#(1|ON)#i', @ini_get($feature)) ? $color_true : …
450 echo '<td>'.htmlspecialchars($reason).'</td></tr>';
462 echo '<tr><th>disable_functions:</th>';
470echo '<th style="background-color: '.($disabled_functions ? 'yellow' : 'lime').';">'.htmlspecialch…
472 echo '<td>Best if nothing disabled. Calls to ImageMagick will be prevented if exec+system+shell_exe…
475 echo '<tr><th>memory_limit:</th><th style="background-color: ';
478 echo 'lime';
480 echo 'lime';
482 echo 'lightgreen';
484 echo 'green';
486 echo 'darkgreen';
488 echo 'olive';
490 echo 'yellow';
492 echo 'orange';
494 echo 'red';
496 echo ';">'.($memory_limit ?: '<i>unlimited</i>').'</th><th style="background-color: ';
507 echo 'lime';
509 echo 'lime';
511 echo 'lightgreen';
513 echo 'green';
515 echo 'darkgreen';
517 echo 'olive';
519 echo 'yellow';
521 echo 'orange';
523 echo 'red';
525 echo ';">'.($memory_limit ?: '<i>unlimited</i>').'</th>';
526 echo '<td>The higher the better. Divide by 5 to get maximum megapixels of source image that can be …
528 echo '</table>';