How to Remove the Comma from a Number/Money Without Removing Decimal Point in PHP
We've had to develop an internal tool that parses invoice files and extracts their totals.It seems...
Read MoreSelect Page
Posted by Slavi Marinov | Apr 30, 2022 | PHP
We've had to develop an internal tool that parses invoice files and extracts their totals.It seems...
Read MorePosted by Slavi Marinov | Aug 26, 2014 | PHP, Programming
Normally, php mail's function doesn't *work* on Windows because there is no sendmail server running by default. Some people got it working using Fake Sendmail and StunnelĀ & an external service such as Gmail/Yahoo, and...
Read MorePosted by Slavi Marinov | Aug 30, 2009 | Flash, General, PHP
update (2010-05-07): changed the regex to match 25-32 chars. Thanks Krzysztof from the comments. A quote from http://www.uploadify.com site. Uploadify is a jQuery plugin that allows the easy integration of a multiple (or single)...
Read MorePosted by Slavi Marinov | Aug 27, 2009 | PHP, Programming
Sometimes we are required to do some troubleshooting on a production site. In order to do that *safely* we'll show debug information only for us. This could be put into a safe_debug function for later use by the way. On...
Read MorePosted by Slavi Marinov | Aug 25, 2009 | Linux/Unix, Operating Systems, PHP, Programming
Here is how to (always) get your server's a IP address. Works on Unix/Linux. [code language="php"] [/code]
Read More