background preloader

PHP 5 File Upload

PHP 5 File Upload

Ustalanie wyglądu tabeli za pomocą CSS ( tabele table border-collapse css ) - webmade.org Ustalanie wyglądu tabeli za pomocą CSS autor: Mateusz Pilszek, ostatnia modyfikacja: 2007-11-10 Dlaczego za pomocą CSS? W najnowszych wersjach języka HTML i XHTML atrybuty znacznika <table> odpowiadające za wygląd tabeli zostały oznaczone jako "deprecated" (krytykowane). Stworzymy z pomocą CSS-a tabelę, której nadamy cienkie obramowanie, a tekst w poszczególnych komórkach będzie oddalony o 5 pikseli od obramowania. Jako przykład posłuży nam poniższy kod budujący tabelę: <table summary="Tabela testowa" id="tabela"><tbody><tr><td>Komórka 1</td><td>Komórka 2</td><td>Komórka 3</td><td>Komórka 4</td></tr><tr><td>Komórka 5</td><td>Komórka 6</td><td rowspan="2">Komórka 7</td><td>Komórka 8</td></tr><tr><td>Komórka 9</td><td>Komórka 10</td><td>Komórka 11</td></tr></tbody></table> W znaczniku <table> znalazł się atrybut id o wartości tabela. Przeglądarka zastosowała domyślne ustawienia wyglądu dla tabeli. Obramowanie tabeli Zacznijmy od utworzenia miejsca na nasz kod CSS. Wypełnienie komórek Kolor tła

Uploading, Saving and Downloading Binary Data in a MySQL Database Uploading, Saving and Downloading Binary Data in a MySQL Database Pages: 1, 2, 3 Creating the upload scripts To make thing easier, I created an open_db.inc include file, so I don't have to keep using the same code to connect to a server and select the database. View contents of open_db.inc. This next script is used to upload a new file into the database. View contents of add.php. We are using the same script to handle both actions: uploading a new file and showing the form to add the information related to this new file. Okay, that seemed almost too easy, right? Next page: Creating the download scripts

Domy prefabrykowane: dom gotowy od zaraz Domy prefabrykowane to dobre rozwiązanie dla tych inwestorów, którzy nie mają czasu na prowadzenie budowy i sprawdzanie postępu prac. Coraz popularniejszą formą budowy domów jest prefabrykacja. Polega ona na wcześniejszym przygotowaniu elementów ścian, stropów i dachu w fabryce. Zalety domów prefabrykowanych Korzyści z prefabrykacji jest jednak więcej. Właściwie do obowiązków inwestora należy jedynie zebranie niezbędnej dokumentacji, złożenie jej we właściwym urzędzie i ubezpieczenie budowy. Dodatkowo nie ma ograniczeń związanych z pogodą. Czytaj też: Nowe prawo budowlane. php - how to pass array through hidden field

Jak i za ile zrobić ogrodzenie z siatki Ogrodzenie działki musi być stawiane wewnątrz granicy nieruchomości, jednak warto porozumieć się z właścicielami sąsiednich posesji i zbudować je w linii rozgraniczenia - z ewentualnym uwzględnieniem podziału kosztów. Natomiast zamiar postawienia ogrodzenia od strony ulicy (drogi) musimy zgłosić w starostwie powiatowym i - przy braku sprzeciwu w ciągu miesiąca - możemy przystąpić do jego budowy. Ogrodzenie na czas budowy Ogrodzenie jest potrzebne, by na czas budowy zabezpieczyć działkę przed dostępem osób postronnych (chroni nas też, jeśli na placu budowy dojdzie do wypadku osób niezwiązanych z pracami budowlanymi). Jeśli teren jest bardzo duży, ogrodzić możemy jedynie obszar niezbędny do prowadzenia prac budowlanych, transportu i przechowywania materiałów. Najprostsze ogrodzenie tymczasowe postawimy z wykorzystaniem słupków drewnianych i tzw. siatki leśnej (1 m siatki o wysokości 150 cm kosztuje 3-5 zł). Zamiast słupków drewnianych można można kupić stalowe. Zmiana na klinkier

