Re: [PHP] Why the PEAR hate?

2010-11-16 Thread Daniel Brown
On Tue, Nov 16, 2010 at 11:54, Hansen, Mike wrote: > > http://www.reddit.com/r/PHP/comments/e6zs1/how_many_of_you_use_pear_in_your_projects/ > > I'm still pretty new to PHP. Why the hate for PEAR? I've used a couple of > PEAR modules without any issues. Some of the PEAR stuff is older and un

Re: [PHP] Fwd: Mail delivery failed: returning message to sender

2010-11-02 Thread Daniel Brown
On Tue, Nov 2, 2010 at 18:44, Tamara Temple wrote: > > Ah, that does explain it, thanks. You bet. -- Network Infrastructure Manager Documentation, Webmaster Teams http://www.php.net/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: HU2.PHP.NET

2010-11-02 Thread Daniel Brown
2010/11/2 "Bacsi Gábor // ENEXIS Kft." : > Hello Daniel, > > Thank you for the notice, fixed. Thanks, Gabor. I saw that you had upgraded to 5.2.14, and figured it was due to that. -- Network Infrastructure Manager Documentation, Webmaster Teams http://www.php.net/ -- PHP General Mailing L

[PHP] Re: Receiving Live data

2010-10-27 Thread Daniel Brown
On Wed, Oct 27, 2010 at 19:10, Cameron Mc Gorian wrote: > Hi, > > I want to find out if it is possible to receive live data using PHP and > MySQL. I have am developing a website that will allow user to input data > which will then be inserted into a MySQL database. > > What I want to do is when

Re: [PHP] Reminder On Mailing List Rules

2010-10-21 Thread Daniel Brown
On Thu, Oct 21, 2010 at 19:18, Michael Shadle wrote: > Don't let it die like Perl has! (ha, ha) -- Network Infrastructure Manager Documentation, Webmaster Teams http://www.php.net/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Reminder On Mailing List Rules

2010-10-21 Thread Daniel Brown
On Thu, Oct 21, 2010 at 18:24, Michael Shadle wrote: > > note, that i take the time to bottom-post and clean up emails when i > have time, but if i don't, i don't. people discuss things for > discussion, they don't discuss things because they care how it is > placed. that's like getting a present

Re: [PHP] Reminder On Mailing List Rules

2010-10-21 Thread Daniel Brown
This is top-posting. On Thu, Oct 21, 2010 at 15:37, sueandant wrote: > > I'm not familiatr with the term "top-post"; could you please explain? What you did, posting your message at the end of the email, is in adherence with the rules. -- Network Infrastructure Manager Documentation, W

Re: [PHP] Reminder On Mailing List Rules

2010-10-21 Thread Daniel Brown
On Thu, Oct 21, 2010 at 10:41, Robert Cummings wrote: > > I can't speak for everyone here (or who is no longer here)... but my posts > have dwindled significantly due to work and family time constraints :| Same here, but isn't it a bit eerie that many of us hit that same point almost simultan

Re: [PHP] Reminder On Mailing List Rules

2010-10-21 Thread Daniel Brown
On Thu, Oct 21, 2010 at 10:34, Bastien Koert wrote: > > iphone has the same problem. Cutting and pasting is the only way that > i have of dealing with it...and I do try to accommodate that when i > can I wonder if we have any lurking iPhone and/or Android app developers here who would be will

Re: [PHP] Reminder On Mailing List Rules

2010-10-21 Thread Daniel Brown
On Thu, Oct 21, 2010 at 11:30, Ashley Sheridan wrote: > > I always bottom post when I'm replying from my computer, but when on the move > or at work, I'm only left with my Android, and the default email client > doesn't allow reply positioning of any sort, so it's always top-posting :( > > Does

[PHP] Reminder On Mailing List Rules

2010-10-21 Thread Daniel Brown
Hey, Folks; Just a gentle reminder after watching things get worse by the day: it is one of the rules of this and all official php.net mailing lists that you must not top-post. For anyone wondering just one of the reasons why we have this rule in effect, tab through this thread in the

Re: [PHP] Weird Behavior

2010-10-20 Thread Daniel Brown
On Wed, Oct 20, 2010 at 10:35, Don Wieland wrote: > Little help please ;) > > $CD = 1287583899 > $q1s = 1283313600 > $q1e = 1291093200 > $q2s = 1291179600 > $q2e = 1298869200 > $q3s = 1298955600 > $q3e = 1306814400 > $q4s = 1306900800 > $q4e = 1314763200 > > Why does the following not return the v

Re: [PHP] [IDEA] date_moonrise, date_moonset, and date_moon_info for calculating moonrise and moonset

2010-10-08 Thread Daniel Brown
On Fri, Oct 8, 2010 at 13:29, ELY M. wrote: > I did a search thru all places on php.net for moonrise and moonset > functions or any comments about moonrise and moonset. > I can not find anything about moonrise and moonset. > I am not sure where to submit my ideas. > I would like to suggest to php

Re: [PHP] PHP Warning

2010-09-17 Thread Daniel Brown
On Fri, Sep 17, 2010 at 10:35, Floyd Resler wrote: > I'm getting the following warning when running PHP scripts from the command > line: > PHP Warning:  Module 'mcrypt' already loaded in Unknown on line 0 > > How can I get rid of this?  My error report directives are: > error_reporting = E_COMP

Re: [PHP] Question about news.php.net

2010-09-14 Thread Daniel Brown
Good to know there's a workaround. I am thinking of using one (or more) of the old VOOM boxes to mirror the news server for NNTP-only access. Sent from my DROID. Apologies if formatting is off or I'm top-posting on a list. On Sep 14, 2010 8:59 PM, "Nathan Rixham" wrote:

Re: [PHP] Question about news.php.net

2010-09-13 Thread Daniel Brown
On Mon, Sep 13, 2010 at 19:51, MikeB wrote: > > As part of the bug report I included a link to an image of my nntp config. I saw that, thanks. I'll look into creating a mirror of the news server, as well, for NNTP-only access. I won't lie and say that it's a priority, but I'll try to get to

Re: [PHP] 1984 (Big Brother)

2010-09-13 Thread Daniel Brown
On Mon, Sep 13, 2010 at 19:47, Micky Hulse wrote: > > Motion sensing camera connected to a mechanical pointer stick aimed to > trigger the server power button. > > On his way out of the office: > > Clap on/clap off Clapper connected to computer power cable. It would be cheaper to employ the s

Re: [PHP] Question about news.php.net

2010-09-13 Thread Daniel Brown
On Mon, Sep 13, 2010 at 18:09, MikeB wrote: > > However, getting access seems to be hit-and-miss, since I more often than > not get a message that the connection to news.php.net timed out. > > Is this an indication that the server is just very busy? I don't get this on > any other news server I'm

Re: [PHP] Standalone WebServer for PHP

2010-09-10 Thread Daniel Brown
On Fri, Sep 10, 2010 at 16:37, Steve Staples wrote: > Ok, here it goes... > > I am building an app, that requires a web interface.  I am using PHP > becuase I am familiar with it.   Most of the app's i've been looking at, > use Python, Cherry.py and stuff, but what I was wondering, is is there a >

Re: [PHP] strtotime()

2010-08-23 Thread Daniel Brown
On Tue, Aug 24, 2010 at 00:37, Rick Pasotto wrote: > > http://us2.php.net/manual/en/datetime.formats.relative.php Thank you, sir! -- UNADVERTISED DEDICATED SERVER SPECIALS SAME-DAY SETUP Just ask me what we're offering today! daniel.br...@parasane.net || danbr...@php.net http://www.parasan

Re: [PHP] strtotime()

2010-08-23 Thread Daniel Brown
On Mon, Aug 23, 2010 at 17:02, Ashley Sheridan wrote: > > The example you quote as being straight from the manual page is actually > from the user-submitted code snippets, and I can't find the > documentation to support it. I can only assume that it's possibly an > experimental thing, or somethin

Re: [PHP] mytrash mail thing

2010-08-04 Thread Daniel Brown
On Wed, Aug 4, 2010 at 21:18, Ashley Sheridan wrote: > Hi, > > Please can whoever is using that mytr...@mail.ua system please remove it > from this list or remove yourself? Every email I now send to the list is > followed up by a message from this, which from my point of view is > essentially spam

Re: [PHP] multi thread work?

2010-08-04 Thread Daniel Brown
On Wed, Aug 4, 2010 at 13:21, Tontonq Tontonq wrote: > Hi > how to make a script multi task  based like this [snip=code] > > lets say this takes 1000 seconds and it doesnt focus to another curl process > before it finish the previous one > > is it possible to let the script focus another curl proc

Re: [PHP] What are the curly brackets around variables in SQL statements for?

2010-07-21 Thread Daniel Brown
On Wed, Jul 21, 2010 at 15:27, Nathan Nobbe wrote: > [snip!] > name unless the string expression is wrapped in double quotes (which probly > also evaluates in heredocs & nowdocs). [snip!] Close. HEREDOC, yes. NOWDOC, no. There's zero parsing done on NOWDOC strings. -- UNADVERTISED DEDIC

Re: [PHP] What are the curly brackets around variables in SQL statements for?

2010-07-21 Thread Daniel Brown
On Wed, Jul 21, 2010 at 14:59, Dotan Cohen wrote: > Take for example: > INSERT INTO table ( field ) VALUES ('{$variable}' ) > > Why the curly brackets? Where in the fine manual is this addressed? I > started from [1] but did not find the relevant info. > > [1] http://il2.php.net/manual/en/book.mys

[PHP] Recent Influx of Unrelated Discussions

2010-07-15 Thread Daniel Brown
Also known as off-topic posts. We're all guilty of them, but has anyone recently noticed that there is a significant number (about 35% of all traffic) that is off-topic? There have been questions on databases, JavaScript, WordPress, Apache directives, and more none of which were even rela

Re: [PHP] adduser & php

2010-07-10 Thread Daniel Brown
On Sat, Jul 10, 2010 at 14:45, Matt Morrow wrote: > >                $username=$_POST['username']; >                $password=$_POST['password']; >                $output=exec('/usr/bin/sudo adduser -unencrypted -batch > $username hosting "$firstname $lastname" $password'); >                echo "

Re: [PHP] mail() + localhost

2010-07-01 Thread Daniel Brown
On Thu, Jul 1, 2010 at 10:02, Shreyas Agasthya wrote: > Spoke too fast. > > Fixed that (SMTP has to be uppercase) > > Now it is : *SMTP server response: 530 5.7.0 Must issue a STARTTLS command > first. c15sm7128213rvi.11* (Quick note: per the list guidelines, please don't top-post in threads.

Re: [PHP] mail() + localhost

2010-07-01 Thread Daniel Brown
On Thu, Jul 1, 2010 at 09:09, Shreyas Agasthya wrote: > > All I am trying to do is send a mail from my localhost to my Gmail ID. I > read stuff about how the SMTP port should be accessible; should be open et > al. My set-up is very simple: > > 1. Using Easy PHP. > 2. Windows XP 3.) An SMTP se

Re: [PHP] Website content question CMS

2010-06-25 Thread Daniel Brown
On Fri, Jun 25, 2010 at 15:38, Ernie Kemp wrote: > That may be part of my problem. > I could put the "contact.php" program in the > http://digitalbiz4u.com/wordpress/ directory and the program will find it > but the CMS "Edit this entry" part gives me the error > "Fatal error: Call to undefined fu

Re: [PHP] Warning messages on web page.

2010-06-23 Thread Daniel Brown
On Wed, Jun 23, 2010 at 11:14, Mike Davies wrote: >> > Nothing is returned for SELECT query as there is nothing in the table as > yet. Perhaps this is the problem. Typically all projects would have an > associated thumb image but all news items may not. Perhaps a thumb image > is necessary to stop

Re: [PHP] Warning messages on web page.

