|
| Register now to interact with over 11,000 members! Registered users have Posting Privileges, free access to Private Messaging, Email Notifications and more. |
|
|||||||
![]() |
|
|
Thread Tools | Search this Thread |
|
|
#1 |
|
Registered
Join Date: Mar 2003
Posts: 2
Reputation: 5
|
& Symbol Crashes Website
I recently had my wesite go down do to an & symbol in one of my images files.
example test&test.jpg The explanation by powweb support was that this special character corrupted my zone file which in turn knocked my website off. Could someone explain this to me in detail because I do not understand it. thanks. |
|
|
|
|
#2 |
|
Join Date: Nov 2002
Location: Solomons Island
Posts: 2,217
Reputation: 212
|
Well I'm not sure why that would go so far as to crash your site, but you could try replacing the & with &
__________________
-bruce /* somdcomputerguy */ 'If you change the way you look at things, the things you look at change.' |
|
|
|
|
#3 |
|
Join Date: Mar 2003
Location: Agawam, MA
Posts: 915
Reputation: 130
|
Do you have that explanation in writing? Because I would leave to see the exact explanation, for the simple fact that that is complete BS. It's a very bad idea to use the "&" sign in filenames, though. The "&" sign is a special character in HTTP requests. It's used by the server to parse the request into the filename and parameters. I'm not sure how servers are supposed to handle scenarios where the "&" comes before the "?", though. But in general, don't use the "&" sign in filenames.
|
|
|
|
|
#4 |
|
Join Date: Oct 2003
Location: Boston, MA
Posts: 2,511
Reputation: 135
|
& should work fine in a file name. This is hosted on PowWeb: http://www.siezingtheday.com/test&test.jpg
|
|
|
|
|
#5 |
|
Registered
Join Date: Mar 2003
Posts: 2
Reputation: 5
|
I understand that it is a bad practice, it was a file from a couple of years ago not created by me.
I would just want an explanation on how it could crash my website. |
|
|
|
|
#6 |
|
Join Date: Oct 2003
Location: Boston, MA
Posts: 2,511
Reputation: 135
|
If you want, I can look at the ticket and perhaps give you a better explanation. I would need your domain name or tracking code.
|
|
|
|
|
#7 | |
|
Join Date: Jan 2005
Location: CA, USA
Posts: 43
Reputation: 5
|
Quote:
Faith and ^H^H^H^H & The Muse!! |
|
|
|
|
|
#8 |
|
Join Date: Feb 2003
Location: Allentown, PA USA
Posts: 14,885
Reputation: 447
|
Special characters used in queries should not be used in filenames. It is possible that the symbol crashed a program such as a migration program or a search program. Simply calling an image or linking to it would not cause a problem, but a mysql query could get confused.
http://www.domain.com/test&test.jpg This is okay. http://www.domain.com/index.php?id=test&test.jpg This is confusing. |
|
|
|
|
#9 | |
|
Join Date: Oct 2003
Location: Boston, MA
Posts: 2,511
Reputation: 135
|
Quote:
|
|
|
|
|
|
#10 |
|
Join Date: Jan 2005
Location: CA, USA
Posts: 43
Reputation: 5
|
yeah - Strange Boutique too...
|
|
|
![]() |
| Thread Tools | Search this Thread |
|
|