|
Author |
Message |
|
|
Posted Jan 08, 2009 at 8:30:04 PM
Subject: naming conventions for linux server
My site was moved in godaddy.com from the windows server to the linus server so that I could us php for form email - send without a "mailto" and pull up a new page once the form is submitted. I am using dreamweaver with SpryAssets, framework/mootools.js and some additional client-side javascript
Now, my site, which worked perfectly on the windows server is "broken" because, according to the tech staff at godaddy, of coding issues...
Can some out there please identify for me what I should look for?
For example,
-- do file names have to all lower case?
-- Are there restrictions on what can be in a filename such as symbols, numbers, etc.
-- is there some restrictions on how to call a file?
Any help would be appreciated.
Thank you, in advance, for your time.
|
blinky
Joined Jan 08, 2009 Posts: 51
Other Topics
|
Posted:
Jan 08, 2009 8:56:32 PM
Subject: naming conventions for linux server
<discliamer>I from a C/C++/Java development background</disclaimer> but here goes:
1. Linux filenames can have spaces but I prefer not use them. I generally would turn "My Documents" to myDocuments or My_Documents.
2. Linux/Unix filenames ARE case sensitive (myDocuments is not same as MyDocuments). Unlike windows where myDocuments==MyDocuments.
3. You can have virtually any character in the filename, but keep it simple (like program variable names - eg no $ , etc)
At a guess what probably effecting your code is (2) above.
In a world without walls and fences, who needs Windows and Gates
|
carolgerrie
Joined Jan 08, 2009 Posts: 2
Other Topics
|
Posted:
Jan 08, 2009 9:49:04 PM
Subject: naming conventions for linux server
Thank you. Another question. A vanilla file, just using <p> to format form fields will find the referrer file, however, the same form in a table formated with <table>,<tr>,<td>, , font info, etc. will not. Does Linus have a problem/limitations/preferences with table and formatting codes.
|
proopnarine
Joined Apr 03, 2008 Posts: 590
Location:San Francisco
Other Topics
|
Posted:
Jan 09, 2009 4:14:28 AM
Subject: naming conventions for linux server
It's Linux, not Linus. Linus is the guy who started the project.
As for your question, it shouldn't be a problem. PHP scripts are technically independent of the platform on which they're running. If there are any limitations, then they've been implemented post-installation by the server folks; or Windows was violating some standard (highly likely), and you do indeed have non-standard code in there somewhere.
Oh, and about spaces in filenames. Every darned platform implements them differently, so if you have files which are expected to be used on different platforms, don't use the spaces.
Take the red pill
Climate Change Blog
Food Weblog
|