Re: [PHP] sorry for the blast from the past

2013-06-02 Thread Daniel Brown
On Sat, Jun 1, 2013 at 9:02 PM, Tamara Temple wrote: > > > Sorry for replying to a message from 2011 -- for some reason I had a > whole bunch of PHP messages suddenly show up in my inbox from the > past. I generally don't check the year of an unread message in my inbox, > as I try to keep inbox-ze

[PHP] PHP is Zero

2013-06-13 Thread BUSCHKE Daniel
to discuss the design. Also I know that the "fuzzy" behaviour of type conversion is a main feature of PHP. I guess this is one point which makes PHP that successfull. But - in my opinion - the described behaviour is to fuzzy and just confuses developers. Best Regards Daniel Buschke

AW: [PHP] PHP is Zero

2013-06-13 Thread BUSCHKE Daniel
Hi, I used 2 x =. Using 3 x = would not result in that behaviour because string is not equal to number. I am fine === here. I explicitly talk about the 2 x = variant. BTW: # php -r 'var_dump("PHP" == 0);' bool(true) # php -r 'var_dump("PHP"

AW: [PHP] PHP is Zero

2013-06-13 Thread BUSCHKE Daniel
Hi, thanks for your answer. Especially the answer "42" made me laughing :) My "Why" questions should be understand as "Why must it be like that" questions. >> On 13/06/13 08:59, BUSCHKE Daniel wrote: >> 5. Thats a bug I have opend: https://bugs.php.net

AW: AW: [PHP] PHP is Zero

2013-06-13 Thread BUSCHKE Daniel
s a little to weak at this point. Regards Daniel -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

AW: AW: [PHP] PHP is Zero

2013-06-13 Thread BUSCHKE Daniel
be still 0. Regards Daniel -Ursprüngliche Nachricht- Von: BUSCHKE Daniel Gesendet: Donnerstag, 13. Juni 2013 13:28 An: 'Pete Ford'; php-general@lists.php.net Betreff: AW: AW: [PHP] PHP is Zero Hi, > It gives up when it finds a non-numeric character (as the documentation wou

Re: [PHP] Hoping nobody notices it isn't Friday.

2013-06-18 Thread Daniel Brown
On Tue, Jun 18, 2013 at 1:36 PM, Richard Quadling wrote: > Hi. > > We've all been told that 'free software' is to be thought of as 'free > speech', not 'free beer'. > > Well, I hope to muddy the waters with this link. > > https://www.facebook.com/TheFreeBeerApp I'd say that I'd make an except

Re: [PHP] A Strange Problem

2013-06-20 Thread Daniel Brown
On Thu, Jun 20, 2013 at 2:14 PM, Tedd Sperling wrote: > Bastien: > > You were right on - by changing the directory to what I needed, everything > works. > > My follow-up question is "Why?" > > I have *never* had to specifically tell any script to chdir() -- why with > that one? Sounds like

[PHP] scandir doesn't find all files

2013-06-22 Thread Daniel Pöllmann
our in the documentation. Best wishes, Daniel

Re: [PHP] Kickstarter Project on Massive Log data Aggregation and Processing with Open Source Software

2013-07-15 Thread Daniel Brown
On Jul 15, 2013 11:29 PM, "Israel Ekpo" wrote: > > Hi Everyone, > [snip!] No. Good luck with your endeavor, but please do not broadcast it to this list.

Re: [PHP] Premature end of script

2013-07-17 Thread Daniel Brown
On Wed, Jul 17, 2013 at 11:22 AM, R B wrote: > Hello, > > 5 years ago, y developed a php system and was working fine. But 20 days > ago, when y try to access to some pages (not all the pages), in the log > appears this message and the page is not displayed: > > ==> /usr/local/apache/logs/error_log

Re: [PHP] Error checking ON

2013-07-17 Thread Daniel Brown
On Wed, Jul 17, 2013 at 11:49 AM, Tedd Sperling wrote: > Hi gang: > > Considering: > > On Jul 17, 2013, at 11:41 AM, Jim Giner wrote: > >> Since you state that you haven't made any changes to the system (in >> general), I'm going to guess that you modified an 'included' file and it has >> an er

Re: [PHP] I am completely lost and need an advice (beginner)

2013-07-18 Thread Daniel Brown
On Thu, Jul 18, 2013 at 3:08 PM, php colos wrote: > Hello world! > > I'm trying to learn PHP ( first programming language that I learn) and > I feel kinda lost. I've read PHP programming 3rd edition( O'reilly), > 'getting good with PHP' by Andrew Burgees and some tutorials on the > internet but ca

Re: [PHP] pass parameter from client to server

2013-07-18 Thread Daniel Brown
On Thu, Jul 18, 2013 at 6:04 PM, iccsi wrote: > I have a select control on the form and need to pass value user select to my > query parameter. > I just realized that user entry value is client side and query parameter is > server side. > Are there any way to read client parameter to pass to serve

Re: [PHP] /tmp/directory

2013-07-23 Thread Daniel Brown
On Mon, Jul 22, 2013 at 10:10 PM, Tedd Sperling wrote: > On Jul 22, 2013, at 4:10 PM, Matijn Woudt wrote: > >> On Mon, Jul 22, 2013 at 5:20 PM, Tedd Sperling wrote: >> >>> Hi gang: >>> >>> I should know this, but I don't. >>> >>> Where is the /tmp/ directory? >>> >>> You see, I have a client whe

Re: [PHP] How to upstream code changes to php community

2013-08-16 Thread Daniel Brown
On Tue, Aug 13, 2013 at 12:38 AM, Shahina Rabbani wrote: > Hi, > > I have done some modifications to the php source code and i tested it with > php bench and I observed some improvement. > > I wanted to upstream these code changes to PHP community. > I searched the wed but i didnt find proper gui

[PHP] Finally....

2013-08-16 Thread Daniel Brown
# ezmlm-list ~ezmlm/php-general | grep skynet supp...@skynet.be # ezmlm-unsub ~ezmlm/php-general supp...@skynet.be # ezmlm-list ~ezmlm/php-general | grep skynet # No more of those "Your e-mail concerning our products and services" autoreplies from the Belgacom Webteam. Sorry it took me this

Re: [PHP] PHP vs JAVA

2013-08-20 Thread Daniel Brown
On Tue, Aug 20, 2013 at 10:00 AM, Tedd Sperling wrote: > Hi guys: > > A teacher at my college made the statement that JAVA for Web Development is > more popular than PHP. > > Where can I go to prove this right or wrong -- and/or -- what references do > any of you have to support your answer? (so

Re: [PHP] Output to File Instead of Browser

2013-08-20 Thread Daniel Pöllmann
which makes a http request to the output script and saves the response to the file Daniel Am 20.08.2013 18:39 schrieb "Floyd Resler" : > I have a php file that generates a form. Of course, this displays in the > browser. How can I have the form generated from my script but eit

Re: [PHP] Off the wall - sub-domain question

2013-08-27 Thread Daniel Brown
On Wed, Aug 21, 2013 at 5:16 PM, Jim Giner wrote: > I have a main domain (of course) and a sub domain. I'm really trying to > steer my personal stuff away from the main one and have focused all of my > php development to the sub-domain. > > Lately I noticed that google catalogs my sub-domain site

Re: [PHP] Re: Permissions

2013-08-27 Thread Daniel Brown
On Tue, Aug 27, 2013 at 3:07 AM, David Robley wrote: > > I beg to differ here. If the x bit isn't set on a directory, that will > prevent scanning of the directory; in this case apache will be prevented > from scanning the directory and will return a 403. Well, that's partially correct. If a

Re: [PHP] How to send "post"-variables in a "Location" header

2013-08-27 Thread Daniel Brown
On Mon, Aug 26, 2013 at 3:48 PM, Ajay Garg wrote: > Hi all. > > I have a scenario, wherein I need to do something like this :: > > ### > $original_url = "/autologin.php"; > $username = "ajay"; > $password = "garg";

Re: [PHP] exec and system do not work

2013-08-27 Thread Daniel Brown
On Sun, Aug 25, 2013 at 11:41 PM, Ethan Rosenberg wrote: > Dear List - > > I'm lost on this one - > > This works - > > $out = system("ls -l ",$retvals); > printf("%s", $out); > > This does - > > echo exec("ls -l"); > > This does not - > > if( !file_exists("/var/www/orders.txt")); > { >$out = s

Re: [PHP] Resolving a PHP Notice Error

2013-09-17 Thread Daniel Brown
On Tue, Sep 17, 2013 at 3:38 PM, Ron Piggott wrote: > > I am wanting to establish a default sort by preference when the user hasn’t > specified one. I setup to test this with: > > > if ( !is_set( $sort_by_preference ) ) { Did you create a function is_set(), or did you mean to use the const

Re: [PHP] Friday's Question

2013-09-20 Thread Daniel Brown
On Fri, Sep 20, 2013 at 12:51 PM, Tedd Sperling wrote: > Hi gang: > > Do you use a Mousepad? I'm in my mid-thirties and - despite having an optical mouse - I do indeed still use a mousepad. A customized one that the wife did for me for Christmas one year: images of Futurama, the Cleveland Br

Re: [PHP] Friday's Question

2013-09-20 Thread Daniel Brown
On Fri, Sep 20, 2013 at 1:20 PM, Jen Rasmussen wrote: > LOL. What in the heck is a Bag Bomb? He's referring to Bag Balm. http://www.bagbalm.com/ -- Network Infrastructure Manager http://www.php.net/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http:/

Re: [PHP] https question

2013-09-25 Thread Daniel Brown
On Wed, Sep 25, 2013 at 1:55 PM, Tedd Sperling wrote: > Hi gang: > > I have a client who had his entire site moved to another host -- no big > problem. > > However, the old site had a https directory, where I had secure scripts to do > credit-card transactions, but the new site doesn't have a ht

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] 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 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 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] 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] 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] 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 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 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] 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-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] 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] 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] 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] 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] 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] 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-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] 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] 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: [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] 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: [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] 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] 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] 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] 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] [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 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] [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] 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] 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] 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] 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] Zend memory manager

