[PHP] Announcement: Smarty template engine 2.6.4 released

2004-09-07 Thread Monte Ohrt
Hi, This is a bug fix and minor feature release. Have fun, -Monte Homepage: http://*smarty*.php.net/ ChangeLog: http://*smarty*.php.net/misc/NEWS Download: http://*smarty*.php.net/download.php -- P

[PHP] Announcement: Smarty template engine 2.6.0 released

2003-11-19 Thread Monte Ohrt
Hello! 2.6.0 has been released. There are numerous enhancements and fixes, take a look at the release notes for the details. Have fun! -Monte Homepage: http://smarty.php.net/ Release Notes: http://smarty.php.net/release_notes.php ChangeLog: http://smarty.php.net/misc/NEWS Download: http:/

[PHP] Announcement: Smarty 2.6.0 RC1 released

2003-08-14 Thread Monte Ohrt
Smarty 2.6.0 Release Candidate 1. Notable new features are cachable/non-cachable function attributes, default resource type configuration, simple math and many internal optimizations. See the ChangeLog (NEWS file) for full details. http://smarty.php.net/misc/NEWS http://smarty.php.net/ -- PHP G

Re: [PHP] PHP CLI question

2003-06-06 Thread Monte Ohrt
5 at 15:07, Mark wrote: > Wrap it in a shell script or batch file. > > Something like: > > REM ---Start cli.bat--- > ./cli/php.exe -c <> %1 %2 %3 %4 %5 %6 %7 %8 %9 > @exit > REM ---End cli.bat--- > > > --- Monte Ohrt <[EMAIL PROTECTED]> wrote: > &

Re: [PHP] PHP CLI question

2003-06-06 Thread Monte Ohrt
a ./php -h: > > -c | Look for php.ini file in this directory > > The "|" means "OR", so logic would dictate you can point > directly to the file with the -c option. > > > On Thu, 2003-06-05 at 10:35, Monte Ohrt wrote: > > Hi Cal, > > > >

Re: [PHP] PHP CLI question

2003-06-06 Thread Monte Ohrt
Evans > * http://www.christianperformer.com > * Stay plugged into your audience > * The measure of a programmer is not the number of lines of code he writes > but the number of lines he does not have to write. > * > > ----- Original Message - > From: "Monte Ohrt" <[EMAIL

[PHP] PHP CLI question

2003-06-06 Thread Monte Ohrt
Hi, A couple of questions: 1) Is there a way to make the CLI version of PHP ignore certain settings in the php.ini file? For instance, I don't want the ioncube accelerator invoked when using PHP from the command line. My current work around is to use two separate init files, php.ini and php-cli.i

[PHP] Announcement: Smarty template engine 2.4.2 released

2003-02-12 Thread Monte Ohrt
Hello! Smarty 2.4.2 now supports the ability to access objects within the templates, a long awaited feature. Two methods are available, one which closely follows Smartys existing syntax conventions, and another that follows more traditional object syntax for those familiar with PHP. The regex par

[PHP] PHPSESSID appended to URL on initial page load

2002-08-27 Thread Monte Ohrt
Hi, I have a few questions with php sessions, below is an example script: test_sess.php - local path When I initially load the file (session cookie gets set), the HREF link gets the PHPSESSID appended to it. If I reload the page (cookie already set) the appendage goes away. Ac

Re: [PHP] fgets question

2002-08-14 Thread Monte Ohrt
I don't have the option of editing the text files to work right. I want to be able to read an arbitrary text file line by line and process each one. So I suppose I could do this (?) DL Neil wrote: > Hi Monte, > > >>Hi, I have a question about fgets(), it seems to pick up an extra line >>at

Re: [PHP] fgets question

2002-08-14 Thread Monte Ohrt
extra) line since there is no newline character. I'm using PHP 4.2.2 on Solaris sparc. Monte Kevin Stone wrote: > The only explaination is that 'vi' is putting an extra line in there that > you're not seeing. > -Kevin > > ----- Original Message - >

[PHP] fgets question

2002-08-14 Thread Monte Ohrt
Hi, I have a question about fgets(), it seems to pick up an extra line at the end of a text file. example, I open a new file named "test" with the vi editor and make it 8 lines long like so (showing newlines as \n): 1\n 2\n 3\n 4\n 5\n 6\n 7\n 8\n I create this PHP program and run it: Here

[PHP] Announcement: Smarty template engine 2.2.0 released

