Re: [PHP] Closing a connection to browser without exiting the script

2006-11-05 Thread Larry Garfield
t;> www.thecodingmachine.com > >> > >> -- > >> PHP General Mailing List (http://www.php.net/) > >> To unsubscribe, visit: http://www.php.net/unsub.php > > > > If you haven't gone with any of the listed methods yet you could use > > fsockopen

Re: [PHP] Nested includes - Relative paths?

2006-11-07 Thread Larry Garfield
contains ".", and apache executes a.php, and a.php includes "foo/b.php", and b.php includes "c.php", then "c.php" is looked up on the file system as "./c.php", relative to a.php, since that's what apache is actually running. Got that?

Re: [PHP] Nested includes - Relative paths?

2006-11-08 Thread Larry Garfield
On Wednesday 08 November 2006 07:52, Nuno Vaz Oliveira wrote: > Hello Larry, > > Now I think I got it :) > > > All include statements are parsed based on the > > defined include path, where "." is interpreted > > relative to the active context, vis, the

Re: [PHP] http_build_query ... argh

2006-11-09 Thread Larry Garfield
ad of as GET parameters of a URL. Er, wouldn't the better solution be to fix http_build_query to not break when handling fairly typical PHP URLs? -- Larry Garfield AIM: LOLG42 [EMAIL PROTECTED] ICQ: 6817012 "If nature has made any one thing less susceptible th

Re: [PHP] Mysql strategy

2006-11-13 Thread Larry Garfield
d to do in PHP with a loop to rebuild a result array. The performance hit for that is not that big, however, and if you free() the result set afterward then the memory usage is not a major issue either. If you're finding your query is slow, look into your indexes. Just today

Re: [PHP] CSS / PHP / Javascript

2006-11-14 Thread Larry Garfield
ith > > defining style sheets for different target browsers and platforms? > > > > -Ed > > > > -- > > PHP General Mailing List (http://www.php.net/) > > To unsubscribe, visit: http://www.php.net/unsub.php -- Larry Garfield AIM: LOLG42 [EMAI

[PHP] Smart Quotes not so smart

2006-11-15 Thread Larry Garfield
ion, myself. Does anyone have any better ideas to suggest? Any idea what those smart quotes actually are, and if they exist in ANY valid character set other than Word itself? -- Larry Garfield AIM: LOLG42 [EMAIL PROTECTED] ICQ: 6817012 "If nature has mad

Re: [PHP] Dynamic Year Drop Down

2006-11-16 Thread Larry Garfield
ly, I could easily > hard code this or use a combination of the date and mktime functions > to populate the select. However, I'm looking for a more elegant way > of doing this. > > Thanks for pointing me in the right direction. > > Al Padley -- Larry Garfield

Re: [PHP] Smart Quotes not so smart

2006-11-17 Thread Larry Garfield
On Thursday 16 November 2006 14:07, Chris Shiflett wrote: > Larry Garfield wrote: > > I've run into this sort of issue a few times before, and never > > found a good solution. > > Not sure if this is the solution you're looking for, but you can convert >

Re: [PHP] PHP Programmers

2006-11-18 Thread Larry Garfield
one sites ranging from small non-profits up through multiple tier-one universities. We're based in the Chicago area. Contact me off list for details if you're interested in more info. -- Larry Garfield AIM: LOLG42 [EMAIL PROTECTED] ICQ: 6817012 "If

Re: [PHP] security question

2006-11-22 Thread Larry Garfield
On Wednesday 22 November 2006 22:38, Robert Cummings wrote: > > maybe we should all refer to forum and google > > Teach a man to fish... And you lose your monopoly on fisheries. -- Larry Garfield AIM: LOLG42 [EMAIL PROTECTED] ICQ: 6817012 "If na

Re: [PHP] Self generating variables/arrays

2006-11-25 Thread Larry Garfield
e I am on the right track. > Perhaps someone can say yay or nay on the spot, if not > I can go back and do some experimenting. > Thanks in advance > Jeff K -- Larry Garfield AIM: LOLG42 [EMAIL PROTECTED] ICQ: 6817012 "If nature has made any one

Re: [PHP] func_get_args as a hash? (faster constructors)

2006-11-29 Thread Larry Garfield
!isset($params['baz']) $params['baz'] = 'b'; ... } Or for a constructor, you'd do something like this: class Foo { private $bar = 'a'; private $baz = 'b'; function __construct($params) { foreach ($params as $key => $value) {

