User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the Site Layout and Usability section within the Web Development category of DaniWeb, a massive community of 456,196 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,924 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our Site Layout and Usability advertiser: Internet Marketing Services
Views: 1938 | Replies: 6
Reply
Join Date: May 2007
Posts: 10
Reputation: alwaysonline is an unknown quantity at this point 
Rep Power: 2
Solved Threads: 0
alwaysonline alwaysonline is offline Offline
Newbie Poster

Question website designed using PHP is case sensitive

  #1  
May 5th, 2007
We redesigned our website using PHP. However, the case-sensitivity of the links seems to be causing many errors. If customers type in by capitalizing, say in the link http://www.wspgweb.com/custom-website-design.php as say /Custom-Website-Design.php, the link does not work. However the root URL http://www.wspgweb.com seems to be working as non-case sensitive.

Has some one found a solution this problem?
Last edited by alwaysonline : May 5th, 2007 at 1:03 am. Reason: typing error
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Jan 2007
Posts: 2,604
Reputation: MidiMagic is on a distinguished road 
Rep Power: 7
Solved Threads: 119
MidiMagic's Avatar
MidiMagic MidiMagic is offline Offline
Posting Maven

Re: website designed using PHP is case sensitive

  #2  
May 5th, 2007
Website addresses have always been case-sensitive on UNIX machines. It actually depends on the server's internal code whether it responds to case. Your customers should be told to enter the website as written and that website addresses are case-sensitive.

Everyone should always treat web addresses and email addresses as being case-sensitive, because many servers already treat them so.
Daylight-saving time uses more gasoline
Reply With Quote  
Join Date: May 2007
Posts: 10
Reputation: alwaysonline is an unknown quantity at this point 
Rep Power: 2
Solved Threads: 0
alwaysonline alwaysonline is offline Offline
Newbie Poster

Re: website designed using PHP is case sensitive

  #3  
May 5th, 2007
Thank you. Mid-magic. However, the root URL seems to be routing all requests to www.wspgweb.com even if someone types WSPGweb.com. How can that be not case sensitive if the /extension is case sensitive.
Reply With Quote  
Join Date: Jan 2007
Posts: 2,604
Reputation: MidiMagic is on a distinguished road 
Rep Power: 7
Solved Threads: 119
MidiMagic's Avatar
MidiMagic MidiMagic is offline Offline
Posting Maven

Re: website designed using PHP is case sensitive

  #4  
May 8th, 2007
That's part of the problem. Different programs and different equipment behave differently. There is no standardized behavior yet. So it is a good idea to type everything in lowercase until they finally get it sorted out.

The Internet routers are routing the
http://www.wspqweb.com
portion of the address to your server. They are not yet case sensitive.

The
/custom-website-design.php
portion of the url is handled by your server, which is using case-sensitive software.
Daylight-saving time uses more gasoline
Reply With Quote  
Join Date: May 2007
Posts: 10
Reputation: alwaysonline is an unknown quantity at this point 
Rep Power: 2
Solved Threads: 0
alwaysonline alwaysonline is offline Offline
Newbie Poster

Re: website designed using PHP is case sensitive

  #5  
May 31st, 2007
Originally Posted by MidiMagic View Post
That's part of the problem. Different programs and different equipment behave differently. There is no standardized behavior yet. So it is a good idea to type everything in lowercase until they finally get it sorted out.

The Internet routers are routing the
portion of the address to your server. They are not yet case sensitive.

The
portion of the url is handled by your server, which is using case-sensitive software.


You said the roort part is not "yet" case sensitive. Does that mean you anticipate that the root part of URL will also one day be case sensitive?
Last edited by alwaysonline : May 31st, 2007 at 6:35 pm.
Reply With Quote  
Join Date: Apr 2005
Location: Dundee, Scotland
Posts: 12,862
Reputation: jbennet is just really nice jbennet is just really nice jbennet is just really nice jbennet is just really nice 
Rep Power: 32
Solved Threads: 304
Moderator
Featured Poster
jbennet's Avatar
jbennet jbennet is online now Online
Moderator

Re: website designed using PHP is case sensitive

  #6  
May 31st, 2007
that happens on daniweb too. I believe its due to the fact that most sites run on Linux servers which are case sensitive
TRY MY SUGGESTIONS AT YOUR OWN RISK

Master of puppets Im pulling your strings, blinded by me, you cant see a thing. Master! Master!
Reply With Quote  
Join Date: May 2007
Posts: 10
Reputation: alwaysonline is an unknown quantity at this point 
Rep Power: 2
Solved Threads: 0
alwaysonline alwaysonline is offline Offline
Newbie Poster

Re: website designed using PHP is case sensitive

  #7  
May 31st, 2007
Originally Posted by jbennet View Post
that happens on daniweb too. I believe its due to the fact that most sites run on Linux servers which are case sensitive


The emails are not case sensitive and thus, people started assuming that they can type the web address whichever way we like and it's coming back and biting us..

HTML is not case sensitive though....
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

DaniWeb Site Layout and Usability Marketplace
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes

Similar Threads
Other Threads in the Site Layout and Usability Forum

All times are GMT -4. The time now is 3:49 pm.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC