Re: [PHP] High bandwidth application tips

2003-11-06 Thread David T-G
an be done in C? [I always forget return codes and what is true versus false :-] TIA & HAND :-D -- David T-G * There is too much animal courage in (play) [EMAIL PROTECTED] * society and not sufficient moral courage. (work) [EMAIL PROTECTED] -- Mary Baker Eddy, &qu

Re: [PHP] PHP developers

2003-11-07 Thread David T-G
-) What do you need? % % Thanks, % J HTH & HAND :-D -- David T-G * There is too much animal courage in (play) [EMAIL PROTECTED] * society and not sufficient moral courage. (work) [EMAIL PROTECTED] -- Mary Baker Eddy, "Science and Health" http://just

Re: [PHP] BRU Help

2003-11-10 Thread David T-G
need. Go there. HTH & HAND :-D -- David T-G * There is too much animal courage in (play) [EMAIL PROTECTED] * society and not sufficient moral courage. (work) [EMAIL PROTECTED] -- Mary Baker Eddy, "Science and Health" http://justpickone.org/davidtg

[PHP] session vars for other session name

2003-11-10 Thread David T-G
me so that I can preset this password? TIA & HAND :-D -- David T-G * There is too much animal courage in (play) [EMAIL PROTECTED] * society and not sufficient moral courage. (work) [EMAIL PROTECTED] -- Mary Baker Eddy, "Science and Health" http://justpickon

Re: [PHP] session vars for other session name

2003-11-10 Thread David T-G
Marek, et al -- ...and then Marek Kilimajer said... % % David T-G wrote: % % >I have a picture gallery application which uses sessions. As part of the % >config we set the session name; the default is 'locscout'. % > % >I also have a portfolio/presentation application

[PHP] safe writing by apache

2003-11-10 Thread David T-G
very fresh ground. I can't believe I'm the only one to have run across this problem :-) What do you all do? TIA & HAND :-D -- David T-G * There is too much animal courage in (play) [EMAIL PROTECTED] * society and not sufficient moral courage. (work) [EMAIL PR

Re: [PHP] session vars for other session name

2003-11-10 Thread David T-G
Marek, et al -- ...and then Marek Kilimajer said... % % David T-G wrote: ... % >or so. But what does that buy me? How will then setting my password at % >one level (presentation) also set it at another (gallery)? % % You will have the same session variables accessible in your script

Re: [PHP] Delete after 30 Days

2003-11-10 Thread David T-G
< date_sub(now(),interval 30 days) ; or so (untested). For more info, check the mysql manual. % % Dimitri Marshall HTH & HAND :-D -- David T-G * There is too much animal courage in (play) [EMAIL PROTECTED] * society and not sufficient moral courage. (work) [EMAIL PRO

Re: [PHP] Running CLI from a web page

2003-11-10 Thread David T-G
;s a blank you won't see anything. % % Suggestions??? Try the above. % % BTW, wherever I've written "php" above I've actually used the full path of % the php executable. Then you should have written that ;-) HTH & HAND :-D -- David T-G * There

Re: [PHP] sorting files by date

2003-11-11 Thread David T-G
*not* related to the actual dates, then just stat() each file and sort based on those results. % % I've read through most of the array part of the manual, but can't see % what I need. I bet it's sort() :-) % % % Justin HTH & HAND :-D -- David T-G

Re: [PHP] Miami User Group

2003-11-11 Thread David T-G
. Thanks & HAND :-D -- David T-G * There is too much animal courage in (play) [EMAIL PROTECTED] * society and not sufficient moral courage. (work) [EMAIL PROTECTED] -- Mary Baker Eddy, "Science and Health" http://justpickone.org/davidtg/ Shpx gur Pbzzhavpngvb

[PHP] I meant 'PHP Atlanta user group'...

2003-11-11 Thread David T-G
Hi again -- ...and then David T-G said... % % [Yes, this is intended to be a new thread.] GRRR... It would help if I remembered to change the Subject: line, too. Anyway, I'd like to see more PHP in Atlanta. HAND :-D -- David T-G * There is too much animal coura

Re: [PHP] Can sudo be used for apache

2003-11-12 Thread David T-G
HAND :-D -- David T-G * There is too much animal courage in (play) [EMAIL PROTECTED] * society and not sufficient moral courage. (work) [EMAIL PROTECTED] -- Mary Baker Eddy, "Science and Health" http://justpickone.org/davidtg/ Shpx gur Pbzzhavpngvbaf Qrprapl N

Re: [PHP] sorting files by date

2003-11-13 Thread David T-G
Justin, et al -- ...and then Justin French said... % % On Wednesday, November 12, 2003, at 12:52 PM, David T-G wrote: % % >OK. So what are you filming? :-) % % www.preshrunk.com -- they are sending me short video diary entries from % the road whilst on tour :) Very cool! ain'