Re: [PHP] alternative method

2006-12-02 Thread Larry Garfield
methods are more secured that those 2. > > thx. > Alain > > Windows XP SP2 > PostgreSQL 8.1.4 > Apache 2.0.58 > PHP 5 -- Larry Garfield AIM: LOLG42 [EMAIL PROTECTED] ICQ: 6817012 "If nature ha

Re: [PHP] weird timestamp problem

2006-12-07 Thread Larry Garfield
> { > $time_start = $start_c; > $loop_s = $loop_s+900; > $time_end = $end_c; > > $unix_e = $time_end-900; > $unix_s = date("U", $time_start); > > $timeloop_e = date("g:i A", $time_end); > $timeloop_s = date("g:i A&quo

Re: [PHP] How php works?

2006-12-18 Thread Larry Garfield
on this topic for them then, much less now. Is that why the PHP License is non-GPL compatible, or is there a different reason for that?  (That's always bugged me, personally.) -- Larry Garfield AIM: LOLG42 [EMAIL PROTECTED] ICQ: 6817012 "If nature

Re: [PHP] How php works?

2006-12-19 Thread Larry Garfield
t; the most part do as you please with the code. That's nice. It's also not what I asked. I asked what it was that made it GPL-incompatible. -- Larry Garfield AIM: LOLG42 [EMAIL PROTECTED] ICQ: 6817012 "If nature has made any one thing less

Re: [PHP] Re: Are PHP5 features worth it?

2006-12-19 Thread Larry Garfield
uldn't do in PHP 4, but if all you know is PHP 4 then you don't know what they are yet. Your argument is logically false. -- Larry Garfield AIM: LOLG42 [EMAIL PROTECTED] ICQ: 6817012 "If nature has made any one thing less susceptible than all o

Re: [PHP] Delete

2006-06-03 Thread Larry Garfield
t array and delete all the array data from the > > database. > > > > - Original Message - > > From: "George Babichev" <[EMAIL PROTECTED]> > > To: "PHP General list" > > Sent: Saturday, June 03, 2006 6:40 PM > > Subject: [PHP

Re: [PHP] Delete

2006-06-04 Thread Larry Garfield
On Sunday 04 June 2006 03:11, Rabin Vincent wrote: > On 6/4/06, Larry Garfield <[EMAIL PROTECTED]> wrote: > > Make each button a separate form, with the id as a hidden value. Like > > so: > > > > > > > > My first entry > > > > > >

Re: [PHP] When is "z" != "z" ?

2006-06-04 Thread Larry Garfield
. > Likewise "a" is DEC 97 (0110 0001) and "z" is DEC 122 (0111 1010) and if I > compare "a" to "z" , it will always be less by numeric definition. In C or C++, yes. In PHP, do not assume the same string->number mapping. Numeric definition is ir

Re: [PHP] Delete

2006-06-04 Thread Larry Garfield
On Monday 05 June 2006 00:41, Rabin Vincent wrote: > On 6/4/06, Larry Garfield <[EMAIL PROTECTED]> wrote: > > Only if delete.php is a confirmation page. Never ever ever have a > > delete function that operates solely by GET. > > > > Here's why: http://th

Re: [PHP] When is "z" != "z" ?

2006-06-05 Thread Larry Garfield
ng base" instead of a numeric base. Thus a++ = b, b++=c, etc. z++ "rolls over" to the next "digit" (which because it's a string goes to the right rather than the left), and resets. So just as 9++ rolls over to 10, z rolls over to aa. Does that make more se

Re: [PHP] When is "z" != "z" ?

2006-06-05 Thread Larry Garfield
fining ++ and < and > in such a way as to make them "behave like numbers" would have made them not work for alphabetizing. A string is a string, and comparison of strings is alphabetic (for some definition of alphabet). It's more useful to deal with strings as strings than

Re: [PHP] Update table to get consecutive Primary keys

2006-06-08 Thread Larry Garfield
't do it. Stick with the numeric ID and don't change it. You gain nothing by re-naming your entire database. -- Larry Garfield AIM: LOLG42 [EMAIL PROTECTED] ICQ: 6817012 "If nature has made any one thing less susceptible than all others of exclusiv

Re: [PHP] Re: How to re-order an array

2006-06-10 Thread Larry Garfield
ecurity isn't. Your server has no way of telling if the data it's receiving is from a properly setup client that did the correct JS filtering, or if it's from someone writing as simple bot/script/program that's just sending GET and POST requests to you. Your PHP should never

Re: [PHP] php->html "rendering"

2006-06-12 Thread Larry Garfield
wget -m -k http://www.yoursite.com/ Cheers. :-) -- Larry Garfield On Mon, June 12, 2006 10:54 am, Ryan A said: > Hey all, > > heres the short explanation of what I am supposed to > do, > I need to render/convert the entire site to normal > html pages so that it can be lo

Re: [PHP] php->html "rendering"

2006-06-12 Thread Larry Garfield
lize how) that it renders about 50 commercial applications completely pointless. :-) -- Larry Garfield AIM: LOLG42 [EMAIL PROTECTED] ICQ: 6817012 "If nature has made any one thing less susceptible than all others of exclusive property, it is the action of the thi

Re: [PHP] php->html "rendering"

2006-06-13 Thread Larry Garfield
mic pages > to static WITH a .html/.htm extention; unfortunatly he > didnt give an example of how to do this, was he just > blowing smoke or is that true? man wget, and look for the -E option (aka --html-extension). -- Larry Garfield AIM: LOLG42 [EMAIL PROTECTED]

Re: [PHP] php->html "rendering"

2006-06-13 Thread Larry Garfield
On Tuesday 13 June 2006 17:57, Ryan A wrote: > Hey Larry, > > Thanks again, now i have around 3 different ways of > doing this... can assure the client that all will be > well, all depends now if the project is confirmed and > given to us. > > But the info you gave me wi

Re: [PHP] Seeking recommendations for use of include()

2006-06-13 Thread Larry Garfield
d them. Just be very very careful about where those variables come from. -- Larry Garfield AIM: LOLG42 [EMAIL PROTECTED] ICQ: 6817012 "If nature has made any one thing less susceptible than all others of exclusive property, it is the action of the thinking

Re: [PHP] declaring a class as stdClass?

2006-06-14 Thread Larry Garfield
? > > $data = array('apple' => 'red', 'banana' => 'yellow', 'plum' => > 'purple'); > $data = (MyCustomClass) $data; > print_r($data); > ?> > > I ask this because the cast in my firs

Re: [PHP] Seeking recommendations for use of include()

2006-06-15 Thread Larry Garfield
CODE is include $_GET['page']. That's an easily exploitable hole, as explained. -- Larry Garfield AIM: LOLG42 [EMAIL PROTECTED] ICQ: 6817012 "If nature has made any one thing less susceptible than all others of exclusive property, it is the

Re: [PHP] Using PHP/HTML effectivly

2006-06-15 Thread Larry Garfield
ousands of people on more sites than you've ever used. If you want to use a non-PHP-syntax for your template files, find one. Don't write it. You will thank yourself later. -- Larry Garfield AIM: LOLG42 [EMAIL PROTECTED] ICQ: 6817012 "If nature h

Re: [PHP] Re: File Download Headers

2006-06-16 Thread Larry Garfield
er() > calls that do nothing. > > Hope that helps. > > Chris I think Richard's point, though, was that while it does nothing now, you have no way of knowing when it will start having meaning. Sending garbage headers is sloppy, and opens yourself up to the environment changin

Re: [PHP] Includes, Require, Location, Other

2006-06-18 Thread Larry Garfield
) { > $error = "$table_error$mysqlerror"; > include("season.php"); - This is not what I really want and > in some cases > it cause problems. > exit; > } > else { > The rest of t

Re: [PHP] comparing a string

2006-06-20 Thread Larry Garfield
echo "post equals".$_POST['x']." corect answer > is".$correct_answers[$page-1]; > > Ross -- Larry Garfield AIM: LOLG42 [EMAIL PROTECTED] ICQ: 6817012 "If nature has made any one thing less susceptible than all others of

Re: [PHP] Cookie Question

2006-06-24 Thread Larry Garfield
ession handling, particularly the cookie-saved version. Remember, cookies are user-supplied data. That means it is not to be trusted. A session key is hard to hijack, or at least harder than it is to fake a non-random-key cookie. It's easier to hijack if it's in the URL GET s

Re: [PHP] New install platform

2006-06-25 Thread Larry Garfield
go through this to test a single error, but if anyone > can help with this, I would truly appreciate it. -- Larry Garfield AIM: LOLG42 [EMAIL PROTECTED] ICQ: 6817012 "If nature has made any one thing less susceptible than all others of exclusive propert

[PHP] Memory profiling tools

2008-06-23 Thread Larry Garfield
recommend for such a task? Or any programming tricks one can recommend to identify the size of a given data structure? Windows or Linux are both fine; I have access to both. -- Larry Garfield [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://w

Re: [PHP] prepared statement

2008-06-25 Thread Larry Garfield
big performance boost on MySQL in a typical web app, but you can probably break even on performance overall while adding flexibility, additional features, and a nice API. -- Larry Garfield [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] class_is_loadable?

2008-07-05 Thread Larry Garfield
of a way to achieve the above effect? This is specifically for PHP 5.2 and later. Thanks. -- Larry Garfield [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: class_is_loadable?

2008-07-05 Thread Larry Garfield
ne would be responsible for loading a given class, can I do the check in that autoload routine and throw an exception there? Or would that make insanity happen? :-) -- Larry Garfield [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Pear DB

2008-07-10 Thread Larry Garfield
mething > which is considered better ? > > TIA, > JC -- Larry Garfield [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP4 vs PHP5 classes

2008-07-29 Thread Larry Garfield
're on a web host that is still on PHP 4, I recommend you switch to a web host that is not doomed to go out of business within the next year, because I predict it will.) -- Larry Garfield [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] PDO prepared statements and LIKE escaping

2008-08-03 Thread Larry Garfield
a query string directly rather than using a prepared statement. How do other folks handle this issue? -- Larry Garfield [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PDO prepared statements and LIKE escaping

2008-08-04 Thread Larry Garfield
On Mon, 04 Aug 2008 08:33:44 +0200, Per Jessen <[EMAIL PROTECTED]> wrote: > Larry Garfield wrote: > >> IIRC, the way in SQL to circumvent that is to convert "100%" into >> "100%%". However, that does rather defeat the purpose of a prepared >>

Re: [PHP] PDO prepared statements and LIKE escaping

2008-08-04 Thread Larry Garfield
On Mon, 4 Aug 2008 11:48:39 -0400, "Andrew Ballard" <[EMAIL PROTECTED]> wrote: > On Mon, Aug 4, 2008 at 11:35 AM, Larry Garfield <[EMAIL PROTECTED]> > wrote: >> >> On Mon, 04 Aug 2008 08:33:44 +0200, Per Jessen <[EMAIL PROTECTED]> wrote: >>>

Re: [PHP] PDO prepared statements and LIKE escaping

2008-08-04 Thread Larry Garfield
Hm. So your solution is "don't use LIKE"? I can't say I'm wild about that. :-/ --Larry Garfield On Mon, 4 Aug 2008 15:49:52 -0400, "Adam Richardson" <[EMAIL PROTECTED]> wrote: > Larry, > > I agree that having to escape values in a stored pro

Re: [PHP] PDO prepared statements and LIKE escaping

2008-08-04 Thread Larry Garfield
#x27;m not 'especially pleased' with any idea up until now. > > I'm certainly open to any other ideas. > > > > Adam > > > > On Mon, Aug 4, 2008 at 6:57 PM, Larry Garfield <[EMAIL PROTECTED]>wrote: > >> Hm. So your solution is "don&#

Re: [PHP] Variable number of parameters

2008-08-05 Thread Larry Garfield
gt; Thanks, > ~Phil Unless I'm misunderstanding you entirely: http://us.php.net/manual/en/function.func-get-args.php http://us.php.net/call_user_func_array You can pretty much do anything you want with that. -- Larry Garfield [EMAIL PROTECTED] -- PHP General Mailing List (http://www.ph

Re: [PHP] Developing a game using Ming

2008-08-21 Thread Larry Garfield
upto the job) If you're trying to be cheap and/or Open Sourcy about it, have a look at OpenLazlo. It's an XML/JS framework, all open source, that compiles to SWF and plays in a normal Flash 9 browser plugin. I've only recently started looking into it, but it looks impressive.

Re: [PHP] Developing a game using Ming

2008-08-21 Thread Larry Garfield
On Thursday 21 August 2008 8:59:58 am Larry Garfield wrote: > If you're trying to be cheap and/or Open Sourcy about it, have a look at > OpenLazlo. It's an XML/JS framework, all open source, that compiles to SWF > and plays in a normal Flash 9 browser plugin. > > I

Re: [PHP] Manual Coding vs. CMS Systems

2008-08-28 Thread Larry Garfield
important to me, it _feels_ much better to have it done > from scratch all by yourself, doesn't it? > > So, I would love to hear your opinion on this. Sorry for being a bit off > topic here as this is not 100% coding related, but I _had_ to get some > feedback to backup my position

[PHP] fsockopen in phpmailer and tls

2008-09-04 Thread Larry Brown
ontinue to get the same message which I'm now thinking might be a red herring. -- Larry Brown <[EMAIL PROTECTED]> -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] fsockopen in phpmailer and tls

2008-09-06 Thread Larry Brown
On Fri, 2008-09-05 at 00:58 -0400, Robert Cummings wrote: > On Thu, 2008-09-04 at 23:20 -0400, Larry Brown wrote: > > I am having a ball of a time trying to figure this one out... If anyone > > has dealt with this before I'd love to get some morsels of wisdom from > > y

Re: [PHP] fsockopen in phpmailer and tls

2008-09-06 Thread Larry Brown
On Sat, 2008-09-06 at 14:06 -0400, Robert Cummings wrote: > On Sat, 2008-09-06 at 14:02 -0400, Larry Brown wrote: > > > > OK. So I broke down and re-created my mail server due to its age. I > > am > > now running the latest sendmail and it is still failing. The mess

Re: [PHP] fsockopen in phpmailer and tls

2008-09-07 Thread Larry Brown
On Sat, 2008-09-06 at 14:53 -0400, Robert Cummings wrote: > On Sat, 2008-09-06 at 14:38 -0400, Larry Brown wrote: > > On Sat, 2008-09-06 at 14:06 -0400, Robert Cummings wrote: > > > On Sat, 2008-09-06 at 14:02 -0400, Larry Brown wrote: > > > > > > > > O

Re: [PHP] store array into session variable and get it back later

2008-10-01 Thread Larry Brown
how about: $bci = $_SESSION['bc']; foreach($bci->crumb as myCrumb) { echo "value['name'] :".$myCrumb['name'].""; echo "value['link'] :".$myCrumb['link'].""; echo "value['id'] : ".$myCrumb['id'].""; } You are wanting to loop through the crumbs rather than looping objects. There is onl

Re: [PHP] Drupal 6

2008-10-06 Thread Larry Garfield
) http://www.artic.edu/aic/collections (writeup: http://drupal.org/node/279485) http://www.herron.iupui.edu/ http://artsci.wustl.edu/ http://www.firstbt.com/ http://www.virtualk.org/ For us, we no longer ask "so can Drupal do this?" We go straight to "so how can we do this with Drup

Re: [PHP] Re: db_* => pg_*/my_*/ifx_* ?

2008-10-06 Thread Larry Garfield
Eventually I want to split it out to its own standalone library, but it's not at that point yet. (And due to the weirdness that is SQL, it's actually a lot harder than you think to do such a thing well, especially WHERE clauses and the excitement that are Merge queries. Tip: A s

Re: [PHP] Re: php framework vs just php?

2008-10-07 Thread Larry Garfield
boost. I find I produce much better quality results with much less effort when using a good framework than when writing from scratch. --Larry Garfield -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP Dev Facts

2008-10-17 Thread Larry Garfield
might learn something/find some > new tools/toys! > > pps: will reply myself as well but if I do here it'll make your > intertwined replies messy! > > Many Regards > > Nathan -- Larry Garfield [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Replacing with f*ck and f*cking

2008-10-26 Thread Larry Garfield
ickable, do "bad word" filtering, or any number of other things) and then just cache the result. The cache lookup (based on a hash of the string being filtered and the ID of the filter set to apply) is far faster than reapplying the filters every time. We've found this mechanism to s

Re: [PHP] basic php question...

2008-11-04 Thread Larry Garfield
s, however, do not. So you still need to make sure your site works sans-JS if you want Google to grok it. -- Larry Garfield [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Managed VPS recommendations

2008-11-09 Thread Larry Garfield
Any hosts you can recommend/avoid? So far random searching has turned up Amazon EC2 and Jaguar VPS as possibilities, but I'd like to get broader input if possible. Thanks all! -- Larry Garfield [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Managed VPS recommendations

2008-11-10 Thread Larry Garfield
On Mon, 10 Nov 2008 09:54:21 -0500, Robert Cummings <[EMAIL PROTECTED]> wrote: > On Mon, 2008-11-10 at 14:26 +0100, Jochem Maas wrote: >> Larry Garfield schreef: >> >> ... >> >> I believe "that guy" Dan Brown might have something up your alley,

Re: [PHP] Managed VPS recommendations

2008-11-10 Thread Larry Garfield
On Mon, 10 Nov 2008 11:30:01 -0500, "Daniel P. Brown" <[EMAIL PROTECTED]> wrote: > On Mon, Nov 10, 2008 at 11:09 AM, Larry Garfield <[EMAIL PROTECTED]> > wrote: >> >> So that's a couple of votes for individual people. What company do they > wor

RE: [PHP] Seems Simple enough

2004-01-26 Thread Larry Brown
you need one of the to if's to be either $Balance >=1 elseif($Balance < 1000) or $Balance > 1 elseif($Balance <= 1). Yours has the first saying everything equal to or greater than 10001 which 1 is not else everything less than or equal to which 1

RE: [PHP] Session troubles

2004-02-04 Thread Larry Brown
I know I may be displaying severe ignorance, but I have to ask... What do you mean by "this page also uses paging"? What is "paging"? Larry -Original Message- From: DL [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 03, 2004 4:20 PM To: [EMAIL PROTECTED] Su

RE: [PHP] check if user session exists

2004-02-09 Thread Larry Brown
ons or not. If not, you could read the directory, match the SIDs from your list and go from there. There is no way of knowing if the person is still actively using the SID this way though. Larry. -Original Message- From: Christian Calloway [mailto:[EMAIL PROTECTED] Sent: Monday, February 0

RE: [PHP] [Q] Problems invoking a PHP script - Have no hair left to pull - Please help [:-)

2004-02-10 Thread Larry Brown
is the html code you have listed below the file "register_new_member.php"? Is it in the same directory as the previously successful script? -Original Message- From: news [mailto:[EMAIL PROTECTED] Behalf Of Michael T. Peterson Sent: Tuesday, February 10, 2004 9:48 PM To: [EMAIL PROTECTED] S

RE: [PHP] SQL help

2004-02-10 Thread Larry Brown
o I'm taking your word for the fact that you are restricting your selection to values of 'Yes' works as anticipated. As long as there is a one to one relationship on user id I believe the left join works for this. Larry -Original Message- From: Marc Greenstock [mailto:[EMAIL

[PHP] scope problem

2004-03-05 Thread Larry Brown
uld think that if using break was throwing me, that the value wouldn't print on each cycle of the loop. TIA Larry -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] scope problem

2004-03-05 Thread Larry Brown
List Subject: Re: [PHP] scope problem Hello Larry, Friday, March 5, 2004, 4:01:39 PM, you wrote: LB> This gives values something to the tune of... LB> 200 LB> 400 LB> 700 LB> 100 Hard to say with so little code, but... Your first where loop is probably running twice, i.e. res

RE: [PHP] Let's start a php-advanced list!

2004-03-07 Thread Larry Brown
what do you guys think of using a tag for discussion messages? This way people that don't want to weed out lengthy discussions and attachments etc can filter them out of list messages. A tag such as in the subject line? Just my two cents. Larry -Original Message- From:

RE: [PHP] Re: RFC: Job listings

2004-03-07 Thread Larry Brown
I don't see how it could be to anyone's disadvantage. As a matter of fact, I think that it would be great to also have it available as a soap service as well. If people well versed in different open source projects were able to be listed on each projects' sites and provide soap service as well, a

[PHP] debug on build

2004-03-25 Thread Larry Brown
Does anyone know what --enable-debug gives you when building php? Does this hinder normal operation of php or just take a small hit in performance to be able to render more debug information when needed? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/

[PHP] multi-dim array from text file

2004-03-26 Thread Larry Pisani
n/awk '{ print \"\"$1\" \"$2\" VLAN2 VLAN3 VLAN4 IS VLAN6 VLAN7 VLAN8 Printers Guest\" }' "); ?> == TIA, Larry -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] $HTTP_SESSION_VARS still holds original values even after unset?

2004-04-04 Thread Larry Brown
does not show the change, post the test code so we might be able to tell why it fails. Provided you can change the variable, you should be able to create a loop that sets all the variables to "" or some base values etc. Larry -Original Message- From: Andy B [mailto:[EMAIL PROTE

RE: [PHP] php as default "value" in html

2004-04-04 Thread Larry Brown
When someone pulls up a form and fills it out, they subsequently submit that form. When submitting a form your browser creates a one on one connection with the server where the server inputs the data from your form before or after the next person without mixing the two. (no matter if the two subm

[PHP] formating output

2004-12-17 Thread Larry L
I'm sure this is easy and I'll feel silly when I see how it's done, but, my mnd is a blank, this structure prints out a table with a new row for each item <$results[1] " ; } ?> what I want to do is print out a table 4 columns wide and however many rows high needed

[PHP] foreach loop changed after 4.3 -> 4.4 upgrade

2005-08-22 Thread Larry Brown
I had a foreach loop working on an array as such: $multiarray = array(array('person','person'),array('another','another')) the array was put through foreach($multiarray as $subArray){ do something with array } on each loop I would see $subArray= array([0] = 'person',[1] = 'person') and then $

Re: [PHP] foreach loop changed after 4.3 -> 4.4 upgrade

2005-08-22 Thread Larry Brown
005-08-22 at 21:28, Larry Brown wrote: > I had a foreach loop working on an array as such: > > $multiarray = array(array('person','person'),array('another','another')) > > the array was put through > > foreach($multiarray as $subArray){ >

RE: [PHP] foreach loop changed after 4.3 -> 4.4 upgrade

2005-08-23 Thread Larry Brown
On Tue, 2005-08-23 at 05:30, Ford, Mike wrote: > -Original Message- > From: Larry Brown > To: php > Sent: 23/08/05 02:28 > Subject: [PHP] foreach loop changed after 4.3 -> 4.4 upgrade > > I had a foreach loop working on an array as such: > > $multiarray

RE: [PHP] foreach loop changed after 4.3 -> 4.4 upgrade

2005-08-23 Thread Larry Brown
Sorry, that last one went out without a comment. I think this is most likely the cause. I haven't dug back into it yet to verify, but it makes the most sense. Thanks everyone... Larry On Tue, 2005-08-23 at 05:30, Ford, Mike wrote: > -Original Message- > From: Larry Brow

RE: [PHP] foreach loop changed after 4.3 -> 4.4 upgrade

2005-08-24 Thread Larry Brown
Yes, tested and verified. It was the accelerator. They have multiple binaries, one for each version of PHP. Matching the new binary to the new version of PHP solved this problem. Thanks again. Larry On Tue, 2005-08-23 at 20:35, Larry Brown wrote: > Sorry, that last one went out withou

[PHP] simple DOM/XML test fails in php

2006-01-20 Thread Larry Hughes
I have a very simple DOM test set up which is failing. Environment is apacie 1.3.x, WIN xp, PHP 5.1.2 ; DOM seetings outlined in phpinfo() indicate various DOM/XML support is enabled. Failing php is: saveXML(); ?> which results in: The XML page cannot be displayed Cannot view XML input using s

[PHP] simple DOM/XML test fails in php

2006-01-20 Thread Larry Hughes
I have a very simple DOM test set up which is failing. Environment is apacie 1.3.x, WIN xp, PHP 5.1.2 ; DOM seetings outlined in phpinfo() indicate various DOM/XML support is enabled. Failing php is: saveXML(); ?> which results in: The XML page cannot be displayed Cannot view XML input using sty

Re: [PHP] Good Reads

2001-01-27 Thread Larry Jaques
I preferred this book over "Professional PHP Programming" because of the many examples cited in the book (and listings on the CD) and the author's easy style. I have only 700 more pages to go, too! ;) - Larry Jaques, President 1.760.941.8868 DIVERSIFY! Communications Vista

[PHP] imap (nntp) message tracking

2001-01-31 Thread Larry Hotchkiss
in mysql databse and I am using php4. I have been playing with a little code and can retrieve a list of messages as well as the headers/body etc, I am just unsure how to track message status. ANyone have any ideas? -- Larry Hotchkiss -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] connecting to AS400 DB2

2001-01-31 Thread Larry Hotchkiss
your windows ver of php, you should just be able to uncomment the line in your php.ini so it can use odbc and make sure the extension path is set correctly. -- Larry Hotchkiss "Conover, Ryan" wrote: > > I was wondering if anyone as successfully pulled info from a DB2 Databas

[PHP] details on imap functions.

2001-02-01 Thread Larry Hotchkiss
hey can e-mail to me? Or point me to where I can get it? -- Larry Hotchkiss -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

Re: [PHP] details on imap functions.

2001-02-01 Thread Larry Hotchkiss
Thanks Rasmus, but I cant find just the imap source tarball. I do have the complete source from php.net but there is no 'internal.txt' anywhere in it. Rasmus Lerdorf wrote: > > docs/internal.txt is part of the imap source tarball > > On Thu, 1 Feb 2001,

[PHP] cancel <3A79D543.779F9F37@unicap.com>

2001-02-01 Thread Larry Hotchkiss
This message was cancelled from within Mozilla. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

[PHP] array VS object?

2001-02-02 Thread Larry Hotchkiss
determine the field names in an object so that they can be called? -- Larry Hotchkiss -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

[PHP] apache/SUexec/PHP

2001-02-03 Thread Larry Rosenman
I noticed today that PHP apps run as the WWW user, not the User/Group specified in httpd.conf for virtualhosts. (Module version of PHP running in Apache 1.3.17). Is there any way to get the PHP module to assume the identity similar to the SUexec module will do for CGI? Thanks! -- Larry

Re: [PHP] PHP4.0.4pl1 with Apache 1.3.17/SSL and Frontpage ...

2001-02-08 Thread Larry Rosenman
additional commands, e-mail: [EMAIL PROTECTED] > To contact the list administrators, e-mail: [EMAIL PROTECTED] -- Larry Rosenman http://www.lerctr.org/~ler Phone: +1 972-414-9812 E-Mail: [EMAIL PROTECTED] US Mail: 1905 Steamboat Springs Drive, Garland, TX 750

Re: [PHP] PHP4.0.4pl1 with Apache 1.3.17/SSL and Frontpage ...

2001-02-09 Thread Larry Rosenman
* The Hermit Hacker <[EMAIL PROTECTED]> [010208 21:39]: > On Thu, 8 Feb 2001, Larry Rosenman wrote: > > > * The Hermit Hacker <[EMAIL PROTECTED]> [010208 21:12]: > > > > > > Simple ... everything compiles cleanly, but as soon as I try and run it, I

[PHP] concatenating strings and \n's for mail...

2001-02-14 Thread Larry Rosenman
this? This is with 4.0.4pl1. LER -- Larry Rosenman http://www.lerctr.org/~ler Phone: +1 972-414-9812 E-Mail: [EMAIL PROTECTED] US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-ma

<    2   3   4   5   6   7   8   9   >