Re: [PHP] appending to XML file before closing tag

2002-06-26 Thread Brian White
. /rantmode At 23:24 26/06/2002, Erik Price wrote: On Tuesday, June 25, 2002, at 08:42 PM, Brian White wrote: I was actually thinking about this the other day - every now and again I find my self yearning for SGML, where you could have just declared the wrapping element end tag omissable

Re: [PHP] store pics on mysql db

2002-04-23 Thread Brian White
://www.php.net/unsub.php - Brian White Step Two Designs Pty Ltd Knowledge Management Consultancy, SGML XML Phone: +612-93197901 Web: http://www.steptwo.com.au/ Email: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

[PHP] Setting the name of a file in a download....

2002-04-22 Thread Brian White
: bytes Content-Length: 186 Connection: close Content-Type: application/zip regs Brian White - Brian White Step Two Designs Pty Ltd Knowledge Management Consultancy, SGML XML Phone: +612-93197901 Web: http://www.steptwo.com.au/ Email: [EMAIL PROTECTED

Re: [PHP] PHP and XML

2001-11-29 Thread Brian White
PROTECTED] - Brian White Step Two Designs Pty Ltd - SGML, XML HTML Consultancy Phone: +612-93197901 Web: http://www.steptwo.com.au/ Email: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands

[PHP] WHat has happened to parse_str in the Docs????

2001-11-28 Thread Brian White
the results of parsing the query string into an associative array rather than creating variables. I have a vague recollection of something like that Regs Brian White - Brian White Step Two Designs Pty Ltd - SGML, XML HTML Consultancy Phone: +612-93197901 Web: http

Re: [PHP] XML DTD

2001-11-12 Thread Brian White
PROTECTED] - Brian White Step Two Designs Pty Ltd - SGML, XML HTML Consultancy Phone: +612-93197901 Web: http://www.steptwo.com.au/ Email: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands

RE: [PHP] @#$@# Reg Expressions

2001-10-29 Thread Brian White
] - Brian White Step Two Designs Pty Ltd - SGML, XML HTML Consultancy Phone: +612-93197901 Web: http://www.steptwo.com.au/ Email: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: [PHP] Apache Request Ids?

2001-10-23 Thread Brian White
Oct 2001, Brian White wrote: process ID belongs to Apache. What I was wondering was there any kind of ID that was attached to a particular CGI request that I could access and use? Yes. Use the Apache module, mod_unique_id, and then in your environment, $UNIQUE_ID will be available. Every

Re: [PHP] PHP usage(s)

2001-10-23 Thread Brian White
. - Brian White Step Two Designs Pty Ltd - SGML, XML HTML Consultancy Phone: +612-93197901 Web: http://www.steptwo.com.au/ Email: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED

[PHP] Apache Request Ids?

2001-10-22 Thread Brian White
safely take the lock. This of course won't work under PHP in it's module form because the process ID belongs to Apache. What I was wondering was there any kind of ID that was attached to a particular CGI request that I could access and use? Brian - Brian White Step Two

[PHP] Why I wish PHP had Python's exception handling....

2001-10-21 Thread Brian White
safer, and can handle error messages much more cleanly. Anyway - this is just an example of why I think exceptions would be a really cool thing to add to PHP. Regs Brian White - Brian White Step Two Designs Pty Ltd - SGML, XML HTML Consultancy Phone: +612

Re: [PHP] Why I wish PHP had Python's exception handling....

2001-10-21 Thread Brian White
If that happens it would be great. At 00:33 22/10/2001 -0500, Matt McClanahan wrote: On Mon, Oct 22, 2001 at 02:57:44PM +1000, Brian White wrote: Preface to these ramblings: Exception handling is planned for the next version of the Zend engine. For details, see http://www.zend.com/zend

Re: [PHP] check if file is already in use before fopen

2001-10-04 Thread Brian White
: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] - Brian White Step Two Designs Pty Ltd - SGML, XML HTML Consultancy Phone: +612-93197901 Web: http://www.steptwo.com.au/ Email: [EMAIL

