
Daniel0
Staff Alumni-
Posts
11,885 -
Joined
-
Last visited
Everything posted by Daniel0
-
I'll put up a live example later today. Edit: http://phpfreaks.com/daniel/unobtrusive_javascript/ Files/source of interest: http://phpfreaks.com/daniel/unobtrusive_javascript/index.txt http://phpfreaks.com/daniel/unobtrusive_javascript/lib.txt http://phpfreaks.com/daniel/unobtrusive_javascript/backend.txt http://phpfreaks.com/daniel/unobtrusive_javascript/script.js
-
As I said in the other topic, it depends on how the programmer uses it. Sure, if you program it in a way so the site is dependent on having Javascript on, then it's not a good thing, but as I also said, it's not the language's fault that the programmer uses it poorly. If you properly separate the layers (content (HTML), presentation (CSS), behavior (Javascript)) and use unobtrusive Javascript then I believe Javascript can lead to richer user interfaces. I believe that the picture redarrow has of Javascript is more a shortcoming of himself rather than of the language itself. If you want me to elaborate further, please say so and I'll be happy to give you a working example.
-
I suppose you're referring to me. For someone who claims to have nine years of experience with Javascript and 20 years of experience with creating websites (source) it shouldn't be too hard to overcome the "problem" redarrow explained.
-
No offense, but the programmer's incompetence is not a shortcoming of the language.
-
Yes, but you cannot download it using synaptic (or aptitude or apt-get) if you do not have a working connection.
-
Care to elaborate on that? Why?
-
That depends on how the law of the country in question is formulated.
-
You probably need to install the build-essential package (or is it build-essentials?). sudo aptitude install build-essential I believe that package will be taken from the CD and not from the repos, so you might be able to install that without a connection.
-
[SOLVED] Help with recognizing if we are logged in or not..
Daniel0 replied to Cory94bailly's topic in PHP Coding Help
So basically you love those ?PHPSESSID= following by a long alphanumeric string on the end of all your URLs? Otherwise you might want to check up on how sessions work before making such bold statements... -
It should tell you information about all detected network interfaces. If it's the only one, then it'll probably be called eth0. You should be able to see whether it's connected or not.
-
Try to run ifconfig -a and see what it says.
-
Make sure you select to format the harddisk when installing
-
As far as I know, APT (Advanced Packaging Tool) is the libraries whereas aptitude, apt-get, apt-cache, Synaptic Package Manager (GUI tool), etc. are front-ends for APT.
-
[SOLVED] Backing Up To A folder With The Day's Date?
Daniel0 replied to Cory94bailly's topic in PHP Coding Help
Substitute 'backups/fcs/$date/index.php' with "backups/fcs/$date/index.php" Likewise with all similar strings. -
Yes, you need an active internet connection.
-
The server edition does not include a graphical environment. When you install it, login as root and run this command: aptitude install ubuntu-desktop (or kubuntu-desktop or xubuntu-desktop if you'd rather have KDE or Xfce instead of Gnome).
-
[SOLVED] Backing Up To A folder With The Day's Date?
Daniel0 replied to Cory94bailly's topic in PHP Coding Help
Oh yes. You'll also need to change 'backups/fcs/$date/index.php' and similar strings to use double quotes instead. Variable interpolation (i.e. replacement of the variables' values within strings) will only work with strings that are using either the HEREDOC syntax or using double quotes. Single quoted strings will be used verbatim. -
Website in the works, would like some critique
Daniel0 replied to skatermike21988's topic in Website Critique
Actually, Presto and WebKit scores higher on Acid3 than Gecko does (cf. http://en.wikipedia.org/wiki/Acid3#Layout_engines). Nonetheless, Gecko is still superior to Trident and in my opinion it would be wiser to develop to get it to work in Firefox and then apply hacks so it'll work in Internet Explorer than doing it the other way around. -
There are made a number of other logos and it will be changed once we've picked the one we like the best. Edit: Might as well lock this until the "real" logo is up. I hope you'll like that one as well.
-
[SOLVED] Backing Up To A folder With The Day's Date?
Daniel0 replied to Cory94bailly's topic in PHP Coding Help
You might want to change $date = "date('d-m-Y')"; to $date = date('d-m-Y'); otherwise you're not calling the function but making a string with that content. Furthermore, if (copy) won't work. -
You could always download the packages from the repos from your own computer and scp them to the server. Besides, I don't like CentOS. It doesn't even have the PHP 5.2.x branch in the repos.
-
I believe the Ubuntu CD has an option for checking the integrity of the CD. You could try see what it says.
-
Psst... if you say I'm cool then you'll become a moderator
-
[code] tags not working in IE6
Daniel0 replied to GingerRobot's topic in PHPFreaks.com Website Feedback
There is nothing we can do about it unfortunately. See: http://reference.sitepoint.com/css/overflow -
Website in the works, would like some critique
Daniel0 replied to skatermike21988's topic in Website Critique
No offense, but I wouldn't trust purchasing anything from a site that looks like that. The layout looks rather unprofessional, so it kind of gives you an idea that the service you can get there will be of equal quality.