2002-07-11 Thread Monte Ohrt
Most notable changes are support for multiple plugin directories, grouping cache and compile files, removed overlib library from distribution, many optimizations, enhancements and bug fixes. Enjoy! Homepage: http://smarty.php.net/ Release Notes: http://smarty.php.net/misc/RELEASE_NOTES Change

[PHP] Announcement: Smarty template engine 2.1.1 released

2002-05-07 Thread Monte Ohrt
This is a minor bug fix release. http://www.phpinsider.com/php/code/Smarty/ Version 2.1.1 - - added cycle function (Monte) - fixed bug with resource testing, and include_path (Monte) - fixed a bug with register_outputfilter function (Monte) Monte -- PHP General M

[PHP] Announcement: Smarty template engine 2.1.0 released

2002-04-30 Thread Monte Ohrt
ble to assign variables in pre/postfilter plugins. (Andrei) -- Monte Ohrt <[EMAIL PROTECTED]> Director of Technology, ispi Inc. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Announcement: Smarty template engine 2.0.1 available

2002-03-20 Thread Monte Ohrt
with $smarty.cookies and $smarty.server. (Andrei) - wordwrap and indent are missing from 2.0 release, now fixed. (Monte) - removed show_info_header and show_info_include variables. (Monte) -- Monte Ohrt <[EMAIL PROTECTED]> Director of Technology, ispi Inc. -- PHP General Mailing

[PHP] Announcement: Smarty template engine 2.0 available

2002-03-01 Thread Monte Ohrt
th using assigned vars with {include_php ...} filepath. (Monte) -- Monte Ohrt <[EMAIL PROTECTED]> Director of Technology, ispi Inc. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Announcement: Smarty template engine 1.5.2 available

2001-12-18 Thread Monte Ohrt
http://www.phpinsider.com/php/code/Smarty/ Version 1.5.2 - - added Smarty object as fifth argument for template resource functions (Monte) - fixed a bug with incorrectly combined cache and compile id in clear_cache(). (Andrei) - fixed bug in smarty_make_timesta

[PHP] hotscripts.com poll

2001-12-12 Thread Monte Ohrt
FYI, there is a poll on the frontpage of hotscripts.com to vote for your favorite scripting language, and PHP is in a commanding lead. interesting stats: http://www.hotscripts.com/polls/results.hsp Monte -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTE

[PHP] a piece of PHP history

2001-12-12 Thread Monte Ohrt
s_maxd=12&as_maxm=12&as_maxy=1995&rnum=2&selm=3r7pgp%24aa1%40ionews.io.org -- Monte Ohrt <[EMAIL PROTECTED]> http://www.ispi.net/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

[PHP] Announcement: Smarty template engine 1.5.1 available

2001-12-10 Thread Monte Ohrt
This is a critical bug fix release. If you use caching, you'll need to upgrade from 1.5.0. http://www.phpinsider.com/php/code/Smarty/ Version 1.5.1 - - removed error message from the generic _read_file() method, the caller should take care of that. (Andrei) - fixed a bu

[PHP] Announcement: Smarty template engine 1.5.0 available

2001-12-06 Thread Monte Ohrt
Several feature enhancements were made to this version, most notably the {foreach ...} command which is an alternative to {section ...} with an easier syntax for looping through a single array of values. Several functions were enhanced so that the output can be automatically assigned to a template

[PHP] Announcement: Smarty template engine 1.4.6 released

2001-11-01 Thread Monte Ohrt
from Anders Janson) - made html_options output xhtml compatible code. (Monte, Arnaud Limbourg) -- Monte Ohrt <[EMAIL PROTECTED]> http://www.ispi.net/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PRO

[PHP] Announcement: Smarty template engine 1.4.5 available

2001-09-21 Thread Monte Ohrt
Mostly bug fixes and minor improvements. Added compile id for separate compiled versions of the same script. The directory format and filename convention for the files in templates_c has changed, so you may want to remove all of the existing ones before you upgrade. Monte http://www.phpinsider.c

[PHP] Announcement: Smarty template engine 1.4.4 available

2001-07-16 Thread Monte Ohrt
in Config_File that would incorrectly booleanize values that weren't really booleans. (Andrei) -- Monte Ohrt <[EMAIL PROTECTED]> http://www.ispi.net/ -- 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]

[PHP] Announcement: Smarty 1.4.3 now available

2001-06-20 Thread Monte Ohrt
Smarty now has a built in debugging console, and security features for third party template editing, and many numerous fixes and enhancements. Let me know if there are any problems. Monte http://www.phpinsider.com/php/code/Smarty/ Version 1.4.3 - - added regex_replace modifie

