Re: [PHP] Re: testing

2011-08-06 Thread Judson Vaughn
Regardless, I am the beneficiary of someone's good work all these years and I, for one, appreciate it. Jud On 8/5/11 4:45 AM, David Robley wrote: Daniel Brown wrote: On Thu, Aug 4, 2011 at 10:39, Jim Giner wrote: Mailing list, newsgroup, either one - something's changed in the last week o

Re: [PHP] Re: testing

2011-08-05 Thread David Robley
Daniel Brown wrote: > On Thu, Aug 4, 2011 at 10:39, Jim Giner > wrote: >> >> Mailing list, newsgroup, either one - something's changed in the last >> week or so to interrupt the smooth (or semi-smooth) functioning of it. >> The only messages I'm seeing currently are the ones in this single topic

Re: [PHP] Re: testing

2011-08-04 Thread Tamara Temple
On Aug 4, 2011, at 10:21 AM, Jim Giner wrote: Because I'm lazy. I LIKE the newsgroup method - all my mail in one place: email, newsgroups together yet separate so that I can read the news postings when I have time, and the email is purely mine. "Tim Streater" wrote in message news:08.87.1

Re: Re: [PHP] Re: testing

2011-08-04 Thread Jim Giner
Because I'm lazy. I LIKE the newsgroup method - all my mail in one place: email, newsgroups together yet separate so that I can read the news postings when I have time, and the email is purely mine. "Tim Streater" wrote in message news:08.87.13433.b57ba...@pb1.pair.com... On 04 Aug 2011 at 15:

Re: Re: [PHP] Re: testing

2011-08-04 Thread Tim Streater
On 04 Aug 2011 at 15:48, Jim Giner wrote: > Sounds like time for me to move on. > Thanks for the info Dan. Say Jim, Why don't you pick it up as mail like the rest of us? -- Cheers -- Tim -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: testing

2011-08-04 Thread Daniel Brown
On Thu, Aug 4, 2011 at 10:48, Jim Giner wrote: > Sounds like time for me to move on. > Thanks for the info Dan. > > All the talent on this group, and a bug like this (according to posts I've > read) has been going on for years? Yeah, it's always been low-priority. I've started to add a dedic

Re: [PHP] Re: testing

2011-08-04 Thread Jim Giner
Sounds like time for me to move on. Thanks for the info Dan. All the talent on this group, and a bug like this (according to posts I've read) has been going on for years? "Daniel Brown" wrote in message news:CAD9cneMicUmusc9Er7kOmLZKL_r-QORoYcMzGH5hQL=e4er...@mail.gmail.com... On Thu, Aug 4, 2

Re: [PHP] Re: testing

2011-08-04 Thread Daniel Brown
On Thu, Aug 4, 2011 at 10:39, Jim Giner wrote: > > Mailing list, newsgroup, either one - something's changed in the last week > or so to interrupt the smooth (or semi-smooth) functioning of it.  The only > messages I'm seeing currently are the ones in this single topic.  Why is > that??? Actu

Re: [PHP] Re: testing

2011-08-04 Thread Jim Giner
>> Al wrote: >> >>> >>> >>> On 8/2/2011 5:18 PM, Jim Giner wrote: Don't seem to be getting any feeds thru the newsgroup mirror(?). >>> >>> This newsgroup has been a mess for almost a year now. >>> >>> One big problem is that the server only accepts a small number of >>> connections,

[PHP] Re: testing

2011-08-04 Thread Jim Giner
""Jim Giner"" wrote in message news:6d.60.30104.5b968...@pb1.pair.com... > Don't seem to be getting any feeds thru the newsgroup mirror(?). > Something's wrong. My OE still cannot connect to the news server for this list, it continues to show unread messages are available, but it cannot downl

Re: [PHP] Re: testing

2011-08-03 Thread Al
On 8/3/2011 9:16 AM, Ashley Sheridan wrote: Al wrote: On 8/2/2011 5:18 PM, Jim Giner wrote: Don't seem to be getting any feeds thru the newsgroup mirror(?). This newsgroup has been a mess for almost a year now. One big problem is that the server only accepts a small number of conne

Re: [PHP] Re: testing

2011-08-03 Thread Ashley Sheridan
Al wrote: > > >On 8/2/2011 5:18 PM, Jim Giner wrote: >> Don't seem to be getting any feeds thru the newsgroup mirror(?). >> >> > >This newsgroup has been a mess for almost a year now. > >One big problem is that the server only accepts a small number of >connections, >for just some mail clients,

[PHP] Re: testing

2011-08-03 Thread Al
On 8/2/2011 5:18 PM, Jim Giner wrote: Don't seem to be getting any feeds thru the newsgroup mirror(?). This newsgroup has been a mess for almost a year now. One big problem is that the server only accepts a small number of connections, for just some mail clients, eg Thunderbird; but works

Re: [PHP] Re: testing

2011-08-02 Thread Jim Giner
- Original Message - From: To: "'Jim Giner'" ; Sent: Tuesday, August 02, 2011 6:01 PM Subject: RE: [PHP] Re: testing I was thinking the same thing I have none myself. Your response did show up in my newsgroup. But that's the first since the 26th.

RE: [PHP] Re: testing

2011-08-02 Thread admin
> -Original Message- > From: Jim Giner [mailto:jim.gi...@albanyhandball.com] > Sent: Tuesday, August 02, 2011 5:25 PM > To: php-general@lists.php.net > Subject: [PHP] Re: testing > > > ""Jim Giner"" wrote in message > news:6d.60.3010

[PHP] Re: testing

2011-08-02 Thread Jim Giner
""Jim Giner"" wrote in message news:6d.60.30104.5b968...@pb1.pair.com... > Don't seem to be getting any feeds thru the newsgroup mirror(?). > Ok - this showed up in my OE newsgroup, but OE still shows 36 more messages in php.general that I haven't/can't seem to retrieve. Is something wrong wi

[PHP] Re: Testing a URL with regex

2009-01-07 Thread Nathan Rixham
Sn!per wrote: Let's say I have these URLs http://example.com/index.php?q=gallery http://example.com/index.php?q=gallery&g2_itemId=81 http://example.com/index.php?q=gallery&g2_itemId=100 I want to have a line of code that will extract just the "http://example.com/index.php?q=gallery"; part of t

Re: [PHP] Re: Testing HTTPS without certificate

2008-04-23 Thread Shawn McKenzie
Ken Kixmoeller.com wrote: On Apr 23, 2008, at 4:53 PM, Shawn McKenzie wrote: Ken Kixmoeller wrote: I know how to test for the existance of HTTPS, and stuff like that. So: Can one test https on a local machine? Resources, anyone? I have Googled my fingers off. Why not just generate a free

Re: [PHP] Re: Testing HTTPS without certificate

2008-04-23 Thread Ken Kixmoeller.com
On Apr 23, 2008, at 4:53 PM, Shawn McKenzie wrote: Ken Kixmoeller wrote: I know how to test for the existance of HTTPS, and stuff like that. So: Can one test https on a local machine? Resources, anyone? I have Googled my fingers off. Why not just generate a free self-signed certificate fo

[PHP] Re: Testing HTTPS without certificate

2008-04-23 Thread Shawn McKenzie
Ken Kixmoeller wrote: Hi - - - - -- I have a typical setup -- my development machine, a testing server and, of course, the production server. My development machine, of course, doesn't have a Secure certificate, yet I need to be able to test https pages here, before getting to the testi

Re: [PHP] Re: Testing a String for 'most' Capitalised

2005-10-10 Thread Richard Lynch
On Mon, October 10, 2005 12:31 pm, zzapper wrote: > On Mon, 10 Oct 2005 15:27:05 +0100, wrote: > >>On 10/10/05, zzapper <[EMAIL PROTECTED]> wrote: >>> Hi, >>> >>> Image that there could be a string >>> >>> fred >>> Fred >>> FRED >>> >>> First of all I need to know that these are same which I can d

[PHP] Re: Testing a String for 'most' Capitalised

2005-10-10 Thread zzapper
On Mon, 10 Oct 2005 15:27:05 +0100, wrote: >On 10/10/05, zzapper <[EMAIL PROTECTED]> wrote: >> Hi, >> >> Image that there could be a string >> >> fred >> Fred >> FRED >> >> First of all I need to know that these are same which I can do with >> strtolower, but how could I tell >> that 'FRED' is '

RE: [PHP] Re: Testing if cookies are enabled

2004-06-22 Thread Umesh Deshmukh
Hi, You can check if browser cookies are enabled or not by using follow. given JavaScript functions. //** jsfunc.js ***// function f_ReadCookie(cookieName) { if (cookieName == "" ) { return; } var theCookie=""+document.cookie+(("/") ? "; path=" + "/" : "") ; v

Re: [PHP] Re: Testing if cookies are enabled

2004-06-22 Thread deseavers
d starting point for setting cookies: if you haven't read the manual, it migh be helpful. -Original Message- From: Aidan Lister <[EMAIL PROTECTED]> Sent: Jun 21, 2004 5:25 AM To: [EMAIL PROTECTED] Subject: [PHP] Re: Testing if cookies are enabled Think about it. Step 1) Analyse

Re: [PHP] Re: Testing if cookies are enabled

2004-06-21 Thread Curt Zirzow
* Thus wrote Martin Schneider: > > But I have seen pages on which it seems they set und check if the cookie > has been set ON THE SAME PAGE. So I want to know how they do that > (perhaps with a 302-header or something like that?). I think you answered you're own question :) if(! isset($_COOKIE

RE: [PHP] Re: Testing if cookies are enabled

2004-06-21 Thread Ford, Mike [LSS]
On 21 June 2004 12:11, Martin Schneider wrote: > thanks for your reply, I think you missunderstood, please read more > carefully. I know how to set and read a cookie, but as I > wrote I wasn't > able to set and text a cookie ON THE SAME PAGE. > > The manual says: http://php.net/setcookie > "Once

[PHP] Re: Testing if cookies are enabled

2004-06-21 Thread Martin Schneider
Hi Aidan, > Think about it. > > Step 1) Analyse the problem. > a) Set a cookie. > b) Test if the cookie has been set. > c) Display data from cookie > > Step 2) Read the fucking manual > a) http://php.net/setcookie > b) http://php.net/setcookie > c) http://php.net/setcookie thanks for your reply, I

