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 redirect

 
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
unLog!c



Joined: 27 May 2004
Posts: 185
Location: Osijek

PostPosted: 20.04.2005 11:43    Post subject: php redirect Add user to your forum ignore list Reply with quote

Imam na stranici mod rewrite i sada me zanima kako da napravim da mi kada netko upiše:

www.site.com u indexu bude skripta koja automatski stavi www.site.com/news/0, ali da to radi samo kada nema 2 roota na URL-u

_________________
Why dont you go out and play hide and go fuck your self like all other NORMAL kids?
Back to top
View user's profile Send private message MSN Messenger
liban0n



Joined: 10 Feb 2004
Posts: 128
Location: Dubrovnik, Zagreb

PostPosted: 21.04.2005 08:17    Post subject: Add user to your forum ignore list Reply with quote

header("Location http://www.nekisite.com");

_________________
mount -t swap /dev/brain /mnt/head
look'n for a job
Back to top
View user's profile Send private message Visit poster's website
unLog!c



Joined: 27 May 2004
Posts: 185
Location: Osijek

PostPosted: 21.04.2005 11:02    Post subject: Add user to your forum ignore list Reply with quote

Ma znam to...

ali ništa sada rješio sam problem sa htaccessom

_________________
Why dont you go out and play hide and go fuck your self like all other NORMAL kids?
Back to top
View user's profile Send private message MSN Messenger
_butch



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

PostPosted: 21.04.2005 16:58    Post subject: Add user to your forum ignore list Reply with quote

pa stavi da ti skripta odmah vuce newse ko da je /news/0/.

_________________
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
Gale



Joined: 04 Apr 2005
Posts: 120

PostPosted: 21.04.2005 19:00    Post subject: Add user to your forum ignore list Reply with quote

Šta ti to znači kada nema 2 roota na URL-u?
Back to top
View user's profile Send private message Visit poster's website
unLog!c



Joined: 27 May 2004
Posts: 185
Location: Osijek

PostPosted: 22.04.2005 09:59    Post subject: Add user to your forum ignore list Reply with quote

Ma mislim da skripta provjeri ako nije url tipa:

site.com/root1/root2

nego je:
site.com/ ili site.com/index.php

da ga prebaci na:

site.com/news/0

_________________
Why dont you go out and play hide and go fuck your self like all other NORMAL kids?
Back to top
View user's profile Send private message MSN Messenger
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