[PHP] An idea

2001-06-19 Thread TunkeyMicket
something like this, as using IF blocks with PREG_MATCH become tedious and inefficient.  If you know of such a module or would know how to get started, please repsond with your ideas/input.   Chris "TunkeyMicket" Watford TunkeyMicket Productions www.tunkeymicket.com

[PHP] Template Engine

2001-06-20 Thread TunkeyMicket
setting it up I'd be willing to help.   Chris "TunkeyMicket" Watford ---- TunkeyMicket Productions www.tunkeymicket.com   Attached: mp_template_engine.php mp_template_engine.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

Re: [PHP] a DOT or a BLANK SPACE

2001-06-20 Thread TunkeyMicket
IMO that is a bad way to name them, why Num. and Home Address, if you explained the reason for needing these names maybe we could better help you. Chris "TunkeyMicket" Watford ---- TunkeyMicket Productions www.tunkeymicket.com - Original Message

Re: [PHP] Another Template Engine (code)

2001-06-21 Thread TunkeyMicket
accordingly.  You have given me a few ideas, and I think I might extend my engine a bit [no hash tables :P]   Chris "TunkeyMicket" Watford ---- TunkeyMicket Productions www.tunkeymicket.com   BTW: with the $uid system they never collide, just like file han

Re: [PHP] passing values to a javascript variable

2001-06-22 Thread TunkeyMicket
echo "" ."\n\tvar ndata = '".addslashes($data_data)."';" ."\n\tPutCode(ndata);" ."\n"; Try that. Chris "TunkeyMicket" Watford TunkeyMicket Productions www.tunkeymicket.com

Re: [PHP] email templates and str_replace

2001-06-20 Thread Chris \"TunkeyMicket\" Watford
7;,$newuserpass,$template[i]);    $template[i] = str_replace('##hostdomain##',$hostdomain,$template[i]);    $template[i] = str_replace('##sales##',$sales,$template[i]);   }   //Now the array $template contains our message, parsed and all //from here we can implode it into one

Re: [PHP] mailform loop

2001-06-20 Thread Chris \"TunkeyMicket\" Watford
Well, if you named all the fields in the HTML as follows you could use an array_walk function to do that. Then you could array_walk through $mailForm and addslashes/htmlspecialchars to it. Chris "TunkeyMicket" Watford ---- TunkeyMicket P

Re: [PHP] bad form...

2001-06-20 Thread Chris \"TunkeyMicket\" Watford
I personally use it all the time in my news script that powers my page, it is easier to use and it helps with security. Chris "TunkeyMicket" Watford ---- TunkeyMicket Productions www.tunkeymicket.com - Original Message - From: "Tom Carter&quo

Re: [PHP] Search engine php/mysql

2001-06-20 Thread Chris \"TunkeyMicket\" Watford
e end of the spyder list.  This is not an easy task.   Chris "TunkeyMicket" Watford ---- TunkeyMicket Productions www.tunkeymicket.com - Original Message - From: Mohamedou To: [EMAIL PROTECTED] Sent: Wednesday, June 20,

Re: [PHP] Problem starting session

2001-06-21 Thread Chris \"TunkeyMicket\" Watford
Make sure it is: \tmp in the ini file. That way you don't have to mess with a drive letter. - Original Message - From: "Jonathan Sharp" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, June 20, 2001 7:57 PM Subject: Re: [PHP] Problem starting session > Check your php.ini fi

Re: [PHP] Forum script

2001-06-21 Thread Chris \&quot;TunkeyMicket\" Watford
Timezones :) - Original Message - From: Morgan Curley To: [EMAIL PROTECTED] Sent: Wednesday, June 20, 2001 10:16 PM Subject: RE: [PHP] Forum script Is it just me or does anyone else get a lot of messages on this list with dates in the future ( note the date be

Re: [PHP] Forum script

2001-06-22 Thread Chris \&quot;TunkeyMicket\" Watford
zone is it September?At 02:49 AM 6/21/2001, Chris \"TunkeyMicket\" Watford wrote: Timezones :) - Original Message - From: Morgan Curley To: [EMAIL PROTECTED] Sent: Wednesday, June 20, 2001 10:16 PM Subject: RE: [PHP] Forum script

Re: [PHP] testing

2001-07-05 Thread Chris \&quot;TunkeyMicket\" Watford
Hi2u ReDucTor Chris "TunkeyMicket" Watford ---- TunkeyMicket Productions www.tunkeymicket.com - Original Message - From: "ReDucTor" <[EMAIL PROTECTED]> To: "McShen" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Se

Re: [PHP] testing

2001-07-05 Thread Chris \&quot;TunkeyMicket\" Watford
Was 100% done, now 70% done as a hard-drive crash set me back a bit... Chris "TunkeyMicket" Watford ---- TunkeyMicket Productions www.tunkeymicket.com - Original Message - From: "ReDucTor" <[EMAIL PROTECTED]> To: "Chris