Hi,
On Fri, Nov 01, 2013 at 11:06:29AM -0400, leam hall wrote:
Despite my best efforts to ignore preg_replace...
Why? :)
PHP Warning: preg_replace(): Delimiter must not be alphanumeric or
backslash
Thoughts?
You are just using it wrong.
also guessing even if we did
implement this API, exposing it as a Web Service is going to be tricky
for performance sake (given that I've read that COM doesn't
multithread very well??)
Many Thanks
Adam.
On 14 July 2013 22:16, Andrew Ballard aball...@gmail.com wrote:
On Sun, Jul 14, 2013 at 3:18 PM
Richard - I've tried that I get an error about it not being defined as
property of the object.
Andrew - do you mean try using the method Richard has shown?
Cheers
Adam.
On 13 July 2013 17:11, Richard Quadling rquadl...@gmail.com wrote:
On 13 July 2013 01:24, Andrew Ballard aball
of parameters
$Record-Fields('BANK_fld_ACCOUNT_NAME', 'Test Account');
I've also tried something crazy like this (below) but that overwrites
the $Record object.
$_R = $Record-Fields('BANK_fld_ACCOUNT_NAME');
$_R = 'Test Account';
Any ideas? Is it possible?
Many Thanks
Adam Nicholls
--
PHP General
On Sat, Jun 01, 2013 at 09:41:33PM +0200, Csanyi Pal wrote:
Hi,
I just upgraded Squeeze to Wheezy, and have difficulties with cURL PHP
extension: I can't enable it.
I have installed following packages related to this issue:
curl, libcurl3, libcurl3-gnutls, php5-curl.
I have in
On Sat, Jun 01, 2013 at 09:41:33PM +0200, Csanyi Pal wrote:
Hi,
I just upgraded Squeeze to Wheezy, and have difficulties with cURL PHP
extension: I can't enable it.
I have installed following packages related to this issue:
curl, libcurl3, libcurl3-gnutls, php5-curl.
I have in
This is more of an apache question.
You can try below url.
http://lmgtfy.com/?q=mod_rewrite+exclude+css
On 1 June 2013 21:39, Farzan Dalaee farzan.dal...@gmail.com wrote:
i starting to use mod rewrite but all my images or js links doest work
my current query string is:
offers performance improvements. I don't suspect the migration from
SQL Server 2003 to 2008 caused any of these issues.
So, any ideas we can try?
We'd probably have to know more about what the netsh calls were doing.
Adam
--
Nephtali: A simple, flexible, fast, and security-focused PHP
Checkout HipHop by the Facebook guys, it turns PHP into C code and compiles
down to binary.
...although I don't think it's for the faint hearted.
Have you tried other optimisation techniques first - eg Caching, and
Profiling?? If this is a production environment you might wanna think about
On Sun, 2013-02-17 at 21:26 -0600, tamouse mailing lists wrote:
On Sat, Feb 16, 2013 at 2:30 PM, B. Aerts ba_ae...@yahoo.com wrote:
- the biggest mistake: apparently I commented the fwrite() call to the
stream, which explains why he went in time-out ... (in this case, please DO
shoot the
there is a PHP equivalent.
--
Adam Tauno Williams awill...@whitemice.org
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
whipped this up so I could ditch Dreamweaver Templates
(which I used so the templating happened prior to runtime, too), as
I'm trying to save some money and I don't want to upgrade to the next
version :)
Happy Friday!
Adam
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit
off the faucet in between spitting into the sink even
though monitoring showers can do much more to save water, when I see
simple ways I can consistently save cycles, I try to implement them :)
Adam
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net
'secialservice' is just a typo), as any subsequent assignments would
overwrite the previous value.
Adam
--
Nephtali: A simple, flexible, fast, and security-focused PHP framework
http://nephtaliproject.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net
string is one of the values that evaluates to
false:
- (an empty string)
- 0 (0 as an integer)
- 0.0 (0 as a float)
- 0 (0 as a string)
- NULL
- FALSE
- array() (an empty array)
- $var; (a variable declared, but without a value)
Adam
--
Nephtali: A simple, flexible, fast, and security-focused PHP
API for free
(or at least cheaper)?
Thanks.
Not really a PHP question, but just FYI, Paypal and other providers provide
micropayments options:
https://www.paypalobjects.com/IntegrationCenter/ic_micropayments.html
Adam
--
Nephtali: A simple, flexible, fast, and security-focused PHP framework
, 2013 at 4:26 AM, ma...@behnke.biz ma...@behnke.biz wrote:
Adam Tong adam.to...@gmail.com hat am 10. Februar 2013 um 23:41 geschrieben:
Hi,
We had an issue with the code of a junior php developer that used
fopen to load images using the url of the companies website that is
load balanced.
We
Hi,
We had an issue with the code of a junior php developer that used
fopen to load images using the url of the companies website that is
load balanced.
We could not the detect the problem in dev and test because the dev
and test servers are not load balanced.
I know that he could load the
On Sun, Feb 10, 2013 at 5:41 PM, Adam Tong adam.to...@gmail.com wrote:
Hi,
We had an issue with the code of a junior php developer that used
fopen to load images using the url of the companies website that is
load balanced.
We could not the detect the problem in dev and test because
);
imap_mail_move($mbox,$messageset,$newmbox_name);
imap_expunge($mbox);
}
Where is the variable $msg_no coming from?
Adam
--
Nephtali: A simple, flexible, fast, and security-focused PHP framework
http://nephtaliproject.com
at the
decimal, then scanning the second string for the first non-zero and storing
the subsequent characters. Working with floats at that precision level
would likely lead to tragic results:
10.0 times .1 is hardly ever 1.0
http://www.eg.bucknell.edu/~xmeng/Course/CS2330/Handout/StyleKP.html
Adam
--
Nephtali
/manual/en/migration54.incompatible.php,
http://php.net/manual/en/migration53.incompatible.php), you could try to
avoid the PHP bindings Uwe developed and merely use PHP to call a C program
that directly deals with his project pslib:
http://pslib.sourceforge.net/
Sorry for the trouble,
Adam
://www.php.net/manual/en/language.references.pass.php
Adam
--
Nephtali: A simple, flexible, fast, and security-focused PHP framework
http://nephtaliproject.com
On Sun, Nov 18, 2012 at 3:29 PM, tamouse mailing lists
tamouse.li...@gmail.com wrote:
There are certain times I'd like to include all files in a given
directory (such as configuration stuff that is split out by type, a la
apache conf.d). Anyone have something handy that implements that?
with the standard key casts for arrays:
http://php.net/manual/en/language.types.array.php
Try dumping the array before the serialize operations.
Adam
--
Nephtali: A simple, flexible, fast, and security-focused PHP framework
http://nephtaliproject.com
:
http://toys.lerdorf.com/archives/38-The-no-framework-PHP-MVC-framework.html
Adam
--
Nephtali: A simple, flexible, fast, and security-focused PHP framework
http://nephtaliproject.com
create the appearance of this.)
Adam
--
Nephtali: A simple, flexible, fast, and security-focused PHP framework
http://nephtaliproject.com
Hi,
I need to develop a rest API.I want your feedback on how you develop
rest apis. I don't want to use a heavy framework just for that, and I
find url rewriting time consuming.
Any suggestions?
Thank you
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
UTC] PHP Fatal error: Call to a member function
prepare() on a non-object in html/index.html on line 23
Can you show the code in db.php (just remember to remove any login
credentials)? It looks like there's an issue creating the $db object
you're using.
Adam
--
Nephtali: A simple, flexible
that could cause some issues.
Adam
--
Nephtali: A simple, flexible, fast, and security-focused PHP framework
http://nephtaliproject.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
.
Why is this? What's going on?
The server's time could be wrong. Or, code somewhere could be
(re)setting the timezone.
Adam
--
Nephtali: A simple, flexible, fast, and security-focused PHP framework
http://nephtaliproject.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe
, but I keep running into issues with the stream wrapper and
fread, stream_get_content functions.
You could just use the XML Parser (SAX) as it doesn't require loading
the entire document into memory:
http://php.net/manual/en/book.xml.php
Adam
--
Nephtali: A simple, flexible, fast, and security
is what you expect to handle/manipulate
foreach ($a3 as $val) {
echo $val
}
Here, the clunkiness is the redundancy in the array, but, as Claude
Shannon has demonstrated, redundancy isn't all bad :)
Adam
--
Nephtali: A simple, flexible, fast, and security-focused PHP framework
http
On Fri, Sep 14, 2012 at 9:40 PM, Joe Watkins joe.watk...@live.co.uk wrote:
https://github.com/krakjoe/pthreads
Windows Download on downloads page, it's a couple of days behind. Keep
watching ... enough to get you started ...
That's pretty slick, Joe. Nice work!
Adam
--
Nephtali: A simple
cute, I could store the value in the key (e.g.,
array('value 1' = 0, 'value 2' = 0, ...)), and that allows me to use
the '+' operator. In spite of the nice performance benefits of this
approach (leveraging the hashes benefits), the code that utilizes the
arrays becomes quite clunky.
Thanks,
Adam
.
What about PDO? Is that available?
Adam
--
Nephtali: A simple, flexible, fast, and security-focused PHP framework
http://nephtaliproject.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
a templating framework with input
validation capabilities.
Adam
--
Nephtali: A simple, flexible, fast, and security-focused PHP framework
http://nephtaliproject.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Tue, Aug 28, 2012 at 7:39 AM, Matijn Woudt tijn...@gmail.com wrote:
On Tue, Aug 28, 2012 at 3:49 AM, Adam Richardson simples...@gmail.com wrote:
On Mon, Aug 27, 2012 at 6:54 PM, Matijn Woudt tijn...@gmail.com wrote:
On Mon, Aug 27, 2012 at 10:56 PM, Haluk Karamete
halukkaram...@gmail.com
On Tue, Aug 28, 2012 at 3:28 PM, Matijn Woudt tijn...@gmail.com wrote:
On Tue, Aug 28, 2012 at 7:18 PM, Adam Richardson simples...@gmail.com wrote:
Finally, you're the first one that actually has measured something.
You should redo your test with real world files, because in real world
-joking line :)
If build a blog using Wordpress, build Wordpress using Drupal, build a
Drupal using Symfony2, I'd feel the same way I feel after drinking
several beers, eating a pizza, snacking on some hot wings, and
polishing it all off with a banana split: bloated :)
Adam
--
Nephtali: A simple
, even if they're unused), is
certainly going to perform more slowly than selectively including the
library on only the pages that need the library.
Adam
--
Nephtali: A simple, flexible, fast, and security-focused PHP framework
http://nephtaliproject.com
--
PHP General Mailing List (http
/developerworks/opensource/library/os-php-secure-apps/index.html
Happy learning!
Adam
--
Nephtali: A simple, flexible, fast, and security-focused PHP framework
http://nephtaliproject.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ideas :)
Adam
--
Nephtali: A simple, flexible, fast, and security-focused PHP framework
http://nephtaliproject.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
a syntax
error for this type of example.
Adam
--
Nephtali: A simple, flexible, fast, and security-focused PHP framework
http://nephtaliproject.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
should be much easier to manage. I don't think
there's a right tool for the job, but I do believe some language
environments may better facilitate this specific type of development.
Have fun!
Adam
--
Nephtali: A simple, flexible, fast, and security-focused PHP framework
http://nephtaliproject.com
to J K
Rowling!) - people just don't appreciate the magic involved behind the scenes
in usability, infrastructure, application logic etc.
Thanks
Adam.
=
This email is intended solely for the recipient and is confidential
with areas of the language you might not normally use, you
might want to get inventive with the Reflection class to check actions or
controllers exist and then forward the user to a 404 page later on.
Cheers
Adam
);
mysql_select_db('db2',$db2);
// do your queries with $DB1
$result = mysql_query(delete from userprefs where
clientr=.mysql_real_escape_string($user,$db1)., $db1);
// do your queries again with $DB1
mysql_close($db1);//close db1
mysql_close($db2);//close db2
Cheers
Adam
to database');
You had been keeping the password secret, but it looks like you
accidentally leaked it, so a replacement might be in order :)
Glad you got it fixed. Typos can be little buggers to find sometimes.
Adam
--
Nephtali: A simple, flexible, fast, and security-focused PHP framework
http
On Fri, Jun 8, 2012 at 12:37 PM, Ethan Rosenberg eth...@earthlink.net wrote:
Is it possible to have a meeting of the minds to come up with (an)
appropriate method(s)?
Minds, meet prepared statements :)
Adam
--
Nephtali: A simple, flexible, fast, and security-focused PHP framework
http
):
http://en.wikipedia.org/wiki/Power_set
Adam
--
Nephtali: A simple, flexible, fast, and security-focused PHP framework
http://nephtaliproject.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
this configuration in your server configuration file will
result in less of a performance hit, as the configuration is loaded
once when httpd starts, rather than every time a file is requested.
Adam
--
Nephtali: A simple, flexible, fast, and security-focused PHP framework
http://nephtaliproject.com
',
your session has already terminated.
Try removing the session_commit() calls (or at least permanently
remove the first call.) You only want to call session_commit() when
you're done accessing/updating $_SESSION variables.
Adam
--
Nephtali: A simple, flexible, fast, and security-focused PHP
++; // increment k since it starts at 0, instead of 1
if ( strlen( trim( $v ) ) ) {
echo lia href=\http://www.theverseoftheday.info/store-images/;
. $v . \ title=\Image . $k . \Image . $k . /a/li\r\n;
}
}
Adam.
On Sun, Apr 1, 2012 at 8:52 PM, Ron Piggott
ron.pigg
, .20, and .21 respectively.
http://www.coverity.com/html/press/open-source-code-quality-on-par-with-proprietary-code-in-2011-coverity-scan-report.html
Very nice! Thanks for sharing, Kirk.
Adam
--
Nephtali: A simple, flexible, fast, and security-focused PHP framework
http://nephtaliproject.com
and then always use
json_encode to generate the JSON as needed.
Adam
--
Nephtali: A simple, flexible, fast, and security-focused PHP framework
http://nephtaliproject.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
;
}
}
Then, you can just write:
$first_name = s('first_name', p('first_name'));
Adam
--
Nephtali: A simple, flexible, fast, and security-focused PHP framework
http://nephtaliproject.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
the
perfect solution. :(
Many thanks in advance for the help!
Cheers,
Micky
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Out of curiosity, why are you worried about the order of elements in an
associative array?
Thanks,
Adam
, visit: http://www.php.net/unsub.php
I tend to set up a custom error handler that throws exceptions
(set_error_handler()), then set up an exception handler
(set_exception_handler()) that logs the backtrace (or saves it to a db)
available using debug_backtrace().
Adam
--
Nephtali: A simple
Saw this on the Clojure list and thought it was worth sharing here, too:
http://vimeo.com/36579366
Worth the hour of time to watch it, as it has some great ideas for
improving the experience of developers.
Adam
--
Nephtali: A simple, flexible, fast, and security-focused PHP framework
http
0x7fa177531767 in ?? ()
#16 0x7fa177531a7a in ?? ()
#17 0x7fa177531dab in ap_mpm_run ()
#18 0x7fa177509900 in main ()
--
System Network Administrator [ LPI NCLA ]
http://www.whitemiceconsulting.com
OpenGroupware Developer http://www.opengroupware.us
Adam Tauno Williams
--
PHP
On Mon, 2012-02-20 at 20:02 +0100, Matijn Woudt wrote:
On Mon, Feb 20, 2012 at 7:21 PM, Adam Tauno Williams
awill...@whitemice.org wrote:
php-5.3.3-3.el6_2.6.x86_64
2.6.32-220.4.2.el6.x86_64
The PHP session file. Originally I had a tmpfs mounted for the session
files. I removed
It is pretty convenient that SimpleXMLElement allows you to grab URL's, but
curl allows me to manually set a timeout limit (along with many other
things, although they're not necessarily needed in Rob's example), so I
tend to use curl in this type situation, too.
Adam
--
Nephtali: A simple
contents
of the url \''.$url.'\'. CURL error number:'.$error_no);
I wonder if you transaction is timing out, which you can set as below:
curl_setopt($ch, CURLOPT_TIMEOUT, $transaction_timeout = 2);
Adam
--
Nephtali: A simple, flexible, fast, and security-focused PHP framework
http
..
Higher-order functions:
http://programmers.stackexchange.com/questions/72557/how-do-you-design-programs-in-haskell-or-other-functional-programming-languages
Adam
--
Nephtali: A simple, flexible, fast, and security-focused PHP framework
http://nephtaliproject.com
On Mon, Feb 6, 2012 at 4:07 AM, Tim Streater t...@clothears.org.uk wrote:
On 06 Feb 2012 at 07:47, Adam Richardson simples...@gmail.com wrote:
While not purely focused on PHP, I toss this out to the group because I
believe there are some novel, interesting points regarding the potential
On Mon, Feb 6, 2012 at 4:25 AM, Adam Richardson simples...@gmail.comwrote:
On Mon, Feb 6, 2012 at 4:07 AM, Tim Streater t...@clothears.org.uk wrote:
On 06 Feb 2012 at 07:47, Adam Richardson simples...@gmail.com wrote:
While not purely focused on PHP, I toss this out to the group because I
On Mon, Feb 6, 2012 at 10:05 AM, Robert Cummings rob...@interjinn.comwrote:
On 12-02-06 04:07 AM, Tim Streater wrote:
On 06 Feb 2012 at 07:47, Adam
Richardsonsimpleshot@gmail.**comsimples...@gmail.com
wrote:
While not purely focused on PHP, I toss this out to the group because I
arithmetic, limiting one are
of potential trouble:
http://golang.org/doc/go_for_cpp_programmers.html#Conceptual_Differences
Interesting.
Adam
--
Nephtali: A simple, flexible, fast, and security-focused PHP framework
http://nephtaliproject.com
of work! Interesting that C++ was not allowed.
Thanks for the background information,
Adam
--
Nephtali: A simple, flexible, fast, and security-focused PHP framework
http://nephtaliproject.com
On Mon, Feb 6, 2012 at 11:58 AM, Tim Streater t...@clothears.org.uk wrote:
On 06 Feb 2012 at 09:48, Adam Richardson simples...@gmail.com wrote:
On Mon, Feb 6, 2012 at 4:25 AM, Adam Richardson simples...@gmail.com
wrote:
On Mon, Feb 6, 2012 at 4:07 AM, Tim Streater t...@clothears.org.uk
don't use PHP to handle this aspect of the development.
Adam
--
Nephtali: A simple, flexible, fast, and security-focused PHP framework
http://nephtaliproject.com
for that kind of scenarios.
Marco,
Do you know of any research (Human Factors, Bug Analysis, etc.) that
supports this? I'm certainly not saying that your assertion is incorrect.
However, I'm starting to compile relevant research related to this topic.
Thanks,
Adam
--
Nephtali: A simple
On Mon, Feb 6, 2012 at 3:50 PM, Adam Richardson simples...@gmail.comwrote:
On Mon, Feb 6, 2012 at 12:58 AM, Paul M Foster pa...@quillandmouse.comwrote:
This is sort of obliquely related to PHP.
I don't have a smart phone, but I need to know a couple of things:
1) Do smart phones use
Hi,
While not purely focused on PHP, I toss this out to the group because I
believe there are some novel, interesting points regarding the potential
benefits of using the goto construct as implemented in PHP:
http://adamjonrichardson.com/2012/02/06/long-live-the-goto-statement/
Adam
On Sun, Jan 29, 2012 at 11:38 AM, Tedd Sperling tedd.sperl...@gmail.comwrote:
On Jan 27, 2012, at 12:45 PM, Adam Richardson wrote:
On Fri, Jan 27, 2012 at 12:09 PM, Tedd Sperling tedd.sperl...@gmail.com
wrote:
On Jan 11, 2012, at 9:24 PM, tamouse mailing lists wrote:
Is there ever
:
http://stackoverflow.com/questions/279966/php-self-vs-path-info-vs-script-name-vs-request-uri
Adam
--
Nephtali: A simple, flexible, fast, and security-focused PHP framework
http://nephtaliproject.com
Hi,
I am trying to read variables from input method.
I am using this tuorial:
http://www.lornajane.net/posts/2008/Accessing-Incoming-PUT-Data-from-PHP.
Here is my code:
?php
if($_SERVER['REQUEST_METHOD'] == 'GET') {
echo this is a get request\n;
echo $_GET['fruit']. is the fruit\n;
/bug.php?id=39968
Adam
--
Nephtali: A simple, flexible, fast, and security-focused PHP framework
http://nephtaliproject.com
manner by
several on the list.
Adam
--
Nephtali: A simple, flexible, fast, and security-focused PHP framework
http://nephtaliproject.com
, as I think
it's most beneficial to stay with the established conventions in any
codebase (unless you're establishing a new convention and refactoring the
entire code base.) This is just my general preference, and I don't believe
there is consensus as to the most appropriate.
Adam
--
Nephtali
-mode-useful-for-anything
Adam
(Sorry for the duplicate, Rick, I forgot to reply all the first time.)
--
Nephtali: A simple, flexible, fast, and security-focused PHP framework
http://nephtaliproject.com
to decrypt too?
You're normally right, Matijn,
However, ECB mode doesn't use an IV, so even though he's generating an IV,
it's not being used (and, the benefit of an IV is one of the main reasons
you try to avoid ECB.)
Adam
--
Nephtali: A simple, flexible, fast, and security-focused PHP framework
On Wed, Nov 30, 2011 at 4:25 PM, Matijn Woudt tijn...@gmail.com wrote:
On Wed, Nov 30, 2011 at 10:18 PM, Adam Richardson simples...@gmail.com
wrote:
On Wed, Nov 30, 2011 at 4:14 PM, Matijn Woudt tijn...@gmail.com wrote:
On Wed, Nov 30, 2011 at 9:57 PM, Rick Dwyer rpdw...@earthlink.net
Hi,
*Heres the documentation:*
http://phpexcel.codeplex.com/releases/view/45412#DownloadId=212183
In user doc:
*4.2 Reading Only Named WorkSheets from a File*
*
*
and you can get all the sheet names:
http://www.auditbureau.org.au/a/Documentation/API/PHPExcel/PHPExcel.html#methodgetSheetNames
List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Make sure PHP has the permissions needed to delete and create files in the
directory.
Adam
--
Nephtali: A simple, flexible, fast, and security-focused PHP framework
http://nephtaliproject.com
using
error_log() works very well.
Adam
--
Nephtali: A simple, flexible, fast, and security-focused PHP framework
http://nephtaliproject.com
Distraction would elicit such
a broad range of responses AND keep the commentary coming right through to
the next Friday.
Nice :)
Adam
--
Nephtali: A simple, flexible, fast, and security-focused PHP framework
http://nephtaliproject.com
/manual/en/intro.xmlreader.php
In terms of dealing with various forms of compression, I believe you con use
the compression streams to handle this:
http://stackoverflow.com/questions/1190906/php-open-gzipped-xml
http://us3.php.net/manual/en/wrappers.compression.php
Adam
--
Nephtali: A simple
hi,
try to use print_r or var_dump to echo compound data type
://www.php.net/manual/en/errorfunc.constants.php):/dtdd$errno/dddtError
Message:/dtdd$errstr/dddtFile:/dtdd$errfile/dddtLine:/dtdd$errline/dd/dl;
throw new \Exception($error_msg);
}
}
set_error_handler('error_handler');
I just pulled some quick code from my web framework.
Adam
--
Nephtali
of floating
points (http://php.net/manual/en/language.types.float.php), you can use
PHP's BC Math functions to enforce arbitrary precision:
http://www.php.net/manual/en/ref.bc.php
http://www.php.net/manual/en/ref.bc.php
Adam
--
Nephtali: A simple, flexible, fast, and security-focused PHP
2011/7/18 Richard Quadling rquadl...@gmail.com
2011/7/18 Martín Marqués martin.marq...@gmail.com:
Any ideas?
For financial values, I use the money type.
I use MS SQL, but PostgreSQL has
http://www.postgresql.org/docs/9.0/interactive/datatype-money.html
The version of PostgreSQL plays
on my Apache 2
(2.2.17) / PHP (5.3.5) Web Server!
Did you reload or restart apache after making the edits to php.ini? For
example:
$ /etc/init.d/apache2 restart
Adam
--
Nephtali: A simple, flexible, fast, and security-focused PHP framework
http://nephtaliproject.com
I'll try it on my PHP 5.3 web framework later today. Thanks for working on
this project!
Adam
2011/6/29 Ondřej Nešpor kon...@andrewsville.cz
Hi everybody!
We'd like to introduce you our documentation generator - ApiGen 2. We use
it as a replacement for PhpDocumentor (that is not being
Hi,
I wanted tu use php filters for validation to avoid regular expresions.
Is it possible that FILTER_VALIDATE_URL only checks if the string has
http:// and do not check for the format domain.something?
$url = 'http://wwwtestcom';
$url = filter_var($url,FILTER_VALIDATE_URL);
echo $url;
, David Nicholls d...@dcnicholls.com wrote:
On 23/06/11 12:23 AM, Adam Balogh wrote:
hi,
you have a PM(/AM) in your date ($d[0]), so put an A (Uppercase Ante
meridiem and Post meridiem) format char to your $format variable.
b3ha
Thanks, Adam. Tried that and it's now throwing an error
possible :-/.
i hope this makes sense.
i'm truly stuck!
kind regards
Adam Preece
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
. Buskirk
-Original Message-
From: Adam Tong [mailto:adam.to...@gmail.com]
Sent: Monday, June 06, 2011 9:49 PM
To: php-general@lists.php.net
Subject: [PHP] Can't use class 'DOMDocument
Hi,
When I try using DOMDocument I get the following error:
Fatal error: Class 'DOMDocument
to build an array and use the [cat_name] as the key and assign
all the pages to that cat_name?
what im trying to achieve is a category of pages but i want the cat_name as the
key to all the pages associated to it
hope i make sense
kind regards
Adam
--
PHP General Mailing List (http
1 - 100 of 1386 matches
Mail list logo