124 reputation
6
bio website
location Sweden
age 20
visits member for 1 year, 10 months
seen Oct 29 at 20:49

Know some code here and there. PHP, MySQL, LUA, JAVA, HTML, CSS.


Sep
24
awarded  Autobiographer
May
7
accepted Develop a website using mustache.js and PHP
May
6
revised Develop a website using mustache.js and PHP
added 19 characters in body
May
6
asked Develop a website using mustache.js and PHP
May
27
awarded  Informed
Apr
13
awarded  Scholar
Apr
13
accepted Setting up and syncing a developer (local) version and a public version of a website
Apr
13
comment Setting up and syncing a developer (local) version and a public version of a website
Okay great, what is the best way to do that? Just have a session variable or what?
Apr
12
comment Setting up and syncing a developer (local) version and a public version of a website
I use full paths for my links cause the site urls are "dynamic". What I mean is that I have a frame on every page where some extra content is loaded in using ajax. The extra content contains links and therefore I must set the full path cause the page that loads the content have different urls (of course). I use /example/images/ on the local version and /images/ on the public one. It's worse when I have to use file_exists() cause then I have to be more precise. On the public version I have to write /home/username/example.com/images/.
Apr
12
awarded  Editor
Apr
12
revised Setting up and syncing a developer (local) version and a public version of a website
added 46 characters in body
Apr
12
comment Setting up and syncing a developer (local) version and a public version of a website
What I meant with Since the ftp has some root folders and the local version has another set of folders the links to different pages and files are different. was that in MAMP/XAMPP the location for the files are localhost/example/ and on the ftp it is the host file structure. Something like /home/username/example.com/
Apr
12
awarded  Student
Apr
12
asked Setting up and syncing a developer (local) version and a public version of a website
Feb
5
awarded  Supporter