Re: [PHP] Problem with SOAP and authentication? SoapFault exception: [HTTP] Unauthorized

2010-06-29 Thread robert mena
shark. On Tue, Jun 29, 2010 at 5:18 PM, Richard Quadling wrote: > On 29 June 2010 20:53, robert mena wrote: > > Hi Richard, > > Thanks for taking the time. > > > > Unfortunately I can't give you access to the actual webservice. I am > using >

Re: [PHP] Problem with SOAP and authentication? SoapFault exception: [HTTP] Unauthorized

2010-06-30 Thread robert mena
snd_sip_dev HTTP/1.1 Authorization: Basic Ym9sOmJlbW9sMjAxMA== Host: X.Y.Z.W:5 Accept: */* Content-Type: text/xml;charset=UTF-8 SOAPAction: "http://sap.com/xi/WebService/soap1.1"; User-Agent: Jakarta Commons-HttpClient/3.1 Content-Length: 535 Any ideas? On Tue, Jun 29, 2010 at 6:45 PM, ro

Re: [PHP] PHP Trick or Not - You Be the Judge

2010-06-30 Thread Robert Cummings
Hey Brandon, do you think you could spend some time reading the Google talk manual? It's kind of irritating seeing your "Brandon Rampersad wants to chat" spam on the list repeatedly. As for which is faster... your assertion is right. Cheers, Rob. Brandon Rampersad wrote: Hello guys, i was

Re: [PHP] Multiple Access Question

2010-07-07 Thread Robert Cummings
tedd wrote: Hi gang: I have *my way* of handling this problem, but I would like to hear how you guys do it. Here's the problem -- let's say you have a database containing names and addresses and you want "approved" users to be able to access the data. As such, a user must login before acces

Re: [PHP] Multiple Access Question

2010-07-07 Thread Robert Cummings
Paul M Foster wrote: On Wed, Jul 07, 2010 at 10:01:05PM -0400, Bastien Koert wrote: On Wed, Jul 7, 2010 at 8:47 PM, Paul M Foster wrote: On Wed, Jul 07, 2010 at 12:59:30PM -0400, tedd wrote: Hi gang: I have *my way* of handling this problem, but I would like to hear how you guys do it. He

Re: [PHP] Multiple Access Question

2010-07-07 Thread Robert Cummings
Paul M Foster wrote: On Wed, Jul 07, 2010 at 11:28:56PM -0400, Robert Cummings wrote: Paul M Foster wrote: @Paul, The OPs question is about concurrency on the record itself. How to avoid two users accessing the same record and potentially damaging each others changes My approach is the

Re: [PHP] opening link in new window

2010-07-23 Thread Robert Cummings
On 10-07-24 12:58 AM, Paul M Foster wrote: On Fri, Jul 23, 2010 at 01:28:23AM -0400, David Mehler wrote: Hello, I've got a page with an external link. I'd like to open it in a new window, but i'm using the xhtml 1.0 strict dtd so this isn't possible. I was wondering if php could pull this off?

Re: [PHP] opening link in new window

2010-07-23 Thread Robert Cummings
On 10-07-24 02:06 AM, Paul M Foster wrote: On Sat, Jul 24, 2010 at 01:08:49AM -0400, Robert Cummings wrote: On 10-07-24 12:58 AM, Paul M Foster wrote: On Fri, Jul 23, 2010 at 01:28:23AM -0400, David Mehler wrote: Hello, I've got a page with an external link. I'd like to open i

Re: [PHP] opening link in new window

2010-07-24 Thread Robert Cummings
On 10-07-24 04:19 AM, Adam Richardson wrote: Code that resembled the below is how I used to open new windows before I started using jQuery Note, this completely avoids use of the target attribute. function wireNewWindows(){ if(document.getElementsByTagName){ var anchors = document.g

Re: [PHP] the state of the PHP community

2010-07-29 Thread Robert Cummings
On 10-07-29 01:36 AM, Nathan Rixham wrote: Hi All, I find myself wondering about the state of the PHP community (and related community with a PHP focus), so, here's a bunch of questions - feel free to answer none to all of them, on list or off, or add more of your own - this isn't for anything s

Re: [PHP] the state of the PHP community

2010-07-29 Thread Robert Cummings
On 10-07-29 03:35 PM, Rasmus Lerdorf wrote: On 7/28/10 11:26 PM, Larry Garfield wrote: - Those driving PHP development itself (vis, writing the engine) don't seem to comprehend the idea of someone running a web site who isn't also a C developer, sysadmin, and performance specialist. "If you don

Re: [PHP] the state of the PHP community

2010-07-29 Thread Robert Cummings
On 10-07-29 10:18 PM, David McGlone wrote: On Thu, 2010-07-29 at 22:14 -0400, Robert Cummings wrote: Early high school I used to program in basic on a TRS-80. Oh how I loved saving my programs to audio cassette. Later in high school I learned pascal and then later qbasic. Later still I studied

Re: [PHP] Text editor for Ubuntu with FTP

2010-07-31 Thread Robert Cummings
On 10-07-31 07:03 AM, Jordan Jovanov wrote: Hello to All, I only whant to star discussion for who is the best programm to write php and html script. I use dreamweaver, but now I change my OS to ubuntu and I want some suggestions for some Text editor for FTP for Ubuntu Just mount the FTP connec

Re: [PHP] mysqldump

2010-08-17 Thread Robert Cummings
On 10-08-17 02:08 PM, tedd wrote: Hi gang: At 6:11 PM -0400 8/13/10, Daniel P. Brown wrote: Easiest method, from the command line on the server from which you want to dump the database: mysqldump -u user -p database_name> outfile.sql Command is wrong... should be: mysql

Re: [PHP] mysqldump

2010-08-17 Thread Robert Cummings
On 10-08-17 02:45 PM, Mari Masuda wrote: On Aug 17, 2010, at 11:40 AM, tedd wrote: At 2:17 PM -0400 8/17/10, Robert Cummings wrote: On 10-08-17 02:08 PM, tedd wrote: Hi gang: At 6:11 PM -0400 8/13/10, Daniel P. Brown wrote: Easiest method, from the command line on the server from

Re: [PHP] mysqldump

2010-08-17 Thread Robert Cummings
On 10-08-17 03:00 PM, David Hutto wrote: On Tue, Aug 17, 2010 at 2:55 PM, Robert Cummings wrote: On 10-08-17 02:45 PM, Mari Masuda wrote: On Aug 17, 2010, at 11:40 AM, tedd wrote: At 2:17 PM -0400 8/17/10, Robert Cummings wrote: On 10-08-17 02:08 PM, tedd wrote: Hi gang: At 6:11 PM

Re: [PHP] How safe is a .htaccess file?

2010-08-17 Thread Robert Cummings
On 10-08-17 04:17 PM, tedd wrote: Hi gang: The subject line says it all. How secure is a .htaccess file to store passwords and other sensitive stuff? Can a .htaccess file be viewed remotely? It depends on the server configuration. I think for the most part apache servers disable viewing the

Re: [PHP] How safe is a .htaccess file?

2010-08-17 Thread Robert Cummings
On 10-08-17 04:23 PM, Peter Lind wrote: On 17 August 2010 22:17, tedd wrote: Hi gang: The subject line says it all. How secure is a .htaccess file to store passwords and other sensitive stuff? Can a .htaccess file be viewed remotely? No, Apache won't serve it. It's a configuration sett

Re: [PHP] How safe is a .htaccess file?

2010-08-17 Thread Robert Cummings
On 10-08-17 04:39 PM, Peter Lind wrote: On 17 August 2010 22:35, Robert Cummings wrote: On 10-08-17 04:23 PM, Peter Lind wrote: On 17 August 2010 22:17, teddwrote: Hi gang: The subject line says it all. How secure is a .htaccess file to store passwords and other sensitive stuff

Re: [PHP] Variable in variable.

2010-08-26 Thread Robert Cummings
On 10-08-26 09:54 AM, João Cândido de Souza Neto wrote: I know that in PHP I can use this: $var1 = "text"; $var2 = '$var1'; 4cho $$var2; So it gives me "text". It would if you didn't have typos and the wrong quotes in the above :) My question is, is there a way of doing it with constant l

Re: [PHP] Multiple Login in a single PC should not be possible

2010-09-06 Thread Robert Cummings
On 10-09-07 01:21 AM, Karl DeSaulniers wrote: @Jagdeep Singh Hi Jagdeep, I know it has been a while now, but I thought I'd let you know. Setting up a database with a session login and some checks and balances will allow you to do what you were wanting with controlling a user using multiple brows

Re: [PHP] How to handle a submitted form with no changes -- best practices sought

2010-09-12 Thread Robert Cummings
On 10-09-11 12:52 PM, Tamara Temple wrote: I have a general question and am looking for best practices. Suppose I present a user with a form for editing an entry in a table, i.e., the form has filled in values from the existing table entry. Now, suppose they click on 'submit' without making any

Re: [PHP] How to handle a submitted form with no changes -- best practices sought

2010-09-12 Thread Robert Cummings
On 10-09-12 05:19 PM, Michael Shadle wrote: On Sun, Sep 12, 2010 at 2:12 PM, Tamara Temple wrote: Ok, but how do you detect if a field changes? The specific implementation between application and data storage is probably moot until you figure that part out. +1 without talking to the server,

[PHP] Invalid chars in XML

2010-09-20 Thread robert mena
Hi, I am trying to parse a XML file with simplexml_load but it gave me error. While inspecting the contents I found a & inside the value of a tag. something & something. After I've removed the & everything went fine. So which chars I should not put in my file? Should I use some conversion fun

[PHP] Domain Controller Discovery in PHP

2010-09-27 Thread Robert Cummings
Hello list, Does anyone know a method in Windows Server 2003 to discover one or more domain controllers to which the machine is connected. I know as an administrator I can use dsquery and various other administrator commands, but I'm unsure how to do so within PHP from an unprivileged vantage

Re: [PHP] Domain Controller Discovery in PHP

2010-09-27 Thread Robert Cummings
On 10-09-27 11:26 AM, Jason wrote: Hi Rob, I believe you should be able to do this with nothing more than DNS (this is how Windows clients do it). Once you have the DNS domain of the machine you're on (_SERVER["USERDNSDOMAIN"]), query for SRV records called the following: Name: _ldap._tcp.dc

Re: [PHP] Domain Controller Discovery in PHP

2010-09-28 Thread Robert Cummings
On 10-09-28 04:03 AM, Jason wrote: > Hi Rob, > > I've checked a couple of windows machines (which I admit I had assumed you were running php on) and the ENV variable "USERDNSDOMAIN" is definitely what you need. If your php is running on linux, you'll need to find out the target windows domain s

Re: [PHP] Friday's Post

2010-10-01 Thread Robert Cummings
On 10-10-01 10:23 AM, tedd wrote: Hi gang: What do you people think of the .NET framework? Please provide your thoughts as to cost, maintenance, benefit, and whatever else you think important. Until you posted this... I didn't... bah! Cheers, Rob. >:) -- E-Mail Disclaimer: Information con

Re: [PHP] which one is faster

2010-10-06 Thread Robert Cummings
On 10-10-06 08:52 AM, Peter Lind wrote: Where exactly do you get the part about double quotes from? Can't seem to locate it in the any of the relevant specs (xhtml or xml). Also, never seen an xml or xhtml validator choke on single quotes. http://www.w3.org/TR/xhtml1/#h-4.2 Cheers, Rob. -- E-M

Re: [PHP] which one is faster

2010-10-06 Thread Robert Cummings
On 10-10-06 09:06 AM, Peter Lind wrote: On 6 October 2010 15:03, Robert Cummings wrote: On 10-10-06 08:52 AM, Peter Lind wrote: Where exactly do you get the part about double quotes from? Can't seem to locate it in the any of the relevant specs (xhtml or xml). Also, never seen an x

Re: [PHP] tedd's Friday Post ($ per line)

2010-10-07 Thread Robert Cummings
On 10-10-07 01:20 PM, tedd wrote: Hi gang: Several years ago I was involved in a court case where a programmers work was being evaluated to establish a dollar amount for the work done. The case was a dispute where the client wanted money back from a programmer for a discontinued project. The pr

Re: [PHP] tedd's Friday Post ($ per line)

2010-10-07 Thread Robert Cummings
On 10-10-07 02:04 PM, Joshua Kehn wrote: In the case payment does come down to lines of code written I'm already covered. if( count> 5) { /* Bracing Style } I hope your $count var is being incremented properly under this model: Just think how much money could be made if you need to su

Re: [PHP] Re: "My truth comes out" [1]

2010-10-21 Thread Robert Cummings
On 10-10-21 06:39 AM, Gary wrote: Russell Dias wrote: preg_match("/false/i", $string) ? false : true; , | $foo = (strcmp('true', $string) == 0); ` works as well :) I don't like those kinds of things for this purpose because it takes longer for people new to the code to read and unders

Re: [PHP] Re: "My truth comes out" [1]

2010-10-21 Thread Robert Cummings
On 10-10-21 09:24 AM, Gary wrote: Jay Blanchard wrote: You could even create a function that is more readable than the 'if' alone; Of course I can. I could also record an explanation, convert it to mp3, host it on a website, and include the URL in a comment. You removed the text in my post th

Re: [PHP] Reminder On Mailing List Rules

2010-10-21 Thread Robert Cummings
On 10-10-21 10:25 AM, Daniel Brown wrote: P.S. - Those of you who have been around for years will likely recall with some fondness the level of respect, participation, and quality of discussions this list once had; the degree of mutual respect and camaraderie was palpable. If you're wonderi

[PHP] Problems converting strings with 0 to integer

2010-11-03 Thread robert mena
Hi, I have a text file (utf-8 encoded) which contains lines with numbers and text separated by \t. I need to convert the numbers that contains 0 (at left) to integers. For some reason one line that contains 0002 is casted to 0 instead of 2. Bellow the output of the cast (int) $field[0] whe

Re: [PHP] Problems converting strings with 0 to integer

2010-11-04 Thread robert mena
Hi, The core of the code is simply $fp = fopen('file.tab', 'rb'); while(!feof($fp)) { $line = fgets($fp); $data = explode("\t", $line); ... } So I try to manipulate the $data[X]. For example $data[0] is supposed to be numeric so I $n = (int) $data[0] One other thing if the second co

[PHP] List-Unsubscribe

2010-11-07 Thread Robert Simson

Re: [PHP] Template engines

2010-11-08 Thread Robert Cummings
On 10-11-08 04:51 PM, Steve Staples wrote: all of my projects now consist of smarty, pear mdb2, phpmailer, jquery, fpdf (if needed), and pchart (again, if needed). these are my personal choices, and I have been happy with them so far ;) pchart... *shudder*. I recently had to add support for

Re: [PHP] Template engines

2010-11-08 Thread Robert Cummings
On 10-11-08 05:02 PM, Bastien Koert wrote: On Mon, Nov 8, 2010 at 4:58 PM, Robert Cummings wrote: On 10-11-08 04:51 PM, Steve Staples wrote: all of my projects now consist of smarty, pear mdb2, phpmailer, jquery, fpdf (if needed), and pchart (again, if needed). these are my personal

Re: [PHP] Template engines

2010-11-08 Thread Robert Cummings
On 10-11-09 12:20 AM, Paul M Foster wrote: On Mon, Nov 08, 2010 at 02:41:12PM -0700, Hansen, Mike wrote: I really like the idea of using a templating engine. Which one do you use? Why? For those that don't use templating engines, why don't you use them? Here's why I don't use a templating en

Re: [PHP] Template engines

2010-11-09 Thread Robert Cummings
On 10-11-09 11:18 AM, tedd wrote: At 10:57 AM -0500 11/9/10, Robert Cummings wrote: On 10-11-09 10:42 AM, tedd wrote: I don't have to try them all, just the most popular. If the most popular doesn't work for me, then I don't need to try any others. That's all well and go

Re: [PHP] Template engines

2010-11-09 Thread Robert Cummings
On 10-11-09 10:42 AM, tedd wrote: At 12:23 AM -0500 11/9/10, Robert Cummings wrote: On 10-11-09 12:20 AM, Paul M Foster wrote: On Mon, Nov 08, 2010 at 02:41:12PM -0700, Hansen, Mike wrote: I really like the idea of using a templating engine. Which one do you use? Why? For those that don&#

Re: [PHP] Template engines

2010-11-10 Thread Robert Cummings
On 10-11-11 02:20 AM, David Robley wrote: Daniel P. Brown wrote: On Wed, Nov 10, 2010 at 20:59, Nathan Rixham wrote: I went back to using a pre hypertext processor, seemed like a really powerful templating engine that was v familiar to use :p Pre-hypertext preprocessor? Perl? Pre

Re: [PHP] Template engines

2010-11-11 Thread Robert Cummings
On 10-11-11 03:49 AM, David Robley wrote: On Thu, 11 Nov 2010, Robert Cummings wrote: On 10-11-11 02:20 AM, David Robley wrote: Daniel P. Brown wrote: On Wed, Nov 10, 2010 at 20:59, Nathan Rixham wrote: I went back to using a pre hypertext processor, seemed like a really powerful

Re: [PHP] ORM doctrine

2010-12-08 Thread Robert Cummings
On 10-12-09 02:11 AM, Daevid Vincent wrote: Avoid these ORM things like the plague! They seem great in theory, but if you're doing anything serious, they will quickly get in your way. Not to mention all that fancy "ORM" doesn't come without a price. It costs in terms of speed, as well as training

Re: [PHP] ORM doctrine

2010-12-10 Thread Robert Cummings
On 10-12-09 10:41 PM, Daevid Vincent wrote: -Original Message- If you value CPU time over developer time, by all means avoid ORM frameworks (and *all* frameworks). The point of a common framework is to trade a small bit of performance for a large amount of developer time. If you will

Re: [PHP] ORM doctrine

2010-12-10 Thread Robert Cummings
On 10-12-10 11:38 AM, la...@garfieldtech.com wrote: On 12/10/10 8:53 AM, Robert Cummings wrote: Use PHP the way God intended it to be used. Could you cite a reference for where God states his intentions on PHP? Thanks, Rob. According to Rasmus, it's as a thin integration layer on t

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

2010-12-13 Thread Robert Cummings
On 10-12-13 07:28 PM, Daevid Vincent wrote: -Original Message- From: Robert Cummings [mailto:rob...@interjinn.com] Sent: Friday, December 10, 2010 6:54 AM To: Daevid Vincent Cc: php-general@lists.php.net Subject: Re: [PHP] ORM doctrine On 10-12-09 10:41 PM, Daevid Vincent wrote: Use

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

2010-12-14 Thread Robert Cummings
On 10-12-14 07:11 AM, Jay Blanchard wrote: [snip] Nah, if he'd read it backwards, you'd be able to hear MePHPistoPHPeles say, "Rasmus is the Penguin". (Yes, you have to be dang old to get that obscure reference. ;-) Pshaw, not *that* old! I get the reference, and I'm only . . . oh, damn. :(

Re: [PHP] Problems w/ goto

2010-12-17 Thread Robert Cummings
On 10-12-17 12:08 PM, Steve Staples wrote: On Fri, 2010-12-17 at 10:50 -0600, Jay Blanchard wrote: [snip] Thank you with your excellent help in the past. Here is another puzzler I am trying to write a program that can have two(2) independent forms in one PHP file. When I run the code belo

Re: [PHP] goto - My comments

2010-12-18 Thread Robert Cummings
On 10-12-19 12:17 AM, Ethan Rosenberg wrote: Dear List - Thanks to all for your EXCELLENT comments. I definitly agree that goto is a command to be avoided at all costs. Closed-minded drivel (or you're buttering up the popular opinion crowd). A better approach is that goto should be used with

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

2010-12-29 Thread Robert Cummings
On 10-12-29 02:54 PM, Michelle Konzack wrote: Hello Tommy Pham, Am 2010-12-29 10:33:30, hacktest Du folgendes herunter: This sounds like RIA = Rich Internet Application. Try google'ing for it. This was the missing keyword. Thanks. Found DHTML and posibility for a flash/gnash app which

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

2010-12-29 Thread Robert Cummings
On 10-12-29 03:02 PM, Robert Cummings wrote: On 10-12-29 02:54 PM, Michelle Konzack wrote: Hello Tommy Pham, Am 2010-12-29 10:33:30, hacktest Du folgendes herunter: This sounds like RIA = Rich Internet Application. Try google'ing for it. This was the missing keyword. Thanks. Found

Re: [PHP] Hot Topics

2010-12-29 Thread Robert Cummings
On 10-12-30 12:36 AM, Daniel Brown wrote: 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 ou

Re: [PHP] Newbie Question

2011-01-05 Thread Robert Cummings
On 11-01-05 01:35 PM, Daniel Brown wrote: 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

Re: [PHP] Function size

2012-05-23 Thread Robert Cummings
On 12-05-23 12:15 PM, Tedd Sperling wrote: On May 23, 2012, at 11:49 AM, shiplu wrote: On May 21, 2012, at 8:32 PM, tamouse mailing lists wrote: When number of lines becomes the criteria of function size? Wouldn't it depends on the task the function is doing? You missed the point. Of course

Re: [PHP] Function size

2012-05-29 Thread Robert Cummings
On 12-05-29 07:17 AM, Stuart Dallas wrote: > I wasn't going to respond to this thread because I think it's a largely > ridiculous topic, but some of the responses have scared me. Sir Cummings > (hopefully) sarcastic response about using a 5px font size demonstrated > how daft it is to base funct

Re: [PHP] help with preg_match

2012-06-03 Thread Robert Williams
On Jun 3, 2012, at 17:28, "Chris Purves" wrote: > I know that the text ends 'end', but I don't know what the Something, > something is. I am using preg_match as follows: > > preg_match('/[^>]*end/',$curl_response,$matches); > > I want to match 'end' and everything before it that is not '>'. You

Re: [PHP] why is (intval('444-44444') == '444-44444') EQUAL??!

2012-06-21 Thread Robert Cummings
On 12-06-21 10:27 PM, Daevid Vincent wrote: Huh? Why is this equal??! php> $id = '444-4'; php> var_dump($id, intval($id)); string(9) "444-4" int(444) php> if (intval($id) == $id) echo 'equal'; else echo 'not equal'; equal or in othe

Re: [PHP] Re: php batch/queue framwork

2012-06-30 Thread Robert Williams
Zend Server includes a job queue. It supports queuing up jobs directly in the UI or via a PHP API, and it includes a variety of scheduling and load management options. -- Bob Williams Notice: This communication, including attachmen

[PHP] How does this code work?

2012-07-02 Thread Robert Williams
;s just late-Monday slowness on my part, but what's going on here? I have no intention of using this code, but I'd sure like to understand how it works! Regards, Bob -- Robert E. Williams, Jr. Associate Vice President of Software Development Newtek Businesss Services, Inc. -- T

Re: [PHP] How does this code work?

2012-07-03 Thread Robert Williams
On Jul 2, 2012, at 22:15, "Jim Lucas" wrote: > I think you missed something here... > > The above function uses strtr() not strstr() Wow. I knew there had to be a simple, logical explanation (there was), that it would likely be one of those stupid things that I'd spot in two seconds the next m

Re: [PHP] Entry point of an MVC framework

2012-07-12 Thread Robert Williams
at just pretend to do the functionality of the real ones, thus allowing you to test the main class without worrying about whether all the secondary classes upon which it relies will break anything. When you're ready to learn more about this, do a Google search for "php (inversion of contro

Re: [PHP] Entry point of an MVC framework

2012-07-12 Thread Robert Williams
also be useful to the world :-). -Bob -- Robert E. Williams, Jr. Associate Vice President of Software Development Newtek Businesss Services, Inc. -- The Small Business Authority https://www.newtekreferrals.com/rewjr http://www.thesba.com/ Notice: This communication, including attachments, may co

Re: [PHP] What do you call the end-user?

2012-07-20 Thread Robert Williams
On Jul 20, 2012, at 0:59, "Adam Nicholls" wrote: > Personally if I'm feeling a bit cheeky I'll go with "Muggle" - (thanks to J K > Rowling!) - people just don't appreciate the magic involved behind the scenes > in usability, infrastructure, application logic etc. Wow. I really, really (, reall

Re: [PHP] Awkward time processing

2012-08-02 Thread Robert Williams
0 [11] => 11 [12] => 0 [13] => 0 [14] => 0 [15] => 33 [16] => 27 [17] => 14 [18] => 0 [19] => 0 [20] => 0 [21] => 0 [22] => 0 [23] => 0 ) Process finished with exit code 0 -- Robert E. Williams, Jr. Associate Vi

Re: [PHP] XML/PHP web service

2012-08-08 Thread Robert Cummings
Given our history, it's stunning we fail to question those who would force upon us a total reliance on the state for defense." -- Robert J. Cottrol On Wed, Aug 8, 2012 at 4:27 PM, Ashley Sheridan wrote: Phillip Baker wrote: Greetings all, I am looking for some options here.

Re: [PHP] Too many open files

2012-08-10 Thread Robert Cummings
On 12-08-09 08:01 PM, Al wrote: Getting "Too many open files" error when processing an email batch process. The batch size is actually rather small and the email text is small likewise. I've looked extensively and can't find more than about 100 files that could be open. All my fetching is with

Re: [PHP] Too many open files

2012-08-10 Thread Robert Cummings
On 12-08-10 02:49 AM, Matijn Woudt wrote: On Fri, Aug 10, 2012 at 5:36 AM, Jim Lucas wrote: On 8/9/2012 5:01 PM, Al wrote: Getting "Too many open files" error when processing an email batch process. I've looked extensively and can't find more than about 100 files that could be open. All my

Re: [PHP] Repeated New Object Requests

2012-08-13 Thread Robert Cummings
On 12-08-10 02:24 PM, Al wrote: Off the subject a bit. What does PHP do with repeated new classes, e.g. $mime = new Mail_mime Are they simply ignored or are additional new instances created. PHP won't let you duplicate function names. Hi Al, New isn't defining a class, it's a request for an

Re: [PHP] PHP session variables

2012-08-13 Thread Robert Cummings
On 12-08-10 04:42 PM, Tedd Sperling wrote: On Aug 10, 2012, at 1:21 PM, Ege Sertçetin wrote: Hi. My question will maybe out of topic, I'm sorry. How can you know that one way will be much slower than other one? I mean, how can I learn which function is faster before I test it? Ege: No your

Re: [PHP] Reading class variable value always returns NULL

2012-08-13 Thread Robert Cummings
On 12-08-12 08:32 AM, Reto Kaiser wrote: Hi, So I have this strange situation where I assign a classvariable a value, but when I read the value it is NULL. The class has one variable declared: = class A { private $_cookies; } = That is a private instance variable NOT

Re: [PHP] PHP session variables

2012-08-14 Thread Robert Cummings
On 12-08-14 10:41 AM, Tedd Sperling wrote: On Aug 13, 2012, at 10:59 AM, Robert Cummings wrote: On 12-08-10 04:42 PM, Tedd Sperling wrote: On Aug 10, 2012, at 1:21 PM, Ege Sertçetin wrote: Hi. My question will maybe out of topic, I'm sorry. How can you know that one way will be

Re: [PHP] Reading class variable value always returns NULL

2012-08-14 Thread Robert Williams
//shows null instead of 1 var_dump($this->foo); } protected $foo; } Is that right? Regards, Bob -- Robert E. Williams, Jr. Associate Vice President of Software Development Newtek Businesss Services, Inc. -- The Small Business Authority https://www.newtekreferrals.com/r

Re: [PHP] PHP session variables

2012-08-15 Thread Robert Cummings
On 12-08-15 03:19 PM, Tedd Sperling wrote: Rob: Again thanks. Sorry, I totally missed your point. In my "defense" I commonly use the value returned from microtime() as a string and not as a float. The code that followed my "microtime( false );" demo broke the string and recombined it into a

Re: [PHP] Need to have form protection techniques

2012-08-17 Thread Robert Cummings
On 12-08-17 10:15 AM, Tedd Sperling wrote: On Aug 17, 2012, at 10:09 AM, Daniel Brown wrote: On Fri, Aug 17, 2012 at 12:05 AM, Ansry User 01 wrote: I need to know the forms validity techniques for Php. This will probably take a while to absorb, so you may need to revisit this page seve

Re: [PHP] Need to have form protection techniques

2012-08-17 Thread Robert Cummings
On 12-08-17 11:14 AM, Tedd Sperling wrote: On Aug 17, 2012, at 10:42 AM, Robert Cummings wrote: On Fri, Aug 17, 2012 at 12:05 AM, Ansry User 01 wrote: I need to know the forms validity techniques for Php. This will probably take a while to absorb, so you may need to revisit this page

Re: [PHP] Need to have form protection techniques

2012-08-17 Thread Robert Cummings
On 12-08-17 10:59 AM, Al wrote: On 8/17/2012 10:42 AM, Robert Cummings wrote: On 12-08-17 10:15 AM, Tedd Sperling wrote: On Aug 17, 2012, at 10:09 AM, Daniel Brown wrote: On Fri, Aug 17, 2012 at 12:05 AM, Ansry User 01 wrote: I need to know the forms validity techniques for Php

Re: [PHP] APC expunge notices

2012-08-17 Thread Robert Cummings
On 12-08-17 05:22 PM, Nathan Nobbe wrote: Hi everyone, I'd like to see what other folks think about the idea of having APC provide a E_WARNING or E_NOTICE when it has to expunge the cache. Ideally, this would include the amount of memory allocated in the error message. The idea here is to prov

Re: [PHP] extract Occurrences AFTER ... and before "-30-"

2012-08-20 Thread Robert Cummings
On 12-08-21 12:32 AM, John Taylor-Johnston wrote: This is usually a first-year CS programming problem (word frequency counts) complicated a little bit by needing to extract the text. You've started off fine, stripping tags, converting to lower case, you'll want to either convert or strip HTML

Re: [PHP] extract Occurrences AFTER ... and before "-30-"

2012-08-20 Thread Robert Cummings
On 12-08-21 01:11 AM, Robert Cummings wrote: On 12-08-21 12:32 AM, John Taylor-Johnston wrote: This is usually a first-year CS programming problem (word frequency counts) complicated a little bit by needing to extract the text. You've started off fine, stripping tags, converting to

Re: [PHP] Programmers and developers needed

2012-09-13 Thread Robert Cummings
On 12-09-13 08:44 AM, Matijn Woudt wrote: On Thu, Sep 13, 2012 at 2:12 PM, Steven Staples wrote: From: Tim Dunphy [mailto:bluethu...@gmail.com] Sent: September 13, 2012 7:26 AM We are looking for programmers and developers to create a world wide system. Is it bigger than a bread box? Will

Re: [PHP] Programmers and developers needed

2012-09-14 Thread Robert Cummings
On 12-09-13 06:10 PM, Ashley Sheridan wrote: On Thu, 2012-09-13 at 16:48 -0400, Tedd Sperling wrote: On Sep 13, 2012, at 3:45 AM, agbo onyador wrote: Hello there! We are looking for programmers and developers to create a world wide system. Your comments are welcome. Wow! I'm looking for w

Re: [PHP] Re: Programmers and developers needed

2012-09-18 Thread Robert Cummings
On 12-09-18 02:12 PM, Matijn Woudt wrote: On Tue, Sep 18, 2012 at 8:02 PM, Daevid Vincent wrote: -Original Message- From: Matijn Woudt [mailto:tijn...@gmail.com] You're missing the most important aspect of social networks.. Advertising. Please tell me that is said sarcastically. Adve

Re: [PHP] Re: Programmers and developers needed

2012-09-18 Thread Robert Cummings
On 12-09-18 02:38 PM, Jeff Burcher wrote: -Original Message- From: Robert Cummings [mailto:rob...@interjinn.com] Sent: Tuesday, September 18, 2012 2:22 PM To: Matijn Woudt Cc: Daevid Vincent; PHP-General Subject: Re: [PHP] Re: Programmers and developers needed On 12-09-18 02:12 PM

Re: [PHP] Re: Programmers and developers needed

2012-09-19 Thread Robert Cummings
On 12-09-19 06:07 AM, Matijn Woudt wrote: On Wed, Sep 19, 2012 at 11:53 AM, German Geek wrote: See below. On 19 September 2012 04:45, Matijn Woudt wrote: On Tue, Sep 18, 2012 at 8:52 AM, agbo onyador wrote: The growing power of the internet and global networks. (on the world’s politics, e

Re: [PHP] Re: PHP as Application Server

2012-09-26 Thread Robert Williams
ere it makes sense. Where neither is a perfect fit, you can choose the one that creates the least personal pain. It's a wonderful choice to have. Regards, Bob -- Robert E. Williams, Jr. Associate Vice President of Software Development Newtek Businesss Services, Inc. -- The Small Business Author

[PHP] Free LAPP stack

2012-10-21 Thread Robert Stone
sting. Any suggestions welcome. TIA, Robert

Re: [PHP] Creating an Advanced Form

2012-11-02 Thread Robert Stone
Hi Jonathan, Haven't used MySql for ages. More used to Oracle and PostgreSql. Your table nmc_cd contains foreign keys pointing to nmc_category and nmc_publisher. Create a view containing all the data from those three tables using implicit joins as the data in table nmc_cd should NOT contain any

Re: [PHP] error_handler : unique "caller ID" ?

2012-11-13 Thread Robert Williams
ctly what you need, but it only works with objects. AFAIK, there's no equivalent for scalars or arrays. <http://php.net/manual/en/function.spl-object-hash.php> Regards, Bob -- Robert E. Williams, Jr. Associate Vice President of Software Development Newtek Businesss Services, Inc.

Re: [PHP] From 24/7/2013 to 2013-07-24

2013-07-26 Thread Robert Cummings
On 13-07-26 11:42 AM, jomali wrote: On Fri, Jul 26, 2013 at 5:18 AM, Karl-Arne Gjersøyen wrote: Below is something I try that ofcourse not work because of rsosort. Here is my code: --- $lagret_dato = $_POST['lagret_dato']; foreach($lagret_dato as $dag){ $dag =

Re: [PHP] From 24/7/2013 to 2013-07-24

2013-07-26 Thread Robert Cummings
On 13-07-26 04:38 PM, jomali wrote: On Fri, Jul 26, 2013 at 1:08 PM, Robert Cummings wrote: On 13-07-26 11:42 AM, jomali wrote: On Fri, Jul 26, 2013 at 5:18 AM, Karl-Arne Gjersøyen wrote: Below is something I try that ofcourse not work because of rsosort. Here is my code

Re: [PHP] From 24/7/2013 to 2013-07-24

2013-07-26 Thread Robert Cummings
On 13-07-26 05:33 PM, Jim Giner wrote: On 7/26/2013 5:29 PM, Robert Cummings wrote: And so it follows, that my solution, thus far, is the only solution posted that actually meets the requirements. Why you think my solution does not perform is beyond me since a simple run of the code would

Re: [PHP] POST action

2013-07-28 Thread Robert Cummings
On 13-07-28 01:14 PM, iccsi wrote: Your name: Your age: In the PHP tutorial manual, it says that we can have post action to the form itself just like above coding.I would like to know in the real projects, can we have action to the same PHP file, since that we only need have one filebut

Re: [PHP] POST action

2013-07-28 Thread Robert Cummings
On 13-07-28 01:51 PM, Jim Giner wrote: On 7/28/2013 1:38 PM, Ashley Sheridan wrote: On Sun, 2013-07-28 at 13:37 -0400, Jim Giner wrote: On 7/28/2013 1:26 PM, Larry Garfield wrote: On 07/28/2013 12:14 PM, iccsi wrote: Your name: Your age: In the PHP tutorial manual, it says that we can ha

Re: [PHP] POST action

2013-08-01 Thread Robert Cummings
On 13-08-01 05:14 PM, Paul M Foster wrote: On Thu, Aug 01, 2013 at 02:35:04PM -0500, Larry Garfield wrote: [snip] So you're writing your own form tags for each specific time you need a form, or you wrote your own form builder API that is writing the form tags for you? Unless my wife creates

Re: [PHP] Finally....

2013-08-16 Thread Robert Cummings
On 13-08-16 11:58 AM, Marc Guay wrote: Those Belgacom emails were the only thing keeping me from a crushing loneliness - undo! *sniffle* Another friend bites the dust *sniffle*. -- E-Mail Disclaimer: Information contained in this message and any attached documents is considered confidential a

Re: [PHP] How can I submit more than 2000 items of data?

2013-08-19 Thread Robert Cummings
On 13-08-19 11:32 AM, Stuart Dallas wrote: On 19 Aug 2013, at 16:24, Matijn Woudt wrote: You might want to explain how you convert form data to JSON without javascript? PHP can do it. Ruby can do it. .NET can do it. Just because you want to use JSON in a web browser where Javascript is the

Re: [PHP] exec and system do not work

2013-08-25 Thread Robert Cummings
On 13-08-25 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 = system("touch /var/www/orders.txt", $re

<    17   18   19   20   21   22   23   24   25   26   >