2010-06-23 Thread Daniel Brown
Hold everything, Mike! On Wed, Jun 23, 2010 at 05:18, Mike Davies wrote: [snip!] > > mysql_select_db($database_general, $general); > $query_details = "SELECT * FROM news WHERE news_id = '$_GET[id]'"; /** * Above line is placed here so that we can be easily, * deliberately, a

Re: [PHP] Replacing Registered Symbol

2010-06-18 Thread Daniel Brown
On Fri, Jun 18, 2010 at 17:07, Rick Dwyer wrote: > > Navicat shows it as Latin1.  I believe UTF-8 is what it should be, but I > don't want to change it without understanding what impact it will have. Depending on your content, it could be an issue, but probably not. A good way to check would

Re: [PHP] newbie sequel question: how do we search for multiple things on 1 field like:

2010-06-18 Thread Daniel Brown
On Fri, Jun 18, 2010 at 17:06, deal...@gmail.com wrote: > > I will start using this... > >   We begin by asking on the right list (my...@lists.mysql.com, CC'd > by courtesy). It was just an end-of-the-week jab, Dave. I mean, that's the correct list to use, but the response should've had a to

Re: [PHP] Replacing Registered Symbol

2010-06-18 Thread Daniel Brown
On Fri, Jun 18, 2010 at 16:32, Rick Dwyer wrote: > Hello List. > > I'm trying to replace the registered (®) symbol from a variable via PHP. > > The variable $mystring is set to a MySQL field that contains the value "This > Is The Registered Symbol ®". > > Using the following, I try to replace the

Re: [PHP] newbie sequel question: how do we search for multiple things on 1 field like:

2010-06-18 Thread Daniel Brown
On Fri, Jun 18, 2010 at 16:30, Dave wrote: > SELECT * FROM contacts WHERE state = 'CA' and   name = 'bob' or > name = 'sam' or name = 'sara' We begin by asking on the right list (my...@lists.mysql.com, CC'd by courtesy). You're on the right track though. Try a WHERE...IN statem

Re: [PHP] Another parse problem

2010-06-16 Thread Daniel Brown
On Wed, Jun 16, 2010 at 21:42, Robert Cummings wrote: [snip!] > Anyways, those, by > virtue of your above description can have two or more parts and there's not > a simple way to extract that part without also extracting the sub-domain > portions. True. Not without some static rules and logi

Re: [PHP] Unknown error with imagecreatefromjpeg() on specific GD/PHP versions.

2010-06-16 Thread Daniel Brown
On Wed, Jun 16, 2010 at 10:26, Jeff MacDonald wrote: > Hi Everyone, > > One of my developers is reporting a problem on our Live server but not our > devel server. [snip!] > > Does anyone have any ideas or suggestions of where to look next? Error logs. See what the non-working error logs sho

Re: [PHP] Unknown error with imagecreatefromjpeg() on specific GD/PHP versions.

2010-06-16 Thread Daniel Brown
On Wed, Jun 16, 2010 at 10:26, Jeff MacDonald wrote: [snip!] > > To see an example of this in action, > > Working function : http://www.equipmentsearch.com/~jeff/tmp/image.php?i=w > Not working function : http://www.equipmentsearch.com/~jeff/tmp/image.php?i=n > > http://www.equipmentsearch.com/~je

Re: [PHP] SQL Syntax

2010-06-15 Thread Daniel Brown
[Top-post.] You'll probably have much better luck on the MySQL General list. CC'ed on this email. On Tue, Jun 15, 2010 at 20:58, Jan Reiter wrote: > Hi folks! > > I'm kind of ashamed to ask a question, as I haven't followed this list very > much lately. > > > > This isn't exactly a PHP

Re: [PHP] is

2010-06-10 Thread Daniel Brown
On Thu, Jun 10, 2010 at 19:35, David Harkness wrote: > > According to some PHP 6 will remove support for short tags. They won't be > disabled by default--the feature simply won't exist. > >    http://www.slideshare.net/thinkphp/php-53-and-php-6-a-look-ahead I don't know why Stefan said that,

[PHP] Re: [PHP-WEBMASTER] I have a question for a php expert....

2010-06-09 Thread Daniel Brown
On Thu, Jun 10, 2010 at 01:29, wrote: > > It amazes me that I have figured out the hardest parts to do, but I am > stumped on this and cannot get the darn thing to include properly, I would > appreciate some instruction as now I am at a loss! Clint; Send that to the PHP General list a

Re: [PHP] Question - foreach.

2010-06-09 Thread Daniel Brown
On Wed, Jun 9, 2010 at 21:49, Shreyas wrote: > PHP'ers, > > I am reading a PHP book which explains foreach and at the end says : *'When > foreach starts walking through an array, it moves the pointer to > the beginning of the array. You don’t need to reset an array before > walking through it with

Re: [PHP] PHP app & Server Load

2010-06-08 Thread Daniel Brown
On Tue, Jun 8, 2010 at 12:12, Dan Joseph wrote: > > Anyone know a good way to estimate load based on actually numbers compared > to benchmark results from intel on a faster server? Run a DDoS-style (but not legitimate DDoS attack) load-balance simulator against your site and see where the bot

php-general@lists.php.net

2010-06-04 Thread Daniel Brown
On Fri, Jun 4, 2010 at 09:54, Michael Calkins wrote: > > I would google this but I have no idea what this method is or how it works. > app.php?ph=cus&id=4 > Can some tell me what this either called or how it works?Can I get a tutorial > for it please? Split up, it is: app.php

Re: [PHP] CERRAR NAVEGADOR y VENTANA CON PHP

2010-05-24 Thread Daniel Brown
2010/5/24 MSc. Carlos Pollan Estrada : > Hola colega. > Necesito saber cómo cerra una ventana y cómo cerrar el navegador > utilizando PHP No es posible con PHP. Esta es un trabajo por JavaScript. En el futuro, utilizad la lista por PHP de espanol: php-general...@lists.php.net -- dani

Re: [PHP] How to Protect Against SQL Injection Attacks While Using SQLite?

2010-05-19 Thread Daniel Brown
On Wed, May 19, 2010 at 15:28, seandakid wrote: > > Hi, > > Have you ever used the BIND statement? > > http://www.sqlite.org/c3ref/bind_blob.html > http://www.sqlite.org/c3ref/bind_blob.html Have you looked at the date of that thread? -- daniel.br...@parasane.net || danbr...@php.net http:/

Re: [PHP] Malware Question

2010-04-28 Thread Daniel Brown
On Wed, Apr 28, 2010 at 19:50, Ashley Sheridan wrote: > > The Google webmaster tools tell me nothing more than 'Of the 2 pages we > tested on the site over the past 90 days, 2 page(s) resulted in > malicious software being downloaded and installed without user consent.' > It won't tell me what pa

Re: [PHP] Irish PHP User Group meeting tonight

2010-04-28 Thread Daniel Brown
On Wed, Apr 28, 2010 at 11:28, Ken Guest wrote: > > that would be a handy idea ;-) Next time the mirrors update, that link will be included in the event details. Should be in under 90 minutes for the majority of the world. -- daniel.br...@parasane.net || danbr...@php.net http://www.parasa

Re: [PHP] Irish PHP User Group meeting tonight

2010-04-28 Thread Daniel Brown
On Wed, Apr 28, 2010 at 05:47, Ken Guest wrote: > Hi. > Just to let any of ye know that might be interested, there's a php.ie > meeting on tonight in Dublin - in the Longstone pub on Townsend Street > starting at eight o'clock. > > It's located where the red diamond is on this map: > http://www.op

Re: [PHP] Is the case of

2010-04-26 Thread Daniel Brown
On Mon, Apr 26, 2010 at 04:51, Richard Quadling wrote: > Hi. > > I've recently come across some third party code which uses ... > > > as the PHP tag. > > This is the first time I've seen PHP in upper case for the tag. > > The code works in V5, so, from this, I can assume the tag is read case > in

Re: [PHP] Re: replying to list (I give up)

2010-04-23 Thread Daniel Brown
On Fri, Apr 23, 2010 at 13:20, Ashley Sheridan wrote: > > I have heard good things about Windows 7, but I've not used it myself > yet (and don't really plan to) Wise. [Sent from a Win7 PC.] -- daniel.br...@parasane.net || danbr...@php.net http://www.parasane.net/ || http://www.pilotp

Re: [PHP] Re: replying to list (I give up)

2010-04-22 Thread Daniel Brown
On Thu, Apr 22, 2010 at 08:52, Mitul Modi wrote: > Hi, > > I am planning to install on embedded device. Please help me to reduce the > binary footprint. You sent two messages to the Install list and then hijacked this thread. Send a new message to php-general@lists.php.net and ask for help.

Re: [PHP] replying to list (I give up)

2010-04-21 Thread Daniel Brown
On Wed, Apr 21, 2010 at 10:20, David McGlone wrote: > > I just received 3 copies of this message. One went to my PHP folder and > 2 went to my Inbox. It was sent multiple times. Probably an intentional demonstration of irony. ;-P -- daniel.br...@parasane.net || danbr...@php.net http://ww

Re: [PHP] replying to list (I give up)

2010-04-21 Thread Daniel Brown
On Wed, Apr 21, 2010 at 09:41, Dan Joseph wrote: > > When you hit reply all, just take out all the other addresses and leave the > list one in there.  The list was setup like this years ago on purpose, and > they've stated in the past they don't want to change it.. And we won't, but that does

Re: [PHP] Greate day for you,

2010-04-07 Thread Daniel Brown
On Wed, Apr 7, 2010 at 12:11, Chris G wrote: > http://sites.google.com/site/vfgbyuhoi6/kewe2w Heads-up: It's a SPAM link. You probably already knew that. (Funny that Jochem was targeted directly for this particular one. ;-P) -- daniel.br...@parasane.net || danbr...@php.net http://ww

Re: [PHP] Something wrong with the PHP-INSTALL list ?

2010-03-31 Thread Daniel Brown
On Wed, Mar 31, 2010 at 06:50, Nilesh Govindarajan wrote: > Any replies I send to PHP-INSTALL list, I get the follow response: > Any ideas why this is happening ? > > Original Message > Subject:        Re: [PHP-INSTALL] installation problem with php and Apache > [Incident:100331-

Re: [PHP] Web Design

2010-03-25 Thread Daniel Brown
On Thu, Mar 25, 2010 at 09:05, Parham Doustdar wrote: > > P.S.: Please, if this is off-topic, do not shout at me. I tried going to > http://news.php.net to find any rules regarding what is and isn't allowed on > the list, but found none. This is of course my shortcoming, but I prefer > being conta

Re: [PHP] Top vs. Bottom Posting.

2010-03-25 Thread Daniel Brown
On Thu, Mar 25, 2010 at 13:40, Daniel Brown wrote: > On Wed, Mar 24, 2010 at 22:45, Nilesh Govindarajan wrote: >> Bottom posting helps in users who are not participating in the thread from >> the start and would like to do so. > >    As has been discussed time and time

Re: [PHP] Top vs. Bottom Posting.

2010-03-25 Thread Daniel Brown
On Wed, Mar 24, 2010 at 22:45, Nilesh Govindarajan wrote: > Bottom posting helps in users who are not participating in the thread from > the start and would like to do so. Particularly for uniformity for archival purposes. As has been discussed time and time again, there are many prefere

Re: [PHP] i'm curious about unit testing

2010-03-23 Thread Daniel Brown
On Tue, Mar 23, 2010 at 14:29, Rene Veerman wrote: > Hi.. > > in an effort to write better code i'd like to know good strategies for > unit testing. > automated testing of code. > > the fact that my code can undergo rapid changes has kept me back so far. This is a question that comes up now a

Re: [PHP] no svn checkout of the current PHP development repo?

2010-03-20 Thread Daniel Brown
On Sat, Mar 20, 2010 at 09:03, Robert P. J. Day wrote: > >  ok, i might do that.  as daniel suggested, that issue is noticeably > outside the scope of this general list. Just be prepared for what you'll encounter on Internals. I was deliberately not suggesting that list at this point in time

Re: [PHP] where to make observations about current PHP manual?

2010-03-19 Thread Daniel Brown
On Fri, Mar 19, 2010 at 21:04, Daniel Brown wrote: > >    Indeed.  It would probably be better to read, "Unavailable as of > PHP 6."  I'll patch that in the XML sources now, and the next time the > manual rebuilds, the changes will take effect. Future builds w

Re: [PHP] Re: where to make observations about current PHP manual?

2010-03-19 Thread Daniel Brown
On Fri, Mar 19, 2010 at 20:57, Robert P. J. Day wrote: > >  i'm not sure that addresses my post -- it doesn't make grammatical > sense to state that something is unavailable "since" something that is > yet to be officially released. In most cases, you'd be absolutely correct but PHP is a

Re: [PHP] where to make observations about current PHP manual?

2010-03-19 Thread Daniel Brown
On Fri, Mar 19, 2010 at 16:59, Robert P. J. Day wrote: > >  i don't see a separate mailing list for documentation so is this > where i would point at oddities in the manual?  as in, here: > > http://www.php.net/manual/en/language.variables.external.php > > we read: > > "// Unavailable since PHP 6.

Re: [PHP] mysqli procedural calls and manual entries ?

2010-03-15 Thread Daniel Brown
On Fri, Mar 12, 2010 at 06:48, Daniel Egeberg wrote: > > Hi Per, > > The manual already supports that. If you install the sqlite extension > on your webserver, it should work. Dan; The question wasn't whether or not it supports that kind of lookup, but rather why it's not working. We've

Re: [PHP] mysqli procedural calls and manual entries ?

2010-03-12 Thread Daniel Brown
On Fri, Mar 12, 2010 at 02:49, Per Jessen wrote: > I run a local mirror of the PHP manual, and I most often go straight to > the "Search for" box to look up the format of a function.  With the > mysqli functions, I've found than many of them simply > aren't "available" that way.  E.g. mysqli_conne

Re: [PHP] Want to learn to work with Zend Framework?

2010-03-05 Thread Daniel Brown
On Fri, Mar 5, 2010 at 10:28, Ashley Sheridan wrote: > > And you get to adopt new ones if you don't like the ones you got? Yes, but you can't put any up for adoption by another family. -- daniel.br...@parasane.net || danbr...@php.net http://www.parasane.net/ || http://www.pilotpig.net/ Look

Re: [PHP] Want to learn to work with Zend Framework?

2010-03-05 Thread Daniel Brown
On Fri, Mar 5, 2010 at 09:42, Ashley Sheridan wrote: > > How can we get a post count? :p Were you here when I was still running the weekly metrics on the list a few years ago? I still get requests to reinstate it, I just haven't had the chance. I keep meaning to enlist Richard Heyes to inco

Re: [PHP] Want to learn to work with Zend Framework?

2010-03-05 Thread Daniel Brown
Don't top-post. Even that part is in the rules when you signed up. ;-P On Fri, Mar 5, 2010 at 05:21, Jochen Schultz wrote: > Sure Zend is one of the most valuables, if not the most valuable, companies > in the PHP community. > > But if we allow ads here, we should think about selling them (

Re: [PHP] Want to learn to work with Zend Framework?

2010-03-05 Thread Daniel Brown
On Fri, Mar 5, 2010 at 04:29, Jochen Schultz wrote: >>  and not drugs, money or sex! > > So everyone should post their ads here, which are related to PHP? > > I think not. Well, good thing you're nowhere near being close to having a say in that, eh? ;-P First of all, this is the General

Re: [PHP] Want to learn to work with Zend Framework?

2010-03-04 Thread Daniel Brown
On Thu, Mar 4, 2010 at 14:59, mrfroasty wrote: > Looks expensive, definately NO Then do not reply. It was an offer to the community at large, not just you and the other top-poster. ;-P -- daniel.br...@parasane.net || danbr...@php.net http://www.parasane.net/ || http://www.pilotpig.net/

Re: [PHP] Replacing accented characters

2010-03-04 Thread Daniel Brown
On Thu, Mar 4, 2010 at 12:57, Skip Evans wrote: > Hey all, > > Does anyone have a function that replaces accented characters > with the non-accent equals? This one by Sven on 21-APR-2005: "Ae", "\xC6"=>"AE", "\xD6"=>"Oe", "\xDC"=>"Ue", "\xDE"=>"TH", "\xDF"=>"ss", "\xE4"=>"ae", "\xE6"=>"ae",

Re: [PHP] PLEASE, PLEASE, PLEASE - HELP ME GET OFF THIS LIST

2010-02-23 Thread Daniel Brown
On Tue, Feb 23, 2010 at 12:10, William C. Schnute wrote: > PLEASE, PLEASE, PLEASE - HELP ME GET OFF THIS LIST --- YOU PEOPLE ARE > DRIVING ME CRAZY1 Good. > Please unsubscribe: m...@honeyflowfarm.com, > wschn...@mail.honeyflowfarm.com  or anyone else @honeyflowfarm.c

Re: [PHP] Re: UK Project Opportunity

2010-02-17 Thread Daniel Brown
On Wed, Feb 17, 2010 at 16:23, Manuel Lemos wrote: > > What about you? How many times have you shared your Open Source code? HA! That's hilarious that you would say that to *me.* I actually laughed out loud. I'll probably do it a few more times before the day is out. Well, Manuel, you

Re: [PHP] Re: UK Project Opportunity

2010-02-17 Thread Daniel Brown
Normally I would just stay out of a public thread on such a subject, but Rixham and I had a discussion about the site prior to his posting here, and I may as well make my point known My problem - and indeed, it is a problem - is not with the design, usability, or lack thereof. It's al

Re: [PHP] Re: how do I use php://memory?

2010-01-30 Thread Daniel Brown
On Sat, Jan 30, 2010 at 12:18, Shawn McKenzie wrote: > > Done.  Thanks Dan.  http://bugs.php.net/bug.php?id=50886 Thank you, sir. I thanked you on Facebook when I saw the report come in, but wanted to thank you properly here as well. -- daniel.br...@parasane.net || danbr...@php.net http:/

Re: [PHP] Pointers For Newbies, Reminders For Oldies

2010-01-27 Thread Daniel Brown
On Wed, Jan 27, 2010 at 12:27, Ashley Sheridan wrote: > > Depends I guess on how far you need to optimise the code. I'd imagine that to > something like Facebook, every split-second of optimisation is worth it, as > even a 100th of a second becomes minutes of wasted time over the course of a >

Re: [PHP] Pointers For Newbies, Reminders For Oldies

2010-01-27 Thread Daniel Brown
On Wed, Jan 27, 2010 at 12:26, Daniel Egeberg wrote: > > Well, I would still say it's far too insignificant to bother with. And for the most part, you'd be right but it still isn't good practice to *not* teach something strictly because it's not entirely significant. For example, pol

Re: [PHP] Pointers For Newbies, Reminders For Oldies

2010-01-27 Thread Daniel Brown
On Wed, Jan 27, 2010 at 12:08, Daniel Egeberg wrote: > > There is virtually no difference nowadays. It's a long time since > anything like that has mattered. Actually, that's not true enough to be dismissive. It depends on several factors. -- daniel.br...@parasane.net || danbr...@php.net

Re: [PHP] If the first four characters are "0000", then do {} - timing tests

2010-01-27 Thread Daniel Brown
On Tue, Jan 26, 2010 at 19:48, Daevid Vincent wrote: > > Another thing I just noticed, is that we (that is Dan and I) should NOT > have used count() > This is bad form and wasted cycles. This is certainly correct, but it should also be noted that my original code used it once (thus, it was in

Re: [PHP] If the first four characters are "0000", then do {} - timing tests

2010-01-26 Thread Daniel Brown
On Tue, Jan 26, 2010 at 17:17, Daevid Vincent wrote: > > Well allow me to retort... :) > > Your test was for 5 measly array elements. > > Just for S&G I tried it with the strpos one too and modified your test > slightly to handle bigger arrays... > [snip=code] > > I ran out of memory with more tha

Re: [PHP] If the first four characters are "0000", then do {}

2010-01-26 Thread Daniel Brown
On Mon, Jan 25, 2010 at 22:51, Daevid Vincent wrote: >> -Original Message- >> From: paras...@gmail.com [mailto:paras...@gmail.com] On >> Behalf Of Daniel Brown >> Sent: Monday, January 25, 2010 6:43 PM >> To: John Taylor-Johnston >> Cc: PHP-General >

Re: [PHP] If the first four characters are "0000", then do {}

2010-01-25 Thread Daniel Brown
On Mon, Jan 25, 2010 at 21:36, John Taylor-Johnston wrote: > I am reading the manual: http://ca.php.net/manual/en/ref.strings.php > > $mydata->restored = "-00-00"; -- daniel.br...@parasane.net || danbr...@php.net http://www.parasane.net/ || http://www.pilotpig.net/ Looking for hosting or

Re: [PHP] test

2010-01-11 Thread Daniel Brown
On Mon, Jan 11, 2010 at 15:52, LAMP wrote: > I tried again and got this error message: > > Hi. This is the qmail-send program at outbound-mail-319.bluehost.com. > I'm afraid I wasn't able to deliver your message to the following addresses. > This is a permanent error; I've given up. Sorry it didn'

Re: [PHP] I am not receiving any e-mail from the list...

2010-01-11 Thread Daniel Brown
On Mon, Jan 11, 2010 at 10:10, Richard wrote: > > I had this (I think) recently; mail simply stopped coming from the > list and I can't remember unsubscribing (though that's not saying > much...). I simply re-subscribed and all was dandy again. Quite possibly caused by malformed headers or SP

Re: [PHP] Checking for internet connection.

2009-12-22 Thread Daniel Brown
On Sat, Dec 19, 2009 at 19:13, Angus Mann wrote: > Hi all. > > I'w writing a PHP app that is designed to run over a LAN, so internet > connection for the server is not really essential. Some users may > deliberately not connect it to the internet as a security precaution. > > But I'd like the app

Re: [PHP] Best way to read first 20 characters of a string?

2009-12-02 Thread Daniel Brown
On Wed, Dec 2, 2009 at 10:11, Chris Payne wrote: > Hi everyone, > > I'm pulling data from a mysql database, but need only the first 20 > characters of each string for a short description, what is the best > method to just grab the first 20 characters from a string regardless > of whether they are

[PHP] Re: JM.PHP.NET

2009-10-06 Thread Daniel Brown
On Tue, Oct 6, 2009 at 14:56, Dan Papakonstantino wrote: > Hello Dan, > > Sorry for the misunderstanding however, we are web developers as well as > hardware and software developers. You may have overlooked our web based > timesheet application called SonicWeb. Please review the following link o

Re: [PHP] Whacky increment/assignment logic with $foo++ vs ++$foo

2009-10-06 Thread Daniel Brown
On Tue, Oct 6, 2009 at 14:46, Israel Ekpo wrote: > > Speaking of starting a conversation, what do you think about the "goto" > construct introduced just recently? Better yet: what do you all think of folks hijacking threads? -- daniel.br...@parasane.net || danbr...@php.net http://www.paras

Re: [PHP] PHPNW09

2009-10-06 Thread Daniel Brown
On Tue, Oct 6, 2009 at 11:34, David Otton wrote: > Is anyone from the list heading to PHPNW this weekend? Coincidentally, the PHPNW UG meeting is listed for tomorrow, but I have no listing for a conference this weekend. If you're in contact with any of those folks, Dave, you can ask them to

Re: [PHP] PHPNW09

2009-10-06 Thread Daniel Brown
On Tue, Oct 6, 2009 at 11:34, Ashley Sheridan wrote: > > No, it is a little far out for me. Is there something similar in > Londinium? Best way to keep informed is through php.net. Don't make our efforts be in vain! ;-P -- daniel.br...@parasane.net || danbr...@php.net http://www.parasane

Re: [PHP] strtotime strangeness

2009-10-05 Thread Daniel Brown
On Mon, Oct 5, 2009 at 12:15, Jim Lucas wrote: > > You stated that you are running PHP 5.2.10 , too bad the function recommend > (locale_get_default()) is only available in PHP 5.3 or newer. That's my fault entirely, not Floyd's. I didn't look to see what version of PHP he was running. --

Re: [PHP] strtotime strangeness

2009-10-05 Thread Daniel Brown
On Sun, Oct 4, 2009 at 17:00, Floyd Resler wrote: > Sorry to hear that!  I live in Cincinnati so I normally don't get to watch > the Colts play when they are on at the same time as the Bengals.  But this > week I did and, best of all, they won! Yeah, well, the Browns sure didn't, so bite me.

Re: [PHP] Whacky increment/assignment logic with $foo++ vs ++$foo

2009-10-03 Thread Daniel Brown
On Sat, Oct 3, 2009 at 10:49, tedd wrote: > > That's absolutely true. > > The problem here is in the statement of: > > $num = $num++; Yeah, I understood Daevid's email a bit better *after* I sent mine. Then I was hoping no one noticed. -- daniel.br...@parasane.net || danbr...@php.net http

Re: [PHP] Whacky increment/assignment logic with $foo++ vs ++$foo

2009-10-02 Thread Daniel Brown
On Fri, Oct 2, 2009 at 17:42, Daniel Brown wrote: > >     but rather by something just slightly more advanced: > > $num = file_get_contents('visitcount.txt'); > if(isset($_GET['countme'])) { >    echo "You are visitor #".++$num."\n&q

Re: [PHP] Whacky increment/assignment logic with $foo++ vs ++$foo

2009-10-02 Thread Daniel Brown
On Fri, Oct 2, 2009 at 17:28, Daevid Vincent wrote: > > Personally I've never (in almost 20 years) done an assignment like "$foo = > $foo++" as I always use just "$foo++" or "$foo += 1" or something, hence the > reason today is the day a co-worker stumbled upon this and was as confused > as I was

Re: [PHP] POST without POSTing

2009-10-01 Thread Daniel Brown
On Thu, Oct 1, 2009 at 16:14, Paul M Foster wrote: > > Okay, I've figured out how to shove the data through cURL to the > receiving URL, but then it occurred to me that the client browser must > go there *as well*. > > Will curl_exec() do that on its own, or is there a parameter I need to > feed i

Re: [PHP] POST without POSTing

2009-09-30 Thread Daniel Brown
On Thu, Oct 1, 2009 at 00:41, Paul M Foster wrote: > > fsockopen() appears to be part of the standard network functions in PHP, > like the header() function. Do you mean that many hosts support the > function (as part of PHP) but don't support its use with external hosts? > Is there a way to deter

Re: [PHP] POST without POSTing

2009-09-30 Thread Daniel Brown
On Thu, Oct 1, 2009 at 00:16, Paul M Foster wrote: > > However, assuming it *wasn't*, I've found the following example from a > google search (thank goodness for google's "hinting" or I couldn't have > found it): > > $fp = fsockopen("www.site.com", 80); > fputs($fp, "POST /script.php HTTP/1.0 > Ho

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