Re: [PHP] where are my errors?

2003-08-09 Thread David T-G
Hi, all -- ...and then John W. Holmes said... % % David T-G wrote: % % >My partner and I have done something that gets rid of our error messages, ... % % is display_errors ON for one machine and OFF for the other? Now that I've confirmed that display_errors is on (1), are there a

Re: [PHP] where are my errors?

2003-08-14 Thread David T-G
John -- ...and then John W. Holmes said... % % David T-G wrote: % % >My partner and I have done something that gets rid of our error messages, % >and we're not quite sure what. The identical code base (I copied it over % >myself; I'm sure) worked "fine" on another

[PHP] where are my errors?

2003-08-14 Thread David T-G
config.php' and instead manually define the ENGINE_PATH then I see the error no matter where it is placed. I've checked phpinfo() and 'display_errors' is On. What kind of call would suppress error messages from a require()d file? I don't know his codebase, and he's nev

[PHP] setting header() for csv file

2003-08-14 Thread David T-G
the headers so that the browser says "Oh, this is a CSV file, and here is its name; where shall I save it?" and the user doesn't have to jump through any hoops? TIA & HAND :-D -- David T-G * There is too much animal courage in (play) [EMAIL PROTECTED] * s

Re: [PHP] where did my errors go?

2003-08-14 Thread David T-G
Curt, et al -- ...and then Curt Zirzow said... % % * Thus wrote David T-G ([EMAIL PROTECTED]): % > % > What kind of call would suppress error messages from a require()d file? % > I don't know his codebase, and he's never seen anything like this before, % % @require &q

[PHP] where are my errors?

2003-08-14 Thread David T-G
rror no matter where it is placed. What kind of call would suppress error messages from a require()d file? I don't know his codebase, and he's never seen anything like this before, TIA & HAND :-D -- David T-G * There is too much animal courage in (play) [E

[PHP] where did my errors go?

2003-08-14 Thread David T-G
config.php' and instead manually define the ENGINE_PATH then I see the error no matter where it is placed. I've checked phpinfo() and 'display_errors' is On. What kind of call would suppress error messages from a require()d file? I don't know his codebase, and he's nev

Re: [PHP] setting header() for csv file

2003-08-14 Thread David T-G
Hi again -- ...and then David T-G said... % ... % How do I construct the headers so that the browser says "Oh, this is a It turns out that my header attempt was good and I just had to try again. I don't *think* I had the same blank-line-of-output as mentioned in the manual, but it&

Re: [PHP] One set of php for multiple subdomains

2003-03-18 Thread David T-G
if you have more questions, though, and we'll try to help :-) % % many thanks, % Radu 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 E

Re: [PHP] Question about a text file and foreach

2003-03-18 Thread David T-G
ead say { $mboxes[$user] = $mbox ; } and then later address them by name instead of number. % Jim 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] -- M

Re: [PHP] Zip Way of life.

2003-03-19 Thread David T-G
n unzip an archive containing a single file, but if you have more than one in there then you need to use an actual unzip tool (like, say, unzip :-) While a class or a built-in command might be nice, if you just want to get them out then a simple system call might be the easiest way to go. HTH & H

Re: [PHP] Zip Way of life.

2003-03-19 Thread David T-G
Vincent -- ...and then Vincent M. said... % % David T-G wrote: % > % >...and then Vincent M. said... % >% ... % >% No, it works with .zip files too, I just don't know how to manage it :-( % > ... % >AFAIK gunzip can unzip an archive containing a single file, but if you %

Re: [PHP] Saving a file as ASCII?

2003-03-20 Thread David T-G
% Thanks. 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] count up from 7

2003-03-25 Thread David T-G
/inc.php when num = 1, sum = 67 when run. Extra credit if you write it as a recursive function :-) % I'm frazzled and can't think straight. You can't ask straight, either :-) Give us more details! % % Thanks Guys! HTH & HAND :-D -- David T-G * The

Re: [PHP] mail() Bcc:

2003-03-25 Thread David T-G
t know enough Mac to know if an OS X Mac has newlines like a classic Mac or like a *NIX box). Use the all-run-together format or a .= buildup and manually specify the needed \r\n to avoid the headache. HTH & HAND :-D -- David T-G * There is too much animal courage in (pl

Re: [PHP] PHP & grep

2003-03-25 Thread David T-G
getting an empty variable and can`t figure it out... % % $criteria = `grep "Files :" logs/$file`; Works for me. Are you running under safe mode, which will turn off backticks and shell_exec? HTH & HAND :-D -- David T-G * There is too much animal courage in

Re: [PHP] php and Perl

2003-03-27 Thread David T-G
he call for you and use the virtual() function, depending on the output and what you want to do with it. % % Cheers, % % Brad HTH & HAND :-D -- David T-G * There is too much animal courage in (play) [EMAIL PROTECTED] * society and not sufficient moral courage. (work

Re: [PHP] SHA-1 + RSA + base64

2003-03-27 Thread David T-G
ps. HTH & HAND and good luck :-) :-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] last questions

2003-03-27 Thread David T-G
and so it gets a little hairy to write but it can be done. You might also do a quick google search for something like email address regular expression check to see if someone has worked out a good and complete one. % thanx in advance % Haseeb HTH & HAND :-D -- David T-G

Re: [PHP] shell_exec question....

2003-03-28 Thread David T-G
ppen, including any error messages on the web page or in the apache log. % % any help appreciated... % % thank you HTH & HAND :-D -- David T-G * There is too much animal courage in (play) [EMAIL PROTECTED] * society and not sufficient moral courage. (work)

Re: [PHP] last questions

2003-03-28 Thread David T-G
; character used for name+extensions under sendmail (and perhaps postfix). You allow an ending . on a hostnmae, which you shouldn't. It looks like you could switch your two [] expressions on the right side and lose the \. in the middle and be OK. % % HTH HTH & HAND :-D -- David T-G

Re: [PHP] uploading large files through php

2003-03-28 Thread David T-G
! Check the archives; this comes up all of the time. In particular, you might look at my thread uploading files and MAX_FILE_SIZE from mid-February or so. Been there, done that :-) HTH & HAND :-D -- David T-G * There is too much animal courage in (play) [EMAIL PROTE

Re: [PHP] uploading entire directory, with or without compression ...

2003-04-03 Thread David T-G
e necessary form for upload (or even build the upload data with MIME separators and all), but I don't know JS and haven't yet found anyone who's written one... % % thanks again, HTH & HAND & good luck -- for my sake, too! :-D -- David T-G * There i

Re: [PHP] chill out

2003-04-03 Thread David T-G
Miles -- ...and then Miles Thompson said... % % Jason ... % % A fellow proofreader!! Well done! Oh, there are lots of us out here, but I for one hesitated to jump into the discussion just for that :-) HAND :-D -- David T-G * There is too much animal courage in (play

Re: [PHP] uploading entire directory, with or without compression ...

2003-04-03 Thread David T-G
so be likely to not have turned off Java so it could work anyway. It's certainly a start :-) % % http://support.softartisans.com/docs/JFile/prog_g_recursive.htm I'll definitely check it out! % % hope you find it useful % -awlad Thanks so much :-) HAND :-D -- David T-G

Re: [PHP] Self-filling login form

2003-04-03 Thread David T-G
. % Thanks for any comment 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] passing an array in a link

2002-08-11 Thread David T-G
course says ...keylist=Array... which is quite bad. I'd use a simple scalar $keylist = "comment job spaced out key name foo ..." ; but, of course, those darned fields which have spaces embedded in the names will really mess that up. How can I pass myself an array --

Re: [PHP] passing an array in a link

2002-08-11 Thread David T-G
doesn't seem to convert spaces... Thanks again & HAND :-D -- David T-G * It's easier to fight for one's principles (play) [EMAIL PROTECTED] * than to live up to them. -- fortune cookie (work) [EMAIL PROTECTED] http://www.justpickone.org/david

Re: [PHP] passing an array in a form element

2002-08-11 Thread David T-G
Hi again -- ...and then David T-G said... % ... % How can I pass myself an array -- and recognize it on the receiving end? I had been spending all of my time digging into htmlentities() and the like when, in fact, all I had to do was a simple preg_replace on each component :-) Now how can I

Re: [PHP] passing an array in a form element

2002-08-12 Thread David T-G
stuff; that sounds safest to me. % % $data can be passed via a hidden INPUT field. Right. Thanks, all; I'll be sure to poke at the other ideas as well. :-D -- David T-G * It's easier to fight for one's principles (play) [EMAIL PROTECTED] * than to

Re: AW: AW: [PHP] Performance of ZLib

2002-08-13 Thread David T-G
that zip with no compression is just as fast as tar or anything else. Yes, it stores the directory at the end of the archive, but it's a fine way to go and perhaps more recognizable to more surfers out there. % % Schura HTH & HAND :-D -- David T-G * It's e

Re: [PHP] Need a Web Host for php/mySQl

2002-08-13 Thread David T-G
to discuss it further. [That goes for anyone else out there, too :-] HTH & HAND :-D -- David T-G * It's easier to fight for one's principles (play) [EMAIL PROTECTED] * than to live up to them. -- fortune cookie (work) [EMAIL PROTECTED] http://www.justpickone.or

Re: [PHP] Web host withdraws support for PHP extensions - supposed secuity risks

2002-08-13 Thread David T-G
ey don't need php. They don't need apache for that matter, either, since it's all configurable and dangerous and everything. HTH & HAND :-D -- David T-G * It's easier to fight for one's principles (play) [EMAIL PROTECTED] * than to

Re: [PHP] mailing list managers

2002-08-14 Thread David T-G
www.freshmeat.net may turn up something. Absolutely agreed; the languages are very similar. [Rumor has it that php is perl-based or perl-inspired, but I haven't done any independent digging to see one way or another -- and there are *some* noticeable differences.] HTH & HAND :-D -- Da

Re: [PHP] PHP IDEs

2002-08-21 Thread David T-G
what comes out... Please post a summary to the list if you get off-list discussion, and particularly let us (me) know if you find something that will work in a vt100 screen with no mouse input. % % Michael Egan Best of luck & HAND :-D -- David T-G * It's easier to fi

Re: [PHP] Re: halloween documents

2002-08-21 Thread David T-G
sort of coding you require. What needs to be done? I might be just the guy to do it. HTH & HAND :-D -- David T-G * It's easier to fight for one's principles (play) [EMAIL PROTECTED] * than to live up to them. -- fortune cookie (work) [EMAIL PROTECTED] http://

Re: [PHP] Code for off-site Maintenance?

2002-08-21 Thread David T-G
your local machine, connect to the remote DB, and make your changes; the only security you need is an ssh [forwarding?] port for the DB (or use a VPN tunnel). You *definitely* shouldn't have to transfer entire copies of your DB via ftp; that's just way too painful. HTH & HAND :-D --

Re: [PHP] Virtual includes

2002-08-26 Thread David T-G
p" ; to do that. As always, RTFM. See "Directory functions" and "Filesystem functions" for starters on this type of task. % % Greg HTH & HAND :-D -- David T-G * It's easier to fight for one's principles (play) [EMAIL PROTEC

Re: [PHP] carriage return/line break problem

2002-08-26 Thread David T-G
d having HTML code in the database, then go ahead and convert it a la $content = nl2br($content) ; before writing it to the DB and then it will be that way when it comes out. % % Thanks. Sure thing! % % Pag HTH & HAND :-D -- David T-G * It'

Re: [PHP] php equivalient of pushd?

2002-08-26 Thread David T-G
e the Fine Manual for more info. % % kind regards, % % bill hollett HTH & HAND :-D -- David T-G * It's easier to fight for one's principles (play) [EMAIL PROTECTED] * than to live up to them. -- fortune cookie (work) [EMAIL PROTECTED] http://www.justpickone.o

Re: [PHP] Shell commands as root?

2002-08-26 Thread David T-G
or such) has sudo permissions (generally bad), then use sudo. When all else fails (typically for a reason), you could just turn on the SUID bit on that command, or its wrapper script, and then just run it (also generally bad). Why do you want your web server to run a command as root?

Re: [PHP] Re: Doing system things with PHP

2002-08-26 Thread David T-G
web server is running as nobody, as it probably should be, then... ? % % regards. % % Eric HTH & HAND :-D -- David T-G * It's easier to fight for one's principles (play) [EMAIL PROTECTED] * than to live up to them. -- fortune cookie (work) [EMAIL PROTECTED

Re: [PHP] Host

2002-08-28 Thread David T-G
even give you email ;-) % % Pay by Check (my company will not allow the used of company credit cards % over the Internet.) Not a problem. % % Bruce Karstedt % President % Technology Consulting Associates, Ltd. % Tel: 847-735-9488 % Fax: 847-735-9474 HAND :-D -- David T-G * It&#

[PHP] that UNIX permissions thing again -- sort of

2002-08-28 Thread David T-G
ID and that you just can't. Of course, if the same old question ("How do I have the web server do things in a user way?") has finally been answered, please let me know ;-) TIA & HAND :-D -- David T-G * It's easier to fight for one's principles

Re: [PHP] Where is my REMOTE_USER?

2002-08-29 Thread David T-G
You should set register_globals = on in your php.ini file and kick your web server. HTH & HAND :-D -- David T-G * It's easier to fight for one's principles (play) [EMAIL PROTECTED] * than to live up to them. -- fortune cookie (work) [EMAIL PROTECTED] ht

Re: [PHP] PHP shopping

2002-09-01 Thread David T-G
thank you for reading this message. % -Ryan HTH & HAND :-D -- David T-G * It's easier to fight for one's principles (play) [EMAIL PROTECTED] * than to live up to them. -- fortune cookie (work) [EMAIL PROTECTED] http://www.justpickone.org/davidtg/Shpx gur Pbzz

Re: [PHP] Imagemangick, can I install on a virtual host?

2002-09-01 Thread David T-G
if you were really sneaky you could write some php scripts that run your config and compile for you :-) but you'll probably need access to a shell at least temporarily. HTH & HAND :-D -- David T-G * It's easier to fight for one's principles (play) [EMAIL P

[PHP] replacing \n with

2002-09-06 Thread David T-G
mment which is what I want. Is there a way to turn off the recognition of \n as an end of line and instead operate on the entire $mydatastring? TIA & HAND :-D -- David T-G * It's easier to fight for one's principles (play) [EMAIL PROTECTED]

Re: [PHP] \n to Problem

2002-09-06 Thread David T-G
amp; HAND :-D -- David T-G * It's easier to fight for one's principles (play) [EMAIL PROTECTED] * than to live up to them. -- fortune cookie (work) [EMAIL PROTECTED] http://www.justpickone.org/davidtg/Shpx gur Pbzzhavpngvbaf Qrprapl Npg! msg78073/pgp0.pgp Description: PGP signature

Re: [PHP] replacing \n with

2002-09-06 Thread David T-G
Rob, et al -- ...and then Robert Cummings said... % % David T-G wrote: % > % I've never had problems with doing: % % $foo = "I don't like\nnewlines"; % % $foo = ereg_replace( "\n", '', $foo ); I'm afraid I do. Given my co

Re: [PHP] replacing \n with

2002-09-06 Thread David T-G
aphs, like $/ or such in perl (there's where the rusty part comes in!). If these functions are just operating on a single line then the newline(s) won't get eaten. % % Cheers, % Rob. Thanks & HAND :-D -- David T-G * It's easier to fight for one&#x

[PHP] (SOLVED) Re: [PHP] replacing \n with

2002-09-06 Thread David T-G
Rob, et al -- ...and then Robert Cummings said... % % David T-G wrote: % > % > ...and then Robert Cummings said... % > % ... % > % $foo = str_replace( "\n", '', $foo ); % > % % > % That one work for you? It's more efficient too. % > % >

Re: [PHP] replacing \n with

2002-09-06 Thread David T-G
ing string) Returns string with '' inserted before all newlines. I don't want to simply add a ; I want to *replace* the newline (and return, as we found out in a subthread). % replace function you build yourself. Except that it doesn't work :-) Thanks & HAND :-D -- Dav

Re: [PHP] replacing \n with

2002-09-06 Thread David T-G
7;s a special reason it does not apply here but I thought I'd % mention it any way... Just in case... :) Thanks anyway, but it doesn't work. See the reply I just sent in this thread for details. % % -B HAND :-D -- David T-G * It's easier to fight

Re: [PHP] replacing \n with

2002-09-06 Thread David T-G
encode($k)}))."\n") ; } # write the clear text out fclose($newfile); ... Although I've solved the problem for now, the next version will probably end the data with a @@ and so I can just read another line if I don't have a closer. Thanks again & HAND :-D --

[PHP] compiling a regexp

2002-09-18 Thread David T-G
code I can certainly $noadoberegexp = "(" . join("|",$noadobe) . ").*" ; and then $cleanstring = eregi_replace("$noadoberegexp","",$stripstring) ; but 1) I haven't tested this code yet :-) and 2) I wonder if I'll run into long runtim

[PHP] redefining a function

2002-09-18 Thread David T-G
Hi, all -- Is there any way to redefine or undefine (to then redefine) a function? We have an image handling function, for instance, and would like to let our users put in their own definition instead. I haven't yet found anything that will allow this... TIA & HAND :-D --

[PHP] Re: redefining a function

2002-09-19 Thread David T-G
Tim, et al -- ...and then Tim Ward said... % % is using classes an option? I don't know. I suppose I need to learn about classes :-) Where do I start? % % Tim Ward % www.chessish.com TIA & HAND :-D -- David T-G * It's easier to f

Re: [PHP] Replace linefeed/newline from text inputs with tag?

2002-09-23 Thread David T-G
e input ends up the same way because the regexp is greedy, but the upside is that it will work for UNIX (\n), Mac (\r), and DOS/Win (\r\n) input. HTH & HAND :-D -- David T-G * It's easier to fight for one's principles (play) [EMAIL PROTECTED] * than to

Re: [PHP] Replace linefeed/newline from text inputs with tag?

2002-09-23 Thread David T-G
TFM is? % % ---John Holmes... HTH & HAND :-D -- David T-G * It's easier to fight for one's principles (play) [EMAIL PROTECTED] * than to live up to them. -- fortune cookie (work) [EMAIL PROTECTED] http://www.justpickone.org/davidtg/Shpx gur Pbzzhavpn

Re: [PHP] mobile number

2002-10-05 Thread David T-G
der, it could be one off from a land line provider's exchange or even a different cell provider's exchange. The only shot I'd think could work would be to integrate a caller ID service to just give you the whole number... How's that for saving your surfer's some ke

[PHP] sessions without cookies *or* URLs

2002-10-06 Thread David T-G
bles but we don't want to hang the page password out there :-) and so we have to maove away from that somehow, and it would be nice if we could get away from URL mangling entirely. Cookies aren't an option, though. TIA & HAND :-D -- David T-G * It's easier

Re: [PHP] sessions without cookies *or* URLs

2002-10-06 Thread David T-G
get the session ID out of the URL without using any cookies... Any ideas, anyone? % % % Justin French TIA & HAND :-D -- David T-G * It's easier to fight for one's principles (play) [EMAIL PROTECTED] * than to live up to them. -- fortune cookie (work) [EMAIL PROTECTED] http://www.justpickone.org/davidtg/Shpx gur Pbzzhavpngvbaf Qrprapl Npg! msg81311/pgp0.pgp Description: PGP signature

Re: [PHP] sessions without cookies *or* URLs

2002-10-07 Thread David T-G
cluttered :-) Second, though, it would be nice to not put the user's password right in the URL to then hang out in his browser goto cache, so we have to change *sometthing*, and if we can clean up the URL while we're at it that would be nice. % % ---John Holmes... Thanks & HAND :

Re: [PHP] sessions without cookies *or* URLs

2002-10-07 Thread David T-G
Justin, et al -- ...and then Justin French said... % % on 07/10/02 11:32 AM, David T-G ([EMAIL PROTECTED]) wrote: % % > It's a start; it confirms some of what I think I understand about % > sessions. Now if only I can get the session ID out of the URL without % > using any c

Re: [PHP] __file__ and __line__

2002-10-14 Thread David T-G
;/home/sites/\.php/" string, but it's almost not worth it in something that has to be self-contained like this and so I haven't bothered :-] % % Thanks HTH & HAND % -- % Regards, :-D -- David T-G * It's easier to fight for one's princ

Re: [PHP] Run webscript from command line

2002-11-14 Thread David T-G
-dump http://host/script.php > /path/to/output.file should run the script, dump the output somewhere (perhaps /dev/null), and exit. % my PHP is not enabled for command line script. That's also a problem :-) % Regards Aate Drageset HTH & HAND :-D -- David T-G

[PHP] speed of mail() on two servers

2003-08-27 Thread David T-G
-inject directly? 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://justpickone.org/davidtg/ Shpx

Re: [PHP] Image Magick

2003-08-27 Thread David T-G
n a find across the whole system and check for that timestamp. As was already suggested, if it was installed via rpm then go ahead and remove it via rpm. HTH & HAND :-D -- David T-G * There is too much animal courage in (play) [EMAIL PROTECTED] * society and not su

Re: [PHP] speed of mail() on two servers

2003-08-27 Thread David T-G
s a great php coder and a great art designer, but he's entirely a windoze guy). I don't even know if he's running qmail there. Thanks & HAND :-D -- David T-G * There is too much animal courage in (play) [EMAIL PROTECTED] * society and not sufficient moral

Re: [PHP] speed of mail() on two servers

2003-08-27 Thread David T-G
Javier -- ...and then Javier Tacon said... % % May be the machine of your friend has a better network output than your % machine :) Heh :-) Hey, stranger things have happenned! But check my other followup for an interesting twist. Thanks again & HAND :-D -- David

[PHP] Re: php.ini sendmail settings (was "Re: [PHP] speed of mail() ... ")

2003-08-27 Thread David T-G
ues, no? Even more confused, :-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

Re: [PHP] Pipe an email to PHP

2003-08-27 Thread David T-G
x27;ve already solved) Well, that's something ;-) % % % Thomas Tremain % www.LiveHost.net <http://www.LiveHost.net> % www.GotoNames.com <http://www.GotoNames.com> % www.TrafficExaminer.com <http://www.TrafficExaminer.com> HTH & HAND :-D -- David T-G

Re: [PHP] Re: speed of mail() on two servers

2003-08-27 Thread David T-G
Manuel, et al -- ...and then Manuel Lemos said... % % Hello, Hi! % % On 08/26/2003 07:39 PM, David T-G wrote: % >I'm working up a [cli] script to send a personalized (ugh) email to some % >[often large] number of web site subscribers. Unfortunately, I'm getting % >lousy p

Re: [PHP] speed of mail() on two servers

2003-08-28 Thread David T-G
Jabber, et al -- ...and then [EMAIL PROTECTED] said... % % having you tried ezmlm or to directly inject the message into the que? Yes, I've tried qmail-inject. I got down to about 0.41s/msg which is still terrible. Thanks & HAND :-D -- David T-G * There is

Re: [PHP] parsing domains

2003-08-28 Thread David T-G
$this_domain = preg_replace('/(www\.)?([^\.]*).*/','\2',getenv('HTTP_HOST')) ; Maybe college doesn't suck so much after all... ;-) HTH & HAND :-D -- David T-G * There is too much animal courage in (play) [EMAIL PROTECTED] * societ

Re: [PHP] reboot pc with PHP

2003-08-28 Thread David T-G
ed, I just want a handfull of predefined commands % to be run, nothing else) sudo is *definitely* your best approach. It really is. It's easy, too, I promise. % % Thanks HTH & HAND :-D -- David T-G * There is too much animal courage in (play) [EMAIL PROTECTED

Re: [PHP] speed of mail() on two servers

2003-08-29 Thread David T-G
can get out some 60k messages in an hour). % the web space? It could be that your httpd.conf has some processor and % memory usage restrictions imposed. I once worked on a server on which it % was impossible to send mail from cgi script. the apache configurations % turned out to be the culprit.

Re: [PHP] PHP Interview questions

2003-08-29 Thread David T-G
... That doesn't sound familiar to me... % % -murugesan 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 He

Re: [PHP] Re: speed of mail() on two servers

2003-08-29 Thread David T-G
Manuel, et al -- ...and then Manuel Lemos said... % % Hello, % % On 08/27/2003 11:34 AM, David T-G wrote: % >% For the delivery, you can always tune qmail to try deliverying messages % >% to more recipients at the same time tweaking concurrencyremote option. % >% The default it 20 r

Re: [PHP] speed of mail() on two servers

2003-08-29 Thread David T-G
n the qmail list and have been able to do some digging, though I don't yet have answers. % expertise isn't as good as it should be. Nor is mine :-/ % % best regards % raditha Thanks & HAND :-D -- David T-G * There is too much animal courage in (pla

[PHP] URGENT: how to make a global "server temporarily down" page?

2003-09-05 Thread David T-G
ed on looking in a subdirectory so that I could fake the name, but this has to work from the root. 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

Re: [PHP] Re: URGENT: how to make a global "server temporarily down" page?

2003-09-05 Thread David T-G
nstead of just in the doc root dir, but that's still pretty straightforward. 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, &quo

Re: [PHP] Looking for a real good editor with some specific featrues ...

2003-09-10 Thread David T-G
don't let % anybody tell you one editor is superior to another. 60% of what makes Oh, fiddlesticks. vim is definitely superior to emacs! /me ducks as the flamethrowers ignite HAND :-D -- David T-G * There is too much animal courage in (play) [EMAIL PROTECTED] * societ

Re: [PHP] Problem sending HTML formated mail

2003-09-17 Thread David T-G
he guys of detailhosting don´t know what to do. Well, without more info neither do we :-) % % Please help me. I don´t know what to do... Start by giving us more information. % % Thanks in advace. % % Juan Carlos Borrero % Webmaster - www.lupajuridica.com HTH & HAND :-D

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

2003-09-17 Thread David T-G
t. But it would be nice :-) 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.or

Re: [PHP] Whats wrong with my code?

2003-09-17 Thread David T-G
ny possibilities or, much more sanely, (just from the top of my head, though, without real thought for security) and in reality I'd probably not bother with the $page temp variable. Good luck, and enjoy :-) HTH & HAND :-D -- David T-G * There is too much anim

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

2003-09-17 Thread David T-G
MAO A complete spit-take surprise. 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://justpic

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

2003-09-17 Thread David T-G
te so my colors work Oh, c'mon... You and I both know that a single char like %_ is easy to fit into $reply_regexp. No whining :-) % properly on his replies. Now i'm going to have create one special % for yours :) Now *that* I would like to see. Good luck! HAND :-D -- David T-G

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

2003-09-17 Thread David T-G
running total. The latter is certainly easier. % % % /* % HTH & HAND % */ % Meant to ask you this before...whats HAND? Have A Nice Day :-) :-D -- David T-G * There is too much animal courage in (play) [EMAIL PROTECTED] * society and not sufficient moral courage.

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

2003-09-18 Thread David T-G
:-)) lets % see him try to keep up with the variations i come up with. *grin* % % 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

[PHP] breaking a string into chunks

2003-09-19 Thread David T-G
Do I really need to call substr half a dozen times?(!?) I tried unpack() but all I ended up getting was an array with one entry (sometimes with a very strange-looking key). TIA & HAND :-D -- David T-G * There is too much animal courage in (play) [EMAIL PROTECTED] * soc

Re: [PHP] breaking a string into chunks

2003-09-19 Thread David T-G
Duncan, et al -- ...and then Duncan Hill said... % % On Friday 19 Sep 2003 10:20, David T-G wrote: % > % > I have a 14-char date string like "20030917181909" and I need to break it % > into its component parts for a more readable "2003-09-17 18:19:09" view. % >

Re: [PHP] Attention: List Administrator

2003-09-19 Thread David T-G
Dan, et al -- ...and then Dan Joseph said... % % the computer web server. Kinda hilarious if you ask me. Good excuse to % install Norton also. s/Norton/linux+qmail/ *grin* :-D -- David T-G * There is too much animal courage in (play) [EMAIL PROTECTED] * society and

[PHP] restart httpd after php.ini change?

2003-09-29 Thread David T-G
th phpinfo() reporting include_path => .:/usr/local/lib/php => .:/usr/local/lib/php for my include path (though I didn't see an entry in the php.ini file or compile-time directives; I take it, then, that this is the default). TIA & HAND :-D -- David T-G * There i

Re: [PHP] captcha WAS Please visit my php program

2003-09-30 Thread David T-G
this sort of approach to prevent buffer overflow attacks and it shouldn't be used anywhere else, either. 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] PHP Imagemagick

2003-09-30 Thread David T-G
ename % $imagepath.$filename"); % -End Code-- To change an image rather than make a new version of it, just use mogrify. % any ideas why this wont work? Start there and let us know how you do. HTH & HAND :-D -- David T-G * There is too much animal cou

Re: [PHP] file_exists on different server...

2003-09-30 Thread David T-G
definition but an explantion of RTFM and STFW. These are a couple of the numerous TLAs and FLAs out there with which you will soon, no doubt, become familiar. HTH & HAND (Hope This Helps & Have A Nice Day :-) :-D -- David T-G * There is too much animal courage in (play

Re: [PHP] Change cell colour with selection from a drop down menu

2003-09-30 Thread David T-G
her here or off-list, are also very much appreciated :-) 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" h

Re: [PHP] Change cell colour with selection from a drop down menu

2003-09-30 Thread David T-G
Marek, et al -- ...and then Marek Kilimajer said... % % If both images have the same size you don't even need javascript: Ooooh! Yay! That's what I *really* wanted, but I was told it couldn't be done! %

<    1   2   3   4   5   >