Installing LAMP On Ubuntu For Newbies In this guide I will show you how to install a LAMP system. LAMP stands for Linux, Apache, MySQL, PHP. The guide is intended to help those who have very little knowlegde of using Linux. Install Apache To start off we will install Apache. 1. 2. sudo apt-get install apache2 3. Testing Apache To make sure everything installed correctly we will now test Apache to ensure it is working properly. 1. You should see a folder entitled apache2-default/. Install PHP In this part we will install PHP 5. Step 1. Step 2. sudo apt-get install php5 libapache2-mod-php5 Step 3. sudo /etc/init.d/apache2 restart Test PHP To ensure there are no issues with PHP let's give it a quick test run. Step 1. sudo gedit /var/www/testphp.php This will open up a file called phptest.php. Step 2. Step 3. Step 4. The page should look like this: Congrats you have now installed both Apache and PHP! Install MySQL To finish this guide up we will install MySQL. Step 1. Step 2 (optional). Step 3.

Statistics and forecasts Statistics and forecasts are essential to EUROCONTROL, its members and stakeholders: Statistics allow measurement and understanding of what is happening in the air traffic industry. Quantitative forecasts allow to plan a response for future air traffic needs. In the EUROCONTROL Agency these are produced by the Statistics and Forecast Service, STATFOR. The objective of STATFOR is to provide statistics and forecasts on air traffic in Europe and to monitor and analyse the evolution of the Air Transport Industry. Organisations The STATFOR service of statistics and forecasts is discussed and reviewed by the STATFOR User Group, a body of European forecasting and statistics experts that meets regularly. Statistics Reports - The STATFOR Interactive Dashboard The STATFOR Interactive Dashboard (SID) is the unique self-service source of statistics on flights in Europe. Thanks to the SID’s segmented approach, the users benefit from: Already registered for SID? Not registered for SID? Industry Monitor

Install lamp with 1 command in Ubuntu 12.04, 12.10 Quantal Quetzal & LinuxMint13 Updated: 10/09/2012 :LAMP (Linux, Apache, MySQL and PHP) is an open source Web development platform that uses Linux as operating system, Apache as the Web server, MySQL as the relational database management system and PHP as the object-oriented scripting language. We did show you in our previous post how to install LAMP in Ubuntu 10.04 with one command using tasksel command. It is a software installation application that is an integral part of the Debian installer and works under Ubuntu Linux too. It groups some packages by tasks and offers the user an easy way to install the packages for that task. It provides the same functionality as using conventional meta-packages. in Maverick this command dosn`t come by default, so we need to install it first before to perform the LAMP installation. This tutorial was has been tested on Ubuntu 10.04, 10.10, 11.04, 11.10, 12.04 LTS Precise Pangolin. Open terminal and Type the command :install it first with sudo apt-get install tasksel sudo tasksel

How to manually install Apache, PHP and MySQL on Windows? Yoga For Runners A simple yoga routine loosens tight spots, strengthens weak spots, and makes you a better, less injury-prone runner. For Rebecca Pacheco, yoga and running have always been intertwined—much like her legs in this photograph. “I started running when I was 14 and doing yoga when I was 16, so I really don't know one without the other,” says the yoga instructor in the new DVD, Runner's World Yoga for Runners. Recognizing the benefits the ancient practice can have on both the runner's body (improved flexibility, range of motion, muscular strength) and mind (more focus, less stress), Pacheco developed Om Athlete, a class she teaches in Boston to help runners improve performance and prevent injury. “Yoga is the perfect recovery activity for runners,” Pacheco says. “It relieves soreness and tension in your hardworking muscles and restores range of motion so you can run better the next time you hit the road.” The following poses are a preview of Pacheco's full routine on her new DVD.

Related: