Jump to content

JonnoTheDev

Staff Alumni
  • Posts

    3,584
  • Joined

  • Last visited

  • Days Won

    3

Everything posted by JonnoTheDev

  1. simple <?php $string = "00000123445"; $string = ereg_replace('^0{0,}', '', $string); print $string; ?>
  2. urldecode() does the opposite to urlencode() restoring the original string. however you should never have filenames or directories containing spaces, never, never, never! especially on the web. you should get used to this on any computer, although windows allows you to create files with spaces in their names you should consider it bad practice. If files are uploaded to your website by a user, your script should modify its filename to make it safe.
  3. visual bollox
  4. who
  5. Yeah. Facebook will make a ton of money more than likely with targeted advertising. Social networking is the prime place for this. With all the data you post its easy for the system to see what you like, dislike, etc so ads you would be interseted in can be served to you, not just random ads. Anyway, Google will probably end up buying it for trillions of $ as they do with everything else.
  6. Early albums were amazing, Shake Your Money Maker. Later albums were poor, Amorica OK. Went crap when they changed guitarist. Got the cd with BC & Jimmy Page, Live at the Greek. All Zeppelin covers, good though.
  7. Although I have been developing web apps for the last 10 years I truly wouldnt know where to begin with a system and setup like that. I mean look at the way images have to be handled, storing images sounds easy but when you have to serve millions of them the process becomes immense. They must have some shit hot developers & techies setting all that up.
  8. All I can say is WOW.
  9. You lot have great taste! There is no greater band than Zeppelin. Sabbath Floyd Deep Purple Free Bad Company Excellent! Cags you are a fellow guitarist, nice.
  10. yep. wonder how google will deal with this for analytics code on your website
  11. It has been approved http://www.out-law.com/page-10510
  12. Yep Was made back in 2007 with a budget of about $15k. Think Spielberg picked up on it and along with a viral marketing campaign its been put on the big screen. Took over $90 million on the box office. Not a bad return eh? http://www.imdb.com/title/tt1179904/
  13. Watched this at the weekend. Not even remotely scary. I was expecting to be crapping myself for days. total letdown. The trailers show all the jumpy bits so you know what is going to happen. Anyone else seen it?
  14. I have absolutely no idea what that means. I don't care. It's 5:30. I'm going home to get drunk. Goodbye. Gone.
  15. Even better. But obviously still get paid for the full week, and just work 8 hours.
  16. 3 minutes till hometime in the UK. Come on, come on, come on.....
  17. Read this http://bytes.com/topic/php/answers/519599-problems-installing-pear-winxp
  18. Absolutely. The working week should be Tuesday to Thursday. Mondays are a nightmare and nobody feels like doing anything on a Friday.
  19. JonnoTheDev

    TGIF

    Thank God it's Friday! Amen
  20. The mail() function will not work on a windows xp local desktop as there is no mail transfer agent available for php to use i.e sendmail on a webserver. You can use a Yahoo, Gmail or whatever SMTP server but unfortunately they require authentication which you cannot supply in your php configuration. So the answer is to use a library that can support SMTP i.e http://pear.php.net/package/Mail http://swiftmailer.org/
  21. We've just found Osama
  22. There is no coding and this has nothing to do with php. SSL is an extra layer on your web server. If your server is running linux this is how to create a CSR which enables you to purchase an SSL certificate. http://www.geotrust.com/resources/csr/apache_mod_ssl.htm Once you have been given a key you must upload to your web server and change the apache configuration for the domain in question. There will be posts on the server administration board explaining in more detail.
  23. Import the xls file into Access and then export from there.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.