Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

PHP Forum


You are currently viewing our PHP Forum as a guest. Please register to participate.
Login



Freelance Jobs

Reply
Old 09-04-2008, 07:59 AM Help Required
Vizcom's Avatar
Super Talker

Posts: 103
Name: Daniel Robinson
Location: Bolton
Trades: 0
Hi All

I'm not a web developer so I don't quite understand this I got from Chris...

""+" characters in file names could actually cause problems with search queries

The plus (+) is a reserved character (see sec 2.2 of RFC 2396) and is the replacement for a space in Encoded URIs so could cause 404 errors should the replace occur with a flename query."

Can anyone explain why this would cause a problem and would it be better to change the "+"s for either an underscore or dash?

thanks
Dan
__________________

Please login or register to view this content. Registration is FREE
comment -> get a link

Please login or register to view this content. Registration is FREE

Follow Vizcom and Ruby on
Please login or register to view this content. Registration is FREE
@RubyVizcom
Vizcom is offline
Reply With Quote
View Public Profile Visit Vizcom's homepage!
 
 
Register now for full access!
Old 09-04-2008, 09:31 AM Re: Help Required
wayfarer07's Avatar
Poo on You

Latest Blog Post:
Introducing WowWindow
Posts: 3,987
Name: Abel Mohler
Location: Asheville, North Carolina USA
Trades: 0
all it's saying is that if you name a file "Daniel+Robinson.php" what the browser sees when you place that into the navigation bar is "Daniel Robinson.php", which is pretty sloppy, but technically a correct filename. You could link to a file called Daniel+Robinson.php, but you would need to urlencode it first. A shortcut for doing this in php is with the urlencode function:
PHP Code:
<a href="<?=urlencode("Daniel+Robinson.php")?>">Daniel Robinson</a>
which would output HTML that looks like this:
HTML Code:
<a href="Daniel%2BRobinson.php">Daniel Robinson</a>
Dont expect anyone to remember how to type Daniel%2BRobinson.php, however. Dashes and underscores do not need to be urlencoded, and thus are easy to type and remember.
__________________
I build web things. I work for the startup
Please login or register to view this content. Registration is FREE
.

Last edited by wayfarer07; 09-04-2008 at 09:35 AM..
wayfarer07 is offline
Reply With Quote
View Public Profile Visit wayfarer07's homepage!
 
Old 09-04-2008, 09:42 AM Re: Help Required
Vizcom's Avatar
Super Talker

Posts: 103
Name: Daniel Robinson
Location: Bolton
Trades: 0
Abel

Thanks for the advice I'll take out all the + and replace with an underscore or dash.

thanks
Dan
__________________

Please login or register to view this content. Registration is FREE
comment -> get a link

Please login or register to view this content. Registration is FREE

Follow Vizcom and Ruby on
Please login or register to view this content. Registration is FREE
@RubyVizcom
Vizcom is offline
Reply With Quote
View Public Profile Visit Vizcom's homepage!
 
Reply     « Reply to Help Required
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.11668 seconds with 12 queries