Search found 33 matches

by d_d
Mon Aug 28, 2006 6:49 pm
Forum: PHP - Code
Topic: External Link Click Coutner
Replies: 10
Views: 3284

Using php as a click counter is a bad thing because it means no real link exists in the document (bad for SEO). A better way would be to use Javascript to rewrite the links. So you're saying linking to: http://www.mydomain.com/click-thru.php?url=http://www.google.com/ is better than just: http://ww...
by d_d
Sun Feb 26, 2006 8:37 pm
Forum: PHP - Security
Topic: Help me I'm sinking!
Replies: 21
Views: 8581

Perhaps you should tell your host if you have not already. Loading includes via http is perhaps something they should disable on a shared host. I can't think of many legitimate uses for it. http://uk.php.net/manual/en/ref.filesystem.php#ini.allow-url-fopen Unfortunately it looks like turning it off ...
by d_d
Tue Dec 27, 2005 5:19 pm
Forum: PHP - Security
Topic: hashes
Replies: 11
Views: 6896

This should be save enough because if anyone can crack into the mysql database the worry about a user password is mood. Not really, plenty of users still put too much trust into the security of these systems. A fair few of them will use the same password on multiple sites. Getting a list of emails ...
by d_d
Thu Dec 01, 2005 10:24 am
Forum: General Discussion
Topic: Frontpage discussion
Replies: 53
Views: 3916

The only problem I have with front page is that it pretends to be a html editor when in reality it is an internet explorer page editor. It's too easy for people with no knowledge to get burnt and end up with sites that require a fair bit of effort before they will work in other browsers. If your goi...
by d_d
Tue Nov 22, 2005 8:06 am
Forum: General Discussion
Topic: I've decided to take on a project I can't complete!(a forum)
Replies: 20
Views: 1362

I always thought this would be a neat use for AJAX. Click "edit" and instead of going to an edit page, the text just turns into a textarea. Vbulletin already does that. From what I have seen it's not terribly well implemented. It doesn't really tell the user what is going on so people thi...
by d_d
Mon Nov 21, 2005 10:27 pm
Forum: General Discussion
Topic: Are you a gamer?
Replies: 62
Views: 4840

Recently I have been playing live for speed but generally I don't do a lot of gaming.
by d_d
Mon Nov 21, 2005 10:24 pm
Forum: PHP - Theory and Design
Topic: What is a theme???
Replies: 6
Views: 2223

Keeping themes and language files separate will make it easier for non programmers to do translations. Since you may have to explain the process to people who don't speak English as their first language the simpler it is the better.
by d_d
Mon Nov 21, 2005 10:04 pm
Forum: General Discussion
Topic: PearPC.... anyone used it to Emulate OSX?
Replies: 11
Views: 1278

I prefer os x over linux for desktop use really just because I prefer the GUI. It's pretty much got a *nix underbelly so near enough everything I did with linux can be done on os x. GUI software can be a bit of a problem because cross platform programs tend to stick out like a sore thumb compared to...
by d_d
Sun Nov 20, 2005 2:54 am
Forum: Linux
Topic: Install package on Debian without root
Replies: 3
Views: 2258

I guess you are stuck manually downloading the dependancies and extracting them the same way. You may then need to change the LD_LIBRARY_PATH environment variable to point to the libs.
However I have little experience with debian, perhaps you can just use apt-get to install to your home dir.
by d_d
Tue Nov 01, 2005 6:39 pm
Forum: PHP - Code
Topic: [solved] if $_SERVER can be exploited
Replies: 9
Views: 805

I don't see any reason why $_SERVER['REMOTE_ADDR'] would be a worse place to get the ip than anywhere else.
If your worried just treat it as any other piece of user supplied data.
by d_d
Mon Nov 29, 2004 5:15 pm
Forum: General Discussion
Topic: Gaps in between tracks (mp3 Players)
Replies: 8
Views: 1652

The ipod is not gapless according to this
http://www.pretentiousname.com/mp3players/
by d_d
Sun Nov 28, 2004 2:09 pm
Forum: General Discussion
Topic: Gaps in between tracks (mp3 Players)
Replies: 8
Views: 1652

The only gapless dap I know of is the Rio Karma. There may be another couple but most hard disk players will have the gaps.
Pretty much the only thing you can do is to rip the cd as one massive track.
by d_d
Thu Nov 11, 2004 3:35 pm
Forum: General Discussion
Topic: Firefox 1.0
Replies: 20
Views: 2275

patrikG wrote:Seems to have a problem with SSL, though. Can't shop on Amazon with Firefox 1.0 :(
Try
Tools -> Options -> Advanced -> Validation -> OCSP
Use OCSP to only validate certificates that supply an OCSP service URL

That got amazon.co.uk to work for me.
by d_d
Wed Nov 10, 2004 12:47 pm
Forum: General Discussion
Topic: Ecost.com and Similar Sites
Replies: 4
Views: 1737

Nike can't really sell them for anything less than the RRP. Perhaps for marketing reasons but mostly because it would annoy their customers. Nike may also be selling the watch cheaper in other parts of the world so if you could find someone willing to take the risk you could buy the watches there an...
by d_d
Mon Nov 01, 2004 6:01 pm
Forum: Javascript
Topic: [SOLVED] Loading Text with "<form>" tags int
Replies: 2
Views: 480

Try using htmlentities on the text before putting it between the text area tags.

After the user makes submits the form you might need to use html_entity_decode to convert them back before putting the text back into the database.