Re: [PHP] multiple table rows into an array, and creating a calendar

2003-11-13 Thread David T-G
Dave -- ...and then Dave G said... % ... % My problem is that I can't figure out how to compare the results % of the query to the dates on the calendar so that they display on the % right dates. OK. % I thought I should put those date in an array and then on each % date, s

[PHP] sessions, SIDs, and php 4.3

2003-11-13 Thread David T-G
nally works -- but I thought that PHP was supposed to format my URLs the right way for me, and even moreso didn't think that I needed the ? because the SID constant is supposed to be "smart". What else do I have to cram in my already-exploding head to get this right?

Re: [PHP] Multiple values in a form option field

2003-11-13 Thread David T-G
of vars as well as just a few. % % Jeff HTH & HAND :-D -- David T-G * There is too much animal courage in (play) [EMAIL PROTECTED] * society and not sufficient moral courage. (work) [EMAIL PROTECTED] -- Mary Baker Eddy, "Science and Health" http://justpicko

Re: [PHP] sessions, SIDs, and php 4.3

2003-11-13 Thread David T-G
Chris, et al - ...and then Chris Shiflett said... % % --- David T-G <[EMAIL PROTECTED]> wrote: % > % > I specified the SID, and it finally works -- but I thought that PHP was % > supposed to format my URLs the right way for me, and even moreso didn't % > think that I n

Re: [PHP] sessions, SIDs, and php 4.3

2003-11-13 Thread David T-G
Chris, et al -- ...and then Chris Shiflett said... % % --- David T-G <[EMAIL PROTECTED]> wrote: % > % % > % session.use_trans_sid = 1 % > % > Yep. % % OK, well PHP should add the session identifier to the URL for every link OK. % on the first page. This is because PHP ca

Re: [PHP] sessions, SIDs, and php 4.3

2003-11-13 Thread David T-G
Chris, et al -- ...and then Chris Shiflett said... % % --- David T-G <[EMAIL PROTECTED]> wrote: % > BTW, the same URL with .phps will let you see the PHP source. % % Well, hopefully only because you have a duplicate file (or a link) by that % name. :-) Yep. Created just for this

Re: [PHP] New problem - HELP!

2003-11-13 Thread David T-G
fail; undefined is not the same as "" and so on. HTH & HAND :-D -- David T-G * There is too much animal courage in (play) [EMAIL PROTECTED] * society and not sufficient moral courage. (work) [EMAIL PROTECTED] -- Mary Baker Eddy, "Science and Health" h

Re: [PHP] sessions, SIDs, and php 4.3

2003-11-13 Thread David T-G
Chris, et al -- ...and then Chris Shiflett said... % % --- David T-G <[EMAIL PROTECTED]> wrote: % > OK, but I know I have a problem and what I need is a solution :-) % % Yes, I understand. :-) *grin* % % > > If you look at the output of phpinfo() on this exact same scrip

Re: [PHP] sessions, SIDs, and php 4.3

2003-11-13 Thread David T-G
Chris, et al -- ...and then David T-G said... % % Let me go back over my code and see where I've screwed something up. That didn't take too long. I was using SCRIPT_URI instead of PHP_SELF. Ah. I guess PHP_SELF is my friend and none other. Good enough! So we have - use ses

Re: [PHP] New problem - HELP! [SOLVED]