2011-01-24 Thread Daniel Brown
On Mon, Jan 24, 2011 at 14:17, Adi Mutu wrote: > > I have asked also there..but no answerBut honestly i don't understand > why you have reccomended me that forum..because i thougt these mailing > lists are about php developing... Because this is about developing in PHP in ge

Re: [PHP] Installing PEAR

2011-01-25 Thread Daniel Brown
On Tue, Jan 25, 2011 at 13:43, Ronny Tiebel wrote: > > erm, on linux you could just install it with apt/aptitude !? 's/linux/Ubuntu or Debian as root' -- Network Infrastructure Manager Documentation, Webmaster Teams http://www.php.net/ -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] Installing PEAR

2011-01-25 Thread Daniel Brown
On Tue, Jan 25, 2011 at 13:54, Ronny Tiebel wrote: > > ubuntu (10.10) == debian sid, so there are no diferences on that I didn't need an explanation of what equals what, I was correcting your generalized statement that apt-get worked on Linux. Consider RH derivatives, SUSE, et al --- yes, I

Re: [PHP] Installing PEAR

2011-01-25 Thread Daniel Brown
On Tue, Jan 25, 2011 at 14:07, Ronny Tiebel wrote: > oh, ok, sorry for that. > ive missunderstood your post. > > but he wrote that he's using debian sid so its a possible solution for him. > > never mind > > just wanted to help It is helpful, just correcting for the archives. Nothing against

Re: [PHP] Installing PEAR

2011-01-25 Thread Daniel Brown
On Tue, Jan 25, 2011 at 13:33, Ethan Rosenberg wrote: > > As far as I can tell, the PHP is installed directly on my computer.  Now > what? From the command line, type: which pear If it gives you a path, PEAR is installed, and you can use it as you desire. If it indicates that n

Re: [PHP] Newsgroup server time outs

2011-01-26 Thread Daniel Brown
On Wed, Jan 26, 2011 at 09:58, Al wrote: > The newsgroup server seems to have a repeated-visit throttle, or whatever. > > For the last two weeks at least, I can only download 2 or 3 messages and > then I get repeated time-outs.  It acts like the DoS or flood prevention is > kidding in too aggressi

