Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <html>
- <head>
- <title>Alvertos Ioannis Mourikis</title>
- <meta name="description" content="website description" />
- <meta name="keywords" content="website keywords, website keywords" />
- <meta http-equiv="content-type" content="text/html; charset=UTF-8" />
- <link rel="stylesheet" type="text/css" href="css/style.css" />
- <script type="text/javascript" src="js/modernizr-1.5.min.js"></script>
- <style type="text/css">
- .auto-style1 {
- text-align: center;
- }
- .auto-style2 {
- font-size: 300%;
- }
- .auto-style3 {
- font-size: xx-large;
- }
- .auto-style4 {
- font-family: "Gill Sans", "Gill Sans MT", Calibri, "Trebuchet MS", sans-serif;
- font-size: medium;
- text-decoration: underline;
- }
- </style>
- </head>
- <body>
- <right><a href='logout.php'> Logout </a></right>
- <div id="main">
- <header>
- <div id="logo">
- <h1 class="auto-style2" style="width: 734px; height: 240px">
- <table style="width: 100%">
- <tr>
- <td class="auto-style3">Upload your files fast and safe</td>
- </tr>
- </table>
- </h1>
- </div>
- <nav>
- <ul class="lavaLampWithImage" id="lava_menu">
- <li class="current"><a href="index.html">home</a></li>
- <li style="width: 82px"><a href="about.html">about </a></li>
- <li></li>
- <li><a href="blog.html">blog</a></li>
- <li><a href="contact.php">contact</a></li>
- </ul>
- </nav>
- </header>
- <div id="site_content" style="height: 972px">
- <div id="sidebar_container">
- <div class="gallery">
- <ul class="images">
- <li class="show"><img width="450" height="450" src="images/1.jpg" alt="photo_one" /></li>
- <li><img width="450" height="450" src="images/2.jpg" alt="photo_two" /></li>
- </ul>
- </div>
- </div>
- <div id="content" style="width: 464px; height: 431px">
- <h1>Welcome to world</h1>
- <p>Welcome to my dropbox my name is Alvertos Ioannis Mourikis. </p>
- <p>My Here you can upload and safe your file fast and safe.</p>
- <p>Enjoy!</p>
- <p> <form action="index.php" method="POST" enctype="multipart/form-data">
- File:
- <input type="file" name="image"> <input type="submit" value="Upload">
- </form>
- <?php
- $new_subdomain = 'm.albertmourikistorage.bugs3.com';
- echo $new_submdomain.'.'.$_SERVER['http://albertmourikistorage.bugs3.com/'];
- mysql_connect("mysql.serversfree.com","u636383883_datab","4A1W8QAS2") or die (mysql_error());
- mysql_select_db("u636383883_image")or die (mysql_error());
- $file = $_FILES['image']['tmp_name'];
- if(!isset($file))
- echo "Please select a file for upload";
- else
- {
- $image = addslashes (file_get_contents($_FILES['image']['tmp_name']));
- $image_name = addslashes ($_FILES['image']['name']);
- $image_size = getimagesize($_FILES['image']['tmp_name']);
- if ($image_size==FALSE)
- echo "This is not an image file.";
- else
- {
- if (!$insert = mysql_query("INSERT INTO store VALUES('','$image_name','$image')"))
- echo "Problem with the upload";
- else
- {
- $lastid = mysql_insert_id();
- echo "Image uploaded .<p/> Your image : <p/><img src=take.php?id=$lastid>";
- }
- }
- }
- ?> <br><br><br><a href="setup-owncloud.php">Here you can make your
- own dropbox </a></p>
- <p> </p>
- <p> </p>
- <p>Transmission in the other direction is downloading -- from one,
- usually larger computer to another, usually smaller computer. From an
- Internet user's point-of-view, downloading is receiving a file from
- another computer.<br><br>The File Transfer Protocol ( FTP ) is the
- Internet facility for downloading and uploading files. (If you are
- uploading a file to another site, you must usually have permission in
- advance to access the site and the directory where the file is to be
- placed.)<br><br>When you send or receive an attached file with an
- e-mail note, this is just an attachment, not a download or an upload.
- However, in practice, many people use "upload" to mean "send" and
- "download" to mean receive. The term is used loosely in practice and
- if someone says to you "Download (or upload) such--and-such a file to
- me" via e-mail, they simply mean "Send it to me."<br><br>In short,
- from the ordinary workstation or small computer user's point-of-view,
- to upload is to send a file and to download is to receive a file.</p>
- <p> </p>
- <p class="auto-style4">
- <a href="http://m.albertmourikistorage.bugs3.com/">View the mobile
- version</a></p>
- </div>
- </div>
- <footer>
- <p> </p>
- <p class="auto-style1">Alvertos Ioannis Mourikis Term1 for Web
- Clients/Servers</p>
- </footer>
- </div>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement