Re: [PHP] Zend memory manager

2011-01-23 Thread Daniel Brown
On Sun, Jan 23, 2011 at 09:10, Adi Mutu wrote: > Hello, > > This is my first mail here, i hope it's ok. > Can somebody give me any hint to some docs about how the Zend mm works? I > can't > find any references on the net. > I'm not interested in only emalloc, efree etc. but at an even lower l

Re: [PHP] array to var - with different name

2011-01-20 Thread Daniel Molina Wegener
27;) { > $t_string = $t_string . "t_" . substr($key,2) . "=$value&"; > parse_str($t_string); >} > } > - > > I figure I can adapt the above by doing something like: > > $a_formvars = array_merge($_POST,$_GET); > > However, I thought I'd check with you all to see if there is something > I'm missing. I don't speak PHP that well and there may be an easier way. Did you tried the $_REQUEST variable? Take a look on: > > Thanks, > Donovan Best regards, -- Daniel Molina Wegener System Programmer & Web Developer Phone: +56 (2) 979-0277 | Blog: http://coder.cl/

Re: [PHP] switch case madness

2011-01-19 Thread Daniel Brown
On Tue, Jan 18, 2011 at 23:39, Joshua Kehn wrote: > > Why not use one of the countless, not to mention secure and stable cookie > management systems available? If it's an exercise cool, I misunderstood. > > I'm not one to normally shun people rolling their own code, lord knows I've > done it mor

Re: [PHP] Autorename extracted files from zip-archive

2011-01-19 Thread Daniel Brown
On Wed, Jan 19, 2011 at 09:06, Merlin Morgenstern wrote: > Hello, > > I am using shell_exec to uncompress zip files which works fine, but has one > big problem. Whenever the zip-archive containes an already existing file > name, it will overwrite the current one. I need the file to be extracted an

Re: [PHP] 2nd Pair of eyes

2011-01-18 Thread Daniel Brown
On Tue, Jan 18, 2011 at 12:49, Donovan Brooke wrote: > Hello, > > I warned the list that I may have questions! ;-) > > ...building a simple cookie-based log-in system, and have > narrowed an error to this below: (sorry for email line breaks, if any) > > ---Start--- > if ($_post['f_action']=='login

Re: [PHP] [PHP]: permission problem www-data

2011-01-18 Thread Daniel Brown
On Tue, Jan 18, 2011 at 10:55, Jim Lucas wrote: > > You could run PHP in FastCGI mode and start it as your user.  Then have your > web > server use that PHP instance for your web site to process all PHP requests. > > This is how we have our servers at the office setup.  Works great. My guess

Re: [PHP] PHP Error logging

2011-01-17 Thread Daniel Brown
On Mon, Jan 17, 2011 at 19:33, Jimmy Stewpot wrote: > Hello, > > I currently have a strange issue where we are seeing 'random errors' being > displayed to end users. What I find most interesting is that in the php.ini > file we have the following error settings. > > error_reporting  =  E_ALL & ~

Re: [PHP] [security] PHP has DoS vuln with large decimal points

2011-01-16 Thread Daniel Brown
On Sun, Jan 16, 2011 at 21:00, Tommy Pham wrote: > > Here are the results after some further tests for the same platform: > > * max float value: 1.7976931348623E+308 > * min float value:  9.8813129168249E-324  << > floatval('1.00e-323') weird ... > > PHP wil hang when the value

Re: [PHP] PHP tutorials

2011-01-16 Thread Daniel Brown
On Sun, Jan 16, 2011 at 13:26, tedd wrote: > Hi gang: > > In the past we talked about PHP tutorials, but I don't remember if there was > a single clearinghouse/link for them or not -- is there one? If not, what do > you recommend? While this isn't a direct response, it's an added idea: you mi

Re: [PHP] which php file is sending emails?

2011-01-15 Thread Daniel Brown
On Sat, Jan 15, 2011 at 13:51, Nilesh Govindarajan wrote: > > hahaha, that command wasn't broken. It works on Linux. But certain commands > have to be changed to work on *BSD. > > For example, chmod u=rwx,g=rwx,o= directory -R will work on linux, but will > not on FreeBSD. It has to be changed to

Re: [PHP] which php file is sending emails?

2011-01-15 Thread Daniel Brown
On Sat, Jan 15, 2011 at 12:21, Nilesh Govindarajan wrote: > On 01/15/2011 10:22 PM, Jim Lucas wrote: >> >> Um, I use OpenBSD and that command gives me an error or two... >> >> $ grep -l mail $(find -name *.php) >> find: unknown option -- n >> find: unknown option -- a >> find: unknown option -- m

Re: [PHP] lists, email, 1 each

2011-01-15 Thread Daniel Brown
On Sat, Jan 15, 2011 at 10:58, wrote: > ok, my site uses the Cpanel. Cpanel does NOT like creating forwarding > aliases with multiple TO address'. I want to make a bone butt simple list > using a php script, and this must accept a file with 2 email address' in it. > Any advice? cPanel does m

Re: [PHP] Exec Script in the background, don't wait till it finishes

2011-01-14 Thread Daniel Brown
On Fri, Jan 14, 2011 at 13:28, Kai Renz wrote: (Putting this back on the list. Please use Reply-All.) > @Daniel: > Yeh i tried sending it to the background, this works but still it does > wait for the other script to finish. It shouldn't. In fact, just to see if I some

Re: [PHP] Exec Script in the background, don't wait till it finishes

2011-01-14 Thread Daniel Brown
On Fri, Jan 14, 2011 at 11:56, Kai Renz wrote: > > Now here is the problem: > it all works fine, but the client can't send a quit message to socket1 > because socket1.php waits until socket2.php is finished. socket2.php > is working properly, and if i connect to the new socket and quit the > conne

Re: [Fwd: Re: [PHP] Re: Rewriting string]

2011-01-13 Thread Daniel Brown
On Thu, Jan 13, 2011 at 16:31, Nathan Rixham wrote: > Dan, you misread, I fwd'd the email, that was Richards reply to me. > > You should know I don't reply to people in such a manner by now :) Thought it was a bit odd, but in Gmail, it didn't show forwarding, only a reply - seemingly written