2003-11-13 Thread David T-G
Jake -- ...and then Jake McHenry said... % % > -Original Message- % > From: Jake McHenry [mailto:[EMAIL PROTECTED] ... % > > -Original Message- % > > From: David T-G [mailto:[EMAIL PROTECTED] ... % > > ...and then Jake McHenry said... ... % > > %

Re: [PHP] Why would this eregi() function not work?

2003-11-13 Thread David T-G
Dave -- ...and then Dave G said... % % PHP Gurus, % I have an eregi() function that I'm using to validate emails % that users enter into a form. I pretty much took it directly from the % book "PHP and MySQL Web Development". It looks like this: % (!eregi('[EMAIL PRO

Re: [PHP] Why would this eregi() function not work?

2003-11-13 Thread David T-G
Dave -- ...and then Dave G said... % % > 2) Sure enough, you don't allow "+" extensions in yours. % > Neener neener :-) % % Is + a legal character in emails? Yep. IIRC sendmail and postfix use it for their extensions like qmail uses (by default) a - (but qmail can

Re: [PHP] Why would this eregi() function not work?

2003-11-14 Thread David T-G
Dave -- ...and then Dave G said... % % > ... escaping isn't necessary. % % Thanks so much for all the helpful advice! You're quite welcome :-) % Okay, included the + character, and removed the escaping. And I know I'm Good! % supposed to checking into preg_match, but I

Re: [PHP] 0-T- - - -> PHP Contest

2003-11-14 Thread David T-G
Ryan -- ...and then Ryan A said... % % Hey all, % Check out Bestwebhosters.com for a free PHP contest. Just did; didn't see it. Got a full URL? TIA & HAND :-D -- David T-G * There is too much animal courage in (play) [EMAIL PROTECTED] * society and not s

Re: [PHP] 0-T- - - -> PHP Contest

2003-11-14 Thread David T-G
/ domain registeration / software & get free advertising on bestwebhosters.com, click here for details. [EMBED] C o n t a c t u s :: P r i v a c y p o l i c y :: A d v e r t i s e :: L e g a l :: A d d / E d i t L i s t i

Re: [PHP] Include an encoder into PHP distribution?

2003-11-16 Thread David T-G
orite and my least favorite cause here) and watching us part ways. % % JS I think that supporting this discussion any further might cause some others to part ways with this list, so let's be done here :-) HTH & HAND :-D -- David T-G * There is too much animal

[PHP] _SESSION, _POST, and _GET

2003-11-16 Thread David T-G
to place, but I sure could use some help getting to it! :-) TIA & HAND :-D -- David T-G * There is too much animal courage in (play) [EMAIL PROTECTED] * society and not sufficient moral courage. (work) [EMAIL PROTECTED] -- Mary Baker Eddy, "Science and Health&qu

Re: [PHP] Good php WebMail Clients thru apache

2003-11-16 Thread David T-G
Jerry -- ...and then Jerry Alan Braga said... % % Any suggestions ? Squirrel is common, but I agree that, as far as webmail (ick) goes, IMP is excellent. HTH & HAND :-D -- David T-G * There is too much animal courage in (play) [EMAIL PROTECTED] * society and

Re: [PHP] Unzip a file.

2003-11-16 Thread David T-G
$zipfile->extractbyindex($z) ; rename($ziplist[$z][stored_filename],"$file.jpg") ; } # foreach(ziplist) } # foreach(uploads) ... or so? :-) % % Thanks, % Vincent. HTH & HAND :-D -- David T-G * There is too much animal courage in (pla

Re: [PHP] _SESSION, _POST, and _GET

2003-11-16 Thread David T-G
John, et al -- ...and then John W. Holmes said... % % David T-G wrote: % % >I have successfully used extract() to % >pull the data out of _SESSION each time; yay. % % This whole question revolves around the reason you're even extract()ing % anything to begin with... Why not j

Re: [PHP] SSH and php

2003-11-16 Thread David T-G
% Cheers, % -Ryan HTH & HAND :-D -- David T-G * There is too much animal courage in (play) [EMAIL PROTECTED] * society and not sufficient moral courage. (work) [EMAIL PROTECTED] -- Mary Baker Eddy, "Science and Health" http://justpickone.org/davidtg/ Shp

Re: [PHP] Storing images for photo album?

2003-11-16 Thread David T-G
is encrypted with double rot13 encoding. Any *teva* V ybir guvf :-) :-D -- David T-G * There is too much animal courage in (play) [EMAIL PROTECTED] * society and not sufficient moral courage. (work) [EMAIL PROTECTED] -- Mary Baker Eddy, "Science and Health" h

Re: [PHP] Can't fetch HTTP POST data in PHP?

2003-11-16 Thread David T-G
mp; HAND :-D -- David T-G * There is too much animal courage in (play) [EMAIL PROTECTED] * society and not sufficient moral courage. (work) [EMAIL PROTECTED] -- Mary Baker Eddy, "Science and Health" http://justpickone.org/davidtg/ Shpx gur Pbzzhavpngvbaf Qrprap

