Search found 1470 matches

Actual Results

Post 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.

Post Posted: June 20th, 2009, 11:18 pm

Use MAMP instead.

Post 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...

Post 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...

Post 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...

Post 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...

Post Posted: February 28th, 2009, 8:41 pm

PHP Code: [ Download ] [ Select ]
<?
 
header("Location: http://subdomain.example.com/<!-- m -->");
exit;
 
?>
  1. <?
  2.  
  3. header("Location: http://subdomain.example.com/<!-- m -->");
  4. exit;
  5.  
  6. ?>


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.

Post Posted: February 13th, 2009, 11:05 am

He's also using FrontPage so, the battle is already lost.

Post Posted: February 13th, 2009, 11:03 am

Go Daddy rocks my socks, but definitely don't use their hosting services.

Post 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.

Post 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.

Post 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".

Post 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.

Post 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?

Post Posted: December 22nd, 2008, 9:35 pm

PHP Code: [ Download ] [ Select ]
$lines = explode("\n", $queryResult);   foreach ($lines as $line) {   list($property, $value) = explode('=', $line, 2);   $setting[$property] = $value; }
Personally, I try to keep things less complicated... There's a joke about property values exploding (real estate) somewhere i...
  • Sort by
 
 

© Unmelted Enterprises 1998-2009. Driven by phpBB © 2001-2009 phpBB Group.