Re: [PHP] 2D array from file

2001-09-26 Thread Brian White
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] - Brian White Step Two Designs Pty Ltd - SGML, XML HTML

Re: [PHP] array_multisort

2001-09-26 Thread Brian White
? Rick -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] - Brian White Step Two Designs Pty Ltd - SGML, XML HTML

Re: [PHP] Feature?

2001-09-25 Thread Brian White
Actually this is a feature of Python. It is VERY useful and I would be ecstatic if it turned up in PHP. Regs Brian White At 11:36 25/09/2001 +0300, Andrey Hristov wrote: After some days spent in a hospital reading Programming Perl and Oracle Web Applications I found that a language

Re: [PHP] Going blind? Plz hlp w/ parse error

2001-09-19 Thread Brian White
] - Brian White Step Two Designs Pty Ltd - SGML, XML HTML Consultancy Phone: +612-93197901 Web: http://www.steptwo.com.au/ Email: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED

Re: [PHP] I beleive I have found a bug.....

2001-08-29 Thread Brian White
: If I replace the problem line foreach ( array_keys($data) as $key2 ) ^^ with the alternate foreach ( $data as $key2=$val2 ) At 09:54 29/08/2001 +0200, * RzE: wrote: Original message From: Brian White [EMAIL PROTECTED] Date: Wed, Aug 29, 2001 at 04

[PHP] I beleive I have found a bug.....

2001-08-28 Thread Brian White
If I replace the problem line foreach ( array_keys($data) as $key2 ) with the alternate foreach ( $data as $key2=$val2 ) then it works fine. I am using PHP 4.0.4pl1. Regs Brian White - Brian White Step Two Designs Pty Ltd - SGML, XML HTML

[PHP] Unable to use fopen to read a URL - DNS Problem?

2001-08-21 Thread Brian White
=/usr/local/apache/bin/apxs and I am running PHP 4.0.4pl1 under Debian Potato Linux and Apache 1.3 Regs Brian White At 16:28 14/08/2001 +1000, Brian White wrote: The following code: $url = http://www.php.net/;; print ( implode( , file( $url ) )); causes my browser to sit and twiddle it's

[PHP] Using fopen to read a URL - DNS Problem?

2001-08-14 Thread Brian White
it's running on, given that I ran ping www.php.net on that particular box to find the IP address. Can anyone tell me what I need to do to make it work? Regs Brian White - Brian White Step Two Designs Pty Ltd - SGML, XML HTML Consultancy Phone: +612-93197901 Web: http

Re: [PHP] Oh and one more thing

2001-08-03 Thread Brian White
administrators, e-mail: [EMAIL PROTECTED] - Brian White Step Two Designs Pty Ltd - SGML, XML HTML Consultancy Phone: +612-93197901 Web: http://www.steptwo.com.au/ Email: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL

Re: [PHP] Re: FAQ

2001-08-02 Thread Brian White
] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] - Brian White Step Two Designs Pty Ltd - SGML, XML HTML Consultancy Phone: +612-93197901 Web: http://www.steptwo.com.au/ Email: [EMAIL PROTECTED] -- PHP General

Re: [PHP] in_array() with associate array?

2001-07-31 Thread Brian White
] - Brian White Step Two Designs Pty Ltd - SGML, XML HTML Consultancy Phone: +612-93197901 Web: http://www.steptwo.com.au/ Email: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: [PHP] Java Jock - 1st line syntax

2001-07-31 Thread Brian White
PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] - Brian White Step Two Designs Pty Ltd - SGML, XML HTML Consultancy Phone: +612-93197901 Web: http://www.steptwo.com.au/ Email: [EMAIL PROTECTED

Re: [PHP] Global Variables - Local Scope

2001-07-29 Thread Brian White
-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] - Brian White Step Two Designs Pty Ltd - SGML, XML HTML Consultancy Phone: +612-93197901 Web: http://www.steptwo.com.au/ Email: [EMAIL

