Help making php display larger
Jim
azanorak at gmail.com
Fri May 24 17:35:30 MST 2019
I've got a php script to enable users to upload files to a server. It
works, but when testing it on my android phone, I saw the text is really
small. How can I make it appear larger on an android device? Here's
the script.
thanks
<?php
if (isset($_FILES['upload'])) {
$uploadDir = '/var/www/uploads/'; //path you wish to store you
uploaded files
$uploadedFile = $uploadDir . basename($_FILES['upload']['name']);
if(move_uploaded_file($_FILES['upload']['tmp_name'],
$uploadedFile)) {
echo 'File was uploaded successfully.';
} else {
echo 'There was a problem saving the uploaded file';
}
echo '<br/><a href="FileUpload.php">Back to Uploader</a>';
} else {
?>
<form action="upload.php" method="post"
enctype="multipart/form-data">
<label for="upload">File:</label>
<input type="file" name="upload" id="upload"><br/>
<input type="submit" name="submit" value="Upload">
</form>
<?php
}
?>
More information about the PLUG-discuss
mailing list