Help making php display larger
Andrew McRobb
andrewmcrobb at gmail.com
Fri May 24 17:45:42 MST 2019
PHP has nothing to do with styling, its backend logic. Anything display
wise is HTML/CSS. When you understand how those work, it should give a
really good idea how to connect all 3 together, just to give you some more
context.
On Fri, May 24, 2019, 5:39 PM Andrew McRobb <andrewmcrobb at gmail.com> wrote:
> Thats a CSS problem buddy. Pick up CSS beginner tutorials or a framework
> like Bulma or Bootstrap.
>
> On Fri, May 24, 2019, 5:35 PM Jim <azanorak at gmail.com> wrote:
>
>> 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
>> }
>> ?>
>>
>> ---------------------------------------------------
>> PLUG-discuss mailing list - PLUG-discuss at lists.phxlinux.org
>> To subscribe, unsubscribe, or to change your mail settings:
>> https://lists.phxlinux.org/mailman/listinfo/plug-discuss
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.phxlinux.org/pipermail/plug-discuss/attachments/20190524/0510d745/attachment.html>
More information about the PLUG-discuss
mailing list