Re: [nyphp-talk] printing orders to a printer

2013-09-16 Thread David Roth
Correction: The OP said it was coming in from the web, so there might not even be a POS computer used at all. I could go for a pizza right now! :-) David Roth On Tue, Sep 17, 2013 at 12:56 AM, David Roth wrote: > Doesn't that assume the Point of Sale computer is connected directly

Re: [nyphp-talk] printing orders to a printer

2013-09-16 Thread David Roth
Doesn't that assume the Point of Sale computer is connected directly to the printer via USB? I was picturing a shop where the printer is in the kitchen area away from the POS computer and the printer is connected to the network either by Wifi or Ethernet. David Roth On Tue, Sep 17, 2013

Re: [nyphp-talk] printing orders to a printer

2013-09-16 Thread David Roth
nter. This is assuming a few things, one that you either have an HP printer that supports ePrint or convince your client to get one. I also don't know if it supports anything fancy like PostScript with ePrint. David Roth On Mon, Sep 16, 2013 at 9:34 PM, selyah wrote: > Hi everyone: &g

[nyphp-talk] OT: Web browser automated regression testing?

2013-09-14 Thread David Roth
What packages are people having good experiences with to do web browser automated regression testing? I'm interested in this for being able to test a website mostly to make sure all it's functions are working for the user experience. Thanks!

[nyphp-talk] Favorite PHP debugger?

2013-08-04 Thread David Roth
I don't think I've seen a discussion of this. What is your favorite PHP debugger? What do you find works best for stepping through your PHP code while under development? David Roth ___ New York PHP User Group Community Talk Mailing

[nyphp-talk] OT: EDAC error messages in the log

2013-07-23 Thread David Roth
s intermittent so removing RAM in an attempt to isolate which memory stick or slot is having the problem hasn't been useful. Thanks! David Roth ___ New York PHP User Group Community Talk Mailing List http://lists.nyphp.org/mailman/listinfo/talk http://www.nyphp.org/show-participation

[nyphp-talk] SOAP caching to file or MySQL?

2013-07-14 Thread David Roth
e displayed on a web page and don't want to keep the short-attention span user waiting. Or I should just go to the fair today and not worry about it? :-) David Roth ___ New York PHP User Group Community Talk Mailing List http://lists.nyphp.org/ma

Re: [nyphp-talk] GIT! (was: CentOS v Ubuntu)

2013-06-22 Thread David Roth
Yes, it would be! David Roth On Sat, Jun 22, 2013 at 12:53 PM, Mark van der Waarde | Alsjeblaft! < ap...@alsjeblaft.nl> wrote: > How about OOP vs Procedural coding? > > > That would definitely be interesting. > > Mark > > _

Re: [nyphp-talk] GIT! (was: CentOS v Ubuntu)

2013-06-22 Thread David Roth
I agree with Hans. I've never wanted to be one of those people who over the years refused to adapt to something new. But the reality is that it has to really be an improvement, not just new to justify the change. David Roth On Sat, Jun 22, 2013 at 10:27 AM, Hans Z wrote: > Hey Dan, &g

Re: [nyphp-talk] SOAP/PHP: Soapclient usage with asmx and wsdl?

2013-06-11 Thread David Roth
Thanks, Justin. That was the problem! I added '?wsdl' and the SOAP errors are gone. David Roth On Tue, Jun 11, 2013 at 1:12 PM, Justin Dearing wrote: > That is a non-WCF ASP.NET service. It should be foo.asmx?wsdl for the > wsdl. you can use fiddler or Charles to inspect the

[nyphp-talk] SOAP/PHP: Soapclient usage with asmx and wsdl?

2013-06-11 Thread David Roth
I've seen mention of non-WSDL, but I'm not aware of what needs to be done differently for the SOAP requests. Thanks! David Roth ___ New York PHP User Group Community Talk Mailing List http://lists.nyphp.org/mailman/listinfo/talk http://www.nyphp.org/show-participation

[nyphp-talk] OT: Mailman question

2013-04-09 Thread David Roth
ng that I could install Mailman on my Linux server and do something to extract these e-mail addresses? I'd greatly appreciate some helpful suggestions with this. Thanks in advance! David Roth ___ New York PHP User Group Community Ta

Re: [nyphp-talk] Programs rights and Lic etc.

2013-02-05 Thread David Roth
with an attorney who specializes in Intellectual Property which covers copyrights, patents, etc. David Roth On Tue, Feb 5, 2013 at 3:01 PM, Edgar Reyes wrote: > ** > > From the conversation we had it seemed as if he wanted to resale it or > might resale it in the future, he’s argume

Re: [nyphp-talk] Programs rights and Lic etc.

2013-02-05 Thread David Roth
control over at all. David Roth On Tue, Feb 5, 2013 at 12:57 PM, Edgar Reyes wrote: > I have a question that maybe some of you can shed some light or what > your experience with this might be or how you guys handle it. I was > contacted by a potential client that wants me to create a custo

Re: [nyphp-talk] talk Digest, Vol 71, Issue 6

2012-10-17 Thread David Roth
is is related to the problem you are experiencing, but I never had a slow down like this before and the root cause was the memory issue. I used MySQL out-of-the-box I didn't look into any sort of performance tuning on this server. It's my server I use for development so I'm the only one on

Re: [nyphp-talk] Fedex Server Telnet

2012-08-19 Thread David Roth
.1 2>/dev/null | grep netmask | awk ' { print $1 } ' | sed 's/ip=//g' | sed 's/,//g' The above shell script does a login using telnet to the router, enters a command, parses the output and returns the IP address.You could

Re: [nyphp-talk] Performance testing on Windows Server 2008 & MySQLi performance hit

2012-07-18 Thread David Roth
Very nice! Do you have benchmarks to share? David Roth On Wed, Jul 18, 2012 at 3:00 PM, Woh Roh wrote: > Hi Everyone, > Just to give an update on this old topic, I 'regained' performance on my > php application by eliminating all calls to the old mysql connector (I was

Re: [nyphp-talk] Can't do PHP 'exec' for an rsync command via web server

2012-06-25 Thread David Roth
by creating ssh keys for apache user under these circumstances, I certainly hope not, but I've not found an acceptable work-around. It was mentioned to me that I could also do something with iptables, but I've not had the time to check it out. David Roth On Mon, Jun 25, 2012 at 2:51 PM,

Re: [nyphp-talk] Can't do PHP 'exec' for an rsync command via web server

2012-06-24 Thread David Roth
y to start collecting property taxes. :-) Thanks to everyone who e-mailed me and especially Hans! David Roth On Sun, Jun 24, 2012 at 8:25 PM, Hans Zaunere wrote: > > # grep apache /etc/passwd > > apache:x:48:48:Apache:/var/www:/sbin/nologin > > > > You suggesting I chang

Re: [nyphp-talk] Can't do PHP 'exec' for an rsync command via web server

2012-06-24 Thread David Roth
# grep apache /etc/passwd apache:x:48:48:Apache:/var/www:/sbin/nologin You suggesting I change apache to just another user, like this? apache:x:48:48:Apache:/var/www:/bin/bash Maybe generate apache's own set of ssh keys to access the remote server for rsync? Thanks, David Roth On Sun, J

Re: [nyphp-talk] Can't do PHP 'exec' for an rsync command via web server

2012-06-24 Thread David Roth
s user apache, not root. Is my sudoers file wrong? Keep in mind, if I run this shell script from the command line as root, it works. If I run the php script from the command line as root it also works. There is no .ssh in /var/www/.ssh nor should there be. The .ssh for root is located in /root. It

[nyphp-talk] Can't do PHP 'exec' for an rsync command via web server

2012-06-24 Thread David Roth
e who has already been through this. Thanks! David Roth ___ New York PHP User Group Community Talk Mailing List http://lists.nyphp.org/mailman/listinfo/talk http://www.nyphp.org/show-participation

Re: [nyphp-talk] OT: Microsoft Outlook folders being written to in the background?

2012-05-29 Thread David Roth
d when finished. I don't know enough about Windows 7 to know if I can do a Linux-type 'ps' command and check logs that would have any meaning for me. David Roth On Tue, May 29, 2012 at 10:41 PM, Nasir Zubair wrote: > Hi David, > > This should clarify it: > > htt

Re: [nyphp-talk] OT: Microsoft Outlook folders being written to in the background?

2012-05-29 Thread David Roth
Thanks for the reply, David. No, Lync isn't being used. I guess the next step would be to get a list of all the processes and try to identify their purpose. Auto-archive in Outlook has been off through this whole mystery too. David Roth On Tue, May 29, 2012 at 6:50 PM, David Krings

[nyphp-talk] OT: Microsoft Outlook folders being written to in the background?

2012-05-26 Thread David Roth
written too? Does Outlook or part of a Microsoft Office do any sort of background housing cleaning/re-indexing of Outlook files/folders? If so, is there a way to stop this process from being scheduled? Thanks in advance! David Roth ___ New York PHP

Re: [nyphp-talk] PHP graphics programming for a template

2012-04-08 Thread David Roth
OK, thanks for clarifying that. I'll check out your suggestions. What should the graphic designer provide the vector graphic image template in for development then? They usually work I believe in something like PhotoShop or Quark. I'm guessing, TIFF? Thanks! David Roth On Sun, Apr 8,

Re: [nyphp-talk] PHP graphics programming for a template

2012-04-08 Thread David Roth
OK. Are their PHP library routines to support a PSD file format? Thanks! David Roth On Sat, Apr 7, 2012 at 11:38 PM, Michael Traffanstead wrote: > And when your creating a PDF you can specify the resolution of > included images (which are typically embedded as a JPEG) but this > de

Re: [nyphp-talk] PHP graphics programming for a template

2012-04-08 Thread David Roth
should they use? I'm familiar with PS (PostScript) and EPS, where at least under UNIX I could pipe them to the PostScript printer and that's all that was needed. Is this perhaps what print shops do with PS or SVG files? Thanks! David Roth On Sat, Apr 7, 2012 at 11:35 PM, Michael Traffan

Re: [nyphp-talk] PHP graphics programming for a template

2012-04-07 Thread David Roth
I've noticed that when I've take a large file graphic image, that PDF makes a smaller file out of the whole thing. I'm wondering if there is a way to tell PDF not to do that to allow the printer to munch on the higher quality image? David Roth On Sat, Apr 7, 2012 at 10:05 PM, Ro

[nyphp-talk] PHP graphics programming for a template

2012-04-06 Thread David Roth
s libraries and techniques would be best for this? Any tips for creating a high quality PDF file for the printer? Or should this be provided in another file format? Any tips for working with aligning with pre-cut cards? Thanks! David Roth ___ New York

[nyphp-talk] OT: Favorite link checker that runs in cron?

2011-08-05 Thread David Roth
Anyone have a favorite link checker that runs in the cron, and can provide nice e-mail output to simply show what links may be broken for CentOS? Thanks! David Roth ___ New York PHP Users Group Community Talk Mailing List http://lists.nyphp.org

Re: [nyphp-talk] Reading/writing id3v2 tags from MP3 files in PHP?

2011-07-28 Thread David Roth
e an archive of old radio shows much more enjoyable to use. David Roth Hi David, PHP has ID3 functions. Here's where you can find it in the reference manual: http://php.net/id3 Cheers! Nick ___ New York PHP Users Group Community Ta

Re: [nyphp-talk] db design/ app logic: making certain rows immutable

2011-07-15 Thread David Roth
Hold on there a second, what makes you think Dan should take a pay cut! :-) David Roth On Fri, Jul 15, 2011 at 11:43 AM, Dan Cech wrote: > It sounds like you really just need to change the way in_court is used, > having multiple options instead of just yes/no. > > Then your ja

[nyphp-talk] Reading/writing id3v2 tags from MP3 files in PHP?

2011-07-15 Thread David Roth
Anyone have recommendations for reading/writing id3v2 .mp3 files from PHP? Thanks! David Roth ___ New York PHP Users Group Community Talk Mailing List http://lists.nyphp.org/mailman/listinfo/talk http://www.nyphp.org/Show-Participation

Re: [nyphp-talk] Can Javascript call a PHP program and read the results?

2011-05-31 Thread David Roth
thought IP address ranges were assigned to countries to began with, but I'm sure that's a whole other discussion. I wasn't familiar with the maxmind javascript service. So far it looks very good, it correctly said I was in the US and even the correct state. Than

[nyphp-talk] Can Javascript call a PHP program and read the results?

2011-05-29 Thread David Roth
it if someone could offer a workable solution. Thanks in advance! David Roth ___ New York PHP Users Group Community Talk Mailing List http://lists.nyphp.org/mailman/listinfo/talk http://www.nyphp.org/Show-Participation

[nyphp-talk] Does PHP have file size download limits? Best practice?

2011-05-16 Thread David Roth
I want to offer users to be able to download a file from a PHP script. I seem to remember there were/are file size download limits with PHP? Also what is the best practice for doing this with a PHP script? Thanks! David Roth ___ New York PHP Users

Re: [nyphp-talk] OT: Javascript - Opening a new window, but the window name is getting lost with Facebook.com

2010-09-29 Thread David Roth
d did. There were reasons why it was done that way which aren't relevant to the initial problem and questions relating to my posting. As for your harsh criticisms, I suspect you are simply having a bad day and hope it gets better for you soon. David Roth On Sep 29, 2010, at 2:59 AM,

[nyphp-talk] OT: Javascript - Opening a new window, but the window name is getting lost with Facebook.com

2010-09-28 Thread David Roth
acebook.com being more difficult than the other websites? :-) Thanks in advance, David Roth ___ New York PHP Users Group Community Talk Mailing List http://lists.nyphp.org/mailman/listinfo/talk http://www.nyphp.org/Show-Participation

Re: [nyphp-talk] Making text hard to copy

2010-08-09 Thread David Roth
a company news release, where the company would prefer people direct others to the web page itself. David Roth On Aug 7, 2010, at 4:44 AM, Anthony Papillion wrote: You're right, Ed. It's impossible to prevent someone who wants a screenshot from getting one. Someone intent on co

[nyphp-talk] OT: Sales Management Tool (Open Source) for Linux server (or Mac application)?

2010-08-01 Thread David Roth
ghly recommend that you've had experience with. Thanks in advance! David Roth davidalanr...@gmail.com ___ New York PHP Users Group Community Talk Mailing List http://lists.nyphp.org/mailman/listinfo/talk http://www.nyphp.org/Show-Participation

[nyphp-talk] Chicago: Job search leads for a friend in Chicago?

2010-06-02 Thread David Roth
to my friend. Also, if any of you have leads for a Linux Administrator in the Chicago area, send those along as well. Thanks in advance! David Roth ___ New York PHP Users Group Community Talk Mailing List http://lists.nyphp.org/mailman/listinfo/talk

Re: [nyphp-talk] What's the best PHP obfuscator?

2010-04-14 Thread David Roth
e a reason to have source code for it of any kind running on a production server that's exposed to web attacks. Hope this helps! David Roth On Apr 14, 2010, at 3:36 PM, Lester Leong wrote: Hey all, The use case here is something similar to what Chris mentioned above, in that my org

Re: [nyphp-talk] Flow Chart "open source" favorites?

2010-03-26 Thread David Roth
Hi Edward. I've done program flow charts on paper for years, but my hand-writing skills are horrible if I need to share this with others. It is a wonder why I didn't become a Doctor, although an Art Director told me, "Bad hand writing? That just means you are very expensive!

Re: [nyphp-talk] Flow Chart "open source" favorites?

2010-03-26 Thread David Roth
Yes, thanks Mitch and everyone else that responded. Justin, this isn't off-topic since it's Flow Charting for program design and the application is in PHP. Thanks for the resource of superuser.com, since I've never heard of it before. I'll add it to the intranet. D

[nyphp-talk] Flow Chart "open source" favorites?

2010-03-25 Thread David Roth
I'm looking for recommendations of Flow Charting software that's "Open Source". Thanks! David Roth ___ New York PHP Users Group Community Talk Mailing List http://lists.nyphp.org/mailman/listinfo/talk http://www.nyphp.org/Show-Participation

Re: [nyphp-talk] html to PDF conversion?

2010-03-05 Thread David Roth
Good point, Gary! Maybe a recursive call on the wget option would grab all of it then. David Roth On Mar 5, 2010, at 11:23 AM, Gary Mort wrote: On Fri, Mar 5, 2010 at 11:06 AM, David Roth wrote: I found something interesting. I used wget to get the HTML and then fed it through

Re: [nyphp-talk] html to PDF conversion?

2010-03-05 Thread David Roth
. David Roth On Mar 5, 2010, at 10:13 AM, John Campbell wrote: The best solution I have seen uses webkit create the PDFs. You get pretty much the same results as using the print feature in Safari/Chrome. I don't know if it will run on your system, but it is worth a look:

[nyphp-talk] html to PDF conversion?

2010-03-05 Thread David Roth
in advance for any advice. If this is now considered trivial to do in PHP and I've just not stumbled across it yet, please enlighten me. David Roth ___ New York PHP Users Group Community Talk Mailing List http://lists.nyphp.org/mailman/listinfo/t

Re: [nyphp-talk] Web 2.0 "how to talk like you know something" presentation

2010-02-26 Thread David Roth
at's best, but being able to successfully figure out what's important to them can be key. What's important to them might be considered lame to the proposal writer, but it's about getting the work. David Roth On Feb 26, 2010, at 4:17 PM, Donna Marie Vincent wrote: True

Re: [nyphp-talk] Regular expression in PHP with preg_match using Roman Numerals?

2010-02-21 Thread David Roth
Hi Rene. Thanks so much for posting this solution. I will check it out! David Roth On Feb 21, 2010, at 1:20 AM, Rene Samson wrote: Hi David, I've added the roman numerals to your regex, now it will match either just the year (2000) or the year + the roman numeral (2000/I) up to VI

[nyphp-talk] Regular expression in PHP with preg_match using Roman Numerals?

2010-02-20 Thread David Roth
just peachy if some kind person here could show me an elegant way to handle this in PHP (as a regular expression?) which might be, for example, either (2000) or (2000/V). Thanks in advance! David Roth ___ New York PHP Users Group Communi

[nyphp-talk] PHP error handling with simplexml_load_file questions.

2009-12-29 Thread David Roth
simply aborted and didn't give my code a chance to execute. Is the technique in this article wrong? What can be done to make this more robust cause networks won't be up and running all the time. Thanks! David Roth ___ New York PHP Users Gro

Re: [nyphp-talk] cheapest and best way to server 1TB worth of data per month

2009-12-24 Thread David Roth
;d explore the dedicated server options. Do you expect to have steady traffic on the web site, or spikes? With spikes it might be better to use AWS S3, if it's cost effective and it can ramp up quickly enough to handle the increase in traffic. Hope this helps! David Roth On Thu, Dec 24,

[nyphp-talk] OT: CPANEL's Boxtrapper - open source alternatives?

2009-10-04 Thread David Roth
pper, but I've not found anything. Perhaps there is something else out there I'm not aware of? Or has anyone considered starting an Open Source project to do this sort of function? Thanks! David Roth ___ New York PHP Users Group Co

Re: [nyphp-talk] Advice on OOP & Frameworks

2009-09-23 Thread David Roth
There is this link about Joomla Frameworks: http://docs.joomla.org/How_to_create_a_stand-alone_application_using_the_Joomla!_Framework Wasn't there a presentation about using the Joomla Frameworks, that might be online? David Roth On Sep 23, 2009, at 1:52 PM, Mitch Pirtle wrote: J

Re: [nyphp-talk] Is this XML valid? (Matt!)

2009-09-19 Thread David Roth
ny methods to make use of it. I've thought of XML as I do HTML as being a format and not a programming language. I had a similar discussion years ago when someone argued that nroff was a language because it could do loops. David Roth PS: Matt, not Ma

Re: [nyphp-talk] Is this XML valid?

2009-09-19 Thread David Roth
ny methods to make use of it. I've thought of XML as I do HTML as being a format and not a programming language. I had a similar discussion years ago when someone argued that nroff was a language because it could do loops. David Roth ___ New

Re: [nyphp-talk] Is this XML valid?

2009-09-19 Thread David Roth
Y data intensive web and database programming http://www.AnalysisAndSolutions.com/ 4015 7th Ave #4, Brooklyn NY 11232 v: 718-854-0335 f: 718-854-0409 As I mentioned in my original posting, this was a fragment. David Roth ___

Re: [nyphp-talk] Is this XML valid?

2009-09-19 Thread David Roth
David Roth wrote: > > > > > > > > I was expecting each attribute and node to have it's own <> and >, and > the data not to be surround by double-quotes or am I missing something? XML attributes must be quoted, but you can use either double or

[nyphp-talk] Is this XML valid?

2009-09-18 Thread David Roth
I've been using simplexml to parse XML and so far the XML I've had to deal with has been pretty straight forward. Then I run across this XML which I don't know what to call it or how it should be handled properly. Here is a fragment of what I'm talking about: I was expecting each attr