Re: [PHP] Newbie Help (CLASS WAR!)

2001-07-26 Thread Brian White
General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] - Brian White Step Two Designs Pty Ltd - SGML, XML HTML Consultancy Phone

Re: [PHP] parser outside of web tree. whats the trick?

2001-07-26 Thread Brian White
] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] - Brian White Step Two Designs Pty Ltd - SGML, XML HTML Consultancy Phone: +612-93197901 Web: http://www.steptwo.com.au/ Email: [EMAIL PROTECTED] -- PHP General Mailing

Re: [PHP] Query String Name ?

2001-07-26 Thread Brian White
- Brian White Step Two Designs Pty Ltd - SGML, XML HTML Consultancy Phone: +612-93197901 Web: http://www.steptwo.com.au/ Email: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED

Re: [PHP] Opening another page in code (PROPOSED FAQ)

2001-07-25 Thread Brian White
] - Brian White Step Two Designs Pty Ltd - SGML, XML HTML Consultancy Phone: +612-93197901 Web: http://www.steptwo.com.au/ Email: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail

Re: [PHP] When did this become the advertising Mailing List

2001-07-24 Thread Brian White
] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] - Brian White Step Two Designs Pty Ltd - SGML, XML HTML Consultancy Phone: +612-93197901 Web: http://www.steptwo.com.au/ Email: [EMAIL PROTECTED] -- PHP General

Re: [PHP] Hack on Server.

2001-07-19 Thread Brian White
] - Brian White Step Two Designs Pty Ltd - SGML, XML HTML Consultancy Phone: +612-93197901 Web: http://www.steptwo.com.au/ Email: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED

Re: [PHP] explode()

2001-07-16 Thread Brian White
$arr = explode(-,$row[5]); $reqmonth=$arr[1]; Well, it's all on one line. At 16:23 16/07/2001 -0700, Adam Plocher wrote: $reqmonth = ${}[1]; Is there anyway I can get that to work without having to use multiple lines of code? - Brian White Step Two Designs Pty Ltd

Re: [PHP] email counter

2001-07-16 Thread Brian White
to) Is there any technique at all to achieve this? Jack [EMAIL PROTECTED] Love your enemies, it will drive them nuts - Brian White Step Two Designs Pty Ltd - SGML, XML HTML Consultancy Phone: +612-93197901 Web: http://www.steptwo.com.au/ Email: [EMAIL PROTECTED] -- PHP

Re: [PHP] replacing part of string with values in array

2001-07-12 Thread Brian White
administrators, e-mail: [EMAIL PROTECTED] - Brian White Step Two Designs Pty Ltd - SGML, XML HTML Consultancy Phone: +612-93197901 Web: http://www.steptwo.com.au/ Email: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL

Re: [PHP] Strong typing?

2001-07-12 Thread Brian White
equivalent to strong typing using the class system? Thanks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] - Brian

Re: [PHP] The need for strong typing...

2001-07-12 Thread Brian White
administrators, e-mail: [EMAIL PROTECTED] - Brian White Step Two Designs Pty Ltd - SGML, XML HTML Consultancy Phone: +612-93197901 Web: http://www.steptwo.com.au/ Email: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL

Re: [PHP] .htaccess php_value

2001-07-11 Thread Brian White
, e-mail: [EMAIL PROTECTED] - Brian White Step Two Designs Pty Ltd - SGML, XML HTML Consultancy Phone: +612-93197901 Web: http://www.steptwo.com.au/ Email: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED

RE: [PHP] stripping white space?

2001-07-10 Thread Brian White
administrators, e-mail: [EMAIL PROTECTED] - Brian White Step Two Designs Pty Ltd - SGML, XML HTML Consultancy Phone: +612-93197901 Web: http://www.steptwo.com.au/ Email: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED

Re: [PHP] using image place holders in a database field?

2001-07-10 Thread Brian White
: [EMAIL PROTECTED] - Brian White Step Two Designs Pty Ltd - SGML, XML HTML Consultancy Phone: +612-93197901 Web: http://www.steptwo.com.au/ Email: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED

Re: [PHP] Global Variables -- why not have them?

2001-07-08 Thread Brian White
. The CGI parameters are arguable, but I pretty much consider SCRIPT_NAME to be a global constant. Brian - Brian White Step Two Designs Pty Ltd - SGML, XML HTML Consultancy Phone: +612-93197901 Web: http://www.steptwo.com.au/ Email: [EMAIL PROTECTED] -- PHP General

Re: [PHP] Need help with timestamp....

2001-07-05 Thread Brian White
(DATE_FORMAT_LONG, (date (F d, Y h:i:s A; no, i did not write this script, which is the reason i dunno what the heck im doing -- im curious if anyone has some insight on the problem Thanks in advance. - Brian White Step Two Designs Pty Ltd - SGML, XML HTML Consultancy

Re: [PHP] Re: changing to a different file in browser

2001-07-05 Thread Brian White
, e-mail: [EMAIL PROTECTED] ----- Brian White Step Two Designs Pty Ltd - SGML, XML HTML Consultancy Phone: +612-93197901 Web: http://www.steptwo.com.au/ Email: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For ad

RE: [PHP] Re: changing to a different file in browser

2001-07-05 Thread Brian White
: ** ?PHP session_start();? ** I still get the same error.. any ideas??? cheers, brad From: Brian White [EMAIL PROTECTED] Date: Fri, 06 Jul 2001 13:59:45 +1000 To: Brad Wright [EMAIL PROTECTED], PHP General List [EMAIL PROTECTED

RE: [PHP] Security of PHP code

2001-07-04 Thread Brian White
/07/2001 +0100, Jon Haworth wrote: Yes, I would have thought this would do it: if (strstr($file, /usr/local/apache/htdocs/) { show_source($file); } else { echo File must be in /usr/local/apache/htdocs!; } - Brian White Step Two Designs Pty Ltd - SGML, XML

RE: [PHP] Function Reqest/Question

2001-07-03 Thread Brian White
... break; } ? But putting it within while(0), you can simply break; from it... There may be better ways... Any other suggestions? - Brian White Step Two Designs Pty Ltd - SGML, XML HTML Consultancy Phone: +612-93197901 Web: http://www.steptwo.com.au/ Email: [EMAIL

Re: [PHP] configuring with gd for TTF

2001-07-03 Thread Brian White
Debian Linux Potato ) Regs Brian White At 08:50 3/07/2001 +0200, Ray Hilton wrote: I'm having all sorts of headaches trying to get TTF support in gd to work. I have compiled from scratch gd 1.8 with ttf support by way of freetype 2, this compiles fine. Then I compile php using the configure

RE: [PHP] configuring with gd for TTF

2001-07-03 Thread Brian White
compiles ago... And yet I still get: Warning: libgd was not built with TrueType font support in /home/ray/webroot/rayh/htdocs/gfx/image.php on line 48 Every single time... Ray Hilton - [EMAIL PROTECTED] http://rayh.co.uk -Original Message- From: Brian White [mailto:[EMAIL PROTECTED]] Sent

RE: [PHP] HTML book recommendation

2001-03-08 Thread Brian White
ever, I am not really in a position to judge how good it is to "learn" from. Regs Brian White This is a bit off-topic, but I'm curious what you PHP'ers would recommend as a good HTML book. I think I need to learn some stylesheet stuff and the tutorial I've got covers the basics, bu

Re: [PHP] anchor # not working?

2001-03-04 Thread Brian White
/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] ----- Brian White Step Two Designs Pty Ltd - SGML, XML HTML Consultancy Phone: +612-93197901 Web: http://www.steptwo.c

[PHP] PHP4 directives in httpd.conf not working

2001-02-25 Thread Brian White
quot;/my/phpinc/path" 3) php3_include_path "/my/phpinc/path" 4) php4_include_path "/my/phpinc/path" None of them have worked - I can't even restart Apache with them in place. "/my/phpinc/path" definitely exists. What am I doing wrong? Regs Brian Wh

[PHP] Why Arrays in Forms? ( Was Accessing variables from a form )

2001-02-21 Thread Brian White
this: ? ... echo 'input type="text" name="name['.$rownum.']"'; echo 'input type="text" name="phone['.$rownum.']"'; echo 'input type="text" name="fax['.$rownum.']"'; ... ? Regs Brian White - Brian White Step Two Design

Re: [PHP] image orientation/resizing images

2001-02-21 Thread Brian White
g src='include/dspimage.inc?product_id=123456' "; ? - Brian White Step Two Designs Pty Ltd - SGML, XML HTML Consultancy Phone: +612-93197901 Web: http://www.steptwo.com.au/ Email: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL

Re: [PHP] Why Arrays in Forms? ( Was Accessing variables from a form )

2001-02-21 Thread Brian White
input type=text name="myArray[]" input type=text name="myArray[]" input type=text name="myArray[]" PHP will create the array for you. Jason - Brian White Step Two Designs Pty Ltd - SGML, XML HTML Consultancy Phone: +612-93197901 Web: h

Re: [PHP] REgular expression....difficult is it?

2001-02-18 Thread Brian White
uivalent to /Wi/ would match "Winnie", "Wimpy" "Wilson" and "William", though not "Wendy" or "Wolf". Howz taht..? Does that help? - Brian White Step Two Designs Pty Ltd - SGML, XML HTML Consultancy Phone:

Re: [PHP] Indexing Engine

2001-02-07 Thread Brian White
I did some research and decided to go with ht://Dig - the other thing on the short list of free products was mnoGoSearch. Try this link for a list of available serach engines: http://www.searchtools.com/tools/tools.html Regs Brian White At 23:29 6/02/2001 -0500, Steve Werby wrote: "

[PHP] PHP is the VMS of CGI languages...( Was UN-Escaping text from a form submit? )

2001-02-07 Thread Brian White
you may well find the function you need. ----- Brian White Step Two Designs Pty Ltd - SGML, XML HTML Consultancy Phone: +612-93197901 Web: http://www.steptwo.com.au/ Email: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [E

Re: [PHP] feature that should be there and isn't

2001-01-30 Thread Brian White
it at "compile time" or at "function call" time. That could get really nasty if the functions had internal counters etc. Regs Brian White - Brian White Step Two Designs Pty Ltd - SGML, XML HTML Consultancy Phone: +612-93197901 Web: http://www.steptwo.com.au/ Em

Re: [PHP] Outputting a 2 digit number 10

2001-01-29 Thread Brian White
$daysinmonth = (date("t")); for ($i=00;$i$daysinmonth;$i++){ if ($i == $day) { echo("option SELECTED value=\"$i\"$i/option\n"); } else { echo("option value=\"$i\"$i/option\n"); }

Re: [PHP] VIRUS ON LIST?

2001-01-29 Thread Brian White
list administrators, e-mail: [EMAIL PROTECTED] ----- Brian White Step Two Designs Pty Ltd - SGML, XML HTML Consultancy Phone: +612-93197901 Web: http://www.steptwo.com.au/ Email: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-ma

[PHP] Re: XML Processing Instruction ( was ? PHP vs. ? )

2001-01-23 Thread Brian White
not going there ) ----- Brian White Step Two Designs Pty Ltd - SGML, XML HTML Consultancy http://www.steptwo.com.au/ [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [PHP] XML Parser is a bit strict

2001-01-18 Thread Brian White
ministrators, e-mail: [EMAIL PROTECTED] ----- Brian White Step Two Designs Pty Ltd - SGML, XML HTML Consultancy http://www.steptwo.com.au/ [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional comm

Re: [PHP] Re: XML, what is that supposed to do?

2001-01-16 Thread Brian White
tool. 2) What I understand about XSLT is a) It is a tree based processor so you have all the limitation of the "DOM" b) It is an absolute pig to write code in by hand but other than that it's fine . Regs Brian White - Brian Whit