question on website programming

Post new topic   Reply to topic    CPU-World.com forums Forum Index -> Off Topic
View previous topic :: View next topic  
Author Message
hugo929



Joined: 27 Oct 2006
Posts: 6163
Location: China

PostPosted: Tue Nov 10, 2009 9:43 am    Post subject: question on website programming Reply with quote

My website has been moved to a new server recently. then I found the following link does not work :

http://www.cpumuseum.com/Show.php?Family=VIA%20C3

but this like work well in previous server.

I knwo this is due to the SPACE between VIA and C3.

How to come over this ?

Thanks

_________________
My vintage CPU collection:www.cpumuseum.com
Chinese Forum: http://www.cpumuseum.com/forum
Back to top
View user's profile Send private message   Visit poster's website
Qwerty



Joined: 20 May 2005
Posts: 3141
Location: Germany

PostPosted: Tue Nov 10, 2009 11:52 am    Post subject: Reply with quote

The spaces in an URL address aren't compliant to W3C specifications.
That's why they cause problems sometimes. It depends on software used on your server.

Perhaps you should use an underscore "_" instead of space.
Back to top
View user's profile Send private message  
6a6ar09a



Joined: 14 Oct 2009
Posts: 444
Location: Belgrade

PostPosted: Tue Nov 10, 2009 3:11 pm    Post subject: Reply with quote

One of the things you should keep in mind is that file names consists of three parts;

1. name
2. dot (as separator)
3. file extension

Rule for the first one (name) is;
Use just alphanumeric characters and (if needed) underscore.

Just change your wrong Micro$oft habits (allowed irregular file names) and you will never have this problems on any different system, machine, server...

_________________
www.chipmuseum.com
Back to top
View user's profile Send private message   Visit poster's website
faber



Joined: 18 Dec 2006
Posts: 315
Location: Poznan, Poland

PostPosted: Tue Nov 10, 2009 4:43 pm    Post subject: Reply with quote

the best solution is replacing all spaces in links (href) and in database with underscores,
AND USE QUOTES in a href tag Smile
Back to top
View user's profile Send private message [ Hidden ] Yahoo Messenger
6a6ar09a



Joined: 14 Oct 2009
Posts: 444
Location: Belgrade

PostPosted: Tue Nov 10, 2009 5:02 pm    Post subject: Reply with quote

Exactly.

Best regards to penguin society in Poznan Wink
Back to top
View user's profile Send private message   Visit poster's website
hugo929



Joined: 27 Oct 2006
Posts: 6163
Location: China

PostPosted: Tue Nov 10, 2009 6:21 pm    Post subject: Reply with quote

thanks for your kind help.
I will try to fix this. I am lacking this knowledge though Shocked

_________________
My vintage CPU collection:www.cpumuseum.com
Chinese Forum: http://www.cpumuseum.com/forum
Back to top
View user's profile Send private message   Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    CPU-World.com forums Forum Index -> Off Topic All times are GMT - 5 Hours
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
You cannot attach files in this forum
You cannot download files in this forum

Powered by phpBB © 2001 phpBB Group