Il m'affiche donc une partie du code sur Wamp Server, alors que sur le serveur du site, j'ai bien l'image d'afficher. $filectime($cacheFile))) // HTTP Header header("Content-Type:image/$srcType") // Dump cache file readfile($cacheFile) or diewith("Unable to open cached thumb '$cacheFile'") ?> Readfile($cacheFile) or diewith("Unable to open cached thumb '$cacheFile'") Įt voici désormais le code que cela m'affiche, lorsque je veux afficher une image redimensionner : Check the access right of the HTTP server.") If (!$res) diewith("Unable to save thumb to '$cacheFile'. Imagecopyresampled($outImg, $srcImg, 0, 0, 0, 0, $outWidth, $outHeight, $srcWidth, $srcHeight) $outImg = imagecreatetruecolor ($outWidth, $outHeight) It also comes with PHPMyAdmin to easily manage your. It allows you to create web applications with Apache, PHP, and the MySQL database. Sur le serveur du site, cela fonctionne très bien, le code est parfaitement interprété, mais sur wamp server, j'ai un soucis, le code en question est affiché lorsque je veux afficher l'image redimensionner, et non l'image. WampServer (64-Bit) is a Windows web development environment. Alors je vous explique mon problème, j'utilise Wamp Server pour développer mes sites en local.Įt dans un de mes sites, j'utilise un système de miniature pour les images, avec cache.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |