[PHP] passing an array in a link

2002-08-11 Thread David T-G
? 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! msg74956/pgp0.pgp

Re: [PHP] passing an array in a link

2002-08-11 Thread David T-G
to protect myself from the spaces. I've looked at htmlentities() but it 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

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 live up to them

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 easier to fight

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

2002-08-13 Thread David T-G
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.org/davidtg/Shpx gur Pbzzhavpngvbaf Qrprapl Npg

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

2002-08-13 Thread David T-G
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 live up to them. -- fortune cookie (work) [EMAIL PROTECTED] http

Re: [PHP] mailing list managers

2002-08-14 Thread David T-G
; 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 -- David T-G * It's easier to fight for one's principles

Re: [PHP] PHP IDEs

2002-08-21 Thread David T-G
... 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 fight for one's principles

Re: [PHP] Re: halloween documents

2002-08-21 Thread David T-G
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://www.justpickone.org

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

2002-08-21 Thread David T-G
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 -- David T-G * It's easier

Re: [PHP] Virtual includes

2002-08-26 Thread David T-G
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 PROTECTED] * than to live up to them. -- fortune cookie (work) [EMAIL PROTECTED] http

Re: [PHP] carriage return/line break problem

2002-08-26 Thread David T-G
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's easier to fight

Re: [PHP] php equivalient of pushd?

2002-08-26 Thread David T-G
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.org/davidtg/Shpx

Re: [PHP] Shell commands as root?

2002-08-26 Thread David T-G
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? HTH HAND :-D -- David T-G

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

2002-08-26 Thread David T-G
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] http://www.justpickone.org/davidtg

Re: [PHP] Host

2002-08-28 Thread David T-G
;-) % % 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's easier to fight

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

2002-08-28 Thread David T-G
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 (play) [EMAIL PROTECTED] * than to live up to them. -- fortune cookie (work) [EMAIL PROTECTED] http

Re: [PHP] Where is my REMOTE_USER?

2002-08-29 Thread David T-G
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] http://www.justpickone.org/davidtg

Re: [PHP] PHP shopping

2002-09-01 Thread David T-G
. % -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 Pbzzhavpngvbaf Qrprapl Npg! msg77427/pgp0.pgp

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

2002-09-01 Thread David T-G
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 PROTECTED] * than to live up to them. -- fortune cookie

[PHP] replacing \n with br

2002-09-06 Thread David T-G
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] * than to live up to them. -- fortune cookie (work) [EMAIL PROTECTED] http

Re: [PHP] \n to BR Problem

2002-09-06 Thread David T-G
-- 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 br

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, 'br /', $foo ); I'm afraid I do. Given my code $fin = stripslashes(${base64_encode($k

Re: [PHP] replacing \n with br

2002-09-06 Thread David T-G
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's principles (play) [EMAIL PROTECTED] * than to live up to them. -- fortune cookie (work) [EMAIL PROTECTED

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

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, 'br /', $foo ); % % % % That one work for you? It's more efficient too. % % Actually, no. I thought about listing all of the things I

Re: [PHP] replacing \n with br

2002-09-06 Thread David T-G
) Returns string with 'br /' inserted before all newlines. I don't want to simply add a br; 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 -- David T-G * It's

Re: [PHP] replacing \n with br

2002-09-06 Thread David T-G
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 for one's principles (play) [EMAIL PROTECTED

Re: [PHP] replacing \n with br

2002-09-06 Thread David T-G
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 -- 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

[PHP] compiling a regexp

2002-09-18 Thread David T-G
= ( . 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 runtimes when we get lots of strings to match. TIA HAND :-D -- David T-G * It's easier to fight

[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 -- David T-G

[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 fight for one's

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

2002-09-23 Thread David T-G
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 live up to them. -- fortune cookie (work) [EMAIL PROTECTED] http

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

2002-09-23 Thread David T-G
... 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 Pbzzhavpngvbaf Qrprapl Npg! msg79529/pgp0.pgp

Re: [PHP] re: ini_set() / Jason Wong / dynamically setting this?

2002-12-03 Thread David T-G
under the .php dir and everything else knows where it is and thus where to find the other files in the same version. This may be helpful; good luck! HAND :-D -- David T-G * There is too much animal courage in (play) [EMAIL PROTECTED] * society and not sufficient moral

Re: [PHP] Howto: run local script to update remote script

2002-12-05 Thread David T-G
actually exposed your password on the wire. 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://www.justpickone.org

Re: [PHP] Simple text editor for Windows?

2002-12-15 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://www.justpickone.org/davidtg/Shpx gur Pbzzhavpngvbaf Qrprapl Npg

Re: [PHP] approaching a relational database

2002-12-15 Thread David T-G
that that's a better place to start... 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://www.justpickone.org/davidtg

[PHP] to php or to perl, that is the question

2002-12-15 Thread David T-G
(as I'm able, anyway; Hi perl guys!) and so you can reply to either or both of the lists or just to me as you see fit. I'll be happy to post a summary of any answers or directions I get. TIA HAND :-D -- David T-G * There is too much animal courage in (play) [EMAIL PROTECTED

Re: [PHP] PGP/PHP

2002-12-16 Thread David T-G
to unlock the secret key for user: David T-G [EMAIL PROTECTED] 2048-bit ELG-E key, ID 1AEFE05A, created 2001-12-16 (main key ID 7B9F4700) gpg: encrypted with 2048-bit ELG-E key, ID 1AEFE05A, created 2001-12-16 David T-G [EMAIL PROTECTED] this is text Of course, leaving off

Re: [PHP] PHP Auto-Responder

2002-12-17 Thread David T-G
something with the message and then calls your real script. No need for cron jobs and polling. [If you want, you can also store a copy of the email by providing a second target in the forward file). HTH HAND Happy Holidays :-D -- David T-G * There is too much animal

Re: [PHP] MySQL vs PostgreSQL

2002-12-23 Thread David T-G
!!! frothing :-) % % Thanks for your opinions.. % Miro.. HTH HAND Happy Holidays :-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

Re: [PHP] Cheap Hosting

2002-12-27 Thread David T-G
://www.melchior.us % % What is a dreamer that cannot persevere? -- http://www.melchior.us % -- % PHP General Mailing List (http://www.php.net/) % To unsubscribe, visit: http://www.php.net/unsub.php HTH HAND Happy Holidays :-D -- David T-G * There is too much animal courage

[PHP] holding a page open and then redisplaying

2002-12-28 Thread David T-G
, but even if I have I haven't the slightest idea of how. It's probably more a browser and HTML question but this seems a likely place to learn about tricks like that or at least get some pointers :-) TIA HAND Happy Holidays :-D -- David T-G * There is too much animal

[PHP] loading a db table into a php array from mysql

2002-12-31 Thread David T-G
, to get all of what I need in one shot but not the whole table (unless I need it all)? Does sql like big OR clauses like that? I don't know if this is a PHP or a MySQL question, so this once I've posted it to both lists. I'll also summarize to both. TIA HAND Happy New Year :-D -- David T-G

Re: [PHP] Re: loading a db table into a php array from mysql

2002-12-31 Thread David T-G
, namely the schedule you % were making via a complex way ;) I've been known to do that sort of thing :-) Thanks! HAND HNY :-D -- David T-G * There is too much animal courage in (play) [EMAIL PROTECTED] * society and not sufficient moral courage. (work) [EMAIL PROTECTED

[PHP] SUMMARY - Re: [PHP] Re: loading a db table into a php array from mysql

2002-12-31 Thread David T-G
Tularis, et al -- ...and then David T-G said... % % ...and then Tularis said... % % % % Usually, % % using mysql to handle your tables is *way* faster than letting php % % handle it. ... % % % % In your case, you could just do a complex join I think. That would give % % Ahhh... A new term

Re: [PHP] Re: loading a db table into a php array from mysql

2003-01-01 Thread David T-G
Rick, et al -- ...and then Rick Widmer said... % % At 02:57 PM 12/31/02 -0500, David T-G wrote: % ...and then Tularis said... % % % % Usually, % % using mysql to handle your tables is *way* faster than letting php % % handle it. % % Yes, do as much as you can in the database. The people who

[PHP] Re: threads (was Re: [PHP] BreadCrumb Class)

2003-01-03 Thread David T-G
in response to your message! 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] upgrading WAMP environment

2003-01-04 Thread David T-G
and mod_perl :-) You should be fine with the installation instructions for each. When in doubt, you might try the mailing lists for each, but I know that they are all supposed to go in together. HTH HAND :-D -- David T-G * There is too much animal courage in (play) [EMAIL

Re: [PHP] array help please

2003-01-05 Thread David T-G
and array_multisort to put the two together and sort on the second key, respectively. % % % help ! 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] undefining an array element

2003-01-05 Thread David T-G
Hi, all -- If I have an array like $a1 = array ( 'a' = 'aaa' , 'b' = 'bbb' , 'c' = 'ccc' ) ; and I want to completely remove 'b' from it (not just set $a1[b] to ), how do I undefine that element? TIA HAND :-D -- David T-G * There is too much animal courage in (play

Re: [PHP] undefining an array element

2003-01-05 Thread David T-G
!). % % -- % regards, % Tom Thanks a bunch! 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] Dreaded Return-Path and mail()

2003-01-06 Thread David T-G
it? If it doesn't work, what do the mail server lots on your web server say? I just tested this code on my box and it worked, so if you have problems then you can figure it's your mail setup and not your code. If it works, expand from there in small steps :-) HTH HAND :-D -- David T-G

Re: [PHP] Converting Excel Spreadsheet to MySQL table ...

2003-01-10 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 Npg

Re: [PHP] something annoying about includes/relative paths.

2003-01-10 Thread David T-G
include (/home/sites/.php$DEVELDIR/index.table.inc);# magic auto-table code or so. It's hard-coded to our central directory (/home/sites/.php) but you have to write these things down somewhere :-) % ... % Hope someone finds that useful Same here :-) HTH HAND :-D -- David T-G

Re: [PHP] stupid question (Back Function)

2003-01-13 Thread David T-G
you track where you've been. You can then put up a 'back' link to your last page for the user, or otherwise direct it; although the user's browser history will actually only be going forward, you'll get the forward and back that you need. HTH HAND :-D -- David T-G

Re: [PHP] Free web-hosting

2003-01-16 Thread David T-G
). Check the mailing list archives for the last million times this has come up. % 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) [EMAIL PROTECTED] -- Mary Baker Eddy

Re: [PHP] Free PHP Hosts?

2003-01-18 Thread David T-G
the web for free web hosting php. Results 1 - 10 of about 1,520,000. Search took 0.18 seconds. Doesn't seem too difficult... % -- % --- % JJ Harrison % [EMAIL PROTECTED] HTH HAND :-D -- David T-G * There is too much animal courage in (play) [EMAIL PROTECTED] * society

Re: [PHP] Free PHP Hosts?

2003-01-19 Thread David T-G
page of results alone. 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

[PHP] cli class

2003-01-19 Thread David T-G
:-) 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 Pbzzhavpngvbaf Qrprapl Npg

Re: [PHP] Re: Re: Freshmeat question

2003-01-21 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 Npg

[PHP] changing a key in an array

2003-01-21 Thread David T-G
case that I need to play with today. 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

[PHP] re-ordering keys in an array

2003-01-21 Thread David T-G
(array_keys($a)) and that's a start but finding another order spec would be lovely... 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

Re: [PHP] changing a key in an array

2003-01-21 Thread David T-G
, though. % % Only other way I can think of at the moment is to create a copy and % unset the original as you described as brute force. Ah. Well, that's what they get, then :-) % % HTH, % Jason k Larson Thanks HAND :-D -- David T-G * There is too much animal courage

Re: [PHP] re-ordering keys in an array

2003-01-21 Thread David T-G
of reordering keys based on a position, and I don't think I want to try writing the sort function that will take arbitrary input and spit it back out with the purpose of moving a single key around :-) % % % HTH, % Jason k Larson Thanks HAND :-D -- David T-G * There is too much

Re: [PHP] Page Rendering

2003-01-21 Thread David T-G
that PHP_SELF (in either form) is a server-side variable and the browser won't ever see it. Worth checking out just to be sure... 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] Newbie Questions

2003-01-21 Thread David T-G
-- and then this mailing list is wonderfully helpful. 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

Re: [PHP] encrypt data with pgp

2003-01-21 Thread David T-G
/ for info and downloads. % % greetings 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

Re: [PHP] changing a key in an array

2003-01-22 Thread David T-G
] = value1 [k2] = value2 ) ) and now I'll want to add a 'name' thingie (I daren't call it a column :-) so that I can change it at will ... but where and how do I add it? Thanks TIA HAND :-D -- David T-G * There is too much animal courage in (play) [EMAIL

Re: [PHP] changing a key in an array

2003-01-23 Thread David T-G
sounds like a *huge* mess... 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] PHP Image Gallery

2003-01-23 Thread David T-G
what gallery % program you use (I'm psychic ;) and I agree with you that it's the best % program out there, but does it have the above feature? It sure does :-) % % ---John Holmes... HTH HAND :-D -- David T-G * There is too much animal courage in (play) [EMAIL PROTECTED

Re: [PHP] Re: textarea new line

2003-01-23 Thread David T-G
; Did you type this from memory or paste it in? You have n\ instead of the backslash before the n. I think that $string=-line1\n-line2\n-line3 ; would give you the line breaks you want. HTH HAND :-D -- David T-G * There is too much animal courage in (play) [EMAIL

Re: [PHP] looking for PHP, MYSQL IMAGEMAGIK hosting

2003-01-23 Thread David T-G
, but you've described us to a tee (well, you left out perl :-) What do you need? Drop me a note off-list (since I doubt anyone else wants to hear much about it) for more info.. % % regards, % Vahan HTH HAND :-D -- David T-G * There is too much animal courage in (play) [EMAIL

Re: [PHP] changing a key in an array

2003-01-23 Thread David T-G
steering you down the difficult path % first. It's quite informative, and I still need a lot of that, and the tough path is no problem :-) Thanks for all of the input! HAND :-D -- David T-G * There is too much animal courage in (play) [EMAIL PROTECTED] * society

Re: [PHP] changing a key in an array

2003-01-23 Thread David T-G
. Perfect! Now to go and try it ;-) % % See this for more info: % http://www.php.net/manual/en/language.references.unset.php Thanks; I sure will. % % Regards, % Jason k Larson Thanks HAND :-D -- David T-G * There is too much animal courage in (play) [EMAIL PROTECTED

Re: [PHP] changing a key in an array

2003-01-23 Thread David T-G
Jason, et al -- ...and then David T-G said... % % ...and then Jason k Larson said... % % % % If you are looking for something as simple as an index or key rename That was it, indeed, but $t = array(t1 = temp1, t2 = temp2 ) ; $f = array(f1 = foo1, f2 = foo2 ) ; $a['t'] = $t ; $a['f

Re: [PHP] URLencode issues - halp!

2003-01-23 Thread David T-G
base64_encode (with base64_decode, of course) rather than urlencode; it will properly shield everything. No, I don't know why 'normal' names fail and goofy ones don't; without some code and some specific examples we can't really tell too well :-) HTH HAND :-D -- David T-G

Re: [PHP] changing a key in an array

2003-01-23 Thread David T-G
not :-) % Just a through. Thanks; they all help. % % Chris 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

Re: [PHP] SSH change password!

2003-01-27 Thread David T-G
or whatever authentication you wish within apache. If you're executing system programs on their behalf, set up your web server to run subprocesses as the user rather than all as the apache user -- and then one of those subprocesses could be 'passwd'. HTH HAND :-D -- David T-G

Re: [PHP] CRON?

2003-01-27 Thread David T-G
you've got and grow to love it. It's the only way to go. GUIs are for sissies. ducks and runs In all seriousity, though, the command line is incredibly powerful. I highly recommend it. % % Thanks! HTH HAND :-D -- David T-G * There is too much animal courage in (play

Re: [PHP] Transition Page?

2003-01-27 Thread David T-G
getting any file you want from a surfer's computer? Maybe you can, but I'd be moderately surprised, which means I'd be moderately surprised if this approach works -- but it's worth evaluating. HTH HAND :-D -- David T-G * There is too much animal courage in (play) [EMAIL

Re: [PHP] Need Guru's Help

2003-01-28 Thread David T-G
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 Npg! msg94699/pgp0.pgp

Re: [PHP] Multiple Emails

2003-01-29 Thread David T-G
the same; occasionally it is. Check the message length to see if it's the same as a previous one but freshly injected; often it is. Check the sender to see if it's the same message from two different accounts; sometimes it is. % % ---John Holmes... HTH HAND :-D -- David T-G

Re: [PHP] where are my errors?

2003-08-08 Thread David T-G
John, et al -- ...and then David T-G said... % ... % Does that show up in phpinfo() output? Well, apparently so, and apparently it is. I specifically called phpinfo() from the require()d file to make sure I'd pick up the value at the time rather than just what's in php.ini and it seems that's

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 any other ideas

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 supposedly-identical RH Linux

[PHP] where are my errors?

2003-08-14 Thread David T-G
. 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 never seen anything like this before, TIA HAND :-D -- David T-G * There is too much animal courage in (play

[PHP] setting header() for csv file

2003-08-14 Thread David T-G
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] * society and not sufficient moral courage

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 $ENGINE_PATH/file

[PHP] where are my errors?

2003-08-14 Thread David T-G
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) [EMAIL PROTECTED] * society and not sufficient moral courage. (work) [EMAIL PROTECTED] -- Mary Baker Eddy, Science

[PHP] where did my errors go?

2003-08-14 Thread David T-G
. 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 never seen anything like this before, TIA HAND :-D -- David T-G * There is too much animal courage in (play

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's possible

[PHP] speed of mail() on two servers

2003-08-27 Thread David T-G
:-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 Npg! pgp0

Re: [PHP] Image Magick

2003-08-27 Thread David T-G
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 sufficient moral courage. (work

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

2003-08-27 Thread David T-G
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 courage. (work) [EMAIL PROTECTED] -- Mary Baker Eddy

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 T-G

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

2003-08-27 Thread David T-G
, :-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 Npg! pgp0

Re: [PHP] Pipe an email to PHP

2003-08-27 Thread David T-G
;-) % % % 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 * There is too much animal courage in (play) [EMAIL PROTECTED] * society

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 performance, running

  1   2   3   4   5   >