[PHP] safely using input for mail

2004-09-12 Thread David T-G
half a dozen other things. How would you guys tackle this? TIA HAND :-D -- David T-G [EMAIL PROTECTED] http://justpickone.org/davidtg/ Shpx gur Pbzzhavpngvbaf Qrprapl Npg! pgp952nCnHrGX.pgp Description: PGP signature

Re: [PHP] safely using input for mail

2004-09-12 Thread David T-G
John, et al -- [Been a while! How ya been?] ...and then John Holmes said... % % David T-G wrote: % % I'd like some sanity checks on safely using input for sending mail. I'm ... % At the moment, I am running escapeshellcmd() on the From:, To:, Subject:, ... % his own bandwidth limits

Re: [PHP] Re: web page output as we go

2004-07-04 Thread David T-G
and that's no big deal since few of our customers use it. % % Jason Thanks for the pointing :-) :-D -- David T-G [EMAIL PROTECTED] http://justpickone.org/davidtg/ Shpx gur Pbzzhavpngvbaf Qrprapl Npg! pgpsz8lKlPcZV.pgp Description: PGP signature

[PHP] web page output as we go

2004-07-03 Thread David T-G
to start trickling the data onto the page? TIA HAND :-D -- David T-G [EMAIL PROTECTED] http://justpickone.org/davidtg/ Shpx gur Pbzzhavpngvbaf Qrprapl Npg! pgp1j5balw2OU.pgp Description: PGP signature

[PHP] php as CGI and $_POST

2004-06-04 Thread David T-G
to form method='get' doesn't help anything. So how on earth does one get data into a CGI PHP script? TIA HAND :-D -- David T-G [EMAIL PROTECTED] http://justpickone.org/davidtg/ Shpx gur Pbzzhavpngvbaf Qrprapl Npg! pgpi7TjlJ0mJ7.pgp Description: PGP signature

Re: [PHP] php as CGI and $_POST

2004-06-04 Thread David T-G
Curt, et al -- ...and then Curt Zirzow said... % % * Thus wrote David T-G ([EMAIL PROTECTED]): % % My code is as simple as % %#!/usr/local/bin/php % % What does '/usr/local/bin/php -v' show? Doesn't seem to scary to me: bash-2.05a$ /usr/local/bin/php -v PHP 4.3.4 (cli) (built

Re: [PHP] script location

2004-06-04 Thread David T-G
Gabe -- ...and then Gabe said... % % Does anyone know of a simple/efficient way to determine the path to a % script on the URL? Gee, it sounds like you want the dirname() of the SCRIPT_URL. You're on the right track :-) HTH HAND :-D -- David T-G [EMAIL PROTECTED] http://justpickone.org

Re: [PHP] php as CGI and $_POST

2004-06-04 Thread David T-G
Peter -- ...and then Peter Risdon said... % % David T-G wrote: % % bash-2.05a$ /usr/local/bin/php -v % PHP 4.3.4 (cli) (built: Jan 6 2004 15:27:52) % % You probably need the cgi version - not the command line one you % actually have. Ooohhh... Ouch. So there are *three* possible

Re: [PHP] php as CGI and $_POST

2004-06-04 Thread David T-G
Curt, et al -- ...and then Curt Zirzow said... % % * Thus wrote David T-G ([EMAIL PROTECTED]): % %bash-2.05a$ /usr/local/bin/php -v %PHP 4.3.4 (cli) (built: Jan 6 2004 15:27:52) % % that cli should be cgi. % % I'm assuming you compiled php with something like: %configure

[PHP] changing http to https

2004-05-12 Thread David T-G
ideas? TIA HAND :-D -- David T-G [EMAIL PROTECTED] http://justpickone.org/davidtg/ Shpx gur Pbzzhavpngvbaf Qrprapl Npg! pgp0.pgp Description: PGP signature

[PHP] SOLVED Re: [PHP] using cookies

2004-05-10 Thread David T-G
Hi, all -- ...and then David T-G said... % % I guess I need a primer on cookie usage. I've read the manual regarding [snip] All has become clear, or at least only murky :-) I was having trouble wrapping my head around how to start cookies (a la sessions) and then check to see if I had

Re: [PHP] Re: using cookies

2004-05-09 Thread David T-G
in $_COOKIE to make me think otherwise). Perhaps now I've given everyone better info on which to base a response :-) TIA again HAND :-D -- David T-G [EMAIL PROTECTED] http://justpickone.org/davidtg/ Shpx gur Pbzzhavpngvbaf Qrprapl Npg! pgp0.pgp Description: PGP signature

[PHP] using cookies

2004-05-08 Thread David T-G
have any pointers to a basic tutorial? TIA HAND :-D -- David T-G [EMAIL PROTECTED] http://justpickone.org/davidtg/ Shpx gur Pbzzhavpngvbaf Qrprapl Npg! pgp0.pgp Description: PGP signature

Re: [PHP] PHP Website Architecture

2004-05-07 Thread David T-G
engine, amongst other projects, and as an added bonus I don't have to remember in which file to search, months later, when I'm tracking a bug (er, reconsidered feature, since there are no bugs in my code! ;-) % % HTH. % % Cheers, % -Ryan HTH HAND :-D -- David T-G [EMAIL PROTECTED] http

Re: [PHP] please remove this user

2004-05-07 Thread David T-G
these clients fix their broken configurations (be they on an ipower virtual server or within a corporate network). Then, again, astral is due to expire late next month; perhaps it really will! Hey, I guess I'll have two more messages to fire off in about a minute :-) HTH HAND :-D -- David T-G

Re: [PHP] Graphical calendar

2004-05-07 Thread David T-G
the calendar code out of any of those mainstream apps. I use Craig Knudsen's WebCalendar (http://www.k5n.us/webcalendar.php) and it has preview calendars for last month and next month that would probably do a great job for you. % % Todd HTH HAND :-D -- David T-G [EMAIL PROTECTED] http

Re: [PHP] gifs, icons etc

2004-05-06 Thread David T-G
, and receive no compensation for telling anyone about her work. Nyah nyah :-) HTH HAND :-D -- David T-G [EMAIL PROTECTED] http://justpickone.org/davidtg/ Shpx gur Pbzzhavpngvbaf Qrprapl Npg! pgp0.pgp Description: PGP signature

Re: [PHP] Re: strip comments from HTML?

2004-05-06 Thread David T-G
Petr, et al -- ...and then Petr U. said... % % On Thu, 6 May 2004 11:57:45 -0400 % David T-G [EMAIL PROTECTED] wrote: % % Am I missing something painfully obvious? % % From http://www.php.net/manual/en/pcre.pattern.syntax.php % % However, if a quantifier is followed by a question mark

Re: [PHP] Re: strip comments from HTML?

2004-05-06 Thread David T-G
Michael, et al -- ...and then Michael Sims said... % % David T-G wrote: % % Am I missing something painfully obvious? % % www.perldoc.com appears to be unavailable at the moment, but if you have perldoc % installed, here's an excerpt from the perlre man page: I do, but I looked in the php

Re: [PHP] I need to hire someone to secure script

2004-05-06 Thread David T-G
feel free to drop me a line to discuss it if you wish. % % Sorry if this not an appropriate request in a forum like this. That's an age-old problem, and I think it's as good here as anywhere :-) % % Doug HTH HAND Good luck! :-D -- David T-G [EMAIL PROTECTED] http://justpickone.org

Re: [PHP] setting php_admin_value

2004-05-06 Thread David T-G
file structure, after parsing, is just a data structure that is read as needed, and you could thus probably intercept that call. % % Thanks, % % Tim. HTH HAND :-D -- David T-G [EMAIL PROTECTED] http://justpickone.org/davidtg/ Shpx gur Pbzzhavpngvbaf Qrprapl Npg! pgp0.pgp

Re: [PHP] strip comments from HTML?

2004-05-06 Thread David T-G
. Note that since you're just replacing the entire comment with '' you needn't bother with the () around whatever may be in the middle, too. % % TIA % % --- % Justin French % http://indent.com.au HTH HAND :-D -- David T-G [EMAIL PROTECTED] http://justpickone.org/davidtg/ Shpx gur

Re: [PHP] strip comments from HTML?

2004-05-06 Thread David T-G
file row by % row, strips only one line comments. Comments spanned % on multiple lines are unaffected. Agreed. Let's leave that to the student to work out, shall we? :-) % % HTH % % Marius HTH HAND :-D -- David T-G [EMAIL PROTECTED] http://justpickone.org/davidtg/ Shpx gur

Re: [PHP] converting movies

2004-05-06 Thread David T-G
! % % Does anyone know how I can convert movies from a format to another or how I % could get a screenshot of the movie (the first scene) using PHP or at least % something running on a linux system. I would use ImageMagick. % % % Thanks, % Arthur HTH HAND :-D -- David T-G [EMAIL

Re: [PHP] Re: strip comments from HTML?

2004-05-06 Thread David T-G
modifier (otherwise not greedy) back into a greedy portion. Am I missing something painfully obvious? % % - rob TIA HAND :-D -- David T-G [EMAIL PROTECTED] http://justpickone.org/davidtg/ Shpx gur Pbzzhavpngvbaf Qrprapl Npg! pgpR4LqMxbiLk.pgp Description: PGP signature

[PHP] dollar sign ASCII code

2004-04-30 Thread David T-G
; for an apostrophe or amp; for an ampersand. Does anyone have the code for a dollar sign? TIA HANN :-D -- David T-G [EMAIL PROTECTED] http://justpickone.org/davidtg/ Shpx gur Pbzzhavpngvbaf Qrprapl Npg! pgp0.pgp Description: PGP signature

[PHP] substrings

2004-04-25 Thread David T-G
. TIA HAND :-D -- David T-G [EMAIL PROTECTED] http://justpickone.org/davidtg/ Shpx gur Pbzzhavpngvbaf Qrprapl Npg! pgp0.pgp Description: PGP signature

[PHP] substr == SOLVED (was Re: [PHP] substrings)

2004-04-25 Thread David T-G
gave up and asked for help :-) Thanks HAND :-D -- David T-G [EMAIL PROTECTED] http://justpickone.org/davidtg/ Shpx gur Pbzzhavpngvbaf Qrprapl Npg! pgp0.pgp Description: PGP signature

Re: [PHP] Freelance PHP Bids

2004-04-22 Thread David T-G
to fruition for me, so I'm quite interested in any results you get. Please let us know. % % Navid HTH HAND :-D -- David T-G [EMAIL PROTECTED] http://justpickone.org/davidtg/ Shpx gur Pbzzhavpngvbaf Qrprapl Npg! pgp0.pgp Description: PGP signature

Re: [PHP] Why NNTP is not default protocol for php groups

2004-04-22 Thread David T-G
of the newsgroups I've loved over the years have gone downhill due to being flooded with spam. I could be wrong, but I don't know of any news spam cleaners; they're all meant for email. Mail is good. News is less so, though it has its place. HTH HAND :-D -- David T-G [EMAIL PROTECTED] http

Re: [PHP] PHP Web Hosting

2004-04-22 Thread David T-G
Arthur -- ...and then Arthur Pelkey said... % % I am all for adventure when money goes into my wallet, the same cannot % be said for the opposite ;) Being all for money when adventure goes into your wallet? Heck, I'd be all for that ;-) HAND :-D -- David T-G [EMAIL PROTECTED] http

Re: [PHP] PHP Web Hosting

2004-04-22 Thread David T-G
a newline a carriage return. Odd. HTH HAND :-D -- David T-G [EMAIL PROTECTED] http://justpickone.org/davidtg/ Shpx gur Pbzzhavpngvbaf Qrprapl Npg! pgp0.pgp Description: PGP signature

Re: [PHP] PHP Web Hosting

2004-04-22 Thread David T-G
Stanley, et al -- ...and then Stanley X. Martin said... % % Why don't you two just email each other instead of including us all in % your little pissing contest? Aw, where's your sense of adventure? Oops; that one's been used already ;-) % % Stanley G. Martin HAND :-D -- David T-G

Re: [PHP] Whats faster? text files or mysql?

2004-04-22 Thread David T-G
disk, will be faster because of the overhead of talking to the database; DBs shine when they have tons of data, not ounces. HTH HAND :-D -- David T-G [EMAIL PROTECTED] http://justpickone.org/davidtg/ Shpx gur Pbzzhavpngvbaf Qrprapl Npg! pgp0.pgp Description: PGP signature

Re: [PHP] Unwanted e-mails

2004-04-16 Thread David T-G
anything? :-) Just some whining, apparently. Perhaps it's time for me to break out the unsubscribe fee emails again. % % cheers, % % Travis HAND :-D -- David T-G [EMAIL PROTECTED] http://justpickone.org/davidtg/ Shpx gur Pbzzhavpngvbaf Qrprapl Npg! pgp0.pgp Description: PGP

[PHP] umask() and chmod()

2004-04-15 Thread David T-G
a file's permissions based on whatever umask() returns? TIA HAND :-D -- David T-G [EMAIL PROTECTED] http://justpickone.org/davidtg/ Shpx gur Pbzzhavpngvbaf Qrprapl Npg! pgp0.pgp Description: PGP signature

Re: [PHP] umask() and chmod()

2004-04-15 Thread David T-G
Mike, et al -- ...and then Ford, Mike [LSS] said... % % On 15 April 2004 16:26, David T-G wrote: % % but chmod() needs a permissions setting rather than a umask. % % The challenge is in representing this as octal. With some ... % to feed to chmod() -- and apparently I can't

Re: [PHP] file upload

2004-04-15 Thread David T-G
that back to $data and you should be fine. % % The file does not get uploaded. % % Any assiatnce will be greatly appreciated. % Thank you. % TR HTH HAND :-D -- David T-G [EMAIL PROTECTED] http://justpickone.org/davidtg/ Shpx gur Pbzzhavpngvbaf Qrprapl Npg! pgp0.pgp Description: PGP

Re: [PHP] umask() and chmod()

2004-04-15 Thread David T-G
Mike, et al -- Responding to your second one first... ...and then Ford, Mike [LSS] said... % % On 15 April 2004 16:26, David T-G wrote: % % When I move_uploaded_file() a file into place, I want to give it the ... % but chmod() needs a permissions setting rather than a umask

Re: [PHP] umask() and chmod()

2004-04-15 Thread David T-G
Mike -- ...and then Ford, Mike [LSS] said... % % On 15 April 2004 17:26, David T-G wrote: % % ...and then Ford, Mike [LSS] said... % % % % I'm not sure, however, that this is a totally foolproof way % of doing it, as % % it would fail with any permission set

Re: [PHP] storing an array in an ini file

2004-04-14 Thread David T-G
! % % Anyway i switched to using an XML-File now :-) One of these days... Baby steps :-) Thanks HAND :-D -- David T-G [EMAIL PROTECTED] http://justpickone.org/davidtg/ Shpx gur Pbzzhavpngvbaf Qrprapl Npg! pgp0.pgp Description: PGP signature

Re: [PHP] SsH

2004-04-13 Thread David T-G
that connection for you. % % Kind Regards % Brent Clark HTH HAND :-D -- David T-G [EMAIL PROTECTED] http://justpickone.org/davidtg/ Shpx gur Pbzzhavpngvbaf Qrprapl Npg! pgp0.pgp Description: PGP signature

Re: [PHP] I need some help And the people at the Bug section pointed me to you

2004-04-13 Thread David T-G
.so': No such % file or directory % apxs:Error: Command failed with rc=65536 % . % make: *** [install-sapi] Error 1 Please forgive the perhaps silly question. Are you root? More properly, do you have permission to write under /www? HTH HAND :-D -- David T-G [EMAIL PROTECTED] http

[PHP] storing an array in an ini file

2004-04-13 Thread David T-G
with @@ or | in it as the token but an array is so much more elegant because that's what it's meant to do :-) Any suggestions? TIA HAND :-D -- David T-G [EMAIL PROTECTED] http://justpickone.org/davidtg/ Shpx gur Pbzzhavpngvbaf Qrprapl Npg! pgp0.pgp Description: PGP signature

Re: [PHP] storing an array in an ini file

2004-04-13 Thread David T-G
Curt, et al -- ...and then Curt Zirzow said... % % * Thus wrote David T-G ([EMAIL PROTECTED]): % % I have an ini file for my application and I use parse_ini_file to load it % and some custom code to save modifications. I'd like to figure out how % to store array values in there since

Re: [PHP] storing an array in an ini file

2004-04-13 Thread David T-G
John, et al -- ...and then John Holmes said... % % David T-G wrote: % % to store array values in there since that is the logical place to keep % config data. If I can't, I could probably use a string with @@ or | in ... % % If you really need to define arrays, just put them in a .php file

[PHP] Wanted: login and CMS system with a twist

2004-04-12 Thread David T-G
? TIA HAND :-D -- David T-G [EMAIL PROTECTED] http://justpickone.org/davidtg/ Shpx gur Pbzzhavpngvbaf Qrprapl Npg! pgp0.pgp Description: PGP signature

[PHP] Re: commercial autoresponses (was Re: [PHP] Wanted: ...)

2004-04-12 Thread David T-G
Hi again, all -- ...and then David T-G said... % ... % Any recommendations? I was amazed to receive from this - an entirely-in-German post apparently wishing me a happy Easter - a note from Credit Suisse letting me know they'd process my request - a promise from Astral Security

Re: [PHP] Re: commercial autoresponses

2004-04-12 Thread David T-G
Jason, et al -- ...and then Jason Barnett said... % % David T-G wrote: % % and wondered for a moment if I'd really sent it to the right place! Have % I really missed so much in a month of being too busy to post on the list? % % No David, I receive those messages also when I post. Just block

Re: [PHP] Wanted: login and CMS system with a twist

2004-04-12 Thread David T-G
Justin, et al -- ...and then Justin French said... % % On 13/04/2004, at 1:10 AM, David T-G wrote: % % A client of mine wishes to create a web site which does more than just % the typical CMS functions in that what you can see not only depends on % whether or not you have an account but also

Re: [PHP] .doc file

2004-03-30 Thread David T-G
the results - clean up, of course to get your last line. The wv* utils do a quite acceptable job of converting DOC files into other formats, and definitely don't need a Windows server laying around. % % Thank you. % TR HTH HAND :-D -- David T-G * There is too much animal

[PHP] replacing chars in input

2004-03-23 Thread David T-G
(/[\s]/,_,$i) ; but trying to add other chars doesn't do a thing. I want to end up with A-Za-z0-9_- (letters, numbers, underscore and dash). If there isn't a handy character class waiting for me, what must I do to get those chars replaced? TIA HAND :-D -- David T-G

Re: [PHP] Re: replacing chars in input

2004-03-23 Thread David T-G
Justin, et al -- ...and then Justin Patrin said... % % David T-G wrote: % % I would like to make things easier for my users and replace all of the % garbage characters % % `';:[EMAIL PROTECTED]*()[]{}/?\|+= % % plus white space (\s) with underscores in the input. I am, however, % having

Re: [PHP] Image Storage

2004-03-23 Thread David T-G
:-) % % Thanks, % % Matt % http://sweetphp.com/ 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

[PHP] how does array_multisort work?(!??)

2004-03-18 Thread David T-G
sort that and then pull the key out to display the list. Bleah. Once again it would probably be easier to just lay out a DB schema! TIA HAND :-D -- David T-G * There is too much animal courage in (play) [EMAIL PROTECTED] * society and not sufficient moral courage. (work

[PHP] catching URL#target params

2004-03-15 Thread David T-G
that includes that target. Is there a var that will work for me? 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

Re: [PHP] catching URL#target params

2004-03-15 Thread David T-G
' QUERY_STRING no value QUERY_STRING no value _SERVER[QUERY_STRING] no value _ENV[QUERY_STRING] no value Any other ideas? TIA HAND :-D -- David T-G * There is too much animal courage in (play) [EMAIL PROTECTED] * society and not sufficient moral courage

Re: [PHP] catching URL#target params

2004-03-15 Thread David T-G
-- 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.pgp

Re: [PHP] catching URL#target params

2004-03-15 Thread David T-G
you're right. Well, anyone with old calls will just be screwed, then. On with work... 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

[PHP] categorizing and array mapping

2004-03-15 Thread David T-G
will be just as painful as jumping to that then perhaps I should bite the bullet and do it now. Or maybe this ver doesn't get categories, just like the current sprawl of HTML doesn't have that blessing, either :-) Recommendations? Ideas? Caveats? TIA HAND :-D -- David T-G

Re: [PHP] Printing landscape

2004-03-15 Thread David T-G
to use landscape, but I not only wouldn't sully myself by going there :-) but don't have the slightest idea where to look anyway. There's always educating/training the user, but that can be the hardest task of all! ;-) % % Any help is appreciated. Good luck! HTH HAND :-D -- David T-G

Re: [PHP] catching URL#target params

2004-03-15 Thread David T-G
=target That sounds good, I think. % % I did it and it works. Great! Now tell me more :-) % % % Sebastiano 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

Re: [PHP] help with storing multiple values in session variables.

2004-03-15 Thread David T-G
you get in the script. I use it frequently. 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] catching URL#target params

2004-03-15 Thread David T-G
Chris, et al -- ...and then David T-G said... % % ...and then Chris Hayes said... % % ... % % maybe via a javascript detour? % % Can't do that since I'm trying to write code that can handle the old % style call from some page that hasn't been updated, which means that I % don't control

Re: [PHP] * populate menu from directory *

2004-02-16 Thread David T-G
to the DB and pull the list and then loop through it just as in #2. % % % d 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] A dumb question

2004-02-12 Thread David T-G
. $a = 1 ; $b = $a ; $c = $a ; $b++ ; $c-- ; print a = $a ; b = $b ; c = $c ;\n ; // a = 0 ; b = 2 ; c = 0 3) You can't, as far as I know, assign-by-reference a function, so your code should generate a parse error. % % -Blake HTH HAND :-D -- David T-G

Re: [PHP] writing a manual

2004-02-10 Thread David T-G
please let us know what you find and how you go :-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] Re: Linked Table Structure

2004-02-10 Thread David T-G
relational database. This ensures that, should you change the country ID in the country table, all of the clubs for that country will be updated. You'll still have to enter the country ID, though, whether manually, through a pulldown, or by matching text. HTH HAND :-D -- David T-G

Re: [PHP] boolean search class

2004-02-06 Thread David T-G
Ray, et al -- ...and then Ray Hunter said... % % On Thu, 2004-02-05 at 20:46, David T-G wrote: % % I'm implementing a search and would like to move beyond accepting ... % are not in a database, so I won't be passing SQL code off to a real % searcher.] % % How are you doing the search

Re: [PHP] boolean search class

2004-02-06 Thread David T-G
Ray, et al -- ...and then Ray Hunter said... % % On Fri, 2004-02-06 at 06:47, David T-G wrote: % Very, very simple stuff. The list of directories and files is held in an %... % That is simple enough, however, I dont see much flexibility in it with Just between you and me, I tend to agree

Re: [PHP] thumbnail script

2004-02-06 Thread David T-G
to output in the page. HTH HAND 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] recursive direcotry listing

2004-02-06 Thread David T-G
like Array ( [0] = f1 [1] = f2 [d1] = Array ( [0] = f3 ) ) % % Thanks % % Binay HTH HAND :-D -- David T-G * There is too much animal courage in (play) [EMAIL PROTECTED] * society and not sufficient moral courage. (work) [EMAIL

Re: [PHP] FreeBSD to Linux -- PHP Issues

2004-02-06 Thread David T-G
:-) % % Thanks, % % % Daryl Meese HTH HAND Happy hunting :-) :-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] thumbnail script

2004-02-06 Thread David T-G
-- 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.pgp

[PHP] boolean search class

2004-02-05 Thread David T-G
off to a real searcher.] 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 gur

Re: [PHP] boolean search class

2004-02-05 Thread David T-G
Daniel, et al -- ...and then [EMAIL PROTECTED] said... % % Mysql 4 MATCH AGAINST Thanks for the reply, but how will this help me when a database is not involved? HAND :-D -- David T-G * There is too much animal courage in (play) [EMAIL PROTECTED] * society

Re: [PHP] Size of Arrays

2004-01-29 Thread David T-G
. My bet is that you'l exhaust RAM and swap before you break php, especially if you actually store something -- like, say, 32 bytes of useless string output -- in each entry. % % Thanks a lot, % % Sandro HTH HAND Good luck :-D -- David T-G * There is too much animal

Re: [PHP] Create a zip archive from a folder

2004-01-29 Thread David T-G
://phpconcepts.net/ but that seems a little sicko at the moment, so you might try sourceforge instead. If you google for pclzip you'll get lots of links. HTH HAND :-D -- David T-G * There is too much animal courage in (play) [EMAIL PROTECTED] * society and not sufficient moral

Re: [PHP] Size of Arrays

2004-01-29 Thread David T-G
Stuart, et al -- ...and then Stuart said... % % David T-G wrote: % 2) Five minutes with a test script would tell you, and I bet google could ... % all) it breaks. My bet is that you'l exhaust RAM and swap before you % break php, especially if you actually store something -- like, say, 32

Re: [PHP] naming a directory after a user-submitted string

2004-01-28 Thread David T-G
. Thus, a simple if ( preg_match('/[EMAIL PROTECTED]/',$string) || file_exists($string) ) { puke() ; } could work nicely. 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] amp

2004-01-28 Thread David T-G
is coming to me ... I see a function ... It's ... It's ... It's in the manual! [HINT: look for 'special character' since you clearly didn't look for 'amp', which would do about as well.] HTH HAND :-D -- David T-G * There is too much animal courage in (play) [EMAIL

Re: [PHP] amp

2004-01-28 Thread David T-G
requirement. Does this somehow do something other than what it obviously appears to do? % % -- % Stuart 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

Re: [PHP] Return-Path header and sending email with php

2004-01-25 Thread David T-G
parameter ;-) 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

Re: [PHP] Upload file size limits

2004-01-25 Thread David T-G
in the right direction? You sure are! This has, by the way, been covered in great detail; you should check the archives for more info. % % Thanks. HTH HAND :-D -- David T-G * There is too much animal courage in (play) [EMAIL PROTECTED] * society and not sufficient moral

Re: [PHP] porting perl scripts to php

2004-01-24 Thread David T-G
if that setup works for you. I would be happy to be of service if you would like. Feel free to drop me a reply. % % Thanks, % Al 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] Securing php from rogue php scripts

2004-01-23 Thread David T-G
) but was wondering % if someone could give some advice 1) I'm no expert, though I'd like to be somewhat closer 2) If you're not speaking of safe mode, then look at safe mode 3) Please share what you find to help others, including me. % % % Thanks % % Ade TIA HTH HAND :-D -- David T-G

Re: [PHP] PHP and email attachments

2004-01-22 Thread David T-G
files around, strongly encourage them to re-think the presentation method and at least to strip to RTF and then zip to compress. If it's, say, a PGP signature, then congratulate them and get to work :-) % % Thanks HTH HAND :-D -- David T-G * There is too much animal

Re: [PHP] PHP and email attachments

2004-01-22 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] thumbnail

2004-01-21 Thread David T-G
; just use convert [options] /path/to/old /path/to/new instead :-) % % Ed 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] a clean way to upload

2004-01-16 Thread David T-G
Matt -- ...and then Matt Hedges said... % % ? He's telling you to search the list archives. This is not new ground you're breaking here. Just call getimagesize() on the temp file and see what type it reports back. HTH HAND :-D -- David T-G * There is too much animal

Re: [PHP] a clean way to upload

2004-01-16 Thread David T-G
the page saying hey, you blew it; try again. Where is the 'ease of uploading'? TIA 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] nested tags

2004-01-15 Thread David T-G
first second_table second table /second_table table /first_table or the like? Can you give us any more detail at all? HTH HAND :-D -- David T-G * There is too much animal courage in (play) [EMAIL PROTECTED] * society and not sufficient moral

Re: [PHP] R: [PHP][PEAR] PEAR::DB_Common::nextId()

2004-01-15 Thread David T-G
the DB then? % and i found it: PEAR::DB::getOnce(SELECT LAST_INSERT_ID()); Believe me, this has to be connected or it's doing the connect for you. % doesn't work perfectly but is ok. If that's good enough for you, then that's fine :-) % % cheers % % alessandro HTH HAND :-D -- David T

Re: [PHP] nested tags

2004-01-14 Thread David T-G
Gregor -- ...and then Gregor Jaksa said... % % Can anyone provide me with some link or code on how to deal with nested % tags. What kind of tags? HTML? PHP? Mattress? What do you want to accomplish? % % thx! HAND :-D -- David T-G * There is too much animal

Re: Re[2]: [PHP] Can php select which ini file to use?

2004-01-13 Thread David T-G
php4 and the other run php5; I strongly suspect that you could even have the primary recognize php5 files and hand them off to the other apache just like when you run sites on their own ports instead of all sharing the same. % % Chris HTH HAND :-D -- David T-G

Re: [PHP] picturing webpage

2004-01-09 Thread David T-G
find out :-) % % -thanks, Eli HTH 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 Health http://justpickone.org

Re: [PHP] Form validation: client- or server-side?

2004-01-09 Thread David T-G
on the server anyway -- empty fields and all -- and so there's no need to do it twice especially when it eliminates surfers who don't use JS. HTH HAND Happy New Year :-D -- David T-G * There is too much animal courage in (play) [EMAIL PROTECTED] * society and not sufficient

Re: [PHP] [Fwd: failure notice] Why??

2004-01-06 Thread David T-G
://www.emailfeeds.com HTH 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] -- Mary Baker Eddy, Science and Health http://justpickone.org/davidtg/ Shpx gur

Re: [PHP] Comparison PHP to Perl

2004-01-06 Thread David T-G
and pretty it is. % % thanks in advance, Good luck! % % Warren Vail % [EMAIL PROTECTED] HTH 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

Re: [PHP] Piping email

2004-01-04 Thread David T-G
, but I'd use the .forward file no matter what MTA is installed. % % Thanks % % Ade 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

  1   2   3   4   5   >