Forum FAQForum FAQSearchSearch MemberlistMemberlist Forum ignore listForum ignore list RegisterRegister ProfileProfile Log in to check your private messagesLog in to check your private messages Log inLog in
PHP i virtualni htm....

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    mi3dot.org Forum Index -> Server-side
View previous topic :: View next topic  
Author Message
Tristan



Joined: 01 Aug 2006
Posts: 614
Location: Under the sky

PostPosted: 10.08.2006 17:23    Post subject: PHP i virtualni htm.... Add user to your forum ignore list Reply with quote

Ovako ekipo...
Vidio sam jedan program (radjen u php- u) koji izvlaci dizajn iz odredjenog template-a i zatim izvlaci iz baze (no to je nevazno) podatke... Na kraju svega toga on stvori htm stranicu sa dizajnom template-a... I to je htm stranica koja je i drugacije adrese od templatea pa ja zakljucujem (nadam se da tocno h3h3) da su to virtualne htm stranice...
Jednom je adresa npr... nesto-1523.htm
Drugi put npr.... nesto-1524.htm

Kako sa PHP- om kreirati te virtualne htm stranice razlicitih adresa???
Molim vas, pomozite ako znate...

Hvala unaprijed

_________________
Carpe diem...
Back to top
View user's profile Send private message Visit poster's website
vedran



Joined: 08 Sep 2003
Posts: 458

PostPosted: 10.08.2006 18:09    Post subject: Add user to your forum ignore list Reply with quote

Da to nije možda mod_rewrite?
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Tristan



Joined: 01 Aug 2006
Posts: 614
Location: Under the sky

PostPosted: 11.08.2006 00:08    Post subject: Add user to your forum ignore list Reply with quote

Hm.. mislim da je, al nisam bas shvatio iz nekih tutoriala sta sam naso..
Moram ic spavat pa...
Thnx na pravcu koji si mi pokazo.... Budem ti se obratio ako zatrebam sta...

_________________
Carpe diem...
Back to top
View user's profile Send private message Visit poster's website
mile



Joined: 10 Sep 2003
Posts: 1327
Location: Jeruzalem

PostPosted: 11.08.2006 10:05    Post subject: Add user to your forum ignore list Reply with quote

Ti vjerovatno misliš na metodu Ž. Klindžića upotrebljenu na sbonline.net (i virovitica online) - tu je opisao kako je izvedeno:
http://www.sbnet.hr/lamp/index.php?cid=7000&page=0&artpage=0&show=article&artid=000140

Ali bolje ti je sa rewriteom, evo brza rješenja - http://www.myhtaccess.com/

_________________
mile.is
Back to top
View user's profile Send private message Visit poster's website
Tristan



Joined: 01 Aug 2006
Posts: 614
Location: Under the sky

PostPosted: 11.08.2006 10:25    Post subject: Add user to your forum ignore list Reply with quote

Da, na to sam mislio....
Hvala na linku..

_________________
Carpe diem...
Back to top
View user's profile Send private message Visit poster's website
Tristan



Joined: 01 Aug 2006
Posts: 614
Location: Under the sky

PostPosted: 11.08.2006 10:42    Post subject: Add user to your forum ignore list Reply with quote

Molio bih nekog na ovom forumu da mi objasni kak se radi s tim jer ja nisam jos shvatio...
Imam datoteku full.php?id=12345&kat=nesto...
Htio bih da mi to bude prikazano kao npr... /nesto/index-12345.html..
Molim vas da mi to objasnite...

Hvala unaprijed...

_________________
Carpe diem...
Back to top
View user's profile Send private message Visit poster's website
Tristan



Joined: 01 Aug 2006
Posts: 614
Location: Under the sky

PostPosted: 11.08.2006 11:55    Post subject: Add user to your forum ignore list Reply with quote

Mislim na rewrite funkciju...

_________________
Carpe diem...
Back to top
View user's profile Send private message Visit poster's website
fun.ky



Joined: 05 Jan 2006
Posts: 365
Location: Mostar

PostPosted: 24.08.2006 23:03    Post subject: Add user to your forum ignore list Reply with quote

http://mi3dot.org/forum/viewtopic.php?t=7719&highlight=modrewrite

_________________
There is no style definition for good music!
Back to top
View user's profile Send private message Visit poster's website Twitter profile
_butch



Joined: 10 Sep 2003
Posts: 870
Location: Maichno, Krlovc

PostPosted: 26.08.2006 13:20    Post subject: Add user to your forum ignore list Reply with quote

btw.
Ja ne bi koristiio ../nesto/index-124.html
Radije si napravi lijepi URL domena.com/nesto/index/12345/ u tom smislu.
Nema mi smisla stavljati .html il htm na kraj a to mi samo poglupljuje cijelu situaciju.

_________________
FRENCH GUARD: No chance, English bed-wetting types.
I burst my pimples at you and call your door-opening request a silly thing, you tiny-brained wipers of other people's bottoms!
Flikrac
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Gibbo



Joined: 26 Jul 2006
Posts: 17
Location: localhost

PostPosted: 29.08.2006 22:56    Post subject: Add user to your forum ignore list Reply with quote

mozes koristit i smarty za generiranje .html

http://smarty.php.net/
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    mi3dot.org Forum Index -> Server-side All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group