Ycsoftware.net
Menu
  • Databases
    • MySQL
    • MS SQL Server
    • Foxpro
  • Programming
    • .NET
    • C#
    • Drupal
    • Java
    • PHP
    • Javascript
  • System Administration
    • Hardware
    • Linux
    • MAC
    • Virtual Servers
    • VMWARE
    • Servers
    • VirtualBox
  • Web Design
    • CSS
    • Flash
    • HTML
    • SEO
  • Other
  • Contact Us
    • About Us

Category : PHP

PHP

Why is everybody keep using Mon, 26 Jul 1997 as a date in the past (PHP Headers)?

  • March 2, 2012

In order to disable browser cache on dynamically generated pages, PHP uses the header method below: header(“Expires:  Date_in _the_past”); Over the years most people have been using the following: header(‘Expires: Mon, 26 Jul 1997 05:00:00 … Read more

    • PHP
    • Programming

Shuffle Associative Arrays in PHP

  • November 30, 2011

Dear PHP, Add this to your repo. It will save us a lof of time. function shuffle_assoc ($source_array) { if (!is_array($source_array)) { return false; } $keys = array_keys($source_array); shuffle($keys); foreach ($keys as $key){ $modified_array[$key] = … Read more

    • PHP
    • Programming

Can we finally get a URL regex that works?

  • November 23, 2011

I can’t believe how long it took to find a freaking URL regex that works. A the time of writing that the following are the best ones that are available: http://mathiasbynens.be/demo/url-regex  https://gist.github.com/729294 Zend_Validate shame on … Read more

    • PHP
    • Programming

Files that Starts with Underscores in PHP

  • November 4, 2011

Single Underscore (Drupal) “If you need to define global variables, their name should start with a single underscore followed by the module/theme name and another underscore.” http://drupal.org/coding-standards Zend Framework “For methods on objects that are … Read more

    • PHP
    • Programming

Curly Braces in Codes

  • November 4, 2011
  • 1 comment

Method 1 When I first started learning programming a few years ago, the curly braces style that i have always used was the “Allman Style” The “Allman Style” puts the brace associated with a control … Read more

    • PHP
    • Programming
« Older Posts
Newer Posts »

Search

Search

YCSoftware Recent Comments

Thanks very much !!!...
Just testing...
Awesome, problem solved. Thanks man....
REboot the MAC and Try to redownload the JDK. It might be that the JDK...
When I download the new JDK for Mac it says the disk image is not reco...
You are my hero for posting this....
Greetings! Very useful advice in this particular article! It's the ...
I love what you guys are up too. This type of clever work and reportin...
relates to. To fix that you can either include the path to mysqldump e...
By implementing all these third-party tacked on start menus, all we’...

Tags

.net C# Centos 5 interest internet Microsoft Access Microsoft Office Programming technology thinker vmware vmware tools

Sponsors

YCSoftware
  • © 2025 Ycsoftware.net
Top