Category : xampp

I wonder how I can link the picture which retrieved from database to several different page from the down below part? ` ` ` <div class="col-sm-6 col-md-4 col-lg-3 md-2" > <div class="cart-deck"> <div class="card p-2 border-secondary mb-5"> <img src="<?= $row[‘product_image’] ?>" class="card-img-top" height="250" > //this is the code where the image retrieved from <div class="card-body ..

Read more

i am running a website on a local host was trying to update my php version to php8 64 bit, so i followed this guide at first:https://www.wpblog.com/update-php-version-in-xampp/#1 but in the end i got this error: 23:22:13 [Apache] Attempting to start Apache app… 23:22:13 [Apache] Status change detected: running 23:22:14 [Apache] Status change detected: stopped 23:22:14 ..

Read more

This is example 7-15 (upload.php) from "Learning PHP, MYSQL & JavaScript" by Robin Nixon (5th Ed.): <?php // upload.php echo <<<_END <html><head><title>PHP Form Upload</title></head><body> <form method=’post’ action=’upload.php’ enctype=’multipart/form-data’> Select File: <input type=’file’ name=’filename’ size=’10’> <input type=’submit’ value=’Upload’> </form> _END; if ($_FILES) { move_uploaded_file($_FILES[‘filename’][‘tmp_name’], $name); echo "Uploaded image ‘$name'<br><img src=’$name’>"; } echo "</body></html>"; ?> I have ..

Read more

A PHP Error was encountered Severity: Notice Message: Only variables should be passed by reference Filename: codeigniter/Common.php Line Number: 148 A PHP Error was encountered Severity: 8192 Message: Methods with the same name as their class will not be constructors in a future version of PHP; CI_Hooks has a deprecated constructor Filename: libraries/Hooks.php Line Number: ..

Read more