[PHP] [annoucement] Smarty template engine 1.4.1 available

2001-05-16 Thread Monte Ohrt
A minor bug fix release. http://www.phpinsider.com/php/code/Smarty/ Version 1.4.1 - - fix LOCK_EX logic for all windows platforms (Monte) - fixed indexing by section properties with the new syntax. (Andrei) - updated Smarty to use absolute paths when requiring/including S

[PHP] Announcement: Smarty template engine 1.4.0 available

2001-05-07 Thread Monte Ohrt
There are many changes to this release, including runtime compilation of templates and the support for arbitrary template resources, such as multiple template directories or databases. Be sure to read the RELEASE_NOTES, especially if you are upgrading from a prior release. Monte http://www.phpin

[PHP] shared memory questions

2001-03-14 Thread Monte Ohrt
Are there any good examples of usage out there? The one that comes with shmop doesn't show a way to test if the shared memory segment exists before trying to create a new one (and how do I open an existing shared mem segment, not necessarily knowing its size?) I'm using Sparc Solaris 2.8, i

Re: [PHP] Sending "pretty" email

2001-03-10 Thread Monte Ohrt
> > Todd > > -- > Todd Cary > Ariste Software > [EMAIL PROTECTED] > > -- > 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,

Re: [PHP] Announcement: Smarty template engine 1.3.1 released (1.3.1pl1)

2001-03-08 Thread Monte Ohrt
1.3.1pl1 fixed a bug with a missing function _syntax_error. Monte Ohrt wrote: > > Homepage: > http://www.phpinsider.com/php/code/Smarty/ > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED

[PHP] Announcement: Smarty template engine 1.3.1 released

2001-03-07 Thread Monte Ohrt
Homepage: http://www.phpinsider.com/php/code/Smarty/ ChangeLog for 1.3.1: - document first, last, index_prev, index_next (Monte) - added 'first' and 'last' section properties. (Andrei) - split out compiling code to separate class for faster template execution time (Monte) -

[PHP] exclusive file locking under windows

2001-03-01 Thread Monte Ohrt
Is exclusive locking not supported under windows? It doesn't seem to be working: flock($fd, LOCK_EX); -- Monte Ohrt <[EMAIL PROTECTED]> http://www.ispi.net/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-m

[PHP] imagettfbbox and imagettftext

2001-02-23 Thread Monte Ohrt
I've gone through the manual and user notes on these functions, and they tend to be highly illogical ;-) The numbers don't coincide, the x/y values are negative when it seems they ought to be positive, etc. If someone has already figured this out, would you post a code snippet that will create an

[PHP] Annoucement: Smarty template engine 1.3.0 released

2001-02-22 Thread Monte Ohrt
ions custom function that allows passing associative arrays for values/output. (Andrei) - modifier arguments can now contain '|' and ':' characters inside quoted strings. (Andrei) -- Monte Ohrt <[EMAIL PROTECTED]> http://www.ispi.net/ -- PHP General Mailing Lis

Re: [PHP] splitting a class across separate files?

2001-02-08 Thread Monte Ohrt
> > } > > function two() > { > > } > } > ?> > > main_class.php > > include_once('rarley.php'); > > class main_class extends rarley_used > { > function three() > { > > } > > function four() > { > > } >

[PHP] splitting a class across separate files?

2001-02-08 Thread Monte Ohrt
I have a class with many functions. About 80% of these functions are rarely used, so I'd like to split them out to a separate file and include them only if a certain condition applies. This way the PHP compiling is kept to a minimum. How do I make the included functions members of the current clas

[PHP] Announcement: Smarty template engine 1.2.1 released

2001-01-29 Thread Monte Ohrt
Changes: - added ability to specify template and compile directory locations independently. - misc documentation updates & additions http://www.phpinsider.com/php/code/Smarty/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additio

[PHP] Announcement: Smarty template engine 1.2.0 released

2001-01-26 Thread Monte Ohrt
Check the ChangeLog for a list of changes. Smarty now has a mailing list for announcements and discussion. http://www.phpinsider.com/php/code/Smarty/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To

Re: [PHP] mktime() not allowing dates before 1970

2001-01-25 Thread Monte Ohrt
o unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > To contact the list administrators, e-mail: [EMAIL PROTECTED] -- Monte Ohrt <[EMAIL PROTECTED]> http://www.ispi.net/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail

Re: [PHP] Form data is not "remembered"

2001-01-24 Thread Monte Ohrt
. > > Thanks for any ideas, and have a very nice day. > > -- > 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] --

[PHP] Announcement: Smarty template engine 1.0b released

2001-01-22 Thread Monte Ohrt
minor bug fix and several documentation changes/additions. http://www.phpinsider.com/php/code/Smarty/ -- 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

Re: [PHP] Any good way ?

2001-01-19 Thread Monte Ohrt
** > ** > > Any help is appreciated very much. > > Thanks in adv. > > ~ Karthick > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands

Re: [PHP] Smarty bug fix 1.0a

2001-01-19 Thread Monte Ohrt
A bug was fixed that caused the templates to be recompiled every time. Monte Ohrt wrote: > > Release 1.0. Please welcome Smarty to the PHP template engine arena :-) > > Inventors: > Monte Ohrt > Andrei Zmievski > > http://www.phpinsider.com/php/code/Smarty/ -- PHP Ge

[PHP] Announcement: Smarty - the PHP compiling template engine

2001-01-18 Thread Monte Ohrt
Release 1.0. Please welcome Smarty to the PHP template engine arena :-) Inventors: Monte Ohrt Andrei Zmievski http://www.phpinsider.com/php/code/Smarty/ DESCRIPTION: What is Smarty? Smarty is a template engine for PHP. One of the unique aspects about Smarty that sets it apart

Re: [PHP] Perl regular expression bug

2001-01-17 Thread Monte Ohrt
-- Anonymous | > +-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-+ > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [E

Re: [PHP] regexps

2001-01-17 Thread Monte Ohrt
t; > For additional commands, e-mail: [EMAIL PROTECTED] > > To contact the list administrators, e-mail: [EMAIL PROTECTED] > > > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail:

Re: [PHP] string replace

2001-01-17 Thread Monte Ohrt
string? > > i.e.: > > $foo = "test.gif"; > > // strip past the .gif > > $foo = "test"; > > // again > > $foo2 = "test.jpeg"; > > // strip past the .jpeg > > $foo2 = "test"; > > Tait -- Monte Ohrt <[

Re: [PHP] regexps

2001-01-16 Thread Monte Ohrt
var2, $var3); > > tia.. and please reply directly. > > [EMAIL PROTECTED] > > -- > 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,

Re: [PHP] Sorting an array

2001-01-12 Thread Monte Ohrt
wherefurther] > $list[1][18] > $list[1][2] > $list[1][150] > > $list[2][sam] > $list[2][somewhereelse] > $list[2][15] > $list[2][3] > $list[2][150] > -- Random (non-anti-Microsoft) fortune > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscr

Re: [PHP] APC Alternative PHP Cache Release Announcement

2001-01-12 Thread Monte Ohrt
I've been trying to get this to compile on SPARC Solaris 2.7, and having troubles with the semaphore syntax. If anyone gets this to compile on Solaris, please post your patches! Thanks Michael Kimsal wrote: > > George Schlossnagle wrote: > > > I'd like to announce the release of the APC Altern

[PHP] APC - new cache on the block

2001-01-11 Thread Monte Ohrt
After the release of Afterburner cache from beware, there is now a new one to check out... APC - Alternative PHP Cache http://apc.communityconnect.com/ This one can work as a drop-in module, a bit handier than recompiling just to try it. -- PHP General Mailing List (http://www.php.net/) To un

Re: [PHP] Removing spaces from a string

2001-01-11 Thread Monte Ohrt
that there was a specific function for it. > > Thanx in advance, > Ray... > > -- > 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 administrato

[PHP] BIG site names using PHP?

2001-01-11 Thread Monte Ohrt
Can anyone give me a list of big named sites (or point me to a list) that use PHP? Basically, site names that marketers can recognize as "big names", or very well known. Thanks Monte -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional comma

Re: [PHP] How can I get a random number

2001-01-10 Thread Monte Ohrt
You can blow some ping pong balls around in an enclosure and pick one, that's pretty random :) For the next best thing to "random", you can use the rand() function in PHP. Brandon Orther wrote: > > How can I get a random number > > Thank you, > > >

Re: [PHP] MySQL SELECT performance suggestions

2001-01-10 Thread Monte Ohrt
You don't need to select all the data to get the number of rows. Try this: select count(*) as total from products where $product_query; Then use total instead of num_rows. Be sure the elements in your where clause are properly indexed. [EMAIL PROTECTED] wrote: > > Could someone suggest some op

Re: [PHP] is there a builtin php function for this ?

2001-01-10 Thread Monte Ohrt
gt; Mediawaveonline.com > > -- > 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] -- Monte Ohrt <[EMAIL PROTECTE