Reputation
Top tag
Next privilege 200 Rep.
See reduced ads
Badges
6
Impact
~1k people reached

  • 0 posts edited
  • 0 helpful flags
  • 11 votes cast
Jul
21
accepted Handling insertion to database with Repository pattern
Jul
17
revised Handling insertion to database with Repository pattern
added 61 characters in body
Jul
17
comment Handling insertion to database with Repository pattern
That is correct
Jul
16
comment Handling insertion to database with Repository pattern
Yes, I'm using an SQL database with AUTO_INCREMENT on the IDs
Jul
16
revised Handling insertion to database with Repository pattern
edited title
Jul
16
asked Handling insertion to database with Repository pattern
Jul
13
accepted Accessing database from static and non-static methods
Jul
13
asked Accessing database from static and non-static methods
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/