2uzhan.com
Advertisement
Now Place:2uzhan.com » image Scaling in php

image Scaling in php

Web Development @ September 26, 2010   Views:0

please help me in scaling image when displaying from external folder . here is my code. very urgent

if ($news->getString("image_file")) {
             if(file_exists(EXTRAFILE_DIR."/".$news->getString("image_file"))) {
                ?>
                <tr>
                    <td colspan="2">

                    <img src="<?=EXTRAFILE_URL?>/<?=$news->getString("image_file")?>" width="780" height="500" alt="logo">

                    </td>
                </tr>
                <?
            }
        }

--------------Solutions-------------

I'm attempting to simplify my fundraising page, and would like to show exactly how much each donation would help us out. I've listed the options below, but I would like ...

I'm currently doing some encoding work to protect a site from XSS attacks. We've stuck a bunch of <script>debugger;</script> tags in the db. Dispite my best efforts, the strings I've ...

    //The php section of the code

           <?php

           function getJSONFromDB($sql){

           $conn = mysqli_connect("localhost", "root", "","rent");

           //echo $sql;

           $result = mysqli_query($conn, $sql)or die(mysqli_error());

           $arr=array();

           while($row = mysqli_fetch_assoc($result)) {

                   $arr[]=$row;

               }

               return json_encode($arr); ...
Tags:php
© 2018 2uzhan.com Contact