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 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 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] 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] 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] 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] 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] 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.

[PHP] Static Methods and System Resources

2010-07-03 Thread Daniel Kolbo
Hello, Does PHP 'reinclude' static methods with each new instantiation of a class that has static methods? That is, if i have 100 objects is the static method sitting in memory 1 time or 100 times? Thanks, dK ` -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www

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 "

[PHP] Netbeans XDebug Breakpoints Socket Accept

2010-07-10 Thread Daniel Kolbo
Hello, I'm trying to use the debugging features of Netbeans for the first time. The Netbeans debugger is not stopping at breakpoints. I searched the net, I found out i wasn't the only one with such issues. However, after going through the various posts, etc... i am still without a resolution.

Re: [PHP] Netbeans XDebug Breakpoints Socket Accept

2010-07-11 Thread Daniel Kolbo
tedd wrote: > At 7:04 PM -0400 7/10/10, Daniel Kolbo wrote: >> Hello, >> >> I'm trying to use the debugging features of Netbeans for the first time. >> The Netbeans debugger is not stopping at breakpoints. I searched the >> net, I found out i wasn

[PHP] Static Class Member References

2010-07-11 Thread Daniel Kolbo
Hello PHPers, I'm having some trouble understanding some PHP behaviour. The following example script exhibits the behaviour which I cannot understand. [code] c =& A::$a; } } $c = new C; $b = new B; $cee = new C; var_dump($c->c); // [i] prints object(B), but [ii] prints int 3 v

Re: [PHP] Static Class Member References

2010-07-12 Thread Daniel Kolbo
Richard Quadling wrote: > On 11 July 2010 23:19, Daniel Kolbo wrote: >> Hello PHPers, >> >> I'm having some trouble understanding some PHP behaviour. The following >> example script exhibits the behaviour which I cannot understand. >> [code] >> >

Re: [PHP] Static Class Member References

2010-07-13 Thread Daniel Kolbo
Richard Quadling wrote: > On 12 July 2010 22:54, Daniel Kolbo wrote: >> Richard Quadling wrote: >>> On 11 July 2010 23:19, Daniel Kolbo wrote: >>>> Hello PHPers, >>>> >>>> I'm having some trouble understanding some PHP behaviour. The f

Re: [PHP] Static Class Member References

2010-07-13 Thread Daniel Kolbo
Richard Quadling wrote: > On 13 July 2010 09:46, Richard Quadling wrote: >> On 12 July 2010 22:54, Daniel Kolbo wrote: >>> Richard Quadling wrote: >>>> On 11 July 2010 23:19, Daniel Kolbo wrote: >>>>> Hello PHPers, >>>>> >>

Re: [PHP] Static Class Member References

2010-07-14 Thread Daniel Kolbo
David Harkness wrote: > Ah, so assigning a reference to a variable already holding a reference > changes that variable's reference only in the same way that unsetting a > reference doesn't unset the other variables referencing the same thing, yes? > > $a = 5; > $b = &$a; > print $a; >> 5 > unset

[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] 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

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] 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] 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] 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] 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] 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] 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] 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 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] 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] 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

[PHP] Copying an Object

2010-09-22 Thread Daniel Kolbo
Hello PHPers, I have: class A { ...code } class B extends A { ...code } $a = new A(); $b = new B(); I would like to get all of the properties of $a into $b by value. Class A extends 3 other classes. I would like a way to not have to manage a 'copy' method in B if A or one of

Re: [PHP] Copying an Object

2010-09-22 Thread Daniel Kolbo
an object's properties? (e.g. > using statics like Mr Bungle suggested or perhaps some nifty design > pattern?) > > > Chris H. > > > > > On Wed, Sep 22, 2010 at 7:35 AM, Daniel Kolbo <mailto:kolb0...@umn.edu>> wrote: > > Hello PHPers, > &g

Re: [PHP] Re: Copying an Object

2010-09-24 Thread Daniel Kolbo
> > On 9/24/2010 4:09 AM, Gary wrote: >> Daniel Kolbo wrote: >> >>> Say you have two classes: human and male. Further, say male extends >>> human. Let's say you have a human object. Then later you want to make >>> that human object a

Re: [PHP] Re: Copying an Object

2010-09-24 Thread Daniel Kolbo
On 9/24/2010 6:11 PM, Daniel Kolbo wrote: > On 9/24/2010 8:35 AM, Peter Lind wrote: >> On 24 September 2010 14:22, Bob McConnell wrote: >>> From: David Hutto >>> >>>> On Fri, Sep 24, 2010 at 4:09 AM, Gary wrote: >>>>> Daniel Kolbo wrote:

Re: [PHP] Re: Copying an Object

2010-09-25 Thread Daniel Kolbo
gt; >> From: chris h >> >>> On Fri, Sep 24, 2010 at 8:35 AM, Peter Lind >> wrote: >>> >>> On 24 September 2010 14:22, Bob McConnell wrote: >>> > From: David Hutto >>> > >>> >> On Fri, Sep 24,

[PHP] Open Source Website Flowchart and Wireframe Software?

2010-09-29 Thread Daniel Kolbo
Hello, This is not strictly a PHP question, though i do think some members that subscribe to this list might be able to answer this question. Is there an open source website flowchart and wireframe software. My google searches are not quite pulling up what I'm looking for. I would like a piece

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

[PHP] Sessions only work in SSL

2010-10-19 Thread Daniel Houle
I have a strange issue here. I am running a CentOS machine, with apache 2.2.3 php 5.1.6 kernel 2.6.18-194.8.1.el5xen My sessions will work using https, but not using simple http. I've compared my configs with another identical machine which works with both, and I can't figure out why. Anyon

Re: [PHP] Sessions only work in SSL

2010-10-19 Thread Daniel Houle
On 10/19/2010 09:41 AM, Andrew Ballard wrote: On Mon, Oct 18, 2010 at 8:46 PM, Daniel Houle wrote: I have a strange issue here. I am running a CentOS machine, with apache 2.2.3 php 5.1.6 kernel 2.6.18-194.8.1.el5xen My sessions will work using https, but not using simple http. I&#x

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

[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] 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

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 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
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 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
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

[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

[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/ --

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

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: FW: [PHP] Why the PEAR hate?

2010-11-16 Thread Daniel Brown
On Tue, Nov 16, 2010 at 12:25, Hansen, Mike wrote: > > Is PEAR supposed to be the CPAN for PHP, or is there another  repository of > PHP modules that is used by the typical PHP developer? PEAR is to PHP what CPAN is to Perl, yes but there's really no such thing as PHP modules that are "u

Re: [PHP] Stripslashes

2010-11-18 Thread Daniel Brown
On Thu, Nov 18, 2010 at 09:49, Tommy Pham wrote: > > You'll have to wait a very long time for that. IIRC, the official word (via > windows list) is that PHP 6 is cancelled.  The next official release is 5.4. Well, not canceled, just postponed. It goes back and forth all the time, and has for

Re: [PHP] Procedural Autoloader?

2010-11-22 Thread Daniel Brown
On Mon, Nov 22, 2010 at 16:47, Peter Lind wrote: > > Not to mention that it has nothing to do with a procedural autoloader. > Autoloading takes place if you try to instantiate an object of a class > that PHP doesn't know about (yet). There is no such thing for > functions. Either refactor your cod

Re: [PHP] Can't find existing file

2010-11-22 Thread Daniel Brown
On Mon, Nov 22, 2010 at 16:54, Dee Ayy wrote: > Hi Daniel, > Tell me if this isn't self explanatory: > > cp ./photos/Nozzle\ 130\ Amp\ SS\ Alum\ 94-00994-06\ 220197.JPG > "./photossized/001196-220197-0.jpg" > cp: ./photos/Nozzle 130 Amp SS Alum 94-00

Re: [PHP] is this thing on??

2010-11-23 Thread Daniel Brown
On Tue, Nov 23, 2010 at 14:55, Peter Lind wrote: > > http://news.php.net/php.general - please, next time, don't spam tons of > people. We've never really minded the occasional list-ping. In fact, if you check those same archives through the decade, you'll see that even the most senior membe

Re: [PHP] Poor newsgroup server performance

2010-11-29 Thread Daniel Brown
On Mon, Nov 29, 2010 at 12:52, Al wrote: > On 11/29/2010 11:03 AM, Daniel P. Brown wrote: >> >>     Via what news server(s), Al? >> > > news.php.net Okay, figured as much. I had mentioned some time ago that I would look into adding an NNTP-only mirror of news.php.

[PHP] Announcing New PHP Extension: FileConv

2010-12-11 Thread Daniel Brown
Happy Saturday, folks; I've finally gotten around to releasing my latest PHP extension (which was actually written about two years ago). Named FileConv, it adds native functions for converting back and forth between DOS, *NIX, and legacy MacOS file formats. It's compact, comes with a bas

Re: [PHP] Use PHP the way God intended...

2010-12-14 Thread Daniel Brown
On Tue, Dec 14, 2010 at 09:29, Robert Cummings wrote: > > I must have been under a rock when the reference came out :| Or you may have still been in shock from hearing that Paul was dead. -- Network Infrastructure Manager Documentation, Webmaster Teams http://www.php.net/ -- PHP General

Re: [PHP] Use PHP the way God intended...

2010-12-14 Thread Daniel Brown
On Tue, Dec 14, 2010 at 11:43, Paul M Foster wrote: > > Er... that's Paul McCartney, not Paul Foster. Whew! HA! Sorry to make your heart jump. ;-P -- Network Infrastructure Manager Documentation, Webmaster Teams http://www.php.net/ -- PHP General Mailing List (http://www.php.net/) To u

Re: [PHP] How does one reply to messages on this list?

2010-12-16 Thread Daniel Brown
On Thu, Dec 16, 2010 at 06:44, Sam Smith wrote: > If I just hit 'Reply' I'll send my reply to the individual who created the > message. If I hit 'Reply All' my reply will be sent to: Govinda < > govinda.webdnat...@gmail.com>, PHP-General List > and the creator of the message. > > Neither option s

Re: [PHP] How does one reply to messages on this list?

2010-12-16 Thread Daniel Brown
oying. It's so much more intuitive to know that hitting "Reply" goes to the individual, whereas "Reply-All" will, as the option suggests, reply to all. > For example, I hit reply all on this message, it is now replying to Daniel, > and CC'ing Sam and the php-gene

Re: [PHP] PHPInfo disabled due to security

2010-12-17 Thread Daniel Brown
On Thu, Dec 16, 2010 at 23:39, Paul S wrote: > > Well, I was hoping for stronger arguments to get that DONE. I would think > there be something in the PHP license > that would FORBID disabling functionality. Really? You would really think that? Because we wouldn't. > After all, 'phpinfo' i

Re: [PHP]Confusion About WordPress Cache

2010-12-17 Thread Daniel Brown
On Fri, Dec 17, 2010 at 09:32, Nicholas Kell wrote: > On Dec 17, 2010, at 8:21 AM, 肖晗 wrote: >> I am using WordPress Cache to cache data retrieved from database, using >> WP_Cache . [snip!] >> >> Can anyone help? Or it is not what I am thinki

Re: [PHP] Problems w/ goto

2010-12-17 Thread Daniel Brown
On Fri, Dec 17, 2010 at 11:38, Ethan Rosenberg wrote: > > I am trying to write a program that can have two(2) independent forms in one > PHP file.  When I run the code below [from PHP - A Beginner's Guide], to > which I have added a second form, it freezes. [snip!] > What did I do wrong? You

[PHP] Re: [PHP-DB] Re: [PHP] Problems w/ goto

2010-12-17 Thread Daniel Brown
On Fri, Dec 17, 2010 at 12:16, Richard Quadling wrote: > > And have you seen all the sad faces ... > > : { > > on http://docs.php.net/manual/en/control-structures.goto.php#92763 > > Can't be good for them. If only people knew how many hours - literally, hours - it took me to keep that page cl

Re: [PHP] array question

2010-12-17 Thread Daniel Brown
On Fri, Dec 17, 2010 at 15:52, Sorin Buturugeanu wrote: > Hello all! > > I have a question regarding arrays and the way I can use a value. > > Let's say I have this string: > > $s = 'banana,apple,mellon,grape,nut,orange' > > I want to explode it, and get the third value. For this I would normally

[PHP] Re: [PHP-DB] Re: [PHP] Problems w/ goto

2010-12-20 Thread Daniel Brown
On Sat, Dec 18, 2010 at 17:02, David Hutto wrote: > or maybe it's saturday morning and i'm drunk? This seems to be the most likely, and considering how all messages are permanently and independently archived and propagate throughout the Internet, it might be a good reason not to go nuts in se

Re: [PHP] PHPInfo disabled due to security

2010-12-21 Thread Daniel Brown
On Tue, Dec 21, 2010 at 02:40, Ravi Gehlot wrote: > Hello there, > > If you have a small to medium size web site then go to GoDaddy. Do not > believe all that you see from php_info(). I will give you an example. The > memory_limit it gives on shared hosting does not reflect the one intended > for

Re: [PHP] Common session for all subdomains?

2010-12-21 Thread Daniel Brown
On Tue, Dec 21, 2010 at 02:27, Ravi Gehlot wrote: > That's a good question. > > There should be a setting on php.ini to allow cross session. Right. Because who needs to teach folks about computer security when we can just disable it for them anyway? Like Jonathan pointed out, it's a mat

Re: [PHP] Ways to attend usergroups meeting

2010-12-21 Thread Daniel Brown
On Tue, Dec 21, 2010 at 05:35, wrote: > Hi, > > I want to know if there is a central repo of all the php usergroups and its > activities. wiki.php.net page is empty on this topic. Anyone aware of a php > group meetings in Mumbai, India? If not, how to go about starting it? http://links.paras

Re: [PHP] Ways to attend usergroups meeting

2010-12-21 Thread Daniel Brown
On Tue, Dec 21, 2010 at 11:07, wrote: > Thanks for the link. > I already been through the given link. But, it is filled with inactive and > non-responsive groups. I was hoping to get in touch with an active one. We don't seem to have any user group events for Mumbai on the calendar, either.

Re: [PHP] Server response very poor again

2010-12-22 Thread Daniel Brown
On Wed, Dec 22, 2010 at 12:39, Al wrote: > > I should have been more explicit. I meant to say the newsgroup access. Okay, that's what I figured. I've been saying for months now that I'd set up an NNTP-only mirror, and keep getting sidetracked with other things. I'll try to focus on that aft

Re: [PHP] Re: Do you trim() usernames and passwords?

2010-12-28 Thread Daniel Brown
On Tue, Dec 28, 2010 at 15:43, Nathan Rixham wrote: > > that's what pkcs12 was invented for, just issue another certificate / key > pair. This thread has really just gone on far too long without the only correct answer: always use the same username/password for everything, and always make the

Re: [PHP] Re: Do you trim() usernames and passwords?

2010-12-28 Thread Daniel Brown
On Tue, Dec 28, 2010 at 16:05, Dotan Cohen wrote: > > Did you know that when you type 'brown1' we see it as **? Your > system does that automatically. That's how I see it, too. It took me fourteen years to realize that my password wasn't just six asterisks (though, in my hand-made, high-

Re: [PHP] Re: Do you trim() usernames and passwords?

2010-12-28 Thread Daniel Brown
On Tue, Dec 28, 2010 at 16:10, Peter Lind wrote: > > Bla bla bla not Friday yet bla bla bla cut down on the noise on the list bla > bla I tend to think that you fail to see the actual meaning behind the messages, Peter, and instead just like to remind me of my own words. Don't worry: I remem

Re: Re: [PHP] Re: Do you trim() usernames and passwords?

2010-12-29 Thread Daniel Brown
On Wed, Dec 29, 2010 at 20:04, Alexis wrote: > > What has any of this got to do with PHP!!! > > If the moderator is reading this can they please out a stop to it at > once, as it appears to have got way out of control. > > Thanks and a Happy New year to one and all What moderator? It's an op

[PHP] Hot Topics

2010-12-29 Thread Daniel Brown
First, I have to admit that what I did was wrong. I had assumed (ASS-umed) that the other party in a discussion under a different thread would understand and appreciate the irony of my email in reply to his inappropriate message. Those of you who were barraged with the fallout know what I mea

Re: [PHP] Hot Topics

2010-12-29 Thread Daniel Brown
On Dec 29, 2010 11:48 PM, "Jason Pruim" wrote: > > Weren't you playing with the possibility of including the amount of actual code written as well? Yeah, that was in for a few weeks, but I believe it was Robert Cummings who went out of his way to show its imperfections. Maybe we should incorp

Re: [PHP] Hot Topics

2010-12-30 Thread Daniel Brown
On Thu, Dec 30, 2010 at 08:23, Jason Pruim wrote: > > I seem to remember you doing the same thing from your phone Mr. Brown :P Yeah. Android finally updated that a few weeks ago. Now you can respond inline, as I did from my DROID with that last post. ;-P -- Network Infrastructure Manage

Re: [PHP] Developer needed, right place for it?

2010-12-30 Thread Daniel Brown
On Thu, Dec 30, 2010 at 15:44, Bill Marcy wrote: > Looking to get a bit of PHP work done, is this the right place for it, or is > there a better place to ask? This is generally fine for one-off PHP requests, sure. We really need to get a jobs list up. I'll work on that, but in the meant

[PHP] Re: [PHP-DB] Re: [PHP] Regex for telephone numbers

2010-12-30 Thread Daniel Brown
On Thu, Dec 30, 2010 at 14:07, Ethan Rosenberg wrote: > > Josh - > > I used use \d{3}-\d{3}-\d{4}. > > It works beautifully!! Just keep in mind that invalid numbers will also pass that check, such as 000-000- or 123-456-6789. That's why my example was a bit more involved. -- Network I

Re: [PHP] Job Search

2010-12-31 Thread Daniel Brown
On Fri, Dec 31, 2010 at 09:11, Ethan Rosenberg wrote: > Dear list - > > I am an entry level data base programmer [PHP/MySQL HTTP/CSS] looking for > work in the NY metropolitan area.  Any ideas? Search Google, but trust me, you're going to need more experience than entry-level to pick up a job

Re: [PHP] Regex for telephone numbers

2010-12-31 Thread Daniel Brown
On Fri, Dec 31, 2010 at 12:05, Dmitriy Ugnichenko wrote: > I guess, this will work fine > > ereg('[0-9]{3}-[0-9]{3}-[0-9]{4}',  $phone_number); Not quite. Plus, all ereg* functions have been deprecated for some time now. -- Network Infrastructure Manager Documentation, Webmaster Teams htt

Re: [PHP] Newbie Question

2011-01-05 Thread Daniel Brown
On Wed, Jan 5, 2011 at 11:32, David Harkness wrote: > > I do have to say that NetBeans more than Eclipse will randomly become > unusable for unknown reasons: disk and CPU activity spike, code-completion > lags, whatever. Eclipse seems more solid in this regard. Whereas, on Linux, I've found t

Re: [PHP] Newbie Question

2011-01-05 Thread Daniel Brown
On Wed, Jan 5, 2011 at 19:45, David Harkness wrote: [snip!] > > Most companies will gladly give their product away to put it in the hands of > soon-to-be-professionals. :) Tedd had his chance to be professional back in the forties (the eighteen-forties, I believe). Now he teaches others who

Re: [PHP] PHP Docs update

2011-01-06 Thread Daniel Brown
On Thu, Jan 6, 2011 at 11:37, Ford, Mike wrote: > Except it completely sucks when I look at it using my (corporately > constrained) IE7! > > There are also a few display issues on the individual reference pages when > viewed with FF3.6 - the coloured bars and grey backgrounds spill over into >

Re: [PHP] Re: php in windows

2012-04-11 Thread Daniel Fenn
I don't want to sound rude but I did say this before, why don't you get zend server CE or xampp and install that? On Thu, Apr 12, 2012 at 12:11 PM, Kirk Bailey wrote: > Steve, THERE IS NO SUCH FILE in tinyweb. It turns to the operating system > asspciations to determine what to use to process

[PHP] Upcoming Outage: php.net

2012-04-13 Thread Daniel Brown
Greetings, all; This coming Monday, 16 April, 2012, between the hours of 18:00 and 20:00 EDT (22:00 to 00:00 GMT), the one of the primary php.net servers will be undergoing a critical preventative maintenance operation. In this two-hour maintenance window, we do expect a period of interru

[PHP] Re: Upcoming Outage: php.net

2012-04-16 Thread Daniel Brown
Just a reminder, see the below message. On Apr 13, 2012 3:43 PM, "Daniel Brown" wrote: >Greetings, all; > >This coming Monday, 16 April, 2012, between the hours of 18:00 and > 20:00 EDT (22:00 to 00:00 GMT), the one of the primary php.net servers > will

[PHP] Re: Upcoming Outage: php.net

2012-04-16 Thread Daniel Brown
d/or https://bugs.php.net/. Thank you. On Apr 16, 2012 6:15 PM, "Daniel Brown" wrote: > Just a reminder, see the below message. > On Apr 13, 2012 3:43 PM, "Daniel Brown" wrote: > >>Greetings, all; >> >>This coming Monday, 16 April, 2012, betwee

Re: [PHP] [foreach] - is it proper to...

2012-05-31 Thread Daniel Brown
On Thu, May 31, 2012 at 12:48 PM, Tristan wrote: > I'm using Zend Studio and it had a suggestion that I do a foreach as such > > foreach($entry as $entry){ > > } which would be the same as `foreach ($entry)` --- a syntax option that doesn't exist, but would be ideal. > foreach($entries

Re: [PHP] cyberweaponry

2012-05-31 Thread Daniel Brown
On Thu, May 31, 2012 at 1:21 PM, Tedd Sperling wrote: > > So, my question to the group -- has PHP produced any viruses? If not, could > it? If so, can anyone elaborate on the details? To my own memory, viruses by definition, no. However, with that said, there's tons of PHP malware, includin

Re: [PHP] Happy Diamond Jubilee everyone!

2012-06-01 Thread Daniel Brown
On Fri, Jun 1, 2012 at 1:44 PM, Ashley Sheridan wrote: > This is a bit of a shameless plug, but it is a Friday and a pretty > special weekend over here. > > I recently got to work on something a bit fun at work in my spare time > and they liked it so much that it got used internally to celebrate t

[PHP] Open Call: Official PHP Mirror

2012-06-01 Thread Daniel Brown
Greetings, all; Have you ever wanted to get directly involved in the PHP project in an official capacity, but don't have the time, resources, or knowledge required to contribute to the core, documentation, or other roles? Did you know about our Official Mirrors program? Starting toda

Re: [PHP] zend_auto_global_disable_jit missing in PHP 5.4.5

2012-06-05 Thread Daniel Brown
On Mon, Jun 4, 2012 at 11:30 PM, freeone3000 wrote: > I'm working with a third-party PHP extension that makes a call to > zend_auto_global_disable_jit. However, in PHP5.4.5, there is no > zend_auto_global_disable_jit available, nor is it in its traditional > header. Commenting out all zend_auto_gl

Re: [PHP] If PHP Were British

2012-06-22 Thread Daniel Brown
On Fri, Jun 22, 2012 at 5:07 PM, Daevid Vincent wrote: > http://www.addedbytes.com/blog/if-php-were-british/ Eh, what the hell, it's Friday http://links.parasane.net/eea4 -- Network Infrastructure Manager http://www.php.net/ -- PHP General Mailing List (http://www.php.net/)

Re: [PHP] What's happened to our newsgroup?

2012-06-26 Thread Daniel Brown
On Tue, Jun 26, 2012 at 5:42 PM, Matijn Woudt wrote: > > Isn't everyday friday in summer? ;) If it is, then it could be argued that every day is a Monday in winter --- and right now, those poor folks in the southern hemisphere (I'm looking at you, Thiago Pojda) are in a season of endless Mond

Re: [PHP] slicing and dicing strings

2012-06-28 Thread Daniel Brown
On Wed, Jun 27, 2012 at 6:15 PM, Kirk Bailey wrote: > ok, it slices and dices, but how? > in python, to print all but the last char in string FOO, we say > print FOO[:-1] > But this seems to bark like a basset hound in php. Whyfore? It is a longer syntax which, in agreement with some folks, I

Re: [PHP] Depreciation message I can't make out....

2012-06-28 Thread Daniel Brown
On Thu, Jun 28, 2012 at 1:44 PM, Gary Lebowitz wrote: > Hi, > > I am running Moodle 2.2.3 and using PHP 5.3 on a Linux server with GoDaddy > and am getting the message about "depreciation" after having typed the > following command into their cron job manager: >  /web/cgi-bin/php5_3 "$HOME/html/mo

<    13   14   15   16   17   18   19   20   21   22   >