Daniel0
Staff Alumni-
Posts
11,885 -
Joined
-
Last visited
Everything posted by Daniel0
-
Right, I'd also like to point out that my list is not an endorsement. I also left out ebooks.
-
I'm going to fork that thread instead of hijacking it. What kind of technical (i.e. non-fiction) books do you have that are applicable to web development, programming or computer science? My list (in the order I found them lying around all over the place): Mastering Regular Expressions Pragmatic Thinking & Learning Introduction to Programming Using SML Introduction to Algorithms (CLRS) Structure and Interpretation of Computer Programs (SICP) The Pragmatic Programmer The Mythical Man-Month Introduction to Programming and Object-Oriented Design Using Java The Smashing Book Java Precisely Introduction to Data Management Systems (custom print based on Database Systems: The Complete Book and Web Services: Principles and Technology) Discrete Mathematical Structures Objektorienteret analyse og design ("Object Oriented Analysis and Design"; book in Danish) I haven't finished all the books yet though.
-
Redirecting multiple domains to one website with php
Daniel0 replied to Masca's topic in Miscellaneous
It will work fine with "entire domains". DNS doesn't care about the concept of "sub-domains". -
An open source x-platform implementation isn't .NET, Especially in the job market. That's not what I'm saying. I'm saying that just because he is using .NET on his job doesn't mean he cannot use .NET or C# in his free time on a Linux box. You can actually compile something with Mono on Linux, move it to a computer running Windows and execute it directly just by double clicking on the file's icon. Also, people running Ubuntu (or just Gnome maybe?) will already have a couple of applications installed that are written using Mono.
-
Oh really? http://www.mono-project.org
-
Then you seriously need to practice your researching skills. The three links that seventheyejosh posted are the #1, #3 and #4 results for a search on "php blog tutorial"... [attachment deleted by admin]
-
I know. That's why I explicitly only said "function and class names"
-
Uh... PHP is not case sensitive when it comes to function and class names, and the case sensitivity of identifiers in MySQL depends on the lower_case_table_names setting. As for case sensitivity in field values in MySQL, that depends on the collation you're using. Unless you pick a binary collation it will most likely be set to a case insensitive one. Also, why the hell is she sending you a .doc file with macros in it? Send a PDF or something like that.
-
IRC is up again...
-
I don't understand that question. What exactly is there to deal with? I suppose that depends on the applications and circumstances of the hashing. MD5 doesn't protect anything in and by itself. What does it mean for code to be "relative to [something]"? Why would I? If all their existing code is written using ASP and their developers are specialized in ASP, why would they want to spend massive amounts of resources on switching to another language? Of course it can. Look up RFI (Remote File Inclusion) for instance. Any general-purpose programming language can be used for "unethical hacking".
-
http://us3.php.net/get_magic_quotes_gpc I've changed that example now: http://svn.php.net/viewvc?view=revision&revision=298138 Similarly, a deprecation note was added yesterday by salathe: http://svn.php.net/viewvc?view=revision&revision=298127 People will have to live with the poor example until next Friday when the mirrors sync with the manual.
-
Move it outside the loop?
-
Use filter_var or filter_input. if (filter_var($email, FILTER_VALIDATE_EMAIL)) { echo 'the email is valid'; } else { echo 'the email is not valid'; } As for your second problem, you need to escape the / because you're using it as delimiter.
-
If you're using MySQL, you would still want to pass it through mysql_real_escape_string to prevent SQL injections. Other databases have similar functions.
-
Well, that should be quite simple. Don't call htmlentities (or equivalent) before inserting into the database.
-
Normally, no. PHP's garbage collection will free the resource when script execution ends. You only need to do that if you for whatever reason need to close it before that happens.
-
Well, the IRC server is currently down. For now you may join ##phpfreaks on irc.freenode.net.
-
And put the preprocessor with the files you hand in.
-
Speed isn't everything though. Otherwise you picked the wrong language.
-
Seems sort of pointless to me. Also, I prefer my functions to have as little side effects as possible, so I would prefer if it returned the HTML instead of outputting it.
-
Why was this moved to announcements? :\
-
phpfreaks Unofficial IRC Alt Server
Daniel0 replied to NTSmarkv's topic in PHPFreaks.com Website Feedback
Not anymore. -
How is forum search not an important feature? Sphinx, the search daemon that the forum uses, isn't running either. Edit: Sorry, thorpe. I didn't see you locked it.
-
You mightn't care, but other people here would like it back up. Just for a sense of being back to normal, if nothing more. It's fully understandable it may take more than just a day to get the server back up, All in all it is his own. Within a week or two is perfectly acceptable, I doubt he doesn't care about it, Unless it's a circumstantial problem with money and he's hardly able to continue it. It's a unique service in itself. Daniel's done all there is need be, so we should just respect the owner's ability and wait. You think a week or two of downtime is acceptable for something that takes at most two minutes fixing? And I'm not just "guesstimating" here. I did run this website and its servers for two years.
-
I've sent an email to Eric and CC'ed it to one of the other employees over at Server Powered that we used to deal with. Hopefully one of them will fix this.