
trq
Staff Alumni-
Posts
30,999 -
Joined
-
Last visited
-
Days Won
26
Everything posted by trq
-
You seriously need to get managed hosting.
-
First attempt at designing an MVC for my new project
trq replied to MySQL_Narb's topic in Application Design
It is a VERY basic MVC that doesn't really follow any decent coding practices, but yeah... what was the question? -
1) It redirects the output of "spamassassin spam_input" into a file called spam_output 2) locate spamassassin
-
Don't use user inputed data directly in database queries anyway, your opening all sorts of cans of worms in relation to security issues. What database engine are you using there? Surely it has mechanisms for escaping data properly?
-
You might want to post some relevant code and a question.
-
diff php variable for each field in each db row
trq replied to PatrickLawler's topic in PHP Coding Help
You need to post some relevant code or a better description of your issue. -
diff php variable for each field in each db row
trq replied to PatrickLawler's topic in PHP Coding Help
Sounds like you might need an array but without code, your on your own. -
Close, but not really. It has nothing to do with Apache, but yeah, it is a daemon that can execute commands at specific scheduled times. PHP is just one of thousands of different commands cron could possible execute.
-
Amongst a bunch of other things that your assuming are setup properly.
-
preg_replace. The manual is a programmers best friend.
-
The error tells you exactly where the problem is. What is the exact error? Even from your simple post I'm pretty sure I can see a blank line before your <?php tag.
-
You might start here and try again. The code you so generously filled our screens with isn't even PHP, nor is it readable ince you though it a good idea to shrink the text size.
-
You original thread was moved to misc from this forum because you obviously missed this: http://forums.phpfreaks.com/topic/150979-this-board-is-not-a-code-repository You obviously also missed reading the rules which you agreed to when you signed up as it is clearly noted that double posting is not permitted. As for why you haven't had any replies. This forum is frequented by programmers and those looking to learn how to program. Questions like "where can I find this..." are generally pretty off topic.
-
How about you try and write it and come back when you have a specific issue? The example you posted really isn't that far off.
-
This resonates with me more than anything else. http://blog.sanctum.geek.nz/series/unix-as-ide/
-
My main motivation for working in vim is the fact that we do allot of remote stuff via ssh on client machines at work. So, now I can use the same editor under all circumstances. Even when I work from home, it's so much easier to just connect to the vps, ssh in and open vim in a terminal. I don;t have to worry about the overhead of a Desktop.
-
Have you tried an IDE? I used to think a simple text editor was all I needed too, but then I tried an IDE. The only time I use a regular text editor now is just for real quick edits, or stuff that I don't want to make into a project in my IDE. IDE's tend to get in my way. All I use is vim with a few plugins: https://github.com/tpope/vim-pathogen https://github.com/tpope/vim-fugitive https://github.com/tpope/vim-unimpaired https://github.com/vim-scripts/taglist.vim https://github.com/vim-scripts/sessionman.vim https://github.com/vim-scripts/bufexplorer.zip https://github.com/tpope/vim-surround https://github.com/vim-scripts/FuzzyFinder
-
I'm a massive vim fan so don't really have much of an opinion when it comes to IDE's.
-
That's because MS sux balls.
-
There is no definitive answer, just opinion. Often the one that is well suited to your style of development and specific project requirements will be the best one to use.
-
I used to use dynamically loading js, but it ended up being allot more efficient to put all js into one file and the minify it. Its the actual http requests to multiple files that hurts more than size. Of course it would also depend on what sizes where talking about. Loading a 50k-80k file just to use one function etc etc.
-
Have you checked out some of the editors mentioned in this thread?
-
This board is here for questions directly relating to already existing Third Party code. It is NOT a code repository or the place to post requests looking for specific scripts. If you can't find the script you are looking for on Google, you either don't know how to use Google or the specific script does not exist. DO NOT request help with searching.