Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <html>
- <head>
- <title>image sharer</title>
- <style>
- footer {
- font-family: sans-serif;
- position:absolute;
- bottom:0;
- width:100%;
- }
- ul {
- list-style-type: none;
- margin: 0;
- padding: 0;
- }
- li {
- display: inline;
- }
- </style>
- </head>
- <body>
- <ul>
- <li><b><a href="/gallary/gallary.html">gallary</a></b></li>
- <li><b><a href="http://ogarserv2.byethost7.com/count.php">statics</a></b></li>
- </ul>
- <h1></h1>
- <img src="http://ogarserv2.byethost7.com/uploads/logo3.png"/>
- <form action="upload.php" method="post" enctype="multipart/form-data">
- browse :<input type="file" name="image"><br/><br/>
- <input type="submit" name="upload" value="continue">
- </form>
- <link href="/69/ohno.css" rel="stylesheet" type="text/css" />
- <?php
- if(isset($_POST['upload'])){
- $image_name = $_FILES['image']['name'];
- $image_type = $_FILES['image']['type'];
- $image_size = $_FILES['image']['size'];
- $image_tmp_name= $_FILES['image']['tmp_name'];
- @$desc = $_POST['desc'];
- move_uploaded_file($image_tmp_name,"uploads/$image_name");
- echo "<img src='uploads/$image_name' width='300' height='300'><br>";
- echo "your image:";
- }
- ?>
- </style>
- <footer>
- <a href="terms.html" class="bottomLinks">terms of service </a> - <a href="help.html" class="bottomLinks">help</a> - <a href="faq.html" class="bottomLinks">faq</a>
- </div>
- </footer>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement