SunQuest
           Web Design Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsWeb DesignWeb Design Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old November 28th, 2003, 11:00 PM
Sim_Charlie's Avatar
Sim_Charlie Sim_Charlie is offline
Why Me! Why Me!
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2003
Location: The Tiny Red Dot
Posts: 166 Sim_Charlie User rank is Corporal (100 - 500 Reputation Level)Sim_Charlie User rank is Corporal (100 - 500 Reputation Level)Sim_Charlie User rank is Corporal (100 - 500 Reputation Level)Sim_Charlie User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 4 h 13 m 40 sec
Reputation Power: 6
Can anyone tell me how does this url work?

Hi

http://community.webshots.com/user/username
Does anyone know how does this kind of url work? By enter their own username, he/she would be able to view their own gallery? & any form of changes he/she made would only affect their own gallery only?

Thanks

Reply With Quote
  #2  
Old November 29th, 2003, 09:12 AM
SoKrA's Avatar
SoKrA SoKrA is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2003
Location: Spain
Posts: 21 SoKrA User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
community is a subdomain of webshots.com, in the server there is a folder called user, and in ther folders with the names of the usernames, every page is completely independent from the rest, and so the changes are for that page only.
Another way of doing it is to tell the webserver to look at the url and execute a cgi script (or program) that gives the output depending on the value of username.
Does this answer your question?

Reply With Quote
  #3  
Old November 29th, 2003, 11:01 PM
Sim_Charlie's Avatar
Sim_Charlie Sim_Charlie is offline
Why Me! Why Me!
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2003
Location: The Tiny Red Dot
Posts: 166 Sim_Charlie User rank is Corporal (100 - 500 Reputation Level)Sim_Charlie User rank is Corporal (100 - 500 Reputation Level)Sim_Charlie User rank is Corporal (100 - 500 Reputation Level)Sim_Charlie User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 4 h 13 m 40 sec
Reputation Power: 6
yes i do now...but if i wish to implement something like this onto my website, which methods is more advisable; first or the second using cgi script.

Reply With Quote
  #4  
Old November 30th, 2003, 12:50 PM
SoKrA's Avatar
SoKrA SoKrA is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2003
Location: Spain
Posts: 21 SoKrA User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Quote:
Originally posted by Sim_Charlie
yes i do now...but if i wish to implement something like this onto my website, which methods is more advisable; first or the second using cgi script.

That'll depend on the access you have to the server. If you have full control over the server, the second option would seem better, but you'd have to edit some config files in the server. If the server is just hosting you and can't alter the config files, I'd recomend the second, or http://community.webshots.com/user?=username
being user a CGI script if you can do that.
There are probably other options though.

Reply With Quote
  #5  
Old November 30th, 2003, 07:57 PM
Sim_Charlie's Avatar
Sim_Charlie Sim_Charlie is offline
Why Me! Why Me!
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2003
Location: The Tiny Red Dot
Posts: 166 Sim_Charlie User rank is Corporal (100 - 500 Reputation Level)Sim_Charlie User rank is Corporal (100 - 500 Reputation Level)Sim_Charlie User rank is Corporal (100 - 500 Reputation Level)Sim_Charlie User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 4 h 13 m 40 sec
Reputation Power: 6
I believe i had to go for user?=username, since the server would be hosting me...

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignWeb Design Help > Can anyone tell me how does this url work?


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  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
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway