GIDForums  

Go Back   GIDForums > Web Hosting Forums > Apache Web Server Forum
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread Rate Thread
  #1  
Old 03-Jan-2004, 23:30
pelegk2 pelegk2 is offline
New Member
 
Join Date: Dec 2003
Location: Israel the holy land
Posts: 6
pelegk2 is an unknown quantity at this point

can i check the url the user tries to access


can i check the url the user tries to access and then to redirect him before
the page is loaded at all?
what i mean is that the page wont load and i can block it if i want!
thanks in advance
peleg
  #2  
Old 03-Jan-2004, 23:35
JdS's Avatar
JdS JdS is offline
Senior Member
 
Join Date: Aug 2001
Location: KUL, Malaysia
Posts: 3,371
JdS will become famous soon enough
Yes, it's possible and how depends on what you're trying to do.
  #3  
Old 04-Jan-2004, 01:30
pelegk2 pelegk2 is offline
New Member
 
Join Date: Dec 2003
Location: Israel the holy land
Posts: 6
pelegk2 is an unknown quantity at this point

i want to check for


example some things like if a user has privilige to access a page in advance
before he actually access the page *check with mySql DB)
and if he dont have a privilige he will be sent to another page that i want
how do i do that?
Thansk
Peleg
  #4  
Old 04-Jan-2004, 01:42
JdS's Avatar
JdS JdS is offline
Senior Member
 
Join Date: Aug 2001
Location: KUL, Malaysia
Posts: 3,371
JdS will become famous soon enough

User / Password login example in PHP


If you have PHP support on your web server, then you can refer to this example: PHP / MySQL session based login script, to do that.
  #5  
Old 04-Jan-2004, 02:36
pelegk2 pelegk2 is offline
New Member
 
Join Date: Dec 2003
Location: Israel the holy land
Posts: 6
pelegk2 is an unknown quantity at this point

this example s include in web pages


i am looking of a ontrol by server script
that the server will do it before u even refferd to the page
  #6  
Old 06-Jan-2004, 10:37
Matrix Matrix is offline
New Member
 
Join Date: Sep 2003
Posts: 19
Matrix is an unknown quantity at this point
You mean like ban an IP? This is possible with a .htaccess file.
  #7  
Old 07-Jan-2004, 00:00
pelegk2 pelegk2 is offline
New Member
 
Join Date: Dec 2003
Location: Israel the holy land
Posts: 6
pelegk2 is an unknown quantity at this point

how do i do it with htaccess ?


how do i do it with htaccess ?
 
 

Recent GIDBlogMore photos on Flickr by crystalattice

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Urgernt: Extremely queer Apache access log moothecow Apache Web Server Forum 1 20-Dec-2003 02:45
FREE 25 MB, No Ads, Control Panel, ASP, ColdFusion, PHP, MySQL, Access Hosting rkmails Free Web Hosting 0 08-Sep-2003 05:49
user rights permission problem zuzupus MySQL / PHP Forum 2 01-Sep-2003 03:19
How to check URL - Subdirectories Leutenegger MySQL / PHP Forum 1 24-Aug-2003 06:51
getting user rico MySQL / PHP Forum 1 25-Jul-2003 03:17

Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The

All times are GMT -6. The time now is 13:20.


vBulletin, Copyright © 2000 - 2008, Jelsoft Enterprises Ltd.