Re: [PHP] Array Symbol Suggestion

2011-01-12 Thread Daniel Brown
On Wed, Jan 12, 2011 at 15:41, Michael Shadle wrote: > On Wed, Jan 12, 2011 at 12:37 PM, Daniel Brown wrote: > >>    The @ is an error control operator, used to buffer the output and >> store it in a variable - $php_errormsg.  There's no way that would be >> changed

Re: [PHP] Array Symbol Suggestion

2011-01-12 Thread Daniel Brown
On Wed, Jan 12, 2011 at 14:45, wrote: > I'd like to make a suggestion for a change, or possibly an addition, to the > PHP language. > > I'm learning PHP and have been very excited with what it can do in relation > to HTML.  But when I got to the part about arrays, I was disappointed to see > t

Re: [PHP] HTML errors

2011-01-12 Thread Daniel Brown
On Wed, Jan 12, 2011 at 12:08, David Harkness wrote: > > I tried this with PHP 5.3.2 on Ubuntu 10.04, but when I run any PHP script I > get the following. > >    Fatal error in php.ini line 184: Saying a thing doesn't make it so. > > What does this mean? Looks like you may have installed the

Re: [PHP] HTML errors

2011-01-12 Thread Daniel Brown
On Wed, Jan 12, 2011 at 06:38, David McGlone wrote: > > Goes to show ya, even Deaf people aren't perfect spellers. Still like your > little joke? ;-) Of course I do. Deafness has nothing to do with spelling. If it did, just imagine how ridiculously difficult it would've been to decipher any

Re: [PHP] HTML errors

2011-01-11 Thread Daniel Brown
On Tue, Jan 11, 2011 at 22:35, David McGlone wrote: > Hi Everyone, I'm having a problem validating some links I have in a foreach. > Here is my code: >   "http://www.w3.org/TR/html4/loose.dtd";> > > my PHP code: > $categorys = array('home', 'services', 'gallery', 'about_us', 'contact_us', > 'testi

Re: [PHP] Stripping carriage returns

2011-01-11 Thread Daniel Brown
On Tue, Jan 11, 2011 at 14:13, Richard S. Crawford wrote: > > $content = str_replace(chr(13),$content) > > and > > $content = str_replace(array('\n','\r','\r\n'),$content) Neither of these have replacement values, which might just be a typo. However, the larger issue is in the single (litera

Re: [PHP] Re: Help: Validate Domain Name by Regular Express

2011-01-09 Thread Daniel Brown
On Sun, Jan 9, 2011 at 12:32, Ashley Sheridan wrote: > > ^ is to the power of, not square root, which is √, which does translate to > Tedds domain Thanks for the math lesson, professor, but I already knew that. ;-P My point is, and as you can see in the quoted text from my email, that

Re: [PHP] Re: Help: Validate Domain Name by Regular Express

2011-01-09 Thread Daniel Brown
On Sun, Jan 9, 2011 at 11:58, tedd wrote: > > For example -- > > http://xn--19g.com > > -- is square-root dot com. In all browsers except Safari, PUNYCODE is shown > in the address bar, but in Safari it's shown as ˆ.com Not sure if that's a typo or an issue in translation while the email was

Re: [PHP] Command line PHP

2011-01-08 Thread Daniel Brown
On Sat, Jan 8, 2011 at 00:23, Larry Garfield wrote: > On Friday, January 07, 2011 9:34:42 pm David Hutto wrote: > >> Which yielded this as the first result: >> >> >> http://php.net/manual/en/features.commandline.php > > As noted in my original email, I find the native SAPI clunky and difficult to

Re: [PHP] Command line PHP

2011-01-08 Thread Daniel Brown
On Sat, Jan 8, 2011 at 07:25, TR Shaw wrote: > > Sorry, David I should not reply quickly when I have a cold but again its all > pretty similar. Here it is on unix/linux. > > PHP: > > $word = "hello"; > exec("say \"$word\""); > > Bash: > > word="hello" > say "$word" -- Network Infrastructure

Re: [PHP] Apache and PHP segfaults on Redhat EL5

2011-01-07 Thread Daniel Brown
On Thu, Jan 6, 2011 at 22:55, Jimmy Stewpot wrote: > > Is there a method or way that I can enable a 'debug' mode in php which would > help me track down and identify the root cause of these problems? > If anyone has any suggestions on what I can do to try and get further down > the track to enli

Re: [PHP] Command line PHP

2011-01-07 Thread Daniel Brown
On Fri, Jan 7, 2011 at 13:31, Joshua Kehn wrote: > > My apologies. I just view PHP as a perfected web language, due to it's > templating nature, while using it for other things (scripts, utilities, > cron) is a misuse in my opinion. No one ever needs to apologize for their opinion, Josh, no w

Re: [PHP] Command line PHP

2011-01-07 Thread Daniel Brown
On Fri, Jan 7, 2011 at 12:18, Joshua Kehn wrote: > > Using another language more suited towards CLI / standalone (non-web) > development would be easier. PHP at it's core is a templating language. I > don't think it is as suited as say Python for developing standalone > applications. One m

Re: [PHP] Command line PHP

2011-01-07 Thread Daniel Brown
On Fri, Jan 7, 2011 at 12:01, Joshua Kehn wrote: > > Why are you writing a command line application in PHP? I would think that is > starting off on a very wrong foot. I would not be exaggerating to say that I've written over a thousand command line applications in PHP since about 2003. For

Re: [PHP] Command line PHP

2011-01-07 Thread Daniel Brown
On Fri, Jan 7, 2011 at 11:55, la...@garfieldtech.com wrote: > Hi folks.  I have a project coming up that will involve writing a > non-trivial command line PHP application.  Most of it will be nice and > abstracted and standalone and all of that jazz, but it will need to do > command line interatio

Re: [PHP] Newbie Question

2011-01-06 Thread Daniel Brown
On Thu, Jan 6, 2011 at 23:09, Bill Guion wrote: > > Fogging must be a REAL OLD Fashioned term. Please clarify. It was originally written before man invented the letter 'L', Bill. Welcome back, by the way. For someone who only posts once in a [great[ while, you certainly scrutinize spell

Re: [PHP] mail() function on Windows (WAMP Server)

2011-01-06 Thread Daniel Brown
On Thu, Jan 6, 2011 at 16:10, David Armstrong wrote: > Thanks Daniel.  I will suggest that to the developer and see if we can get > some useful information to further the troubleshooting process. >> >>    Per list rules, please hit "reply-all" and post your response

Re: [PHP] mail() function on Windows (WAMP Server)

2011-01-06 Thread Daniel Brown
On Thu, Jan 6, 2011 at 16:02, David Armstrong wrote: > I modified the php.ini in both the apache/bin directory, and also the php > directory. > Is there some way to get a trace of the code execution?  The SMTP log files > are completely worthless.  They do not show any sort of connection attempt.

Re: [PHP] mail() function on Windows (WAMP Server)

2011-01-06 Thread Daniel Brown
On Thu, Jan 6, 2011 at 15:50, David Armstrong wrote: > I set the following parameters > > [mail function] > ; For Win32 only. > ; http://php.net/smtp > SMTP = localhost > ; http://php.net/smtp-port > smtp_port = 25 > sendmail_from = Per list rules, please hit "reply-all" and post your respon

Re: [PHP] mail() function on Windows (WAMP Server)

2011-01-06 Thread Daniel Brown
On Thu, Jan 6, 2011 at 15:27, David Armstrong wrote: > I'm in the process of helping some developers port their php application > from Linux to Windows (I know, string me up from the flag pole later).  I > have setup WAMP and everything is working fine with the exception of the > mail() function.

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] 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] 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] Flexible application plugin architecture, is this possible?

2011-01-04 Thread Daniel Molina Wegener
filter... > > I realize PHP doesn't have this magical "__instantiate" function, but > does it have any similar mechanism that would work to automatically > load alternate classes, or have a class dynamically overload > itself during runtime? Well, you can do this usin

Re: [PHP] session_id() is not passed to the next page

2011-01-04 Thread Daniel Molina Wegener
} > exit(); > } > 8<-- > > which call the following page correctly, but the two vars $sess_user and > $sess_timeout are empty. > > Can someone please tell me how to do this? Did you tried working with

Re: [PHP] Regex for telephone numbers

2010-12-31 Thread Daniel P. Brown
On Fri, Dec 31, 2010 at 19:09, Jim Lucas wrote: > > Actually... > > Specified here [1] it says that the {1,} is the same as '+'.  I think you > should > drop the comma.  If you don't this would be valid 844-2345-123456 > > ^[2-9]{1,}[0-9]{2,}\-[2-9]{1,}[0-9]{2,}\-[0-9]{4,}$ > > should be > > ^[2-

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] Regex for telephone numbers

2010-12-31 Thread Daniel P. Brown
On Fri, Dec 31, 2010 at 11:04, Per Jessen wrote: > > AFAIK, they too vary from country to country.  Swiss mobile numbers are > 07[6789] NNN, the latter usually written as NNN NN NN, but also > often in a way that will help remembering the number. > Danish mobile#s are the same as land line num

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

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

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

2010-12-30 Thread Daniel P. Brown
On Thu, Dec 30, 2010 at 11:27, Omega -1911 <1911...@gmail.com> wrote: > Which topic ashley do u wish to discuss. With the eccouncil.org being in > your neck of th woods, learning/reading what hackers are using/doing > shouldn't be hard... Really, this entire thing has gone on for far too long.

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

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

Re: [PHP] Regex for telephone numbers

2010-12-29 Thread Daniel P. Brown
On Wed, Dec 29, 2010 at 19:12, Ethan Rosenberg wrote: > Dear List - > > Thank you for all your help in the past. > > Here is another one > > I would like to have a regex  which would validate that a telephone number > is in the format xxx-xxx-. Congrats. People in Hell would like ice

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

2010-12-29 Thread Daniel P. Brown
On Wed, Dec 29, 2010 at 18:38, Omega -1911 <1911...@gmail.com> wrote: > Etiquette went out the window a while ago. As Rambo said, "He drew > first blood..." If you could not PROVE ME WRONG, you could have kept > your mouth shut. You jumped in head first. And you have YET to prove > me wrong. Then t

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

2010-12-29 Thread Daniel P. Brown
On Wed, Dec 29, 2010 at 18:20, Omega -1911 <1911...@gmail.com> wrote: > AHHH... Searching by by an email is REALLY what you call hacking? Oh > wait, you said that with all your knowledge in forensics you can find > people all over the world. Thank God for Go0GlE. Please don't top-post. Ne

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

2010-12-29 Thread Daniel P. Brown
On Wed, Dec 29, 2010 at 15:16, Omega -1911 <1911...@gmail.com> wrote: > Sound silly? Why Daniel? It's all documented and public knowledge. What I > thought was silly was a entire thread about which ASCII combination was > best.. convert to a higher range above the 255 characte

Re: [PHP] File-Upload per Drag-N-Drop?

2010-12-29 Thread Daniel P. Brown
On Wed, Dec 29, 2010 at 13:23, Michelle Konzack wrote: > Hello, > > my users have an Online-File-Store with nearly anything  they  need  but > one feature is missing:  Drag-D-Drop. > > I like to implement Drag-D-Drop so users can Drag a file  from  a  File- > Manager and Drop it on the Upload-Icon

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

2010-12-29 Thread Daniel P. Brown
On Wed, Dec 29, 2010 at 11:57, Omega -1911 <1911...@gmail.com> wrote: > Those were some pretty confident statements there. "You doubt the government > would want to hack your computer..." Well, the U.S. tries to prevent over 1 > million attacks per day as documented and has admitted to having been

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: [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 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: Need code like

2010-12-27 Thread Daniel P. Brown
On Mon, Dec 27, 2010 at 19:51, Michelle Konzack wrote: > > OK, I was a little bit working on it, but a  GPLed  code  which  include > AdWords and GoogleAnalytics is already suspect. > > Then the whole code is spagetti... > > And I do not know what Paul was smoking, when he has written layout.php.

Re: [PHP] Need code like

2010-12-27 Thread Daniel P. Brown
On Sat, Dec 25, 2010 at 12:32, Michelle Konzack wrote: > Hello, > > before I reinvent the weehl, I ask here: > > In my webinterface "My Space" I wan t include a section where users  can > upload files and have them proposed like  on  .  Also  for > source codes it would be nice, if users could cho

Re: [PHP] Server response very poor again

2010-12-22 Thread Daniel P. Brown
On Wed, Dec 22, 2010 at 13:07, Steve Staples wrote: >> > whoa... wait a sec there...  i seem to recall this statement... ;) > > "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 go

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: Warning when calling session_start()

2010-12-22 Thread Daniel P. Brown
On Wed, Dec 22, 2010 at 11:43, Ravi Gehlot wrote: > session_start (); should be before everything...first thing in the page. Unlike the body of your email, Ravi, which is why I've asked you before not to top-post. Please follow the formats as outlined in the list rules. -- Dedicated Serve

Re: [PHP] Server response very poor again

2010-12-22 Thread Daniel P. Brown
On Wed, Dec 22, 2010 at 12:17, Nicholas Kell wrote: > > I am with Steve. Well, what I mean is, on this topic I am in agreement with > Steve. My connection, etc. seems to be quite responsive. Oh, that's what you mean! Several of us were speaking about it the other day and thought you two wer

Re: [PHP] Server response very poor again

2010-12-22 Thread Daniel P. Brown
On Wed, Dec 22, 2010 at 10:19, Al wrote: > It was fixed about 3 or 4 weeks ago; but, has reverted to poor again.  Many > times outs etc. > > Took me 4 tries to post this. Al, are you using NNTP? -- Dedicated Servers, Cloud and Cloud Hybrid Solutions, VPS, Hosting (866-) 725-4321 http://www

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] 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] 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] Problem with Include

2010-12-21 Thread Daniel P. Brown
On Tue, Dec 21, 2010 at 02:48, Ravi Gehlot wrote: > My point is that you tried to take code from one page and put it all > "organized" in another page and the include that page of includes back into > the pages that you want it to feed off from. If stuff works the way that it > does then there a r

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] Performance Improvement on Calling C++ executable from PHP

2010-12-20 Thread Daniel P. Brown
On Sun, Dec 19, 2010 at 15:35, Shiplu wrote: > === > Recently I  my this php-general doesn't accept my mail for some > reason. So I send it again from anther email >

Re: [PHP] Problem with Include

2010-12-20 Thread Daniel P. Brown
On Mon, Dec 20, 2010 at 02:49, Simcha Younger wrote: > > Since it is being included by PHP, and not served by Apache, the extension is > not important. Correct, but keep in mind that it will likely be served as plain text if accessed directly, if the web server is not properly configured (wh

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

Re: [PHP] Problems w/ goto

2010-12-17 Thread Daniel P. Brown
On Fri, Dec 17, 2010 at 12:22, Robert Cummings wrote: > > I was one of the people that argued in favour of GOTO on the Internals list > a few years ago. GOTO has a use, and a very good one at that. It is by far > the most efficient construct when creating parsers or other similar types of > logic

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

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] 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] How does one reply to messages on this list?

2010-12-16 Thread Daniel Molina Wegener
creator of the message. > > Neither option seems correct. What's up with that? If your MUA (or email client) is smart enough, it should have at least "Reply", "Reply to Sender", "Reply to All" and "Reply to Mailing List". Here I have all

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

2010-12-15 Thread Daniel Molina Wegener
n SMTP server. You need to use SMTP server, you can try phpmailer, swift mailer and related packages third party PHP libraries. You will need them, for example, if your SMTP server requires authentication. > > Thanks > > Marc Best regards, -- Daniel Molina Wegener System Programm

Re: [PHP] Where is my array?

