Philip
Staff Alumni-
Posts
4,665 -
Joined
-
Last visited
-
Days Won
20
Everything posted by Philip
-
This topic has been moved to Miscellaneous. http://forums.phpfreaks.com/index.php?topic=363168.0
-
I can't seem to replicate this.. both of those URLs should point to the same file (the "." doesn't matter to the server in this case.) What version of FF were you using?
-
I see 1/2 the CPU usage on index2 with 2x the framerate.
-
I'm personally a huge fan of Q&A rather than Captchas. Much more user friendly... But one captcha I do like is http://www.solvemedia.com/ - they allow advertising / captchas all-in-one.
-
Most be a secret club none of us have gotten into...
-
PHP code highlighter uses the same code the code boxes does, at least since the upgrade. :-/ However, new forum software soon enough.
-
Unable to succesfully modify windows path
Philip replied to yoursurrogategod's topic in Miscellaneous
The actual filename shouldn't be included in the path. -
You have a problem at hand (you don't want code to be removed), and we've given a few solutions for it. What more do you want?
-
We are skilled in PHP, but also much more. We have experience doing things like this and will suggest other methods if they are better. Just because it isn't in PHP doesn't mean it isn't the correct answer. If you went to the car shop to get something looked at because you thought it was broken and they came back with a simple fix that you hadn't thought of, would you tell them no? If you really wanted to "protect" yourself via code, you could encode it (ionCube || Zend Guard)... but that is some serious overkill for something like this. Again, a contract would be the correct answer here. I almost feel stupid for having to suggest an encoder like this though.
-
Just be glad this happened before you signed any paperwork.
-
I disagree, but I also like working in a well lit room vs in darkness. I rarely change any coloring from my editors (mainly use Netbeans / Notepad++)
-
Not true. If you set your server settings correctly, a vast majority of the users will cache a larger file. Plus, the fewer the HTTP requests, the better off you are. I tend to break out my CSS files by what they contain - base style, colors, forms, widgets, etc. Then on production all of those files are combined and then minified. Then my server has expiration set to expire in 365 days, with gzip enabled. This makes loading the pages a lot faster (minus the first page load from a visitor.)
-
Yeah, I've used this one (except v2.x) for other projects and will likely use it for here edit, unless I'm blind, v3 no longer has a copy to clipboard option?
-
There are a lot of improvements like this I'd like to do, so yes, this is definitely something we can reconsider.
-
How do you go about adding a small addition to a big system?
Philip replied to cs.punk's topic in Miscellaneous
I agree, and sadly I have to do that a lot more for work than I'd like because of deadlines (something I have very little control over.) That's a rant for another day though But yes, analyze then fix is the way to go when you have the appropriate amount of time. And if you don't have the appropriate amount of time, push for more time. -
You could use a JS canvas framework (paper.js, rapha?l, etc.) and do that pretty quickly.
-
solved button and search error
Philip replied to learningcurve's topic in PHPFreaks.com Website Feedback
Search is now enabled for all users (and topic solved has been added a few days ago) -
Trying to search returns an error.
Philip replied to Presto-X's topic in PHPFreaks.com Website Feedback
Search is now enabled for all users -
searching keywords in the forum
Philip replied to John Davy Olmedo's topic in PHPFreaks.com Website Feedback
Search is now enabled for all users -
Nah, that's not a referral link. Amazon associates uses tag= for associate ID. ref= is just for the location of where the product was clicked (for analytics data.)
-
Yeah, we're looking into it. Thanks for the report!
-
Perfect! Because I really wanted to show off my fanboi and get a jQuery mousepad and coffee cup! /s
-
Content on your index page... e.g. news sites or forums. Of course you also have your members-only sites (like facebook) Anyways I think it is kind of a moot point as Mahngiel pointed out. I too highly doubt a high percentage of users will logout just to go do more around the site. Most either navigate away to another site or login with different user credentials.
-
How about an index page with a login form on it?
-
Another reason to query the DB on each load: if you just store stuff in the session - let's say User A logs in and then User B edits User A. User A's session is now out of date and has no way to know that it is out of date. Using a query fixes this. You can see at the bottom that this forum loads a lot of stuff from the DB on each load. This page alone did: