Re: [PHP] Error in portuguese translation of substr_compare

2011-12-31 Thread Daniel P. Brown
/) To unsubscribe, visit: http://www.php.net/unsub.php -- /Daniel P. Brown Dedicated Servers, Cloud and Cloud Hybrid Solutions, VPS, Hosting (866-) 725-4321 http://www.parasane.net/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Split

2011-12-13 Thread Daniel Brown
. Instead, what you're looking for is explode(). Give that a try and you should be good to go. -- /Daniel P. Brown Network Infrastructure Manager http://www.php.net/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] RE: php-general Digest 9 Dec 2011 20:09:28 -0000 Issue 7604

2011-12-12 Thread Daniel P. Brown
there as a user note, I would delete it. I put up a big sign on the page for posting user notes months ago, complete with an XKCD strip, but somehow still, no one seems to notice it (or read it, at least). -- /Daniel P. Brown Dedicated Servers, Cloud and Cloud Hybrid Solutions, VPS, Hosting (866-) 725

Re: [PHP] Virus warning

2011-12-11 Thread Daniel Brown
the warning email, but I wondered if anyone else was having the same issue? Ash; If you can, forward me the full message (off-list, of course), headers and all. I'll take a look at it and see what's up. -- /Daniel P. Brown Network Infrastructure Manager http://www.php.net/ -- PHP General

Re: [PHP] Virus warning

2011-12-11 Thread Daniel Brown
On Sun, Dec 11, 2011 at 10:40, HallMarc Websites m...@hallmarcwebsites.com wrote: [] I got it too this morning. :\ Are you you guys referring to the ezmlm warning for 315869? -- /Daniel P. Brown Network Infrastructure Manager http://www.php.net/ -- PHP General Mailing List (http

Re: [PHP] Virus warning

2011-12-11 Thread Daniel Brown
blocked. If you read through the full text of the email, you'll see that not only is there nothing about which to be concerned, but actually to be admired: your email filters did their job. -- /Daniel P. Brown Network Infrastructure Manager http://www.php.net/ -- PHP General Mailing List (http

Re: [PHP] Looking for PHP/JS/MySQL gurus in the Northern VA area

2011-12-08 Thread Daniel Brown
. In the meantime, have you tried CraigsList to at least get a few leads? -- /Daniel P. Brown Network Infrastructure Manager http://www.php.net/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] AW: Question about PHP FPM and shared memory

2011-12-01 Thread Daniel Betz
The answer for the problem is raising the vm.max_map_count via sysctl. -Ursprüngliche Nachricht- Von: Daniel Betz [mailto:db...@df.eu] Gesendet: Mittwoch, 23. November 2011 15:56 An: php-general@lists.php.net Betreff: [PHP] Question about PHP FPM and shared memory Hello list, I

Re: [PHP] Auto CRUD Generator

2011-11-29 Thread Daniel Brown
with database structure changes. -- /Daniel P. Brown Network Infrastructure Manager http://www.php.net/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Question about PHP FPM and shared memory

2011-11-23 Thread Daniel Betz
memory (12) The server is 32bit :( and has 12GB of ram. I have tried to raise the SHMMAX and SHMALL settings via sysctl, but the problem isn't gone. Do you have any hints ? Thx and greetings, Daniel -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

Re: [PHP] Frivolous Friday Fun!

2011-11-11 Thread Daniel Brown
is part of a larger group. Please watch your presumptions of being force-included into said group, as the statement is valid regardless of anyone's personal opinion. ;-P -- /Daniel P. Brown Network Infrastructure Manager http://www.php.net/ -- PHP General Mailing List (http://www.php.net

Re: [PHP] Writing out errors to a file

2011-11-04 Thread Daniel Brown
to tweak your site settings, or one in each and every directory with different settings (which would be a nightmare, but it's still possible). -- /Daniel P. Brown Network Infrastructure Manager http://www.php.net/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

Re: [PHP] 你有宝宝吗?免费送给宝宝的礼物。

2011-11-01 Thread Daniel Brown
2011/11/1 Sharl.Jimh.Tsin amoiz.sh...@gmail.com: advertisement,ban it plz. We know what it is, please do not reply to SPAM on the list. Just mark it as SPAM and ignore it in the future. -- /Daniel P. Brown Network Infrastructure Manager http://www.php.net/ -- PHP General Mailing List

Re: [PHP] Array has `trailing comma`, why not the same for function parameter list?

2011-10-31 Thread Daniel Brown
/ (with the bug type as a Feature/Change Request). -- /Daniel P. Brown Network Infrastructure Manager http://www.php.net/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Friday Distraction

2011-10-28 Thread Daniel Brown
On Fri, Oct 28, 2011 at 05:03, Adam Richardson simples...@gmail.com wrote: Well, Daniel, I'll bet you never thought that your Friday Distraction would elicit such a broad range of responses AND keep the commentary coming right through to the next Friday. Nice :) This is nothing compared

Re: [PHP] Execute permission question

2011-10-28 Thread Daniel Brown
. If you're doing it on php1.net, you're safe. The only damage that can happen on that server is to your own account. That's unfortunately not true of all hosting providers, but you're good there. ;-P -- /Daniel P. Brown Network Infrastructure Manager http://www.php.net/ -- PHP General Mailing List

Re: [PHP] Friday Distraction

2011-10-28 Thread Daniel Brown
this week would otherwise have been nothing but a picture of a hydraulic jack, useful for lifting the respective rocks from those who have been living beneath them. -- /Daniel P. Brown Network Infrastructure Manager http://www.php.net/ -- PHP General Mailing List (http://www.php.net

Re: Re: [PHP] Why does this script run out of memory?

2011-10-28 Thread Daniel Brown
, or use mysql_unbuffered_query(). -- /Daniel P. Brown Network Infrastructure Manager http://www.php.net/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Why does this script run out of memory?

2011-10-28 Thread Daniel Brown
into this comment area, in which the memory will only further increase. If *presumed* should be replaced by *ASSumed* in this case, skip mysql_unbuffered_query() and go straight for mysql_num_rows(). Do not pass GO. Do not collect $200. -- /Daniel P. Brown Network Infrastructure Manager http

Re: [PHP] BP for Looping through an Array

2011-10-28 Thread Daniel Brown
) {                doThisWith($currFile);                doThatWith($key+1);        } See also: http://php.net/array_walk -- /Daniel P. Brown Network Infrastructure Manager http://www.php.net/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Why does this script run out of memory?

2011-10-28 Thread Daniel Brown
. -- /Daniel P. Brown Network Infrastructure Manager http://www.php.net/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] mysql_fetch_array() vs mysql_fetch_assoc() WAS: Re: [PHP] Why does this script run out of memory?

2011-10-28 Thread Daniel Brown
in bytes of the strings used as keys in mysql_fetch_assoc(). -- /Daniel P. Brown Network Infrastructure Manager http://www.php.net/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] mysql_fetch_array() vs mysql_fetch_assoc() WAS: Re: [PHP] Why does this script run out of memory?

2011-10-28 Thread Daniel Brown
On Fri, Oct 28, 2011 at 18:48, Jim Long p...@umpquanet.com wrote: I'm not seeing any numeric keys in my mysql_fetch_assoc() arrays. You're absolutely correct, that's my mistake: substitute mysql_fetch_row() for mysql_fetch_assoc(). Duh. Time to call it a week -- /Daniel P. Brown

Re: [PHP] Friday Distraction

2011-10-28 Thread Daniel Brown
/?action=viewcurrent=ScreenShot2011-10-24at74724PM.png Ends up looking startlingly like the original Sim City. -- /Daniel P. Brown Network Infrastructure Manager http://www.php.net/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Question reading a file

2011-10-27 Thread Daniel Brown
the code as expected. Resolution: str_replace('','lt;',str_replace('','gt;',$data)); Technically, only the less-than symbols need to be replaced, but you may as well - as Charley Jordan says - Keep It Clean. -- /Daniel P. Brown Network Infrastructure Manager http://www.php.net/ -- PHP

Re: [PHP] Execute permission question

2011-10-27 Thread Daniel Brown
(such as those run via CGI) will usually need to be executable. You may recall, back in the 90's, that any Perl scripts you'd upload to your cgi-bin needed to be chmod'd to 0755. -- /Daniel P. Brown Network Infrastructure Manager http://www.php.net/ -- PHP General Mailing List (http://www.php.net

Re: [PHP] Execute permission question

2011-10-27 Thread Daniel Brown
instructing the shell to do so itself. To see how to limit PHP's shell access, look into safe_mode and the like. -- /Daniel P. Brown Network Infrastructure Manager http://www.php.net/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Help with redeclare error

2011-10-27 Thread Daniel Brown
if it's already been done within the execution of the code. -- /Daniel P. Brown Network Infrastructure Manager http://www.php.net/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Geo IP Location help needed...

2011-10-25 Thread Daniel Brown
, but in the case of small and local ISPs, academic institutions, et cetera, it's pretty accurate. -- /Daniel P. Brown Network Infrastructure Manager http://www.php.net/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: [PHP-DEV] 5.4.0 beta2

2011-10-24 Thread Daniel Convissor
Hi Stas: The next release is planned to be RC1 and is scheduled for November 10. You want the DateTime DST fixing RFC (https://wiki.php.net/rfc/datetime_and_daylight_saving_time) implemented before RC1, right? If so, keep in mind that voting on it will start tomorrow and finish on November 1.

[PHP] String is not zero-terminated in zend_execute_API.c

2011-10-21 Thread Daniel Betz
']; } return array_unique($membergroups); } I hope you can help, or may i open an bugreport to bugs.php.net ? Greetings, Daniel -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Friday Distraction

2011-10-21 Thread Daniel Brown
I'll get this week's Friday distraction kicked off here with something shared with me by a Facebook friend. If you're on Facebook, try this. It's pretty sweet (and safe for work and kids). http://www.takethislollipop.com/ -- /Daniel P. Brown Network Infrastructure Manager http

Re: [PHP] Friday Distraction

2011-10-21 Thread Daniel Brown
On Fri, Oct 21, 2011 at 12:34, Nathan Nobbe quickshif...@gmail.com wrote: nice one! Quit top-posting! ;-P -- /Daniel P. Brown Network Infrastructure Manager http://www.php.net/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Where Are Security Updates Announced?

2011-10-20 Thread Daniel Brown
have subscribed to their mailings myself over the years, and found them to be a pretty reliable resource --- some underground public groups are particularly useful for zero-day vulnerabilities. -- /Daniel P. Brown Network Infrastructure Manager http://www.php.net/ -- PHP General Mailing List (http

Re: [PHP] C14

2011-10-18 Thread Daniel Brown
-documentElement-C14N();? -- /Daniel P. Brown Network Infrastructure Manager http://www.php.net/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] C14

2011-10-18 Thread Daniel Brown
systems administrator, hosting provider, or someone else who will know where to look. -- /Daniel P. Brown Network Infrastructure Manager http://www.php.net/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Stuck on undefined function mysql_connect()

2011-10-13 Thread Daniel Brown
, then the mysql_*() functions won't be there. However, there is no mysqli.so or mysql.so found anywhere? Please help, I have fallen behind because of this. It's compiled into the core, not as an extension. -- /Daniel P. Brown Network Infrastructure Manager http://www.php.net/ -- PHP General Mailing

Re: [PHP] Stuck on undefined function mysql_connect()

2011-10-13 Thread Daniel Brown
you're doing with MySQLi, are automatically loaded regardless, because they're statically-built into the PHP binary itself. -- /Daniel P. Brown Network Infrastructure Manager http://www.php.net/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] How to know the path of `php.ini` used when call php.exe from CLI/command-line in Windows 7

2011-10-11 Thread Daniel Brown
*C: php --ini* If there's no php.ini file in the path it's checking, it'll just use the internal defaults. You may not have a php.ini file anywhere on your system, which is okay if you don't need to do any tuning. -- /Daniel P. Brown Network Infrastructure Manager http://www.php.net

Re: [PHP] php on my pc, no go, FUBAR, thank you Bill Gates?

2011-10-04 Thread Daniel P. Brown
to do to get php to play well with others in a XP environment? Cute remarks about install Linux shall be ignored as line-noise. To just get up and go, consider using a Windows package such as XAMPP. It'll automatically install and configure the basics. -- /Daniel P. Brown Dedicated Servers

Re: [PHP] Curl cost

2011-09-28 Thread Daniel Brown
data into a single-sign-on dashboard presentation. Certainly no service I'd use, but I suppose for some it has its merits. -- /Daniel P. Brown Network Infrastructure Manager http://www.php.net/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Curl cost

2011-09-28 Thread Daniel Brown
On Wed, Sep 28, 2011 at 14:13, Jim Lucas li...@cmsws.com wrote: I saw that, but @ss-umed it was a typo.  My bad. I'd presumed the same at first. You're in good company still. -- /Daniel P. Brown Network Infrastructure Manager http://www.php.net/ -- PHP General Mailing List (http

Re: [PHP] book quest

2011-09-28 Thread Daniel Brown
, by the newcomers, who can relate to them without the taint of overexperience. If properly presented, it would not only be easy to shop to publishers, but it could also be one of the first truly collaborative publications to exist on biological remnants. -- /Daniel P. Brown Network

Re: [PHP] New Service - Short URL Unshortener

2011-09-26 Thread Daniel Brown
are not for advertisements (even for sites such as this which were written in PHP). -- /Daniel P. Brown Network Infrastructure Manager http://www.php.net/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] 'Mobile' PHP

2011-09-23 Thread Daniel Brown
, such as vibrations, LED control, et cetera. It's fun to play around with once in a while, but I've yet to dive into it enough to do anything more than novelty scripts for personal usage. -- /Daniel P. Brown Network Infrastructure Manager http://www.php.net/ -- PHP General Mailing List (http

Re: Re: [PHP] Search for string followed by whitespace

2011-09-23 Thread Daniel Brown
, preg_replace_callback(). -- /Daniel P. Brown Network Infrastructure Manager http://www.php.net/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Escaping MySQL passwords necessary when md5 is used?

2011-09-21 Thread Daniel Brown
(using hex characters), you won't have an issue with injection with the code above. That is, of course, unless your version of PHP is rebuilt without MD5 hash support, or some other oddity that is on the outside edge of possibility. -- /Daniel P. Brown Network Infrastructure Manager http

Re: [PHP] Escaping MySQL passwords necessary when md5 is used?

2011-09-21 Thread Daniel Brown
simply have the fatal error message (call to undefined function) pass through, not the unhashed original text. -- /Daniel P. Brown Network Infrastructure Manager http://www.php.net/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Installing extensions

2011-09-19 Thread Daniel Brown
get nothing. So apparently the extensions aren't being added as I thought. System info:  Mac OSX 10.5.8  php 5.3.6 Any clues will be greatly appreciated! You have to add the extensions to your php.ini file, and - if using them on the web - remember to restart Apache. -- /Daniel P. Brown

Re: [PHP] Search for string followed by whitespace

2011-09-19 Thread Daniel Brown
, newlines, periods, et cetera. Essentially, anything that you'll want to match inside HTML tags, be they valid or otherwise. The U modifier makes the search Ungreedy, while the i modifier makes it case-iNsEnSiTiVe. -- /Daniel P. Brown Network Infrastructure Manager http://www.php.net/ -- PHP

Re: [PHP] PHP installations, usage, and popularity

2011-09-19 Thread Daniel P. Brown
: http://links.parasane.net/nc8d ^2: http://links.parasane.net/zdzu -- /Daniel P. Brown Dedicated Servers, Cloud and Cloud Hybrid Solutions, VPS, Hosting (866-) 725-4321 http://www.parasane.net/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

Re: [PHP] PHP installations, usage, and popularity

2011-09-19 Thread Daniel Brown
in that regard, yes, but the 'P' in LAMP was actually for Perl. -- /Daniel P. Brown Network Infrastructure Manager http://www.php.net/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] While on the topic of PHP Web Site Stats - SharePoint...

2011-09-19 Thread Daniel Brown
, are (and quite expectedly): WordPress, Joomla!, Drupal, vBulletin, and Blogger. And of those five, one is a service (blogger.com), and the rest are all open-source CMS systems --- written in PHP. -- /Daniel P. Brown Network Infrastructure Manager http://www.php.net/ -- PHP General Mailing List (http

Re: [PHP] PHP installations, usage, and popularity

2011-09-19 Thread Daniel Brown
Python being included in that list as well (in many circles, the 'P' in LAMP is ambiguous for the three: Perl, Python, and PHP). -- /Daniel P. Brown Network Infrastructure Manager http://www.php.net/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

Re: [PHP] ATmail

2011-09-18 Thread Daniel Brown
this on a PHP list would be like asking on a C/C++/Assembly mailing list why you're seeing a Windows BSoD. -- /Daniel P. Brown Network Infrastructure Manager http://www.php.net/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: Repetitive answers . . .

2011-09-16 Thread Daniel Brown
::$ammo. $me-flingAt($you); Trying to work with an object here? Since we're missing the baboon::flingAlert() definition, I'm curious to see how the object is handled. Oh, Friday -- /Daniel P. Brown Network Infrastructure Manager http://www.php.net/ -- PHP General Mailing List (http

Re: [PHP] Bug?

2011-09-15 Thread Daniel Brown
On Thu, Sep 15, 2011 at 17:07, Igor Escobar titiolin...@gmail.com wrote: Anyone can explain this? https://gist.github.com/1220404 Part of the code are in portuguese so... iguais = equal diferentes = different About this part are you confused? -- /Daniel P. Brown Network

Re: [PHP] What would you like to see in most in a text editor?

2011-09-13 Thread Daniel Brown
as Google Docs), you'd have quite a winner on your hands there. -- /Daniel P. Brown Network Infrastructure Manager http://www.php.net/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Repetitive answers . . .

2011-09-09 Thread Daniel Brown
. Not only will that never change, but it shouldn't. -- /Daniel P. Brown Network Infrastructure Manager http://www.php.net/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: Repetitive answers . . .

2011-09-09 Thread Daniel Brown
entire life. -- /Daniel P. Brown Network Infrastructure Manager http://www.php.net/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: [EasyPHP] How to export and import `alias` from previous version of EasyPHP?

2011-09-01 Thread Daniel Brown
to have a separate list for announcing project progress for PHP derivatives to make it easier. I'll do some research and discuss that possibility with others here, as I have another announcement list in mind that I'd like to get going as well. -- /Daniel P. Brown Network Infrastructure Manager http

Re: [PHP] Books on PHP guts

2011-08-30 Thread Daniel Brown
bet would likely be the Hacker's Guide on php.net[3]. ^1: http://www.amazon.com/Building-Custom-Extensions-Blake-Schwendiman/dp/1411601882/ref=sr_1_2?ie=UTF8qid=1314725705sr=8-2 ^2: http://devzone.zend.com/article/1021 ^3: http://php.net/internals -- /Daniel P. Brown Network

Re: [PHP] Re: [EasyPHP] How to export and import `alias` from previous version of EasyPHP?

2011-08-29 Thread Daniel Brown
, forum, or other support channel exclusively for that product. It is a derivative of PHP, but it unrelated and should not be discussed here. Thanks. -- /Daniel P. Brown Network Infrastructure Manager http://www.php.net/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe

Re: [PHP] Please help to unsubscribe

2011-08-27 Thread Daniel P. Brown
in their address. Are you still having issues? If so, it sounds like perhaps you subscribed using a forwarder. -- /Daniel P. Brown Dedicated Servers, Cloud and Cloud Hybrid Solutions, VPS, Hosting (866-) 725-4321 http://www.parasane.net/ -- PHP General Mailing List (http://www.php.net

Re: [PHP] Dreaded Premature end of script headers

2011-08-27 Thread Daniel P. Brown
box CLI. It may give you some insight, such as a missing symlink or different path structure in a file include. -- /Daniel P. Brown Dedicated Servers, Cloud and Cloud Hybrid Solutions, VPS, Hosting (866-) 725-4321 http://www.parasane.net/ -- PHP General Mailing List (http://www.php.net

Re: [PHP] Can't create new projects with Netbeans as nonadmin

2011-08-20 Thread Daniel Brown
appears when I'm logged in as Administrator. How can I create projects as normal user? Though you're using PHP, this is a NetBeans question, not a PHP question. Please ask via one of their support channels. -- /Daniel P. Brown Network Infrastructure Manager http://www.php.net/ -- PHP

Re: [PHP] Where is the code for this page?

2011-08-18 Thread Daniel Brown
entries in the .htaccess file in that directory. If there are none, check parent directories. -- /Daniel P. Brown Network Infrastructure Manager http://www.php.net/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Where is the code for this page?

2011-08-18 Thread Daniel Brown
keyboard layout, yes. ;-P If you like operators with your grep, try grepping on steroids by using egrep (`man egrep`). -- /Daniel P. Brown Network Infrastructure Manager http://www.php.net/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

Re: [PHP] form validation

2011-08-14 Thread Daniel P. Brown
why code here is not meant to be blindly copied-and-pasted. -- /Daniel P. Brown Dedicated Servers, Cloud and Cloud Hybrid Solutions, VPS, Hosting (866-) 725-4321 http://www.parasane.net/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] form validation

2011-08-12 Thread Daniel P. Brown
of isset, empty, and is_null() instead: ?php if (!isset($_POST['market']) || empty($_POST['market']) || is_null($_POST['market'])) { // Wasn't set } ? -- /Daniel P. Brown Dedicated Servers, Cloud and Cloud Hybrid Solutions, VPS, Hosting (866-) 725-4321 http://www.parasane.net/ -- PHP

Re: [PHP] text insertion

2011-08-10 Thread Daniel P. Brown
$your_content; ?/pre -- /Daniel P. Brown Dedicated Servers, Cloud and Cloud Hybrid Solutions, VPS, Hosting (866-) 725-4321 http://www.parasane.net/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] text insertion

2011-08-10 Thread Daniel P. Brown
On Wed, Aug 10, 2011 at 17:37, Chris Stinemetz chrisstinem...@gmail.com wrote: No luck. Thanks. Per list rules, please don't top-post. If the situation you're describing is accurate and correct, then pre is indeed what you want. -- /Daniel P. Brown Dedicated Servers, Cloud and Cloud

Re: [PHP] A php bug or?..

2011-08-08 Thread Daniel P. Brown
, you'd use strlen(). -- /Daniel P. Brown Dedicated Servers, Cloud and Cloud Hybrid Solutions, VPS, Hosting (866-) 725-4321 http://www.parasane.net/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] A php bug or?..

2011-08-08 Thread Daniel P. Brown
that as well. It wasn't always this way before, though --- in older version of PHP5 it returned 0, and in all versions of PHP4 it did as well. Also, keep in mind that a blank string still constitutes a string and will return 1, but null or nonexistent variables will still return 0. -- /Daniel P

Re: [PHP] form hidden value

2011-08-08 Thread Daniel P. Brown
]; ? -- /Daniel P. Brown Dedicated Servers, Cloud and Cloud Hybrid Solutions, VPS, Hosting (866-) 725-4321 http://www.parasane.net/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: testing

2011-08-04 Thread Daniel Brown
for discontinuation, since only about six people use it in any given year. -- /Daniel P. Brown Network Infrastructure Manager http://www.php.net/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: testing

2011-08-04 Thread Daniel Brown
. I've started to add a dedicated NNTP box a number of times, but always wound up having to move on to higher-priority things. And, of course, being a completely volunteer effort, it loses even more priority status when work is busy. -- /Daniel P. Brown Network Infrastructure Manager http

Re: [PHP] put code into a function then the code dead,very strange.

2011-08-02 Thread Daniel Brown
scoping was introduced (again, fairly certain). -- /Daniel P. Brown Network Infrastructure Manager http://www.php.net/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PayPal IPN

2011-07-27 Thread Daniel Brown
. -- /Daniel P. Brown Network Infrastructure Manager http://www.php.net/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Closing PHP tag best practice?

2011-07-25 Thread Daniel Brown
once (except for code snippets, since explanatory text generally follows the block). -- /Daniel P. Brown Network Infrastructure Manager http://www.php.net/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Escaping '

2011-07-22 Thread Daniel Brown
-- /Daniel P. Brown Network Infrastructure Manager http://www.php.net/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Fwd: ezmlm warning

2011-07-21 Thread Daniel Brown
give up. It happens from time to time. -- /Daniel P. Brown Network Infrastructure Manager http://www.php.net/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] ? simple solution for error resulting from upgrade to php5

2011-07-19 Thread Daniel Brown
. For example: ?php $a = array('soo' = 'per', 'doo' = 'per'); echo $a; // Prints: Array $b = new fakeClass(); // Presuming this class exists echo $b; // Used to print: Object id #1 ? -- /Daniel P. Brown Network Infrastructure Manager http://www.php.net/ -- PHP General Mailing List (http

Re: Re: [PHP] Your language sucks because...

2011-07-15 Thread Daniel Brown
words or phrases thrown into the mix. The hint to which I believe George referred was Richard's abso-bloody-lutely statement, which is a perfect example of tmesis. -- /Daniel P. Brown Network Infrastructure Manager http://www.php.net/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe

Re: [PHP] Your language sucks because...

2011-07-15 Thread Daniel Brown
itself. That would have been so much more efficient... NOT! Have I told you lately you can bite me? -- /Daniel P. Brown Network Infrastructure Manager http://www.php.net/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Your language sucks because...

2011-07-15 Thread Daniel Brown
On Fri, Jul 15, 2011 at 20:04, Stuart Dallas stu...@3ft9.com wrote: Haven't you been told before that offers of and requests for services of a personal nature should be kept off the list!! I don't believe so, but then - if I had - I would've ignored the order just as now. -- /Daniel P

Re: [PHP] What is a label?

2011-07-14 Thread Daniel Brown
immediately, and your changes will have to be reviewed by someone here on the Docs team, of course, but you're certainly welcome - and encouraged - to contribute if you'd like. -- /Daniel P. Brown Network Infrastructure Manager http://www.php.net/ -- PHP General Mailing List (http://www.php.net

Re: [PHP] Re: Re: Top Posting

2011-07-07 Thread Daniel Brown
very, very first post to this same list[1] closed with the terse phrase: Start reading and stop being an AHole. ^1: http://news.php.net/php.general/303117 -- /Daniel P. Brown Network Infrastructure Manager http://www.php.net/ -- PHP General Mailing List (http://www.php.net

Re: [PHP] Re: Re: Top Posting

2011-07-07 Thread Daniel Brown
On Thu, Jul 7, 2011 at 10:46, Hans Åhlin ahlin.h...@kronan-net.com wrote: Nopp this was my first post: http://news.php.net/php.general/290263 Ah, somehow I missed that. So your out on thin ice here Daniel ;) Pfft. I'm always on thin ice, that's nothing new. The only thing

Re: [PHP] Re: Re: Top Posting

2011-07-06 Thread Daniel Brown
, a simple filter would sort and organize things quite nicely, and I suspect at least 30% of the people here do just that. -- /Daniel P. Brown Network Infrastructure Manager http://www.php.net/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: Re: Top Posting

2011-07-05 Thread Daniel Brown
as a minor evaluation of a prospective employee's potential fit. -- /Daniel P. Brown Network Infrastructure Manager http://www.php.net/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] php session_start dead lock

2011-06-23 Thread Daniel Brown
/sess_2e39aabaf226819b67f29da477892e91. May want to consider fsck'ing that drive, Warren. You may have some bad clusters that are causing disk I/O issues. Just one of many possibilities, of course, but the least favorite of all, obviously. -- /Daniel P. Brown Network Infrastructure Manager http://www.php.net/ -- PHP General

Re: [PHP] URL Rewriting

2011-06-22 Thread Daniel Brown
On Wed, Jun 22, 2011 at 17:32, Fatih P. fatihpirist...@gmail.com wrote: try RewriteEngine on RewriteRule ^theme([0-9]+).php$  /index.php?theme=$1 [L] That's neither nginx nor PHP, so it's not really relevant to the OP's questions. -- /Daniel P. Brown Network Infrastructure Manager http

Re: [PHP] URL Rewriting

2011-06-22 Thread Daniel P. Brown
]; include dirname(__FILE__).'/theme.php'; } ? Then just symlink dynamictheme.php to your various themes like so: ln -s dynamictheme.php theme2.php ln -s dynamictheme.php theme301.php ln -s dynamictheme.php theme18447.php -- /Daniel P. Brown Dedicated Servers, Cloud and Cloud

Re: [PHP] help with an array if its possible!

2011-06-22 Thread Daniel P. Brown
) and it should illustrate the point. -- /Daniel P. Brown Dedicated Servers, Cloud and Cloud Hybrid Solutions, VPS, Hosting (866-) 725-4321 http://www.parasane.net/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Parent Limits?

2011-06-21 Thread Daniel Brown
unless the directories are equal in depth. Conversely, dirname() is static regardless of location. Thus: ?php include dirname(dirname(dirname(dirname(__FILE__; ? That will work regardless of whether it's the included file or the executed file. -- /Daniel P. Brown Network

Re: [PHP] php 5.3.6

2011-06-20 Thread Daniel Brown
= GPCS -- /Daniel P. Brown Network Infrastructure Manager http://www.php.net/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Cwtc

2011-06-14 Thread Daniel Brown
server. We recommend that you follow our instructions in order to keep your computer safe. Have a nice day, The lists.php.net support team. Pffft! Nice try. -- /Daniel P. Brown Network Infrastructure Manager http://www.php.net/ -- PHP General Mailing List (http://www.php.net

Re: [PHP] date.timezone set and still getting strict warnings.

2011-06-14 Thread Daniel Brown
surrounded the date.timezone setting with single quotes. So, removing the quotes got me what I needed. That'll do it, too. ;-P -- /Daniel P. Brown Network Infrastructure Manager http://www.php.net/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

Re: [PHP] date.timezone set and still getting strict warnings.

2011-06-13 Thread Daniel Brown
the web version here. Any clues? Check the web version of PHP's phpinfo() output and see if it and the CLI are using the same php.ini file. My guess is that they're not, and - while the CLI one is set with the timezone - its web counterpart is missing the flag. -- /Daniel P. Brown Network

<    1   2   3   4   5   6   7   8   9   10   >