Goto Page: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15 ... 98
Actual Results
- Truce
- Forum: Digital Art and Drawing Forum
- Topic: How to reduce PSD file size
- Subject: How to reduce PSD file size
- Replies: 8
- Views: 1938
- Subject: How to reduce PSD file size
Posted: June 20th, 2009, 11:21 pm
Even better: ZIP the PSD. Unsurprisingly, compression, um, compresses. In the case of PSD files that aren't merely layers of bitmap data (IE you're intelligent enough to use adjustment layers and maybe even the pen tool), I've seen roughly 80% trimmed via simple zipping.
- Truce
- Forum: Programming / Scripting / Coding Forum
- Topic: Testing PHP on XAMPP
- Subject: Testing PHP on XAMPP
- Replies: 6
- Views: 580
- Subject: Testing PHP on XAMPP
Posted: June 20th, 2009, 11:18 pm
Use MAMP instead.
- Truce
- Forum: Programming / Scripting / Coding Forum
- Topic: htmlspecialchars problems
- Subject: htmlspecialchars problems
- Replies: 1
- Views: 178
- Subject: htmlspecialchars problems
Posted: June 20th, 2009, 10:52 pm
preg_replace_callback is your friend. You should probably consider escaping the relevant text on input, though, rather than output since doing a recursive preg_replace_callback is a bit of an expensive task and it'd make more sense to store the results than to have to execute it on every call. Alter...
- Truce
- Forum: Unix / Linux Forum
- Topic: $PATH - I'm not understanding something.
- Subject: $PATH - I'm not understanding something.
- Replies: 1
- Views: 396
Posted: May 29th, 2009, 3:32 pm
[code][root@files home]# httpd -bash: /usr/sbin/httpd: No such file or directory [root@files home]# which httpd /usr/local/bin/httpd [root@files home]# php -v PHP 5.2.9 (cli) (built: May 29 2009 12:13:03) Copyright (c) 1997-2009 The PHP Group Zend Engine v2.2.0, Copyright (c) 1998-2009 Zend Tech...
- Truce
- Forum: Programming / Scripting / Coding Forum
- Topic: I've Been Key Logged
- Subject: I've Been Key Logged
- Replies: 7
- Views: 681
- Subject: I've Been Key Logged
Posted: February 28th, 2009, 8:45 pm
Can't afford anti-virus? Seriously? Come on! We have Google now! http://www.google.com/search?q=free%20anti-virus http://www.google.com/search?q=free%20anti-virus http://www.google.com/search?q=free%20anti-virus http://www.google.com/search?q=free%20anti-virus http://www.google.com/search?q=free%20...
- Truce
- Forum: Programming / Scripting / Coding Forum
- Topic: I've Been Key Logged
- Subject: I've Been Key Logged
- Replies: 7
- Views: 681
- Subject: I've Been Key Logged
Posted: February 28th, 2009, 8:45 pm
Can't afford anti-virus? Seriously? Wake-up! We have Google now. http://www.google.com/search?q=free%20anti-virus http://www.google.com/search?q=free%20anti-virus http://www.google.com/search?q=free%20anti-virus http://www.google.com/search?q=free%20anti-virus http://www.google.com/search?q=free%20a...
- Truce
- Forum: Programming / Scripting / Coding Forum
- Topic: redirect subfolder to new domain ?
- Subject: redirect subfolder to new domain ?
- Replies: 3
- Views: 354
- Subject: redirect subfolder to new domain ?
Posted: February 28th, 2009, 8:41 pm
<?
header("Location: http://subdomain.example.com/<!-- m -->");
exit;
?>
header("Location: http://subdomain.example.com/<!-- m -->");
exit;
?>
- <?
- header("Location: http://subdomain.example.com/<!-- m -->");
- exit;
- ?>
Apache or Lighttpd can do this too...and while it's more appropriate (status codes and such), this gets the job done for what is likely a tiny website.
- Truce
- Forum: Website Design Forum
- Topic: Submitting a form
- Subject: Submitting a form
- Replies: 5
- Views: 252
- Subject: Submitting a form
Posted: February 13th, 2009, 11:05 am
He's also using FrontPage so, the battle is already lost.
- Truce
- Forum: Website Hosting Forum
- Topic: reputable domain registrar
- Subject: reputable domain registrar
- Replies: 21
- Views: 1548
- Subject: reputable domain registrar
Posted: February 13th, 2009, 11:03 am
Go Daddy rocks my socks, but definitely don't use their hosting services.
- Truce
- Forum: Website Design Forum
- Topic: Tableless Website?
- Subject: Tableless Website?
- Replies: 10
- Views: 372
- Subject: Tableless Website?
Posted: February 13th, 2009, 11:02 am
It's more semantic to develop websites without using tables, but it can also be a lot more difficult. If you don't know how to do it one way or another, I recommend learning how to do it tableless, though.
- Truce
- Forum: Programming / Scripting / Coding Forum
- Topic: Free PHP Encoder/Decoder?
- Subject: Free PHP Encoder/Decoder?
- Replies: 1
- Views: 334
- Subject: Free PHP Encoder/Decoder?
Posted: February 13th, 2009, 10:59 am
To my knowledge there really is not a product out there that does that, does it well, and does it free. If the security of your code is more important than usability, you can use a PHP caching program to compile your scripts then and send your compiled copies to your end clients.
- Truce
- Forum: Programming / Scripting / Coding Forum
- Topic: help: remove "https" from menu links on a secure page
- Subject: help: remove "https" from menu links on a secure page
- Replies: 4
- Views: 248
Posted: February 13th, 2009, 10:55 am
Instead of using relative links use absolute links. In other words, instead of just typing "/contact.php", type "http://example.com/contact.php".
- Truce
- Forum: Programming / Scripting / Coding Forum
- Topic: Need help with eval function
- Subject: Need help with eval function
- Replies: 2
- Views: 242
- Subject: Need help with eval function
Posted: January 16th, 2009, 11:09 am
Have you looked at the docs for it?
http://php.net/eval
While it's a complicated construct insofar as escaping content and whatnot, it's relatively straightforward as far as its functionality goes.
Really, though, it's not a good idea to use it for security purposes.
http://php.net/eval
While it's a complicated construct insofar as escaping content and whatnot, it's relatively straightforward as far as its functionality goes.
Really, though, it's not a good idea to use it for security purposes.
- Truce
- Forum: Programming / Scripting / Coding Forum
- Topic: Forum Payment
- Subject: Forum Payment
- Replies: 5
- Views: 334
- Subject: Forum Payment
Posted: December 22nd, 2008, 9:37 pm
If you're charging someone to use something, don't you think it's only fair that you are willing to spend some of that money on building the thing?
- Truce
- Forum: Programming / Scripting / Coding Forum
- Topic: Arrays arrays arrays, creating a manipulating (PHP)
- Subject: Arrays arrays arrays, creating a manipulating (PHP)
- Replies: 9
- Views: 335
Posted: December 22nd, 2008, 9:35 pm
$lines = explode("\n", $queryResult); foreach ($lines as $line) { list($property, $value) = explode('=', $line, 2); $setting[$property] = $value; }

