Re: [PHP] Recommendations for PHP/MySQl calendar & on-line submission/votin g

2002-11-25 Thread David T-G
-line calendar system. This If you'll consider perl, Maorong Zou's webcalendar (see http://www.ma.utexas.edu/~mzou/webCal/ and http://www.math.utexas.edu/pipermail/webcalendar/ for info) is quite mature. HTH & HAND :-D -- David T-G * There is too muc

Re: [PHP] Method for displaying Downline

2002-12-01 Thread David T-G
. If that won't work, then you can calculate the number of cells you'll have to have running across the table as 2n+1, where n is the referral depth, and then calculate the position based on what level and what path. % % Any help would be greatly appreciated! HTH &

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

2002-12-03 Thread David T-G
tion.class.php"); and away I go. I replicate my build directory anywhere 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 coura

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

2002-12-05 Thread David T-G
to check) but you haven't 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

Re: [PHP] Simple text editor for Windows?

2002-12-15 Thread David T-G
se it does :-) 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/S

Re: [PHP] approaching a relational database

2002-12-15 Thread David T-G
I'd think 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"

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

2002-12-15 Thread David T-G
both lists (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 c

Re: [PHP] PGP/PHP

2002-12-16 Thread David T-G
t 7B9F4700 \ | gpg --armor --decrypt You need a passphrase 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

Re: [PHP] PHP Auto-Responder

2002-12-17 Thread David T-G
wrapper script that does 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

Re: [PHP] MySQL vs PostgreSQL

2002-12-23 Thread David T-G
?" and the occasional "MySQL R00LZ, d00d!!!" 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. (w

Re: [PHP] Cheap Hosting

2002-12-27 Thread David T-G
. % % Thanks, % Stephen Craton % http://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 --

[PHP] holding a page open and then redisplaying

2002-12-28 Thread David T-G
I've seen this done before, 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

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

2002-12-31 Thread David T-G
ed it to both lists. I'll also summarize to both. TIA & HAND & Happy New Year :-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

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

2002-12-31 Thread David T-G
#x27;d have a pretty nice outcome, 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 s

[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 databa

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

2003-01-03 Thread David T-G
Jim MacCormaic's identical attempt at a new thread 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

Re: [PHP] upgrading WAMP environment

2003-01-04 Thread David T-G
and the same for perl 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 ani

Re: [PHP] array help please

2003-01-05 Thread David T-G
rray_merge 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 PROTE

[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?

Re: [PHP] undefining an array element

2003-01-05 Thread David T-G
of *that* in the manual!). % % -- % 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

Re: [PHP] Dreaded Return-Path and mail()

2003-01-06 Thread David T-G
ubj,$body,$hdrs) ; in a php script and execute 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 f

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

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

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

2003-01-10 Thread David T-G
root and the script dir), and any other includes down in the script point the same way like 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 thes

Re: [PHP] stupid question (Back Function)

2003-01-13 Thread David T-G
which will let 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 :-

Re: [PHP] Free web-hosting

2003-01-16 Thread David T-G
right now). 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] -- M

Re: [PHP] Free PHP Hosts?

2003-01-18 Thread David T-G
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] * so

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/

[PHP] cli class

2003-01-19 Thread David T-G
ss for php :-) 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] Re: Re: Freshmeat question

2003-01-21 Thread David T-G
#x27;t let it throw 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, "Science and Health" http://justpickone.org/david

[PHP] changing a key in an array

2003-01-21 Thread David T-G
=> temp2 ) but in particular I have the 2-d array 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 Ba

[PHP] re-ordering keys in an array

2003-01-21 Thread David T-G
s my only option is sort(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 PR

Re: [PHP] changing a key in an array

2003-01-21 Thread David T-G
file for the user to reload on another visit. Thanks, 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 -- Davi

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

2003-01-21 Thread David T-G
't help me with the problem 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

Re: [PHP] Page Rendering

2003-01-21 Thread David T-G
u're right 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 suffici

Re: [PHP] Newbie Questions

2003-01-21 Thread David T-G
h a "how would I even approach this task?" problem -- 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)