2010-12-15 Thread Daniel P. Brown
On Wed, Dec 15, 2010 at 17:21, Don Wieland wrote: > Hello, > > I originally had a line that built a static array: > > $instruments = > array('Leader','Singer','Piano','Synth','A-Guitar','E-Guitar','Bass','Drums','Perc','Sax','Flute','Sound/AV','Pastor','Producer'); > > Then I decided I wanted this

Re: [PHP] Error Querying Database

2010-12-15 Thread Daniel P. Brown
On Wed, Dec 15, 2010 at 13:42, Gary wrote: > I cant seem to get this to connect.  This is to my local testing server, > which is on, so we need not worry that I have posted the UN/PW. > > This is a duplicate of a script I have used countless times and it worked. > The error message is 'Error query

Re: [PHP] PHPInfo disabled due to security

2010-12-15 Thread Daniel P. Brown
On Wed, Dec 15, 2010 at 09:57, Paul S wrote: > > Warning: phpinfo() has been disabled for security reasons in > /home/.../php/phpinfo.php on line 2 > > My ISP has disabled phpinfo and has not answered my tech requests on this > for over a month. > > They seem to never have a thing to do but play g

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] 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] empty() in email message

2010-12-13 Thread Daniel P. Brown
On Mon, Dec 13, 2010 at 12:47, Gary wrote: > I have an email message > > $msg =  'Name: $fname ' . ' $lname\n' > . "Phone: $phone\n" > . "Email: $email\n" > > and it works fine, however in this message there are about 30 variables that > are being called...as such > > . "Order: beefschnitzel $beef

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

2010-12-09 Thread Daniel P. Brown
On Thu, Dec 9, 2010 at 13:36, Marc Fromm wrote: > We have web forms that send the user an email confirmation after submission, > like most forms do. > The emails are being delivered to the users' junk folder. The main campus IT > staff claim it is because our server is sending the emails. > The

Re: [PHP] new keyword combined with other things...

2010-12-07 Thread Daniel P. Brown
On Tue, Dec 7, 2010 at 10:40, Alexandru Patranescu wrote: > > but is there any way to write it directly? and if not, why isn't this > implemented yet and when will it be? That kind of chaining has not yet been implemented in PHP --- but it's being discussed and voted now, as a matter of fact.

Re: [PHP] Barcode Reader

2010-12-06 Thread Daniel P. Brown
On Mon, Dec 6, 2010 at 14:18, fakessh @ wrote: > > http://search.cpan.org/dist/GD-Barcode/ Your point? The OP never asked about a barcode generator. -- Dedicated Servers, Cloud and Cloud Hybrid Solutions, VPS, Hosting (866-) 725-4321 http://www.parasane.net/ -- PHP General Mailing List

Re: [PHP] Barcode Reader

2010-12-06 Thread Daniel P. Brown
On Mon, Dec 6, 2010 at 12:07, Floyd Resler wrote: > They're 2d barcodes.  I did a Google search and really couldn't find > anything.  After talking with my boss, though, we decided that this project > would probably take too much time and be frustrating for the users.  We're > trying to decode

Re: [PHP] http request

2010-12-05 Thread Daniel Molina Wegener
been > executed. You can try cURL: http://php.net/manual/en/book.curl.php > > > Thanks. > > musa Best regards, -- Daniel Molina Wegener System Programmer & Web Developer Phone: +56 (2) 979-0277 | Blog: http://coder.cl/

Re: [PHP] code quest

2010-12-04 Thread Daniel P. Brown
On Sat, Dec 4, 2010 at 15:58, Kirk Bailey wrote: > > And it works! >   BUT! > Where is the "1" coming from?!? No need to see the page. You're echo'ing an include. No need to do that; including the file is enough, and that's what's working. Adding the echo makes it print the status retur

Re: [PHP] Pass a value as hidden to PHP

2010-12-03 Thread Daniel P. Brown
On Fri, Dec 3, 2010 at 12:12, Larry Sandwick wrote: > How do I get the document.tstest.timestamp.value from the JS and pass it as > a hidden value on the resultsHistory.php page ? [snip!] There are tons of issues with that code, but not one bit of it has to do with PHP. You should ask on a n

Re: [PHP] Iterators.

2010-12-03 Thread Daniel P. Brown
On Fri, Dec 3, 2010 at 08:09, Richard Quadling wrote: > > Now I know someone could supply a solution not using the SPL. I've got > one of those. But trying to use the SPL just seems to awkward. Too > many choices. Too many things with the same name I put an example up on the list this week, a

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