Re: [PHP] Explanation for php.net front page???

2003-11-16 Thread David T-G
Chris, et al -- ...and then Chris W. Parker said... % ... % -- % Don't like reformatting your Outlook replies? Now there's relief! There sure is. Uninstall Outhouse and use mutt, now available for win :-) HAND :-D -- David T-G * There is too much animal

Re: [PHP] _SESSION, _POST, and _GET

2003-11-16 Thread David T-G
John, et al -- ...and then John W. Holmes said... % % David T-G wrote: % % >...and then John W. Holmes said... % >% % >% This whole question revolves around the reason you're even extract()ing % >% anything to begin with... Why not just use the $_SESSION, $_POST, etc % &g

[PHP] Re: thanks for the summary (was "Re: [PHP] Can't fetch ...")

2003-11-17 Thread David T-G
e grateful because one of the items on my feature list is to allow customers to post pix directly from their phone cams; it sounds like there could be some wrinkles in there. Thanks again & HAND :-D -- David T-G * There is too much animal courage in (play) [EMAIL PROTEC

Re: [PHP] Include an encoder into PHP distribution?

2003-11-17 Thread David T-G
politics -- or you could write your own in something other than VS C++ or get a different one or... HAND :-D -- David T-G * There is too much animal courage in (play) [EMAIL PROTECTED] * society and not sufficient moral courage. (work) [EMAIL PROTECTED] -- Mary Baker Eddy,

Re: [PHP] SSH and php

2003-11-17 Thread David T-G
f you can already use a command prompt, then try an ssh in and look around (ls, chdir, pwd, ...). HTH & HAND :-D -- David T-G * There is too much animal courage in (play) [EMAIL PROTECTED] * society and not sufficient moral courage. (work) [EMAIL PROTECTED

Re: [PHP] Include an encoder into PHP distribution?

2003-11-17 Thread David T-G
Michael, et al -- ...and then Michael said... % % David T-G says % > I hate to sound like a curmudgeon, but if you want this then you should % > build it, just like John anyone else who wants it should. No, I haven't ... % % 1. An obsfuscator scrambles all the variable, functio

Re: [PHP] Looking for Spam free php form

2003-11-17 Thread David T-G
-- % Thank you, % % David Buchmueller HTH & HAND :-D -- David T-G * There is too much animal courage in (play) [EMAIL PROTECTED] * society and not sufficient moral courage. (work) [EMAIL PROTECTED] -- Mary Baker Eddy, "Science and Health" http://justpickone

Re: [PHP] PHP, HTML, CSS and a lot of problems

2003-11-17 Thread David T-G
problems % and is displayed in the browser URL. % % Does anybody know how to get it running? Not until you show us some code and some before-and-after. We're not mind readers, you know :-) % % Regards, % Björn HAND :-D -- David T-G * There is too much animal coura

Re: [PHP] escaping ' when inside a " "

2003-11-17 Thread David T-G
h on quoting and escaping. HAND :-D -- David T-G * There is too much animal courage in (play) [EMAIL PROTECTED] * society and not sufficient moral courage. (work) [EMAIL PROTECTED] -- Mary Baker Eddy, "Science and Health" http://justpickone.org/davidtg/

Re: [PHP] I need answers for the questions

2003-11-18 Thread David T-G
rint several pages of the online PHP reference manual. [snip] ROFLMAO *sniff* Thanks! HAND :-D -- David T-G * There is too much animal courage in (play) [EMAIL PROTECTED] * society and not sufficient moral courage. (work) [EMAIL PROTECTED] -- Mary Baker Eddy, "Science an

Re: [PHP] echo or print

2003-11-21 Thread David T-G
always remain in the proper order, but throwing a bunch of print()s will just get you a big mess on the floor requiring an intelligent sort() to clean up -- and you know how tough it can be to write a quick sort() algorithm! % % HTH & HAND ;-D -- David T-G * There

Re: [PHP] Two-way on-the-fly encryption

2003-11-21 Thread David T-G
e browser (and, similarly, decrypt it when it's requested later); then you only ever deal with the encrypted version (ick -- I can't believe I just suggested J-anything). % % Thanks! So what in the world is this data which must be so secure that even you can't

Re: [PHP] PHP to create Printable format

2003-11-21 Thread David T-G
drag out a GUI browser, and rarely to the point of "almost never" allow Javascript). % % -- % PHP General Mailing List (http://www.php.net/) % To unsubscribe, visit: http://www.php.net/unsub.php HTH & HAND :-D -- David T-G * There is too much animal courage in (play

Re: [PHP] Timer and submit button

2003-11-21 Thread David T-G
is will require decryption as well as encryption, since if the click didn't come in at exactly the right time the server's encryption to check would be different and not just "greater". HTH & HAND :-D -- David T-G * There is too much animal courage in

Re: [PHP] Add Reply-To to this list(s)

2003-11-25 Thread David T-G
rhaps including changing to a real mail program. See the archives for the full discussion. % % /T % % -- % PHP General Mailing List (http://www.php.net/) % To unsubscribe, visit: http://www.php.net/unsub.php HTH & HAND & now back to our regular PHP questions... :-D

Re: [PHP] Add Reply-To to this list(s)

2003-11-25 Thread David T-G
re of the lowest common denominator. It's bad enough already that many here don't know (or perhaps care) about message threading or decent quoting. HTH & HAND :-D -- David T-G * There is too much animal courage in (play) [EMAIL PROTECTED] * society and not

Re: [PHP] Add Reply-To to this list(s)

2003-11-25 Thread David T-G
hat, List Owners, I thank you, wherever you are :-) % % -Dan Joseph HAND :-D -- David T-G * There is too much animal courage in (play) [EMAIL PROTECTED] * society and not sufficient moral courage. (work) [EMAIL PROTECTED] -- Mary Baker Eddy, "Science and Heal

Re: [PHP] Add Reply-To to this list(s)

2003-11-25 Thread David T-G
Dave, et al -- ...and then Dave G said... % % This is, I suppose, a completely off topic thread. However, I just It sure is. And this has come up many times before. It's all in the archives. The only reason I bother to answer when the problem rears its head again is to fight, toot

Re: [PHP] Add Reply-To to this list(s)

2003-11-25 Thread David T-G
wouldn't even be necessary if Outlook weren't broken in so many ways. It further makes the case against it! HAND :-D -- David T-G * There is too much animal courage in (play) [EMAIL PROTECTED] * society and not sufficient moral courage. (work) [EMAIL PROTECTED]

Re: [PHP] Add Reply-To to this list(s)

2003-11-25 Thread David T-G
much help to you there, but if you can't configure your mail program to set a proper Mail-Followup-To: header or your filtering to delete duplicates as part of the sorting then you really aren't using a very good mail program or filter, are you? % % /T HAND :-

Re: [PHP] Add Reply-To to this list(s)

2003-11-25 Thread David T-G
vantage; I don't use Windows for my mail and have no idea what mail programs are available, much less worth trying. I would have to recommend mutt anyway because there's nothing that can beat it; it's available under the Cygwin port (at least). % % Thanks, % Gl

Re: [PHP] Add Reply-To to this list(s)

2003-11-26 Thread David T-G
more, go back to those emails and note the To: Cc: Reply-To: Mail-Followup-To: headers and it should all become clear. If not, send me the Message-ID of each and I'll use that to find them and then analyze them for you. % % Roddie Grant % [EMAIL PROTECTED] H

Re: [PHP] Add Reply-To to this list(s)

2003-11-26 Thread David T-G
Dave, et al -- ...and then Dave G said... % % Edwin, % I read the articles you pointed out. I'm sorry, but I still have % not seen any argument that makes me think that the reply-to-the author % option is better. In another posting I've put forth some of my reasons. Perhaps you

Re: [PHP] Add Reply-To to this list(s)

2003-11-26 Thread David T-G
TED] HTH & HAND :-D -- David T-G * There is too much animal courage in (play) [EMAIL PROTECTED] * society and not sufficient moral courage. (work) [EMAIL PROTECTED] -- Mary Baker Eddy, "Science and Health" http://justpickone.org/davidtg/ Shpx gur Pb

Re: [PHP] Add Reply-To to this list(s)

2003-11-26 Thread David T-G
the following words do you not understand? GET A BETTER MAIL CLIENT HAND :-D -- David T-G * There is too much animal courage in (play) [EMAIL PROTECTED] * society and not sufficient moral courage. (work) [EMAIL PROTECTED] -- Mary Baker Eddy, "Science and Health&

Re: [PHP] Add Reply-To to this list(s)

2003-11-26 Thread David T-G
Dave, et al -- ...and then Dave G said... % % To start out, I'd just like to make an observation. I've noticed ... % that the topic has come up multiple times in itself indicative of what % natural human expectations are. On the lists I belong to where responses I very much d

Re: [PHP] Add Reply-To to this list(s)

2003-11-26 Thread David T-G
r 2 cents % % (Man this discussion is getting expensive for some :P) So let's just stop talking about it and leave the list semantics alone. % % _ % Nigel Jones % [EMAIL PROTECTED] HTH & HAND :-D -- David T-G * There is too much animal coura

Re: [PHP] Outlinin block of code

2003-11-26 Thread David T-G
% % % -- % Best regards, % Uros mailto:[EMAIL PROTECTED] HTH & HAND :-D -- David T-G * There is too much animal courage in (play) [EMAIL PROTECTED] * society and not sufficient moral courage. (work) [EMAIL PROTECTED] -- Mary Baker Eddy, &quo

Re: [PHP] Is there a php built-in function to determine the number of dimensions of the array?

2003-11-26 Thread David T-G
w did I do, Mike? HTH & HAND :-D -- David T-G * There is too much animal courage in (play) [EMAIL PROTECTED] * society and not sufficient moral courage. (work) [EMAIL PROTECTED] -- Mary Baker Eddy, "Science and Health" http://justpickone.org/davidtg/ Shpx gu

Re: [PHP] Add Reply-To to this list(s) [SOLVED, for me, anyway]

2003-11-26 Thread David T-G
Dave, et al -- ...and then Dave G said... % % % Dave T-G said: ... % > simply allows whatever reply you want. % % And Jason Wong said: % > Simply put, there are mail clients available which are mailing-list % aware. To ... % % I was wrong, wrong, so very wrong. I see the light now,

Re: [PHP] how can I capture/ or make a history file?

2003-11-27 Thread David T-G
% you in what file it is stored.. For *csh shells it is usually $HOME/.history. For bash it is usually $HOME/.bash_history (though you can set it otherwise). I dunno from ksh or zsh and true sh doesn't have a history. HTH & HAND :-D -- David T-G * There is too muc

Re: [PHP] Does anyone have Upload meter php codes?

2003-11-27 Thread David T-G
Astron -- ...and then Astron of BrOnX said... % % Hi everyone, i am looking for upload meter progress bar codes. I have looked There's a problem with the progress bar that is a part of Netscape, Mozilla, IE, Konqueror, ... ? HTH & HAND :-D -- David T-G * The

Re: [PHP] Regular Expression Help: genreate alphanumeric, 8 chars

2003-11-27 Thread David T-G
elp Enjoy :-) HTH & HAND :-D -- David T-G * There is too much animal courage in (play) [EMAIL PROTECTED] * society and not sufficient moral courage. (work) [EMAIL PROTECTED] -- Mary Baker Eddy, "Science and Health" http://justpickone.org/davidtg/ Shpx gur Pb

Re: [PHP] Add Reply-To to this list(s)

2003-11-27 Thread David T-G
th for folks requesting the munging as well as for those of us (I included) who just can't fathom why anyone would possibly want to break things in that way. I think I'll drop a note to Chip Rosenthal, too, in the hopes that the concept might be fleshed out a bit in

Re: [PHP] Regular Expression Help: genreate alphanumeric, 8 chars

2003-11-27 Thread David T-G
Bogdan -- ...and then Bogdan Stancescu said... % % ...as in... % % Looks good to me. You're too kind; I was going to leave the exercise to the student to complete :-) % % Bogdan HTH & HAND :-D -- David T-G * There is too much animal courage in (pla

Re: [PHP] Regular Expression Help: genreate alphanumeric, 8 chars

2003-11-28 Thread David T-G
Adam -- ...and then Adam i Agnieszka Gasiorowski FNORD said... % ... % How about, % % $password = strtolower(substr(md5(uniqid(time())), 0, 7)); Hey, that's pretty slick. Good one! Gonna have to remember that; it's an excellent trick. Thanks & HAND :-D

Re: [PHP] Capturing $_POST variables

2003-11-28 Thread David T-G
sure that something doesn't change from post to post, you must store it in a session so that you can check it later. The good news is that once it's in a session you don't have to post it every time :-) HTH & HAND :-D -- David T-G * There is too much ani

Re: [PHP] Buy beer and smoke at ANY age

2003-11-28 Thread David T-G
Rasmus -- ...and then [EMAIL PROTECTED] said... % ... % This is not Spam. You signed up with partner site asking for fake license info. You need to put a curfew on your lists; look what they've been out and doing! Some kids just can't be trusted, I guess. ;-D --

Re: [PHP] Forms and Arrays

2003-11-28 Thread David T-G
$_POST[flab][$k]} " ; print "fplc$k = {$_POST[fplc][$k]}\n" ; } HTH & HAND :-D -- David T-G * There is too much animal courage in (play) [EMAIL PROTECTED] * society and not sufficient moral courage. (work) [EMAIL PROTECTED] -- Mary Baker Eddy, "Sci

[PHP] how can i get rid of newlines?

2003-11-28 Thread David T-G
ere perl I'd think that perhaps I'd change my record delimiter but I don't know how to do that in php. Any ideas? TIA & HAND :-D -- David T-G * There is too much animal courage in (play) [EMAIL PROTECTED] * society and not sufficient moral courage. (work)

Re: [PHP] how can i get rid of newlines?

2003-11-28 Thread David T-G
ace() :-) Thanks & HAND :-D -- David T-G * There is too much animal courage in (play) [EMAIL PROTECTED] * society and not sufficient moral courage. (work) [EMAIL PROTECTED] -- Mary Baker Eddy, "Science and Health" http://justpickone.org/davidtg/ Shpx gur

Re: [PHP] how can i get rid of newlines? [SOLVED]

2003-11-28 Thread David T-G
Leif, et al -- ...and then Leif K-Brooks said... % % David T-G wrote: % % >I need a true nl2br function to get rid of newlines; I am accepting a % >changed ini file parameter but the newline kills me. % > % Try: % $text = preg_replace("/\r\n|\n|\r", '', $text); A

Re: [PHP] how can i get rid of newlines? [SOLVED]

2003-11-28 Thread David T-G
Hi, all -- ...and then David T-G said... % ... % This tickles the back of my mind as something that I've seen before, now % that it's shown to me again... I'm going to have to go looking now that % I know the answer to see if I can find it in the archives. All I was able t

Re: [PHP] how can i get rid of newlines?

2003-11-28 Thread David T-G
Marek -- ...and then Marek Kilimajer said... % % David T-G wrote: % > % >...and then Marek Kilimajer said... % >% % >% $string = str_replace("\n", '', $string); % > % >That didn't work for me. Interestingly enough, in light of Leif's post, %

Re: [PHP] how can i get rid of newlines?

2003-11-28 Thread David T-G
Marek -- ...and then Marek Kilimajer said... % % David T-G wrote: % > % >Are you sure about that? He had % > % > "/\r\n|\n|\r" ... % % My bad, I should not aswer questions at 4:30 a.m. No problem, and I'm glad you and others do, because I'm just getting

Re: [PHP] New line problem - but for Excel

2003-11-28 Thread David T-G
ng from your php script. HTH & HAND :-D -- David T-G * There is too much animal courage in (play) [EMAIL PROTECTED] * society and not sufficient moral courage. (work) [EMAIL PROTECTED] -- Mary Baker Eddy, "Science and Health" http://justpickone.org/david

Re: [PHP] how can i get rid of newlines?

2003-11-28 Thread David T-G
Marek, et al -- ...and then David T-G said... % % But str_replace works for you? Interesting... I mucked about with it again and got it to work as long as I used an array for $search... I must have had a typo last time. Well, yay; I can rest easy knowing that I am using the faster function

Re: [PHP] New line problem - but for Excel

2003-11-28 Thread David T-G
el? If so, are they written as such? HTH & HAND :-D -- David T-G * There is too much animal courage in (play) [EMAIL PROTECTED] * society and not sufficient moral courage. (work) [EMAIL PROTECTED] -- Mary Baker Eddy, "Science and Health" http://just

Re: [PHP] DAMN

2003-11-28 Thread David T-G
er than have it start up again. If you're not careful, I suspect that a number of other list members will do the same thing to you. % % Brona HTH & HAND :-D -- David T-G * There is too much animal courage in (play) [EMAIL PROTECTED] * society and not sufficient

Re: [PHP] Checking if a host is online

2003-11-29 Thread David T-G
live/dead/notfound results; I don't think that php has forking. [1] My house must therefore by definition not be a real site, but it aspires to be -- and shall whenever I can find some unallocated time :-) HTH & HAND :-D -- David T-G * There is too much ani

[PHP] move_uploaded_file, umask, and permissions

2003-11-29 Thread David T-G
perms and yet does not honor the umask. Must I really run chmod() on every move_uploaded_file() I process? Isn't there a better way? TIA & HAND :-D -- David T-G * There is too much animal courage in (play) [EMAIL PROTECTED] * society and not sufficient moral coura

Re: [PHP] move_uploaded_file, umask, and permissions

2003-11-30 Thread David T-G
Hi, all -- ...and then David T-G said... % ... % I have set my umask to 117 (and I change it when making a directory) and % I use move_uploaded_file to handle submitted files. ... % Must I really run chmod() on every move_uploaded_file() I process? Isn't % there a better way? Wow, it&

Re: [PHP] move_uploaded_file, umask, and permissions

2003-12-01 Thread David T-G
Curt, et al -- ...and then Curt Zirzow said... % % Message-ID: <[EMAIL PROTECTED]> Mister Underhill, I presume? :-) I only just noticed this :-) % % * Thus wrote David T-G ([EMAIL PROTECTED]): % > % > I have set my umask to 117 (and I change it when making a directory) a

Re: [PHP] [Stats] PHP Net List: November 2003

2003-12-01 Thread David T-G
your input and beware of "newline exploits", even in the Subject: line! We should have a "worst interpreted subject" contest (and if we all talk about it enough it'll make it onto this list at the end of December ;-) HAND :-D -- David T-G * There is t

Re: [PHP] Working as a PHP/database developer..

2003-12-02 Thread David T-G
about half of the year to make your desired annual target because the other half will be spent on training, practicing, and hunting. Whether you apply that on a code licensing basis or an hourly work rate basis, make sure that you'll make enough to be around later! HTH & HAND & be

Re: [PHP] sendmail vs smpt

2003-12-02 Thread David T-G
- you're offloading the mail process to something else and so if you can do so -- even if your machine is only set up with a "dumb" mailer that only knows how to talk to your U's smarthost -- I would recommend that you run, not walk, to do so :-) HTH & HAND :-D -- David T

Re: [PHP] validating email address

2003-12-03 Thread David T-G
Blake -- ...and then Blake Schroeder said... % % Whats the best way to validate email address (check for white space, % check for .com, .net.edu etc) 1) Read this list's archives 2) STFW 3) Hand the job off to something else if at all possible % % -Blake HTH & HAND :-D --

[PHP] talking to a web page

2003-12-03 Thread David T-G
mmend to someone at my capable-but-not-expert level? Remember that I'll come back to the list when I get stumped ;-) TIA & HAND :-D -- David T-G * There is too much animal courage in (play) [EMAIL PROTECTED] * society and not sufficient moral courage. (work

Re: [PHP] Re: talking to a web page

2003-12-03 Thread David T-G
e fields and then send it. Very cool. % $code = $client->get('http://www.example.com/loginRequired.php'); Now to figure out how to try it out :-) Thanks & HAND :-D -- David T-G * There is too much animal courage in (play) [EMAIL PROTECTED] * societ

Re: [PHP] Re: talking to a web page

2003-12-03 Thread David T-G
for HTTP_Request but when I run a simple echo "" |php -q I get back "Failed opening required 'HTTP/Client.php'" :-( Is there a different install procedure? TIA & HAND :-D -- David T-G * There is too much animal courage in (play) [EMAIL

Re: [PHP] search/replace functions

2003-12-03 Thread David T-G
eplace,$content) ; and enjoy. % ... % "$row_mysql_table['content']" output. Am I on the right track? And if % not, can anyone tell me how to accomplish this? The right track, I think, but don't bother with the loop. % % Thanks! HTH & HAND :-D -- David T-G

[PHP] Re: PEAR installations (was "Re: [PHP] Re: talking to a web page")

2003-12-03 Thread David T-G
and away I go :-) Thanks again & HAND :-D -- David T-G * There is too much animal courage in (play) [EMAIL PROTECTED] * society and not sufficient moral courage. (work) [EMAIL PROTECTED] -- Mary Baker Eddy, "Science and Health" http://justpickone.org/davidtg

Re: [PHP] talking to a web page

2003-12-03 Thread David T-G
Justin -- ...and then Justin French said... % % On Thursday, December 4, 2003, at 08:13 AM, David T-G wrote: % % >Which route would y'all take, and (more importantly) which would you % >recommend to someone at my capable-but-not-expert level? Remember that % >I'll come back

<    2   3   4   5   6   7   8   9   10   11   >