Re: [PHP] encrypt data with pgp

2003-01-21 Thread David T-G
eck out http://gnupg.org/ 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

Re: [PHP] changing a key in an array

2003-01-22 Thread David T-G
[a2] => Array ( [k1] => 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 --

Re: [PHP] changing a key in an array

2003-01-23 Thread David T-G
he array you present above, how would you extract a basket by name? The closest I can come is to go and find the name and then increment the ID by 1 and then get out that basket, which sounds like a *huge* mess... Thanks again & HAND :-D -- David T-G * There is too much an

Re: [PHP] PHP Image Gallery

2003-01-23 Thread David T-G
ny advice is greatly appreciated. Again, I already know 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

Re: [PHP] Re: textarea new line

2003-01-23 Thread David T-G
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 (pla

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

2003-01-23 Thread David T-G
y own drum, 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 c

Re: [PHP] changing a key in an array

2003-01-23 Thread David T-G
. I could try again, except now it looks like I won't have to. % % You can use sort() to sort the array. Right. % % Hope that helps and sorry about steering you down the difficult path % first. It's quite informative, and I still need a lot of that, and the tough path is n

Re: [PHP] changing a key in an array

2003-01-23 Thread David T-G
reference without removing the second. Of course. 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

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 = ar

Re: [PHP] URLencode issues - halp!

2003-01-23 Thread David T-G
Makes sense, but I'd use 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 re

Re: [PHP] changing a key in an array

2003-01-23 Thread David T-G
erent % order after rename. :p Probably 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] -

Re: [PHP] SSH change password!

2003-01-27 Thread David T-G
own password list 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

Re: [PHP] CRON?

2003-01-27 Thread David T-G
% sure. Give it all you've got and grow to love it. It's the only way to go. GUIs are for sissies. In all "seriousity", though, the command line is incredibly powerful. I highly recommend it. % % Thanks! HTH & HAND :-D -- David T-G * There

Re: [PHP] Transition Page?

2003-01-27 Thread David T-G
doesn't sound great; if you can do that, what's to keep you from 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 &

Re: [PHP] Need Guru's Help

2003-01-28 Thread David T-G
ritten. 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 Pbzzhavpng

Re: [PHP] Multiple Emails

2003-01-29 Thread David T-G
27;s really 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

Re: [PHP] How to uncompress PHP

2003-02-08 Thread David T-G
isn't compressed, no matter what the extension says. What does file php-4_3_0_tar.gz tell you? And what if you just run tar on it, without any z flag? HTH & HAND :-D -- David T-G * There is too much animal courage in (play) [EMAIL PROTECTED] * society and not s

[PHP] multiple file upload, yet again

2003-02-08 Thread David T-G
nd myself mail and try to upload multiple files and then look at the HTML source :-) but the server had some problem or other and I couldn't get set up. Well, I didn't really want an account anyway. TIA & HAND :-D -- David T-G * There is too much animal courage

Re: [PHP] multiple file upload, yet again

2003-02-09 Thread David T-G
being unhelpful. % I hope this helps.. % Gurhan Thanks anyway & 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] little problem with ' " and stuff

2003-02-10 Thread David T-G
o ""; and away you go... I, too, have wondered why pretty much everyone on this list writes their html as rather than using perfectly valid single quotes and making their lives easier... In perl you can use *any* char as your quoting character and so you even have it both ways!

Re: [PHP] multiple file upload, yet again

2003-02-10 Thread David T-G
Jason -- ...and then Jason Wong said... % % On Monday 10 February 2003 08:36, David T-G wrote: % % > Hmmm... I haven't yet been able to download it, but I was pointed to a % > live page (tech.indymedia.org/publish.php3) only to find that it has % > multiple boxes for multiple

Re: [PHP] restricting access to files using PHP

2003-02-12 Thread David T-G
I dunno if 1) adding and nicknaming is necessary or 2) you can do it in a .htaccess file instead of having to put it in the http.conf file. HTH & HAND :-D -- David T-G * There is too much animal courage in (play) [EMAIL PROTECTED] * society and not sufficient moral cou

Re: [PHP] Learning PHP

2003-02-12 Thread David T-G
Have you checked the list archives? I know that "what book?" has come up at least a couple of times recently... HTH & HAND :-D -- David T-G * There is too much animal courage in (play) [EMAIL PROTECTED] * society and not sufficient moral courage. (work) [E

Re: [PHP] PGP and PHP together???

2003-02-12 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 Pbzzha

Re: [PHP] PGP and PHP together???

2003-02-12 Thread David T-G
't wait to see what functions it offers. % % It is available at: http://www.sourceforge.net/projects/gpgext/ Thanks a *bunch* for the link. I'll very eagerly surf over! % % Jason Thanks & HAND :-D -- David T-G * There is too much animal courage in

Re: [PHP] restricting access to files using PHP

2003-02-13 Thread David T-G
% Thanks for the help, Sure thing! % % Shams 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&qu

[PHP] uploading files and MAX_FILE_SIZE and php.ini

2003-02-13 Thread David T-G
to turn to fix this. It would seem that everything is in place! Is there an apache directive that I need as well, perhaps? TIA & HAND :-D -- David T-G * There is too much animal courage in (play) [EMAIL PROTECTED] * society and not sufficient moral courage. (work) [EM

Re: [PHP] uploading files and MAX_FILE_SIZE and php.ini

2003-02-13 Thread David T-G
Jason, et al -- ...and then Jason Wong said... % % On Friday 14 February 2003 02:44, David T-G wrote: % % > Yes, I'm back again with another upload question. I promise I've been % > paying attention in class, but I just can't get this to work! % % [snip] % % > Now I&

Re: [PHP] uploading files and MAX_FILE_SIZE and php.ini

2003-02-13 Thread David T-G
down by 200M or so :-) 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/dav

Re: [PHP] uploading files and MAX_FILE_SIZE and php.ini

2003-02-13 Thread David T-G
Hi again -- ...and then David T-G said... % ... % Ahhh... After reading it *twice* I realized that I'm using method='post' % and so I need to set post_max_size as well. I've now confirmed that I % can upload multiple MAX_FILE_SIZE files up to post_max_size :-) Oh, yeah

Re: [PHP] programming question

2003-02-14 Thread David T-G
, $year_model_id, $x) { ... Are you actually using getGrandParent, or where is your getParent code? If the former, why are you passing $catid to getGrandParent if it's not expecting it? Let's make sure we're working with the right code before we try to debug ;-) HTH & HAND

Re: [PHP] Use GnuPG with PHP?

2003-02-14 Thread David T-G
ked at the mcrypt functions and they will let you enter a crypt phrase and transform the data; maybe that's what you want. % % TIA HTH & HAND :-D -- David T-G * There is too much animal courage in (play) [EMAIL PROTECTED] * society and not sufficient moral cou

Re: [PHP] List problem

2003-02-16 Thread David T-G
kicked out the address. Just flush 'em when you get 'em. 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 H

Re: [PHP] Re: recursion?????

2003-02-16 Thread David T-G
Fred, et al -- ...and then Fred Merritt said... % ... % The benefit of checking in javascript(which I suspect is enabled in most Not me! Not me! Not me! It is by no means ubiquitous. Anyone who even moderately considers security will have it turned off. HTH & HAND :-D -- David

Re: [PHP] Re: recursion?????

2003-02-18 Thread David T-G
ave JS % disabled. Hmmm... Less than I thought; I was under the impresssion that it was up nearer 20%. % % About the same percent have cookies disabled. Yeah. Just as I do :-) % % Kirk HAND :-D -- David T-G * There is too much animal courage in (play) [EMAIL PROTECT

Re: [PHP] test

2003-02-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 Qrprap

Re: [PHP] mr. jason wong kind attention

2003-02-21 Thread David T-G
x27;t worry about it :-) % % regards, % diksha neel 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] mr. jason wong kind attention

