Re: [nyphp-talk] making a branch of filesystem publicly accessible via http with write access for some

2013-11-23 Thread Tim Gales
On 11/23/2013 10:57 AM, David Mintz wrote: Anybody have any recommendations for a good web-based, free file manager? http://pyd.io Play around with the demo and see if it fits your bill. ___ New York PHP User Group Community Talk Mailing List http

Re: [nyphp-talk] Connecting to an Oracle DB

2009-03-25 Thread Tim Gales
Néstor wrote: I am using php 5.2.5 php_mysql.dll is loading and I can access my mysql databse with some of my php programs php_ldap.dll is loading Yes, I might have to download and install php 5.2.9 which is the latest First download a copy of dependency walker from: http://www.dependencywalk

Re: [nyphp-talk] Connecting to an Oracle DB

2009-03-25 Thread Tim Gales
Néstor wrote: Hi, System = W2K / apache 2.055 / php 5.25 / mysql 5.0.18-nt I am trying to connect to an Oracle Database and when using the oci_connect() Oracle 10g uses a different 'dll' than 11g does. (php_oci8 versus php_oci8_11g.dll) You can use the 10g version of the dll to connect to

Re: [nyphp-talk] generate random unique 8-digit number

2009-03-10 Thread Tim Gales
Chris Snyder wrote: Doing something like $random = $microtime . "_" . rand( 0, 256 ); gives you non-repeating pseudo-randomness. md5(uniqid(rand(), true)) // as suggested in the manual is harder to guess -- but now you're talkin' 32 chars. (as usual it depends on what you're tryin' to do) --

Re: [nyphp-talk] generate random unique 8-digit number

2009-03-10 Thread Tim Gales
chad qian wrote: Hi, I need to generate random 8-digit numbers continuously.And no duplication among all those numbers.In other word,every single 8-digit number must be unique.How to do php programming? Change your specification to 13 characters and use the function uniqid Uniqid is driven by

Re: [nyphp-talk] Mod_auth_digest/mysql works!

2009-02-03 Thread Tim Gales
Michael B Allen wrote: On Tue, Feb 3, 2009 at 5:26 PM, Daniel Convissor wrote: Hey Again Mike: On Tue, Feb 03, 2009 at 05:21:52PM -0500, Daniel Convissor wrote: On Tue, Feb 03, 2009 at 03:29:09PM -0500, Michael B Allen wrote: 3. PHP does not have garbage collection

[nyphp-talk] prospectus or offering

2008-10-16 Thread Tim Gales
Raf, On the phone we talked and I said it would be be helpful to get the prospectus which Knollwood offers to their clients. In other words, what they offered the clients. You said did I mean the something something memorandum (I think you said the Private Placement Memorandum) Now if we can g

Re: [nyphp-talk] Windows, Apache, SSL & Zend (Https Error)

2008-09-12 Thread Tim Gales
Ben Sgro wrote: Hello, I'm pretty sure this is a .dll defined in php.ini and loaded by apache. Do you mean a windows service? Yes -- Secure Socket Tunneling Protocol Service Provides support for the Secure Socket Tunneling Protocol (SSTP) to connect to remote computers -- Tim G. T. Gales

Re: [nyphp-talk] Windows, Apache, SSL & Zend (Https Error)

2008-09-12 Thread Tim Gales
Ben Sgro wrote: We are running PHP5/Zend on Windows/Apache and getting this error when a HTTPS URI is passed into Zend_Http_Client(). /Unable to Connect to ssl://[redacted]. Error #192541028: Unable to find the socket transport "ssl" - did you forget to enable it when you configured PHP?/

Re: [nyphp-talk] mbstring.dll not found

2008-05-17 Thread Tim Gales
David Krings wrote: Tim Gales wrote: solved. Thank you very much for the help. Any idea why that works and having it in the specified extension directory doesn't? It has to do with the 'dll search order' Windows uses. Typically the order is: 1) the same directory as the ex

Re: [nyphp-talk] mbstring.dll not found

2008-05-17 Thread Tim Gales
David Krings wrote: Michael Southwell wrote: the extension directory and the php.ini match. It still will not load php_mbstring.dll. Uhm, anyone has an idea what else to do? try putting another copy of it in the same directory as php.ini and php.exe. And you're sure that php is using the php

Re: [nyphp-talk] Schema Validation

2008-05-13 Thread Tim Gales
Ben Sgro wrote: Hello, I'm having a lot of trouble getting the dom object schema validation to work. After looking on google, it seems there isn't a straight forward way to handle complex schemas. Take the following code: if (is_file($schemaFile)) { $domObj->load($r

Re: [nyphp-talk] Abstracting CSS: Reusable HTML UI Components

2008-05-04 Thread Tim Gales
Michael B Allen wrote: I see. So how does one do layouts without tables? Do you have a simple example on the web somewhere? Is there a good tutorial I can look at? http://www.google.com/search?hl=en&q=tableless+layout -- T. Gales & Associates 'Helping People Connect with Technology' http

Re: [nyphp-talk] using PHP mail function on Windows server - update

2008-04-28 Thread Tim Gales
Kristina Anderson wrote: Tim -- I am going to bring this issue up with the tech support people over there...and see what they say. It does seem erratic and a lot of potential for failure due to various reasons...which is not what we need...we have a ton of emails which will be automatically go

Re: [nyphp-talk] using PHP mail function on Windows server - update

2008-04-28 Thread Tim Gales
Tim Gales wrote: Kristina Anderson wrote: Hi everyone, Well, more weirdness. I tested the code this afternoon and it actually worked on the Windows box -- twice -- sent the email upon initial page load and again when I reloaded the page. But then completely stopped working. This was

Re: [nyphp-talk] using PHP mail function on Windows server - update

2008-04-28 Thread Tim Gales
Kristina Anderson wrote: Hi everyone, Well, more weirdness. I tested the code this afternoon and it actually worked on the Windows box -- twice -- sent the email upon initial page load and again when I reloaded the page. But then completely stopped working. This was before I had created th

Re: [nyphp-talk] using PHP mail function on Windows server?

2008-04-24 Thread Tim Gales
Kristina Anderson wrote: Hi everyone -- My current client's app is a PHP 4 site running on a Windows box (don't ask...I have no idea why). I'm trying to use the mail() function and the mail isn't cooperating. [...] Thanks for any help... I got this to work once using IIS6 on WindowsXP P

Re: [nyphp-talk] About Formalizing an Enterprise PHP and the PHP+Developer

2008-04-22 Thread Tim Gales
Peter Sawczynec wrote: [...] Most businesses/new processes brought about through fresh initiative are just brought together as best as can be done right now while the iron is hot ... Many business profess that they want to have people who can think 'outside of the box' and yet they cling to a '

Re: [nyphp-talk] About Formalizing an Enterprise PHP and the PHP+ Developer

2008-04-22 Thread Tim Gales
Peter Sawczynec wrote: [...] And that a programmer who has Zend cert. and is a recognized user group member can use the status of PHP+ user/programmer on their credentials/resume. Is being Zend certified (alone) a big help? -- T. Gales & Associates 'Helping People Connect with Technology'

Re: [nyphp-talk] Re: OT: webmaster test

2008-04-20 Thread Tim Gales
Urb LeJeune wrote: Let me make a practical point. 10 years after the Financial Analysts Federation announced there Certified Financial Analysts (CFA) I think you mean 'Chartered Financial Analyst' http://en.wikipedia.org/wiki/Chartered_Financial_Analyst designation those so certified was maki

Re: [nyphp-talk] Why IT Sucks

2008-04-16 Thread Tim Gales
Kristina Anderson wrote: Tom -- The average corporate attorney makes $200K. The average attorney in business for themselves makes about the same. http://www.payscale.com/research/US/Job=Corporate_Attorney/Salary The average CPA, about 150K. http://www.payscale.com/research/US/Job=Accoun

Re: [nyphp-talk] Web metrics, performance, business ideas, and programming in your jammies...

2008-01-19 Thread Tim Gales
David Krings wrote: leam wrote: Not a question of "can you make it more performant?" as that's easy to answer. I'm looking at "Is there a web metric that makes it more viable for a small start up to spend time maintaining non-mainstream software collections than using standard tools like Apache,

Re: [nyphp-talk] Templating engines

2008-01-19 Thread Tim Gales
Nate Abele wrote: [.. Getting back to the OP, in terms of speed, you're better off going with pretty much anything but Symfony. Heck, you'd probably be better off re-implementing PHP itself in PHP (oh wait, that's Smarty). For simple templating, nothing beats PHP itself ..." http://www.nyph

Re: [nyphp-talk] Transitioning from Beginner to Intermediate PHP

2008-01-17 Thread Tim Gales
B.A.S. wrote: Hi Everyone, I'm trying to move from being a rank beginner to an intermediate level of programming PHP. While practicing & trying to learn something new every day There are a number of subscribers to this list who are knowledgeable and have projects. One idea is to join a pro

Re: [nyphp-talk] Web Services

2008-01-15 Thread Tim Gales
Michael B Allen wrote: [...] Application server technology is one big game of Whac-A-Mole. LOL -- This has a definite 'voice of experience' ring to it. -- T. Gales & Associates 'Helping People Connect with Technology' http://www.tgaconnect.com ___

Re: [nyphp-talk] Why do "cool kids" choose PHP to build websites instead of Java

2008-01-15 Thread Tim Gales
Michael B Allen wrote: [...] PHP is not Mathematica. It's primarily a template based system for emitting text... Peter Yared (who gave a presentation back in '05) says many application servers are basically 'text pumps' http://peteryared.blogspot.com/2003/09/application-servers-2004-big-muffin-

Re: [nyphp-talk] Boolean evaluation (PHP vs Java)

2008-01-15 Thread Tim Gales
[EMAIL PROTECTED] wrote: [...] One of the most controversial features of languages such > as PHP and Perl is the lax evaluation of boolean values If you look at http://nyphp.org/phundamentals/variableevaluation.php You will see a table which shows how variables can be tested. Beneath the tabl

Re: [nyphp-talk] Why do "cool kids" choose PHP to build websites instead of Java

2008-01-15 Thread Tim Gales
Elliotte Rusty Harold wrote: There certainly is logic to PHP, but it's insane troll logic. Consider a table in a database like namecolor - --- bananas yellow apples red kumquatsNULL lemons yellow When you select where color is not yellow you get kumqua

Re: [nyphp-talk] Why do "cool kids" choose PHP to build websites instead of Java

2008-01-15 Thread Tim Gales
Elliotte Rusty Harold wrote: Kenneth Downs wrote: A content-free emotive statement. It would be more accurate to say that it follows a set of principles you do not share, namely, weak typing. We would expect you as a java dude to prefer strong typing. Strong typing to me is inappropriate in

Re: [nyphp-talk] Question about explicit returns

2008-01-12 Thread Tim Gales
Daniel Convissor wrote: [...] Regarding the number of returns, it's better to minimize the number of exit points because it simplifies the function contract. If you have to modify the code later, there are fewer exit points to consider. Yeah, I've heard that point of view before. Sure, you c

Re: [nyphp-talk] Why do "cool kids" choose PHP to build websites instead of Java

2008-01-12 Thread Tim Gales
Elliotte Harold wrote: Michael Southwell wrote: ah, no, these answers are exactly right, given that $a is an integer, $b and $c are strings, and $d is unset. $b and $c when converted to integers for the purpose of comparison in #1 and #3 turn into 0 (zero) so the comparisons are true. #2 comp

Re: [nyphp-talk] Namespaces

2008-01-10 Thread Tim Gales
David Krings wrote: Hi! I got sucked into a (probably pointless) discussion about ASP vs. PHP. One of the arguments against using PHP was that there is only a single namespace. Uhm, that took the wind out of my sail as I have no clue what a namespace is and why having only one is really bad.

Re: [nyphp-talk] Why do "cool kids" choose PHP to build websites instead of Java

2008-01-04 Thread Tim Gales
Jeff Knight wrote: I do it because PHP tastes more like alligator or rattlesnake, whereas Java tastes too much like chicken. Thought we had agreed you would do all your graphical front end stuff in "flush" -- T. Gales & Associates 'Helping People Connect with Technology' http://www.tgaconnec

Re: [nyphp-talk] Why do "cool kids" choose PHP to build websites instead of Java

2008-01-03 Thread Tim Gales
Anthony Wlodarski wrote: This article was funny and yet sad... Yes me too -- but for different reasons. I thought it was extremely immature to say "PHP is a better language". It is like trying to argue that a Phillips head screwdriver is a better screwdriver (as was mentioned) without taking

Re: [nyphp-talk] Why do "cool kids" choose PHP to build websites instead of Java

2008-01-02 Thread Tim Gales
Jake McGraw wrote: Pure flame-bait and total non-article sorry, I thought the part about Java's multitudinous specialty "collection" classes versus using an 'Array()' type which is simpler and faster was a valid point -- my mistake. -- T. Gales & Associates 'Helping People Connect with Techn

[nyphp-talk] Why do "cool kids" choose PHP to build websites instead of Java

2008-01-02 Thread Tim Gales
Thought this might be of interest: http://php.sys-con.com/read/457324.htm James Anderson writes (in his response to the article): The really simple answer is that after the release of php 5, php became the better language... -- T. Gales & Associates 'Helping People Connect with Technology'

Re: [nyphp-talk] LIPHP mailing list

2007-12-26 Thread Tim Gales
Donald J Organ IV wrote: I think we had an issue with the maling list yesterday, when you get a chance can you try and send something to the list. Seems to work now -- T. Gales & Associates 'Helping People Connect with Technology' http://www.tgaconnect.com ___

Re: [nyphp-talk] xampp and MySQL problems

2007-12-24 Thread Tim Gales
Michael Southwell wrote: After a new install of xampp on Windows, ... http://lists.nyphp.org/pipermail/talk/2004-March/008170.html http://lists.nyphp.org/pipermail/talk/2004-March/008171.html et al -- T. Gales & Associates 'Helping People Connect with Technology' http://www.tgaconnect.com __

Re: [nyphp-talk] Method overloading

2007-12-17 Thread Tim Gales
John Zabroski wrote: --- Kenneth Downs <[EMAIL PROTECTED]> wrote: Overloading is a requirement for strongly typed languages, since PHP is not strongly typed it can get by without it. I also find PHP's loose typing far more appropriate to its role as a string generator (sql, HTML), and appre

Re: [nyphp-talk] PHP Question -- SID in Oracle

2007-12-04 Thread Tim Gales
Julia Sheehy wrote: I could instead use: $conn = OCILogon($dbuser, $dbpass, $dbtns); $dbuser = 'myadminuserid'; $dbpass = 'myadminpassword'; $dbtns = 'testerverX'; and $dbtns is a variable I can recall accurately. This is fine as long as the web app can resolve the TNS on it's own (in the c

Re: [nyphp-talk] Some comments on the XML Talk

2007-11-03 Thread Tim Gales
Elliotte Harold wrote: [EMAIL PROTECTED] wrote: What you seem to be saying here is "I can add a record type whenever I need it and call it whatever I want". So in a hospital, a doctor decides for some reason he needs to track toe size of the patient over treatment. So he adds in a toe-size

Re: [nyphp-talk] Some comments on the XML Talk

2007-11-01 Thread Tim Gales
Elliotte Harold wrote: Tim Gales wrote: Valid XML documents must adhere to their DTD/Schema and to that degree they have fields -- called 'elements'. like Which is why we don't necessarily use valid XML documents. For many applications, well-formed is good enough. In pract

Re: [nyphp-talk] Some comments on the XML Talk

2007-10-30 Thread Tim Gales
[EMAIL PROTECTED] wrote: Tim Gales wrote: But when it comes time to exchange data from one table in a database to another database -- even within the the same DBMS -- all bets about the "not-needing-to-be-next-to-another-attribute-ness" are off. (e.g. as in a comma separated fil

Re: [nyphp-talk] Some comments on the XML Talk

2007-10-30 Thread Tim Gales
Brian D. wrote: Tim, I don't think I was clear. We're differing on semantics here, but by "structure" I mean set fields, e.g., an "employees" table would have: first name last name hired date etc. I would argue that you should use the term 'attribute' and not fields. An relational attribute is

Re: [nyphp-talk] Some comments on the XML Talk

2007-10-30 Thread Tim Gales
Brian D. wrote: [snip] That made me wonder if most people completely missed the point. The application of XML databases is, I think, in situations where structure is either not applicable or not possible... XML documents are structured. Look up well-formed XML and valid XML. ..Trying to stamp

Re: [nyphp-talk] Is it hard to compile and install php from source?

2007-10-10 Thread Tim Gales
Michael B Allen wrote: On 10/10/07, Cliff Hirsch <[EMAIL PROTECTED]> wrote: Switch to Fedora 7 or Ubuntu 7.0.4 Have them do it (they quoted 1-3 hours) Their last suggestion, which they discourage — do it myself What do you suggest? The geek in me wants to take on the challenge. But the busi

Re: [nyphp-talk] Newbie seeks PHP installation help / suggestions

2006-12-09 Thread Tim Gales
Bob Paul wrote: {snip] I'm lost in the PHP configuration files and have not a clue how to activate PHP. in httpd.conf file be sure to include LoadModule php5_module "C:/your/installation/php5apache2.dll" and AddType application/x-httpd-php .php Then (after restarting) apache, try http://yo