[PHP] Re: Testing if cookies are enabled

2004-06-21 Thread Aidan Lister
Think about it. Step 1) Analyse the problem. a) Set a cookie. b) Test if the cookie has been set. c) Display data from cookie Step 2) Read the fucking manual a) http://php.net/setcookie b) http://php.net/setcookie c) http://php.net/setcookie If you can't work it out, and have actually done some

[PHP] Re: Testing Pear install

2004-03-03 Thread DAvid Jackson
Ben Ramsey wrote: You can download the PEAR packages yourself, though, drop them into a directory in your site (or outside the root of your site), and use ini_set() to set your include_path to the directory where your PEAR classes reside. Then you can use PEAR without having to "install" it.

[PHP] Re: Testing Pear install

2004-03-03 Thread Ben Ramsey
David Jackson wrote: How can I test to see if and what portions of Pear are installed on a vhosted website? TX, david I'm not sure how to tell what portions are installed, exactly, but you can test to see whether PEAR itself is installed simply by using require 'PEAR.php'; If it complains, the

[PHP] Re: Testing for Well-Formed XML

2003-12-30 Thread Al
"Ian Williams" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi > I'm trying to build a validator in PHP, to check that XML documents are > well-formed. As a starting point I'd check out the excellent, open-source PEAR modules available for XML manipulation at http://pear.php.net/p

[PHP] Re: testing for < 0

2003-03-01 Thread Niels Andersen
Data from POST is a hash table of strings, so you should use this to check for zero: if ($_POST['field'] == "0") // Zero was entered -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: testing for empty array

2002-11-26 Thread Morgan Hughes
On Tue, 26 Nov 2002, Kyle Gibson wrote: > > I have an array $keywords, how do I test to see if it is empty? > > $keywords == '' seems to throw out an error. > > Maybe... > > if(count($keywords) <= 0) > { > //... > } I use sizeof(), which apparently is an alias to count(), and it works f

[PHP] Re: testing for empty array

2002-11-26 Thread Kyle Gibson
I have an array $keywords, how do I test to see if it is empty? $keywords == '' seems to throw out an error. Maybe... if(count($keywords) <= 0) { //... } -- Kyle Gibson admin(at)frozenonline.com http://www.frozenonline.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

[PHP] Re: testing

2002-07-25 Thread lallous
test ok! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Testing PHP on a local machine

2002-06-26 Thread David Robley
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] says... > Thanks for pointing me in the right direction > > However, just have a few other questions:- > > Do i need to install apache if i use the windows self extracting version? I assume you are talking about php self extracting? If so, you

[PHP] Re: Testing PHP on a local machine

2002-06-26 Thread Craig
Thanks for pointing me in the right direction However, just have a few other questions:- Do i need to install apache if i use the windows self extracting version? Can all this be also done on a laptop? Thanks for all the advice Craig "Craig" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTE

[PHP] Re: testing for blank var

2002-03-21 Thread Marcel Besancon
Hi Robert, maybe your variable doesn't exist. Try using if(!isset($variable)) { missing-message } else { show $variable } I hope this helps. Bye, Marcel -- registered Fli4l-User #0388 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.p

[PHP] Re: testing for blank var

2002-03-21 Thread Julio Nobrega Trabalhando
if (ereg("^[[:blank:]]*$",$img_url)) { // $img_url is blank } -- Julio Nobrega. Um dia eu chego lá: http://sourceforge.net/projects/toca Ajudei? Salvei? Que tal um presentinho? http://www.submarino.com.br/wishlistclient.asp?wlid=664176742884 "Robert McPeak" <[EMAIL PROTECTED]> wrote in m

[PHP] Re: testing for cookies capable client (browser)

2002-02-02 Thread Manuel Lemos
Hello, Justin French wrote: > > Hi, > > Is there a simple method for checking if cookies are enabled (able to be > set) on a browser? The only method I can think of is setting the > cookie, then refreshing the page (or going to another URL) in order to > tet if the cookie exists... which sound

[PHP] Re: Testing Alert: Significant changes to DOM-XML

2001-12-01 Thread Markus Fischer
[This mail goes out to php-dev, php-qa and php-general and has its Reply-To: set to php-dev!] Hi Zak, thanks for the mail, I was thinking about writing such a mail myself but was to tired I guess. Yep, the CVS note to the latest ext/domxml changes state it clearly:

[PHP] Re: Testing MySQL 4.0 ; detaching queries

2001-11-28 Thread Julio Nobrega Trabalhando
Save the queries on different files, one for each query. Then make a script that will read all these files and execute the queries, maybe run it as a cron job, and delete the succesful ones . With several files will be easier to spot an error if occur, just open it and see the query. Okay, it

RE: [PHP] Re: Testing for the presence of HTML

2001-11-20 Thread Matthew Luchak
If I understand the question correctly - came late to the thread - I think the easiest way to do this would be to check for the presence of "mailto:[EMAIL PROTECTED]] Sent: Tuesday, November 20, 2001 4:29 PM To: [EMAIL PROTECTED] Subject: Re: [PHP] Re: Testing for the presence of

Re: [PHP] Re: Testing for the presence of HTML

2001-11-20 Thread Richard S. Crawford
Unfortunately, I also have users entering complex HTML code such as tables; which, if each tag of a table is on a separate line, renders badly with nl2br(). I mean, really badly. You have no idea. My users range from professional web developers to people who are still frightened by the idea

[PHP] Re: Testing for the presence of HTML

2001-11-20 Thread Fred
This may not actually be a problem. If you are expecting that users may enter links as html you can still use nl2br and get a decent result. The only time this would be a problem, would be if the users actually entered as they filled in the form. In my experience, it is highly unlikely that a

[PHP] Re: Testing if Scripting has been disabled

2001-08-01 Thread Richard Lynch
> Is there a method to test if Scripting has been disabled in the browser? Sure. Use JavaScript to forward to another page, or set a variable, or something, and check it on the next page. Either JavaScript worked, or it didn't. There is *NO* way, a priori, to tell for the first page though. -