2003-02-21 Thread David T-G
my apology! % % % regards Wilbert % % (counting down: 3 hrs to weekend) Have a nice one, then! 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, &q

Re: [PHP] Convert *.PST Files to Something Else (LDAP...)

2003-02-21 Thread David T-G
of which I know that will do it is Netscape, and therefore presumably Mozilla; NS has an import function. You might pull down the Moz source code and start reading :-) HTH & HAND & Good luck :-D -- David T-G * There is too much animal courage in (play) [EMAIL P

Re: [PHP] Array instead of Switch

2003-02-21 Thread David T-G
ot; , "mercury" => "go_mercury()" , // continue ad nauseam ) ; print "Will we eval?\n" ; eval ("$response[$formchoice];") ; print "DONE!\n" ; Seems like this ought to be pretty safe since you're writing the go_* funct

[PHP] is_writable for a dir?

2003-02-22 Thread David T-G
Hi, all -- How can I tell if a directory is writable? It seems that is_writable only works on file, and the mode I get out of stat() is [in this case, anyway] '16895' for a 0777 dir. TIA & HAND :-D -- David T-G * There is too much animal courage in

Re: [PHP] is_writable for a dir?

2003-02-22 Thread David T-G
de is now 40777, just as I would figure :-) Thanks! The real problem still remains, however; if it's not writable for all, then I need to see whether or not its writable, and preferably without checking the making of a temp file or digging into UID/GID and group membership and so on... Tha

Re: [PHP] is_writable for a dir?

2003-02-22 Thread David T-G
Thanks for the help otherwise! % mentioned. Maybe someone else has some better ideas... I'm listening :-) HAND :-D -- David T-G * There is too much animal courage in (play) [EMAIL PROTECTED] * society and not sufficient moral courage. (work) [EMAIL PROTECTED] --

[PHP] using function()[subscript] directly

2003-02-23 Thread David T-G
uot;'\n" ;### gives me a parse error, while print "decoct(stat(file)[mode] is '" . decoct(${stat("$gallery_dir/$pix_base")}[mode]) . "'\n" ; ### just returns 0. Do I *have* to use a temp array here? TIA & HAND :-D -- David T-G

Re: [PHP] Constant Arrays Possible?

2003-02-23 Thread David T-G
Daniel -- ...and then Daniel R. Hansen said... % % Is it possible to define a constant that is an array of other predefined Nope. From the manual: Only scalar data (boolean, integer, float and string) can be contained in constants. HTH & HAND :-D -- David

Re: [PHP] Help needed - move_uploaded_file

2003-02-24 Thread David T-G
hat if you turn things around a bit and run move_uploaded_file() or die("Explanatory message $!\n") ; to see if m_u_f() is complaining? HTH & HAND :-D -- David T-G * There is too much animal courage in (play) [EMAIL PROTECTED] * society and not sufficient

Re: [PHP] Deleting a page after viewing it

2003-02-26 Thread David T-G
7;s a crypted one-time token passed not on the URL. 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://

Re: [PHP] PHP list problems?

2003-02-27 Thread David T-G
Sebastian -- ...and then Sebastian said... % % every so often i get a blank email that contains an attachment, a ATTxyz.dat % and ATTxyz.txt why? Don't know that for sure, but ... % % I just got a reply from David T-G, Thread "Deleting a page after viewing it" % and it

Re: [PHP] PHP Project for a newbie (me) or for hire?

2003-03-01 Thread David T-G
nce put in a bid on a sailboat cabin reservation system for a fellow who ran a cruising sailboat with about 8 berths, and this sounds quite similar. I like little businesses like that who aren't afraid of some technology :-) HTH & HAND & at the very least Good Luck! :-D -- David T

Re: [PHP] Free email service Plus get Paid while using it!!!!

2003-03-03 Thread David T-G
, you got that part right, anyway :-) Please keep this stuff off the PHP mailing lists. 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, "Scienc

Re: [PHP] mortgage calculator

2003-03-05 Thread David T-G
n take the perl script location; I speak perl. In fact, I'm sure I can translate the perl script for a small fee; it shouldn't take long. HTH & HAND :-D -- David T-G * There is too much animal courage in (play) [EMAIL PROTECTED] * society and not suffici

Re: [PHP] PHP vs. CGI

2003-03-05 Thread David T-G
ker. % % I have a bulletin board which is incredibly active, but there is a PHP % sister to it. The real question becomes "how are you running the perl version and, figuring that's as a CGI, would you rather switch languages or just modules?". % % Thanks, % % -Mike HTH &am

[PHP] print "$array[$i][0]" pukes

2003-03-05 Thread David T-G
each inner.. Clearly php is seeing that $manilist[$i] is an array, telling me so, and then happily printing the "[0]"; how do I get to the value itself without having to use a temporary array? TIA & HAND :-D -- David T-G * There is too much animal courage in

Re: [PHP] print "$array[$i][0]" pukes

2003-03-05 Thread David T-G
Chris -- ...and then Chris Wesley said... % % On Wed, 5 Mar 2003, David T-G wrote: % % > $m = count($manilist) ; % > for ( $i=0 ; $i<$m ; $i++ ) % > { print "$i :: $manilist[$i][0]\n" ; } ... % % Actually, it's literally printing "[0]" af

Re: [PHP] print "$array[$i][0]" pukes

2003-03-06 Thread David T-G
fact hasn't stopped and is really doing the sheet-of-tin-booming thing), :-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&q

Re: [PHP] php list via email

2003-03-06 Thread David T-G
://www.php.net/unsub.php If accessing via the web doesn't float your boat (like it just plain sinks mine), try the old-fashioned methods. When you get down the list to mailing [EMAIL PROTECTED] you'll get a confirmation response. HTH & HAND :-D -- David T-G

Re: [PHP] print "$array[$i][0]" pukes

2003-03-06 Thread David T-G
Ernest, et al -- ...and then Ernest E Vogelsinger said... % % At 10:44 06.03.2003, David T-G said: % [snip] % >...and then Leif K-Brooks said... % >% % >% print "$i :: {$manilist[$i][0]}\n"; % >Aha! Perfect. Here I'd been

Re: [PHP] php list via email

2003-03-06 Thread David T-G
i cant access it and the fool wont open it up for me. So ditch news and subscribe to the mailing list and get 'em all in your mailbox. I do :-) HTH & HAND :-D -- David T-G * There is too much animal courage in (play) [EMAIL PROTECTED] * society and not sufficient

Re: [PHP] what is session_name?

2003-03-13 Thread David T-G
those cases where the visitor might accept the cookie or might not. % % Thanks, % % Joe. 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] -- Mar

Re: [PHP] Re: PHP Books

2003-03-13 Thread David T-G
uched PHP when I got the book and I kept up if not outpaced it as I worked through it :-0 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] -- Mar

Re: [PHP] OT? Dynamic Page Setup in IE please help

2003-03-14 Thread David T-G
internals to see what it is that you want to set. I don't think you'll be able to do this for "only this page", though you could perhaps put the settings back (hey, store 'em in a cookie; it can't get much worse!) after the job has printed. HTH & G

[PHP] multiple sessions

2003-07-06 Thread David T-G
he user_id and pre-set it and then go on to create the phpbb cookie and so on. When I get there, though, I find that $_SESSION is empty. How do I look at the data stored in another cookie or session -- if I'm even using the terminology correctly? TIA & HAND :-D -- David T-G

Re: [PHP] daemonized php

2003-07-07 Thread David T-G
x27;t need apache to feed it env vars). % % I wan't to write some server aplication. So it has to be run in the % backgroud. Then tack '&' on the end of the line above. HTH & HAND :-D -- David T-G * There is too much animal courage in (play) [EMAIL

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 se

  1   2   3   4   5   >