RE: [PHP] user permissions

2009-08-28 Thread Bob McConnell
group C. The question is whether you will need the extra level of control now or in the future. Bob McConnell -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] vote package

2009-08-28 Thread Bob McConnell
f addresses allocated by the local administrator for this test bed. Bob McConnell -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] vote package

2009-08-31 Thread Bob McConnell
From: Noel Butler > On Fri, 2009-08-28 at 08:33 -0400, Bob McConnell wrote: > > Forging IP addresses is actually quite simple. VMs do it all the time > when bridged to the real NIC. There are also some projects on Source > Forge designed to load test HTTP

RE: [PHP] I'm not crazy I swear it... IE vs Safari and Firefox - The impossible!

2009-08-31 Thread Bob McConnell
s with database optimizations, etc) I would set up Wireshark to capture and compare the http sequences from each browser. After you capture each stream, use the "Follow TCP Stream" option to look at the raw HTTP. If it is the browsers, there should be some obvious differences in the sequenc

RE: [PHP] IRC and English

2009-09-01 Thread Bob McConnell
ng a request readable, the more likely there will be useful replies. This is a trade off that many of us have to make every day, no matter what language(s) we are comfortable with. Ever hold a verbal conversation with a Texan, a Bostonian and an Australian all at once? But often even English speakers have problems expressing themselves in written form. It appears to me that most high schools in the USofA stopped teaching grammar sometime in the late 1970's. This is actually one of the better lists that I read regularly. Texting abbreviations are simply the most recent form of corruption. 133t 5p34k is even worse. Don't even get me started on homonyms. Bob McConnell -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Reading remote files

2009-09-01 Thread Bob McConnell
it in chunks, but those chunks will still have to be copied to the computer that is reading it before it can be processed. The other option is to run a process in the computer where the file resides and only send the results over the network. Bob McConnell -- PHP General Mailing List (http://www.

RE: [PHP] Include Files in HTML

2009-09-04 Thread Bob McConnell
From: sono-io at fannullone.us > In my readings, I've run across examples showing include files being > called from within the tags, and other examples showing > them called within . I've always put them in the header > section myself, but I was wondering if one is better than the othe

RE: [PHP] Displaying image paths with spaces

2009-09-08 Thread Bob McConnell
That's the job of the browser. It takes those entities and converts them to displayable characters. You might want to look at the htmlentities() and related functions to put it back into the encoded version. Bob McConnell -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] how to check function's execution?

2009-09-08 Thread Bob McConnell
); $numRows = pg_affected_rows($temp_set); return $numRows; There should be something similar available in the other database APIs. Bob McConnell -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] XML. Prevent < from turning into <

2009-09-09 Thread Bob McConnell
ning ? >> > > str_replace? > Does the xml string get passed to htmlentities() or a similar function before it is sent to the browser? That would explain the substitutions. I saw an xmlentities() variation mentioned somewhere. Bob McConnell -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Hoping for a hand with a login script

2009-09-10 Thread Bob McConnell
ionality without installing a monster package that will be 95% superfluous to their needs. Yes, I have installed codeigniter. I am still trying to figure out why I would want to use it. Bob McConnell -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Validation XHTML code and repairing broken one

2009-09-17 Thread Bob McConnell
Tidy or the W3C SGML parser or both, your choice. Unfortunately it relies on some MS-Windows applications so it won't install on Linux. So I can use it on pages I build at work, but not on my personal stuff at home. Bob McConnell -- PHP General Mailing List (http://www.php.net/) To unsubscr

RE: [PHP] Re: PHP Header issue

2009-09-18 Thread Bob McConnell
ted into PHP scripts. After using Perl to generate HTML, that is exactly what it looks like. I always believed that was the way PHP was designed, so the PHP scripts are embedded inside the HTML. It is a much more logical construct than trying to use Perl, or C or ... Bob McConnell -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Touch screen programming help

2009-09-21 Thread Bob McConnell
ached to the browser, no. All PHP does is generate HTML to send to the browser. It is up to whomever manages that machine to install the drivers for the touch screen and integrate it into the OS. You need to be more specific about what you are trying to do. Bob McConnell -- PHP General Mailin

RE: [PHP] Stricter Error Checking?

2009-09-23 Thread Bob McConnell
} > > This didn't work when you used 'Number' instead of 'Part_Number'? Strange... > I think the problem is that he didn't check that the key he used actually existed before using the value it pointed to. So he got an empty string for $row['Number']; because the key should have been 'Part_Number'. I don't know that even E_STRICT would catch that one. Bob McConnell -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Whacky increment/assignment logic with $foo++ vs ++$foo

2009-10-06 Thread Bob McConnell
makes the result undefined, no matter what language you are using. It will be an accident if you get the results you are expecting. Bob McConnell -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Built-in Debugging

2009-10-16 Thread Bob McConnell
but that is the only one I have actually looked at. Bob McConnell -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Built-in Debugging

2009-10-16 Thread Bob McConnell
From: Ashley Sheridan > On Fri, 2009-10-16 at 09:04 -0400, Al wrote: >> Bob McConnell wrote: >> > From: Raymond Irving >> > >> >> Will be ever see built-in debugging features for PHP? >> > >> > I do not expect there would be. Debuggers ar

RE: [PHP] How to pronounce PHP code over the phone?

2009-10-16 Thread Bob McConnell
e is just going to lead to a disaster down the line! The only time I would even consider doing that would be when I am using a TTD connection to communicate with a hearing impaired individual. Bob McConnell -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] How to pronounce PHP code over the phone?

2009-10-16 Thread Bob McConnell
; > An open curly brace is { > That depends on which edition of English you use. Take a look at the definition of bracket in Wikipedia. What you call a parenthesis is called a bracket in England and parts of Canada, as well as elsewhere. They specify square bracket for the second one. I stumbl

RE: [PHP] Wrong Date

2009-10-16 Thread Bob McConnell
at PHP uses different zone from the >>> system. >>> >>> Try setting the date.timezone setting in your php.ini and see what happens >>> (don't forget to restart the web server to make changes take effect) or use >>> the ini_set(). >>> >> >> > 1. It is possible that the php.ini files are different. > 2. Run phpinfo() to check where the php.ini file your web server uses is > located. > 3. Check that the timezone settings are correct. > The switch dates for some DST zones changed a couple of years ago. There were patches available for many systems to update them. Here in the Eastern USA we are now between the old and new end dates. Any chance you missed a patch? Bob McConnell -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Wrong Date

2009-10-16 Thread Bob McConnell
When you enter "date" on the bash command line, what do you get back? When you run a php file with 'echo date('T')."\n";' does it show the same time zone and DST flag? Which one is wrong? Bob McConnell -Original Message- From: Darvin Denmian

RE: [PHP] Wrong Date

2009-10-16 Thread Bob McConnell
So it looks like RedHat is on standard time, while PHP is still DST. Which one is correct? You need to update the time zone database on the other. Bob McConnell -Original Message- From: Darvin Denmian [mailto:darvin.denm...@gmail.com] Sent: Friday, October 16, 2009 2:17 PM Cc: php

RE: [PHP] How to pronounce PHP code over the phone?

2009-10-16 Thread Bob McConnell
with that! If they can reach you by phone you are not on vacation. You are still attached to their leash. Bob McConnell -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Sanitizing potential MySQL strings with no database connection

2009-10-20 Thread Bob McConnell
eel and create a function which mimics the behavior of > this one. Is the database connection used to determine the character encoding to be used before it inserts new characters into the strings? Would that make a difference in this case? Bob McConnell -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] php mail() function

2009-10-23 Thread Bob McConnell
P servers if you don't know them. But usually your email client is already configured to talk to them. I would just go into my Thunderbird setup and look up those addresses. Bob McConnell -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] php mail() function

2009-10-26 Thread Bob McConnell
ngly recommend you call the help desk at Shaw and ask them to explain what is happening. They should know what is going on with their servers. Everyone on this list appears to be guessing at the problem, which is not likely to help you. Bob McConnell -- PHP General Mailing List (http://www.php.net/)

RE: [PHP] Netbeans IDE 6.5

2009-10-28 Thread Bob McConnell
e version? 6.7.1 is current and 6.8 is now in beta. 2. You just asked this question on the NetBeans mailing list, which is more likely to result in a useable answer. Can't you wait for them? 3. Did you try reading the help section on "Configuring IDE Settings"? Once again y

RE: [PHP] Re: Converting tables into forms

2009-10-28 Thread Bob McConnell
ach form. In either case, it will take weeks or months to complete and be nearly impossible to maintain when tables are changed or added. If your solution requires you to create hundreds of forms, which could take months to code, you need to take another look at the problem. I don't believe yo

RE: [PHP] How is this possible? [Solved]

2009-10-28 Thread Bob McConnell
have to work with code you can't change unless you > are willing to edit over 1500 files. Just keep in mind that register_globals is deprecated and will be going away in a future release of PHP. You might want to start thinking about a strategy to update those files before that happens. Bob

RE: [PHP] Re: Create a screenshot of a website

2009-10-29 Thread Bob McConnell
commend every developer install, shows a number of warnings on that site, similar to 'line 115 column 1 - Warning: attribute "width" has invalid value "49.5%"'. (NOTE: If you are on Linux, the FF add-on site incorrectly states this add-on is not available. But when you

RE: [PHP] Re: Create a screenshot of a website

2009-10-29 Thread Bob McConnell
From: tedd > At 9:24 AM -0400 10/29/09, Robert Cummings wrote: >>Bob McConnell wrote: >>>By the way, HTML Validator, another FF add-on I recommend every >>>developer install, shows a number of warnings on that site, similar to >>>'line 115 column 1 - Warn

RE: [PHP] Re: What PHP version are you using?

2009-11-02 Thread Bob McConnell
bits. I don't understand why they are so far behind on a build that was just released last month, but our hosting service only provides what's in the official release. Bob McConnell -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Re: What PHP version are you using?

2009-11-03 Thread Bob McConnell
From: Lester Caine > Israel Ekpo wrote: >> On Mon, Nov 2, 2009 at 2:15 PM, John Black wrote: >> >>> Bob McConnell wrote: >>> >>>> I just checked the Red Hat 5.4 manifest and it shows php-5.1.6-23.el5 - >>>> php-5.1.6-23.2.el5_3.

RE: [PHP] need browser auto-form predictable fill-in randomizer addon

2009-11-20 Thread Bob McConnell
once they are exported. You can only load scripts that were saved. These appear to be an xhtml format. Bob McConnell -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Upgrading PHP versions

2009-11-20 Thread Bob McConnell
Assumption 2 is invalid. You need to take a close look at the change log. Many "features" from 5.2 are no longer available and will break code that depends on them. Bob McConnell -Original Message- From: David Stoltz [mailto:dsto...@shh.org] Sent: Friday, November 20, 2009 1

RE: [PHP] Upgrading PHP versions

2009-11-20 Thread Bob McConnell
You may be right, I keep thinking of the bugs that were dropped out of 6.0, like magic quotes and register globals. They're only deprecated in 5.3. bm -Original Message- From: David Stoltz [mailto:dsto...@shh.org] Sent: Friday, November 20, 2009 10:59 AM To: Bob McConnell; php-ge

RE: [PHP] How to create a web application like igoogle?

2009-11-30 Thread Bob McConnell
o far out, then maybe Drupal is more to your liking. Bob McConnell -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Re: dbase_get_record_with_names; Very slow search!!!

2009-11-30 Thread Bob McConnell
ther FoxPro or dBase, but IIRC, both required you to explicitly create any indexes they might need. They don't have query analyzers like Postgres, MySQL and other modern DBMS engines. Bob McConnell -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] PHP Equivalent to Java Jar or Python Eggs

2009-11-30 Thread Bob McConnell
just wrap it up in an RPM which is installed in a local repository. Then we use yum to install it on each server in the cluster. Bob McConnell -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] REpost of weird error

2009-12-01 Thread Bob McConnell
may be others that need to be updated to match the new ssh kit. Bob McConnell -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Checking for internet connection.

2009-12-21 Thread Bob McConnell
lve the domain name. > > Exactly - so if all the OP wanted to check for was a working > Internet connection, then DNS is a better way to go IMHO. Both at home and at work there are caching DNS on the LAN. So a DNS request may come back with a valid IP address when the WAN connection is

RE: [PHP] Checking for internet connection.

2009-12-22 Thread Bob McConnell
rver - e.g. dig @a.root-servers.net google.co.uk > > If your net is down the query will fail even if the reply is > cached locally, because you're specifically requesting a response > from a.root-servers.net. What means dig? I can't find it in the function index of the online

RE: [PHP] Checking for internet connection.

2009-12-22 Thread Bob McConnell
- I > suggested the DNS option if all the OP wanted to do was check > if an Internet connection was there. And I was pointing out that this would not be a valid test when there is a caching DNS on the LAN. Too much of the conversation and most of the attribution was stripped too early for

RE: [PHP] Checking for internet connection.

2009-12-23 Thread Bob McConnell
ts and news groups I follow, so there is no simple way to go back through the conversation to figure out where it all came from. Bob McConnell -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Checking for internet connection.

2009-12-23 Thread Bob McConnell
From: Kim Madsen > Bob McConnell wrote on 23/12/2009 14:35: >> From: Andy Shellam >> >>>> And I was pointing out that this would not be a valid >>>> test when there is a caching DNS on the LAN. >> >>> I also pointed out how to avoid cachi

RE: [PHP] Re: splitting a string

2010-01-05 Thread Bob McConnell
t; happens to contain a tarball named archive.tar? In that case, wouldn't >> the correct extension just be .gz? >> >> Andrew > > Yes, or .tgz sometimes. > Most of the time .tgz indicates more than just a gzipped tar file. It has always been used by Slackware to indicate specific control files have been added for their package manager. But that has always been the danger of using the extension instead of the magic number to identify the file type. Too many extensions have been overloaded. Bob McConnell -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] trying to launch kate from the browser....

2010-01-08 Thread Bob McConnell
ems. A. How do you map the file path from the web server's docroot to the real path? i.e. can you translate the URL into a real file path? B. Does the browser user have access rights to that file/directory? It's probably easier to set up NetBeans with the debugger. That combination is

RE: [PHP] Upgraded PHP now website doesn't work properly?

2010-01-11 Thread Bob McConnell
them! When working in a shell, I always use joe (Joe's Own Editor). But my first word processor was WordStar, so those keystrokes come naturally. People who learned on newer programs probably won't have the same experience. Bob McConnell -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] corect way to use mail() function

2010-01-12 Thread Bob McConnell
sn't matter "who" sent the email? I believe the correct way to do this is to use the Sender: header for ord...@computility.com to show where it actually came from. Then it doesn't matter what you put in From. Bob McConnell -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] I am not receiving any e-mail from the list...

2010-01-12 Thread Bob McConnell
pam filters reject them as having been forwarded too many times, indicating a possible mail loop. I believe I have been unsubscribed from more than one list for this reason. Bob McConnell -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] strtotime

2010-01-15 Thread Bob McConnell
There are a variety of starting points available, depending on the environment and application. See the Computer section of <http://en.wikipedia.org/wiki/Epoch_%28reference_date%29> for a brief review. Bob McConnell -Original Message- From: haliphax [mailto:halip...@gmail.com]

RE: [PHP] Object Oriented Programming question

2010-01-19 Thread Bob McConnell
you have been doing procedural programming, don't worry if you don't figure it out right away. It is not an easy transition to make. Many of us with decades of programming behind us will never be able to make that switch. Our brains are too tightly locked into the previous thought patte

RE: [PHP] Object Oriented Programming question

2010-01-20 Thread Bob McConnell
From: tedd > At 10:26 AM -0500 1/19/10, Bob McConnell wrote: >> Some problems will fit into it, some don't. > > I teach OOP thinking at the local college and haven't run into a > problem that doesn't fit. For example, in my last class I had a woman > who wan

RE: [PHP] Speed of sending email .. can I put them in a queuerather than wait?

2010-01-26 Thread Bob McConnell
ts all forwarded messages and appends them to a text file. Since it doesn't actually do anything, it is all but instantaneous. I use it as a black hole relay MTA for development and test servers that can't reach the real world. If anyone is interested, let me know and I can send you a copy. It is adapted from something I found via Google. Bob McConnell -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Good source for sample data?

2010-01-29 Thread Bob McConnell
The US Census Bureau has lists of first names and surnames online with a breakdown of their frequency within the US population. It was very simple to extract just the names into arrays. We found it quite useful for generating database records for testing. YMMV. Bob McConnell -Original

RE: [PHP] PHP Manual problems

2010-02-10 Thread Bob McConnell
t should be "all the work being done to convert legacy > systems to work with Standards" with a little bit of "with IE7 > compatibility layer on top". The target is standards, that way in the > future they aren't locked in still. Our SOP is to generate standards co

RE: [PHP] PHP Manual problems

2010-02-10 Thread Bob McConnell
From: Ashley Sheridan > On Wed, 2010-02-10 at 10:17 -0500, Bob McConnell wrote: >> From: Robert Cummings >>> Lester Caine wrote: >>>> James McLean wrote: >>>>> On Wed, Feb 10, 2010 at 2:26 PM, wrote: >>>>>> On Thu, 04 Feb 2

RE: [PHP] Advice on maintaining public and private files

2010-02-19 Thread Bob McConnell
tion in the wrapper. You can even pull in more than one, so there could be one file for the banner, one for the menu tree on the left column, one for a header, one for the page specific content and one for the footer. It makes global updates relatively easy, but can be a pain to get started. Bob M

RE: [PHP] Excel Spreadsheets and PHP

2010-02-19 Thread Bob McConnell
prefer to use that. Bob McConnell -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] $_POST vs $_REQUEST

2010-02-23 Thread Bob McConnell
uotes is turned on, you also need to remove them before doing the validation. The contributed notes in the online manual have some good suggestions on how to accomplish this. Bob McConnell -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Re: Best Practices Book, Document, Web Site?

2010-03-02 Thread Bob McConnell
he community, or even within some of the larger projects. Speaking of consensus, based on a recent discussion on the Perl Beginners mailing list, the Perl Best Practices book is now considered to be deprecated among the active Perl community. Many of its recommendations are obsolete and no longe

RE: [PHP] Microsoft outlook takes out all stressed letters on subject.

2010-03-05 Thread Bob McConnell
My question is? > > Is there any header that can avoid it? What code page is Lookout using? Does that page have those letters in it? Does it use the same character encoding that the source did? Bob McConnell -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: Re[2]: [PHP] EHLO error 554: what can it be?

2010-03-09 Thread Bob McConnell
After you open the socket, you first need to read from it to receive the welcome message. After you verify the contents of that message, then send the hello and wait for the response from it. Bob McConnell -Original Message- From: Andre Polykanine [mailto:an...@oire.org] Sent: Tuesday

RE: [PHP] Execution order of PHP

2010-03-10 Thread Bob McConnell
uff their values into the stack so it can call the function. But, whether it evaluates the parameter list left-to-right or vice versa is implementation dependent. I don't believe you can rely on it always being the same unless you always use the same interpreter. Bob McConnell -- PHP Gen

RE: [PHP] Execution order of PHP

2010-03-10 Thread Bob McConnell
From: Sándor Tamás > 2010.03.10. 14:41 keltezéssel, Bob McConnell írta: >> From: Auke van Slooten >> >>> In a hobby project I'm relying on the order in which the following >>> >> piece >> >>> of PHP code is executed: >

RE: [PHP] Re: PHP in HTML code

2010-03-15 Thread Bob McConnell
XML and XHTML and therefore are being phased out. You should be replacing them as quickly as you can. Bob McConnell -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Re: PHP in HTML code

2010-03-16 Thread Bob McConnell
rt tags cause more problems than they will ever solve, and should be removed from the language ASAP. I would classify that as a design flaw. In the meantime, since we are upgrading our pages to XHTML, we are replacing the short tags wherever they occur. Bob McConnell -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] best way to set up an include path for a multi-level project?

2010-03-17 Thread Bob McConnell
place and all include/require references work > relative to the top of the "proj" tree. > > i think that's the direction i'm going to go, unless someone has a > compelling reason not to. thanks. IOW, you want to point into the first project's test directory from other projects when you can't know the relative paths between those projects? I suspect you will have to manage that on a machine by machine basis, unless you can convince the entire development team to create a common directory structure that encompasses all projects. Bob McConnell -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Will PHP ever "grow up" and have threading?

2010-03-24 Thread Bob McConnell
ok several years back. While they didn't end up looking like Java, they still actively discourage the use of threads in Perl because nobody has a good handle on which portions of CPAN are actually thread safe. It will likely take them several more years before they find and fix all of the libraries and modules that aren't. Bob McConnell -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Will PHP ever "grow up" and have threading?

2010-03-24 Thread Bob McConnell
le the next time I run into a thorny issue. Yes, it's a continuous cycle of growth, like rolling a snowball downhill in wet snow. But every little bit helps. Bob McConnell -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Audiobooks for Developers

2010-03-31 Thread Bob McConnell
a vehicle on public highways is dangerous enough without any significant distractions. You don't want to complicate it by adding a task that tempts you to focus on something other than the road, signals and other traffic. That is a good way to cause accidents. Bob McConnell -- PHP G

RE: [PHP] Howto send command over ssh using sockets

2010-04-05 Thread Bob McConnell
t can take days just to read and understand the protocol definition. A few minutes on Google should produce some useable examples of clients for various protocols. It shouldn't take much work to read a basic Telnet client written in Perl and transpose it into PHP. Bob McConnell -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] No notices for undefined index

2010-04-08 Thread Bob McConnell
ses a flag and creates the warnings. Such are the joys of loosely typed languages. Bob McConnell -Original Message- From: Andre Polykanine [mailto:an...@oire.org] Sent: Thursday, April 08, 2010 1:45 PM To: Shawn McKenzie Cc: php-general@lists.php.net Subject: Re: [PHP] No notices for

RE: [PHP] No notices for undefined index

2010-04-09 Thread Bob McConnell
From: Shawn McKenzie > Bob McConnell wrote: >> In the first case, $a=5 creates a multi-typed variable. The interpreter >> makes its best guess how the next two expressions should be interpreted. >> In both cases, they look a lot like an index into a character array &

RE: [PHP] Forgot what to install

2010-04-09 Thread Bob McConnell
anks everyone for the suggestions. Last night before I went to bed I > replied to my own question to let everyone know that all I needed to do > was restart apache, but what I didn't realize until I got up this > morning was when I hit reply, I replied to myself so only I got the >

RE: [PHP] replying to list

2010-04-21 Thread Bob McConnell
ing email for 27 years, so what do I know. Third, and most importantly, he obviously had never dealt with a PHB that required him to use a specific OS, mail client and servers that by design will never be reasonable by anybody's definition. Many of us simply don't get a choice. I just did a quick check of the half dozen mailing lists I subscribe to here at work, and they are split 50/50 on whether Reply goes back to the list or the OP. So I suspect a consensus is unlikely. Bob McConnell -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Re: replying to list (I give up)

2010-04-21 Thread Bob McConnell
e it is closely bound to our Exchange servers for scheduling and planning. So I won't have an option until after I retire, and then I won't need this list at all. Fortunately, that is only a couple of years away at most. Bob McConnell -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Updating cli executable on MS-Windows

2010-04-22 Thread Bob McConnell
16:16:57) Copyright (c) 1997-2009 The PHP Group Zend Engine v2.2.0, Copyright (c) 1998-2009 Zend Technologies Bob McConnell -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Updating cli executable on MS-Windows

2010-04-22 Thread Bob McConnell
From: Richard Quadling > On 22 April 2010 14:42, Bob McConnell wrote: >> I downloaded the MS-Windows cli from The PHP Group a while ago. It >> claims to be version 5.2.10. But now I can't find where I got it, nor >> where to get the updates. What is the easiest way

RE: [PHP] Updating cli executable on MS-Windows

2010-04-26 Thread Bob McConnell
From: Richard Quadling > On 23 April 2010 02:34, Bob McConnell wrote: >> From: Richard Quadling >>> On 22 April 2010 14:42, Bob McConnell wrote: >>>> I downloaded the MS-Windows cli from The PHP Group a while ago. It >>>> claims to be version 5.2.10

RE: [PHP] What's your game? (X-PHP)

2010-04-26 Thread Bob McConnell
The last game I played was catch. My oldest grandson and I borrowed his cousin's Harlem Globetrotters miniature basketball. I taught him how to use spin to deflect the ball path when it bounced. I actually don't recall the last time I played an electronic game. Bob McConnell -- P

RE: [PHP] Two color rows in table inside while iteration

2010-04-28 Thread Bob McConnell
he even rows. It's very easy to create multiple variations that way. Javascript is definitely out. Only a fool or an imbecile intentionally enables primary malware infection vectors like that. I believe Firefox should install the NoScript add-on by default with maximum protection enabled.

RE: [PHP] Inserting rows with missing IDs

2010-05-03 Thread Bob McConnell
nce those empty rows? Think about the ramifications of old data in other tables that may be inherited when new rows are assigned a deleted ID. Bob McConnell -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Need login suggestions

2010-05-03 Thread Bob McConnell
t students can masquerade as parents and vice versa? And that strangers can masquerade as either? If so, then a simple check box on the registration page will suffice. If not, they will need to establish a manual authentication step as part of the registration process and control that check box themselves. Bob McConnell -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Converting floats to ints with intval

2010-05-06 Thread Bob McConnell
nformation. If the data is really stored in strings, you need to break it down into substrings around the decimal and then convert both sides into integers and combine them into an integer value. It is the conversion into float that introduces the error because of the imprecise representation of fractional decimal values in binary. Bob McConnell -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Can't find my error

2010-05-07 Thread Bob McConnell
y a different breed ;-) >>> >> >> Yes, the breed that finds such chatter assuming. >> >> Careful, we might drool on our pocket protectors. :-) > > I have some duct tape that can help you with your drooling problem! I use some 100-mile-an-hour tape my son left the last time he was home on leave. That reminds me, I need to get some more from him when he gets back from Baghdad next month. Bob McConnell -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] How to get input from socket client

2010-05-10 Thread Bob McConnell
ions create two processes to service a socket, one to send, the other to receive. Only occasionally does a protocol require alternating messages similar to a conversation or ping-pong match. Bob McConnell -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

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

2010-05-14 Thread Bob McConnell
d and the chair after they log in. Plus, it is unlikely that will be useful in a true multi-user environment. There are simply too many possible ways to get around your restrictions. Bob McConnell -Original Message- From: Jagdeep Singh [mailto:jagsaini1...@gmail.com] Sent: Friday, May 14,

RE: [PHP] Question about creating php files from a form

2010-05-14 Thread Bob McConnell
of my head. Some of them will link into the USDA Nutrition Database as well. You may not need to reinvent this particular wheel. Bob McConnell -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] jquery password problem

2010-05-14 Thread Bob McConnell
eas, You probably should look at the documentation for html entities and magic quotes to see what is and is not allowed in a URL. There are a number of characters that may be modified by either the browser or the server before you get your hands on them. Bob McConnell -- PHP General Mailing List (

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

2010-05-14 Thread Bob McConnell
From: Robert Cummings > Bob McConnell wrote: >> Web servers can only identify computers, not users. You will need >> something else to track which user started a specific application on a >> particular computer, probably a fingerprint scanner next to the >> keybo

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

2010-05-14 Thread Bob McConnell
From: Richard Quadling >On 14 May 2010 14:47, Bob McConnell wrote: >> Actually, I believe that linking a session to a specific individual >> without reading a biometric key with every http request is an >> unacceptable risk. And no, I don't do any banking online. &

RE: [PHP] Automatic PHP Security tool

2010-05-20 Thread Bob McConnell
te. And I would > like to include some security tests before it goes online. It´s not > actually working in production environment, but it´s ready to use it. You probably want to start by looking at the OWASP project. <http://www.owasp.org/index.php/Category:OWASP_Project> Bob

RE: [PHP] How to get input from socket client

2010-05-21 Thread Bob McConnell
ends read from that stream. Likewise, if one end is expecting ASCII, while the other is sending UTF-8, there may be the occasional multi-byte value that gets scrambled. On the other hand, I may be way out in left field. Bob McConnell -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Remove blank lines from a file

2010-05-21 Thread Bob McConnell
e file it would look like (from the original file the user uploads > that is) > > 1 > 2 > > 3 > 4 > > > 5 > > 6 > > > but when the file is saved to the server it must look like > > > 1 > 2 > 3 > 4 > 5 > 6 > > but it nev

RE: [PHP] exec in different directory where PHP is Installed

2010-05-24 Thread Bob McConnell
> but if we move the PHP script from \\xxx.xxx.xxx.xxx\scriptdir\ > to c:\scriptdir\ then it's work !! > > everything work good EXCEPT the @EXEC command ... Is 'C:\Program Files\PHP' in your PATH? You may need to add that manually. Bob McConnell -- PHP General Mai

RE: [PHP] exec in different directory where PHP is Installed

2010-05-24 Thread Bob McConnell
From: loki > On 5/24/2010 11:31 PM, Bob McConnell wrote: >> From: loki >> >>> PHP is installed in c:\program files\php >>> the PHP script are in network drive \\xxx.xxx.xxx.xxx\scriptdir\ >>> in the PHP script, we try to launch the command @exec(...) w

RE: [PHP] Select Values Didn't Get Passed in From Two Different Forms

2010-05-26 Thread Bob McConnell
fields in the form that was submitted. If you want to change that you need to either replace the browser with one you modified to act the way you want, or change the page to combine all of the forms into one. You can try to work around it using Javascript, but that will only work for people that

RE: [PHP] Convert UTF-8 to PHP defines

2010-05-27 Thread Bob McConnell
le. I use UTF-8 for most of my PHP >> files, but I've been sticking to the ASCII subset exclusively. > > I don't use the higher range of characters often, but I do sometimes use > them for things like the graphical glyphs (½✉✆, etc) I know I could do > those with regular text and the Wingdings font, but that's not available > on every computer, and breaks the semantic meaning behind the glyphs. What higher range? ASCII only defined 128 values, the bottom 32 being control characters that don't print. Anything outside of that is not ASCII, but a proprietary extension. In particular, the glyphs usually associated with 0-32 and 128-255 are IBM specific and not guaranteed to be present outside of their original video ROM. So only the first 128 characters map directly into UTF-8. Bob McConnell Ref: pp 25-29 The Programmer's PC Sourcebook, 1988, Thom Hogan, Microsoft Press

<    1   2   3   >