Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Download
Standard view
Full view
of .
Look up keyword or section
Like this
21Activity

Table Of Contents

0 of .
Results for:
No results containing your search query
P. 1
PHP_prirucnik

PHP_prirucnik

Ratings: (0)|Views: 2,573 |Likes:
Published by rampelstilski

More info:

Published by: rampelstilski on Mar 23, 2011
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See more
See less

06/23/2013

pdf

text

original

 
PHP
Priručnik uz seminar
 
Vlatka PaunovićSiniša Tomić
Hrvatska udruga za otvorene sustave i InternetListopad, 2006
 
Imenovanje-Dijeli pod istim uvjetima 2.5 HrvatskaSlobodno smijete:
umnožavati, distribuirati i javnosti priopćavati djelo
prerađivati djelo
Pod sljedećim uvjetima:Imenovanje
. Morate priznati i označiti autorstvo djela nanačin kako je specificirao autor ili davatelj licence.
Nekomercijalno
. Ovo djelo ne smijete koristiti ukomercijalne svrhe.
Dijeli pod istim uvjetima
. Ako ovo djelo izmijenite,preoblikujete ili stvarate koristeći ga, preradu možetedistribuirati samo pod licencom koja je identična ovoj.
U slučaju daljnjeg korištenja ili distribuiranja morate drugima jasnodati do znanja licencne uvjete ovog djela.
Od svakog od tih uvjeta moguće je odstupiti, ako dobijete dopuštenjenositelja autorskog prava.
Prethodno ni na koji način ne utječe na zakonska ograničenja autorskog prava.
 
Sadržaj
PROGRAMSKI JEZIKPHP..........................................................................................................................................6
Ciljevi ovog poglavlja...................................................................................................................7Aplikacije temeljene na webu..................................................................................................... 7
Arhitektura aplikacija temeljenih na webu.................................................................................7Troslojna arhitektura..................................................................................................................9Prvi sloj – preglednik i mreža Internet..................................................................................9Drugi sloj – poslužitelj weba i skripti jezici.......................................................................... 9Treći sloj baza podataka......................................................................................................9Odabir arhitekture....................................................................................................................10
Programski jezik PHP................................................................................................................ 11GNU i projekti otvorenog kôda................................................................................................11
Projekt GNU.............................................................................................................................11Projekti otvorenog kôda slobodni softver...............................................................................12
UVOD U PROGRAMSKI JEZIK PHP...........................................................................13
Ciljevi ovog poglavlja.................................................................................................................14Korištenje programskog jezika PHP........................................................................................14
Uključivanje programa pisanog u PHP-u u web stranice....................................................... 14
Osnove programskog jezika PHP.............................................................................................17
Korištenje komentara................................................................................................................17Ispisivanje podataka..................................................................................................................18Ispisivanje nizova znakova.......................................................................................................19Vrste podataka.......................................................................................................................... 20Varijable...............................................................................................................................20Tipovi varijabli.....................................................................................................................21Konstante.............................................................................................................................21Izrazi i operatori....................................................................................................................... 22
Osnovne naredbe programskog jezika PHP...........................................................................23
Uvjeti (if i switch).....................................................................................................................23Petlje (while, do ... while i for)..................................................................................................25
Funkcije........................................................................................................................................ 25
Pozivanje funkcije.....................................................................................................................26Vidljivost varijabli....................................................................................................................26Parametri funkcije....................................................................................................................28
Polja...............................................................................................................................................29
Inicijalizacija polja....................................................................................................................29Ispisivanje vrijednosti polja......................................................................................................30Imenovana polja........................................................................................................................31Podaci u polju...........................................................................................................................32Osnovne funkcije za rad s poljima............................................................................................33
Datumi i vrijeme......................................................................................................................... 34

Activity (21)

You've already reviewed this. Edit your review.
1 hundred reads
1 thousand reads
Marko Nedic liked this
Esmir Dogan liked this
Tihomir Logar liked this
Jasna Velickovic liked this
Zlo Naopako liked this
Iva Dzoic liked this

You're Reading a Free Preview

Download
scribd
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->