Re: [PHP] ldap_add - Server is unwilling to peform

2011-01-26 Thread Daniel Brown
On Wed, Jan 26, 2011 at 10:17, CHARLES HUNT wrote: > Hello- > I am trying to add create a user account with the ldap_add function.  However > I > get the error below when it is invoked.  Does anyone have ideas what may be > causing this error?  What I can look into?  Anything would be helpful. >

Re: [PHP] Pear Problems

2011-01-28 Thread Daniel Brown
On Fri, Jan 28, 2011 at 00:33, Ethan Rosenberg wrote: > > Please take a look at php.ini in the vicinity of line 510.  You will see the > construct to which I refer.  Can you explain what is going on?  I do not > think it is a problem with commenting out a line. > > Any ideas from the rest of the l

Re: [PHP] odd list bounces

2011-01-31 Thread Daniel Brown
On Mon, Jan 31, 2011 at 09:10, Nicholas Kell wrote: > > I received one too. > Message 310871 was the bouncer for me. Yeah, it's because most mail servers didn't like the number of suspicious terms coupled with the bounce. It was directed at Merlin (as in, "hey, your mailbox is full, so you w

Re: [PHP] nl2br problem

2011-02-01 Thread Daniel Brown
On Tue, Feb 1, 2011 at 14:42, Donovan Brooke wrote: > Hello, > > I have CMS form that allows HTML for the body of a site. > > To keep the form somewhat WYSIWYG, I am using the > nl2br() function for displaying: > > nl2br($t_body) > > This works great for normal stuff.. but for pages with tables >

Re: [PHP] bread and buytter php

2011-02-04 Thread Daniel Brown
On Thu, Feb 3, 2011 at 22:47, Kirk Bailey wrote: > Where is a good place for bread and butter day in day out routinely needed > functionality in php? They're two separate things. For routinely-needed functionality in PHP, it's pretty much built-in, but PEAR and PECL are good - and oft-undere

Re: [PHP] Re: bread and buytter php

2011-02-05 Thread Daniel Brown
On Fri, Feb 4, 2011 at 21:57, David Robley wrote: > > Well, I fear I could not be more specific as your request fitted in the > category of IDFMA That's too general, because I didn't fsck your aunt either. And yes, it was still 10:00p Friday night on the east coast of the US when you wro

Re: [PHP] file upload utility ?

2011-02-07 Thread Daniel Brown
On Mon, Feb 7, 2011 at 10:56, Frank Bonnet wrote: > Hello > > I'm searching for a utility that let our users upload a file > on a server , then generate a temporary link that point > to the real file. > > As this is for internal use we don't need security, the file > can be read by anyone. > > The

Re: [PHP] file upload utility ?

2011-02-07 Thread Daniel Brown
On Mon, Feb 7, 2011 at 11:03, Frank Bonnet wrote: > I found nothing that's why I wrote this !!! My point is, you only told everyone what you're trying to do. Not once did you ask a question or mention where you're seeking guidance, other than your ambivalence on file uploads and distribution

Re: [PHP] Howdy (new in here)

2011-02-15 Thread Daniel Brown
On Mon, Feb 14, 2011 at 20:26, Brian Waters wrote: > Hi everyone! I'm just starting out with PHP so I'm looking for a good > place to ask some questions, have my code critiqued (read: visciously > ripped apart), and generally BS about PHP and programming in general > (if that's OK). I know that PH

[PHP] Howdy (new in here)

2011-02-15 Thread Daniel Brown
Back to the list for Kirk ;-P -- Forwarded message -- From: Kirk Bailey Date: Tue, Feb 15, 2011 at 12:09 Subject: Re: [PHP] Howdy (new in here) To: Daniel Brown On 2/15/2011 10:03 AM, Daniel Brown wrote: > > On Mon, Feb 14, 2011 at 20:26, Brian Waters

Re: [PHP] root of PHP found!

2011-02-16 Thread Daniel Brown
On Wed, Feb 16, 2011 at 18:15, Daevid Vincent wrote: > Aha!  I am working for the company that was the root of PHP! > > http://www.panasonic.net/history/founder/chapter3/story3-02.html > > ;-) I'm surprised you found that. Very few people know that PHP is actually just a cover-up for Pan-Asi

Re: [PHP] How is this possible???? (addslashes)

2011-02-16 Thread Daniel Brown
On Feb 16, 2011 7:07 PM, "Paul S" wrote: > > Can anyone please tell me how the addslashes output ("note = Everyone''s a > card on the \earth") in the following example is possible. It is > "addslashes" output but this result is consistent with the output from > "post" when runtime is set: 1): a si

Re: [PHP] assistance

2011-02-18 Thread Daniel Brown
On Fri, Feb 18, 2011 at 06:06, Michael Simiyu wrote: > am using jcart but would like to customize the gateway.php file to use > another payment gateway instead of paypalany help from the community ? Doubtful. Contact someone at jcart instead --- it's not related to general PHP stuff. --

Re: [PHP] Array from one form to other?

2011-02-19 Thread Daniel Brown
On Sat, Feb 19, 2011 at 19:38, Yogesh wrote: > Hello, > > I have two forms. One form helps read an input file into an array. And the > other form needs this array as an input. > I am able to read the input file into an array, but how do I pass it over to > the other form. > > Both forms have PHP f

Re: [PHP] chat facebook

2011-02-19 Thread Daniel Brown
2011/2/19 fakessh @ : > I just install > jaxl [1] > http://abhinavsingh.com/blog/2010/08/jaxl-2-0-installation-usage-guide-and-example-apps/ > and echobot.php > > and I test a connection with facebook. > and oddly despite changes in the code echobot.php > I can not make a connection to the facebook

Re: [PHP] Array from one form to other?

2011-02-19 Thread Daniel Brown
On Sat, Feb 19, 2011 at 21:50, Yogesh wrote: > POST Use cURL, look into curl_setopt(), and add square brackets (and optional key names) to your array. A quick start: -- Network Infrastructure Manager Documentation, Webmaster Teams http://www.php.net/ -- PHP General Mailing List (http:

Re: [PHP] New to list and to PHP

2011-02-19 Thread Daniel Brown
On Fri, Feb 18, 2011 at 14:03, Pete Woodhead wrote: > Hi I'm Pete Woodhead.  I'm new to the list and to PHP.  To be honest I very > new to code writing. > Thought this would be a good way to learn good habits as well as good code > writing. > Looking forward to learning and participating. Fan

Re: [PHP] Connection Handling - unreliable at best?

2011-02-19 Thread Daniel Brown
On Fri, Feb 18, 2011 at 10:21, James Green wrote: > Been reading through > http://uk.php.net/manual/en/features.connection-handling.php and > trying to implement a solution using it. So far the documented > behaviour rarely occurs. > > This code is a minimal test case: http://codepad.org/GqNlcWiM

Re: [PHP] Submitting data to MySQL database using HTML/PHP form

2011-02-20 Thread Daniel Brown
On Sun, Feb 20, 2011 at 12:55, Daniel Brown wrote: > On Sun, Feb 20, 2011 at 12:53, Daniel Brown wrote: >> >>    If the value isn't that of your database password, there's your >> problem: register_globals.  A simpler way is to check the output of >> php

Re: [PHP] New to list and to PHP

2011-02-21 Thread Daniel Brown
On Sun, Feb 20, 2011 at 18:51, tolga wrote: >> > i'm interested in php about 3 maybe 4 years but i still couldnt get the > logic of classes. it makes no sense to me. Nor do mailing list rules or Internet etiquette guidelines, apparently. You know, the ones that say, "don't hijack someone els

Re: [PHP] About mobile apps

2011-02-21 Thread Daniel Brown
On Mon, Feb 21, 2011 at 06:01, Webforlaget.dk wrote: > Is there any problem with submitting data on webside-form from af mobile > device or is it a demand to develop a application for the device in order to > keep data safe. > > what is the benefits u get from an application comparring to the > de

Re: [PHP] Delaying $(document).ready() in jQuery until php script finish

2011-03-03 Thread Daniel Brown
On Thu, Mar 3, 2011 at 09:52, Richard Sharp wrote: > I have been banging my head trying to figure out how to delay > $(document).ready() command until my php script finish running and load > data into a csv file.  Any ideas Just one: ask on a jQuery list. Just because PHP is running somewher

Re: [PHP] Check for open file

2011-03-04 Thread Daniel Brown
On Thu, Mar 3, 2011 at 14:59, Ashley M. Kirchner wrote: > >                Can PHP detect this, or should I look into some delayed > process of checking the file's modified time stamp versus current time and > not touch the file till a certain threshold has been reached (say 30 seconds > differenc

[PHP] Possible bug in PHP 5.3.5 with OAuth extension?

2011-03-04 Thread Daniel Hong
time, but it would be great to know what the problem is. Thanks, daniel

[PHP] Re: Possible bug in PHP 5.3.5 with OAuth extension?

2011-03-04 Thread Daniel Hong
Correction: I stated the incorrect version of PHP that does not seem to have this issue. The version of PHP that works correctly is 5.3.2, not 5.3.3. Thanks, daniel On Fri, Mar 4, 2011 at 11:40 AM, Daniel Hong wrote: > Hello, > > I'm using the PHP OAuth extension and running

Re: [PHP] Re: Possible bug in PHP 5.3.5 with OAuth extension?

2011-03-04 Thread Daniel Hong
hp_streams. But I'm not sure this entirely matters since on the server that does work, phpinfo shows that "Request engine support" is also php_streams. On a side question, why is it only showing that php_streams is supported? Why not curl as well? The php curl package is installed..

Re: [PHP] Re: Possible bug in PHP 5.3.5 with OAuth extension?

2011-03-04 Thread Daniel Hong
lap on the back of my head! I've gone and install version 1.0.0 for the time being, seems to be working fine. -daniel On Fri, Mar 4, 2011 at 6:19 PM, Daniel Hong wrote: > Hi Jim, > > I'm using oauth to connect to Dropbox. The OAuth::getRequestToken() and > OAuth::getAc

Re: [PHP] $GLOBALS example script on php.net

2011-03-05 Thread Daniel Brown
On Sat, Mar 5, 2011 at 05:42, David Hutto wrote: > > I'd guest they had been granted access to the php.net page editor, but > I may be wrong. Not that that site hasn't been scraped by other sites > and added to their content, or been catalogued by google cache or > alexis, etc. Richard is par

[PHP] Re: [PHP-WEBMASTER] php with htmlspecialchars function

2011-03-11 Thread Daniel Brown
On Fri, Mar 11, 2011 at 13:07, Lisa Nguyen wrote: > Hi > > I use one of your example to test the htmlspecialchars : > > $new = htmlspecialchars("Test", ENT_QUOTES); > echo $new; // Test > ?> > > On my browse, it display like below > Test > > Instead: > Test > > Please help me h

Re: [PHP] $_POST variable

2011-03-11 Thread Daniel Brown
On Fri, Mar 11, 2011 at 14:28, Danny wrote: [snip!] > > Now, when I submit this form to another page for processing, how would I > "catch" > the above radio-button's $_POST name since I do not know the name, only that > it > starts with "radio_" ? One method is a foreach() loop. $v) {

[PHP] Possible to pinpoint peak memory usage?

2011-03-11 Thread Daniel Hong
or every single step in the code? Why is PHP reporting that peak was much higher? Maybe I'm not understanding this stuff correctly? Thanks, daniel

Re: [PHP] Possible to pinpoint peak memory usage?

2011-03-11 Thread Daniel Hong
Nice. I will give XHProf a try. Thanks! -daniel On Fri, Mar 11, 2011 at 12:04 PM, David Harkness wrote: > On Fri, Mar 11, 2011 at 11:35 AM, Daniel Hong wrote: > >> Is it possible to pinpoint the location where the most memory was used? > > > Take a look at XHProf. [1] It

Re: [PHP] web site link request

2011-03-12 Thread Daniel Brown
On Fri, Mar 11, 2011 at 23:00, Kirk Bailey wrote: > May I have suggestions of websites I would do well to visit to improve my > php skills? Links please, with a breif description if you would be so good. http://php.net/links --- Overall links http://phpbuilder.com/--- General

<    15   16   17   18   19   20   21   22   23   24   >