[PHP] Re: [binarycloud-dev] Re: [PHP] Re: Seeking comments: Horde or BinaryCloud

2002-05-02 Thread alex black
> What is the guestimate release date for r2? it depends on how much additional help we receive. the data i/o pipeline is functional and nearing completion our presentation tools are under development and I expect those to go pretty quickly there is some work left to do on the make system. and

[PHP] FW: AW: agh - Compile w/php

2002-03-15 Thread Alex Black
hi all, I received this from a guy at SAP regarding a SAPDB compile with php: As you might have guessed, I am still unable to compile --with-sapdb I've entered a bug report with all of the details: http://bugs.php.net/bug.php?id=16100 If anyone has successfully compiled SAPDB with PHP on any m

[PHP] SAPDB compile problem

2002-03-10 Thread Alex Black
hi all, Apologize if php-dev is inappropriate, but since this is a compile problem I thought it would be relevant. I have cc:d the sapdb-general list as they should be aware of these compile problems (and that is where I first asked for help). I would like to construct a guide for people using SA

[PHP] Re: [PHP-DEV] SAP DB

2002-02-25 Thread Alex Black
> SAP DB is just another name for AdabasD from a programmers point of view- Ah, cool. > http://www.php.net/manual/en/ref.odbc.php Well, yes. > " In addition to normal ODBC support, the Unified ODBC functions in PHP allow > you to access several databases that have borrowed the semantics of th

[PHP] SAP DB

2002-02-24 Thread alex black
hi all, One of the binarycloud developers just told me to have a look at the SAP OS database, SAPDB. I'm going to test it tomorrow to see if it actually does what it claims, but this _looks_ like serious OS competition to Oracle, and if it is I would very much like to use it for my next project.

[PHP] Re: [binarycloud-dev] Re: [PEAR-DEV] Re: [metabase-dev] RE:[PEAR-DEV] New Metabase Aniversary release

2002-01-25 Thread Alex Black
> I'm currently writing "The PEAR Manifest", a document that clearly > defines PEAR once and for all. I'll post the first draft on pear-dev > here when it's done, but to answer your question, there has been talk > about a "core" set of packages for a while. In the manifest these are > called PFC

[PHP] Re: [binarycloud-dev] Re: [PEAR-DEV] Re: [metabase-dev] RE:[PEAR-DEV] New Metabase Aniversary release

2002-01-22 Thread Alex Black
> * Manuel Lemos wrote: >> I think that the greatest point of the merger is to have one and only >> one abstraction layer in PEAR, > > I think consensus was that there shouldn't be "the one and > only XYZ" PEAR class but "more than one XYZ" PEAR class (like > IT[X] and the PEAR rewrite of PHPLib'

[PHP] Re: [binarycloud-dev] Re: [PEAR-DEV] New Metabase Aniversaryrelease

2002-01-22 Thread Alex Black
>> I will first focus on the functional aspects, then step by step making >> the necessary changes to make that final code compliant to the PEAR >> coding standard. > This makes no sense for PEAR. > > I propose this way: > 1. pearize Metabase (functionNames, using PEAR_Error) > 2. commit the stuf

[PHP] ./configure problem with 4.0.6

2001-07-27 Thread Alex Black
php.install doesn't seem to be too active, I'll try here :) hi all, I'm trying to configure a fresh 4.0.6 cgi, and I'm getting this message after a clean configure process: ++ | *** ATTENTION ***

Re: [PHP] execution time

2001-07-27 Thread Alex Black
> I have a php script that runs every 30 minutes. It takes the contents of a > directory (which is constantly being updated) and dumps them into a mysql > database. Recently this directory has become increasingly large and the php > script only updates a portion of it before it stops execution. >

[PHP] Re: Speed of loding PHP pages

2001-07-11 Thread Alex Black
that has nothing to do with php. it's that netscape is crap at rendering large tables, whereas IE is amazingly good. :) -a in article [EMAIL PROTECTED], Don at [EMAIL PROTECTED] wrote on 7/11/01 9:47 AM: > Hi, > > Has anyone tries any test loading PHP pages into IE 5.x and Netscape > 4.7x? >

[PHP] Re: XSLT compiler for PHP

2001-07-11 Thread Alex Black
I know that someone is working on an xslt->c compiler, which you could construct hooks in php for. but I know of no xslt->php compiler (though that would be groovy, bigtime groovy) :) _a in article [EMAIL PROTECTED], Steven Roussey at [EMAIL PROTECTED] wrote on 7/11/01 10:25 AM: > Hi all, >

[PHP] Re: Rename a File?

2001-07-11 Thread Alex Black
in article [EMAIL PROTECTED], Randy Johnson at [EMAIL PROTECTED] wrote on 7/13/01 10:53 AM: > How do I rename a file on Linux in PHP? > > Thanks > > Randy $err = `mv moo.php foo.php` _a -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additio

Re: [PHP] array sort

2001-05-22 Thread Alex Black
> on a whim, I tried > uasort($this->modules[$group], '$this->_ary_sort()'); hi all, for those of you interested: uasort($this->modules[$group], array(&$this,'_ary_sort')); note the &$this... this is a very good point, if you use $this, a new instance of your class is created just to han

Re: [PHP] array sort

2001-05-21 Thread Alex Black
> Use 'uasort()': > > function my_hash_sort( $a, $b) { > $a = $a['num']; > $b = $b['num']; > if( $a == $b) return 0; > return ( $a > $b) ? -1 : 1; > } > > uasort( $test, 'my_hash_sort'); hoping this wouldn't be the answer, thanks :) another for you: I've now coded my function, and the orderin

Re: [PHP] PHP & URL Question - omitting index.php

2001-05-21 Thread Alex Black
> http://www.blahbalh.com/directory/?arg1=arg1&arg2=arg2 > > In this case the "directory" would have an index.php file that would react > based on the query string, but as you can see I'm not including the > index.php in the link. > > Is this o.k. or will some browsers get confused? I've never

[PHP] array sort

2001-05-21 Thread Alex Black
hi all, I'm trying to do an array sort that takes: $test = array( array( // this is $test[0]. string => "this is the second", num => 2 ), array( // this is $test[1]. string=> "this is the first", num => 1 ),

Re: [PHP] get all defined constants?

2001-05-20 Thread Alex Black
> phpinfo() allways has a list of variables. but of course every variable is > allways in $GLOBALS too. including constants? I just print_r'd globals to refresh my memory, and found what I was expecting: none of my constants. ? _alex -- PHP General Mailing List (http://www.php.net/) To unsu

[PHP] get all defined constants?

2001-05-19 Thread Alex Black
hi all, can't find a function for getting a complete list of defined constants. this exists for classes, I think it must for constants even if it is undocumented. I'm writing a bit of debug code, and I'd rather not build a bunch of implicit knowledge about my set of constants into the code - I'd

Re: [PHP] Compiler? (Was Re: [PHP] PHP site on CD-ROM)

2001-01-26 Thread Alex Black
Does the encoder have support for multiple file encoded "bundles" ? i.e. If there's an include statement in a file I encode, can I specify the included file should be wrapped in to the same file? Obviously that's a totally simplistic example, but you get the idea :) _alex -- PHP General Mail

Re: [PHP] Best way to describe Doc as HTML

2001-01-26 Thread Alex Black
> print "Content-type: text/html\n\n"; That's the "perl" method, because perl doesn't have any native functions for adding stuff to the response header, so you just print it :) > header( "Content-type: test/html" ); The above is correct. _alex -- PHP General Mailing List (http:

Re: [PHP] setting register_globals off

2001-01-26 Thread Alex Black
Sort of along these lines, has anyone done tests to see if you can 100% ditch php.ini, and run all the php config info in httpd.conf? I'd much rather do it that way, I'd only have to maintain 1 file... _a On 1/25/01 1:36 AM, in article Pine.BSF.4.10.10101250910530.26823-10@localhost, "Phi

Re: [PHP] Cookie semi-security.

2001-01-24 Thread Alex Black
well, first off, you should md5 the cookie value or something to avoid having the value correlate directly with your system values. I like to use at least one level of "shift" in apps, to make sure that user input is never taken verbatim. -alex -- Alex Black, Head Monkey [EMAIL

Re: [PHP] Turning off scrollbar

2001-01-24 Thread Alex Black
you cannot independently control the bottom scrollbar. if you want to get rid of it, find the problem in your table code, or if you layout is just too wide, make it less-wide :) I wish I could control that too, but nay. -alex -- Alex Black, Head Monkey [EMAIL PROTECTED] The Turing Studio

Re: [PHP] easy question.

2001-01-24 Thread Alex Black
if(($fname) && ($lname) && ($email)) { echo "test"; } > > Is there an easier way to write the IF line? if (isset($fname) && isset($lname) && isset($email)) { echo "test"; } I believe the parens in your code don't do anything. anyway, best o' my knowledge that's the way to do it. "_) -a

Re: [PHP] Integration of PHP with MS Outlook?

2001-01-24 Thread Alex Black
#x27;m probably wrong, and outlook uses some terrible internal db that's hyper proprietary, which doesn't accept connections :) _alex -- Alex Black, Head Monkey [EMAIL PROTECTED] The Turing Studio, Inc. http://www.turingstudio.com vox+510.666.0074 fax+510.666.0093 Saul Zaentz Film Cente

Re: [PHP] SMTP interface in php?

2001-01-24 Thread Alex Black
yes, manuel lemos has a fantastic one at phpclasses.upperdesign.com I've got it running a couple places, it works _really_ well :) but I've never done mass mailing with it. -alex -- Alex Black, Head Monkey [EMAIL PROTECTED] The Turing Studio, Inc. http://www.turingstudi

Re: [PHP] building a language pack

2001-01-24 Thread Alex Black
he strings out, and to add new ones. just assign an id, like: 12 hello, world bonjour, monde or something :) _alex -- Alex Black, Head Monkey [EMAIL PROTECTED] The Turing Studio, Inc. http://www.turingstudio.com vox+510.666.0074 fax+510.666.0093 Saul Za

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

2001-01-24 Thread Alex Black
> If the form page is not being cached, it would probably get reloaded > when they clicked back, thus losing the data. > > I'd suggest redrawing the form with the fields populated and with the > appropriate error messages. Then you don't need to mess with caches or > sessions for that matter, and

Re: [PHP] php.ini

2001-01-23 Thread Alex Black
locate php.ini in windoze, the windows key+f, type in php.ini _a -- Alex Black, Head Monkey [EMAIL PROTECTED] The Turing Studio, Inc. http://www.turingstudio.com vox+510.666.0074 fax+510.666.0093 Saul Zaentz Film Center 2600 Tenth St Suite 433 Berkeley, CA 94710-2522 > From: [EM

Re: [PHP] zend ide & debugger

2001-01-23 Thread Alex Black
e+debugger? >> >> before I slap down $800, I'd like to know if people who have think it's >> groovy.. >> >> :) >> >> _alex >> >> >> -- >> Alex Black, Head Monkey >> [EMAIL PROTECTED] >> >> The T

[PHP] zend ide & debugger

2001-01-23 Thread Alex Black
ola all, has anyone used the zend ide+debugger? before I slap down $800, I'd like to know if people who have think it's groovy.. :) _alex -- Alex Black, Head Monkey [EMAIL PROTECTED] The Turing Studio, Inc. http://www.turingstudio.com vox+510.666.0074 fax+510.666.0093 Saul Z

Re: [PHP] Sending a mail in HTML format

2001-01-23 Thread Alex Black
that html mail class is fantastical :) _alex -- Alex Black, Head Monkey [EMAIL PROTECTED] The Turing Studio, Inc. http://www.turingstudio.com vox+510.666.0074 fax+510.666.0093 Saul Zaentz Film Center 2600 Tenth St Suite 433 Berkeley, CA 94710-2522 > From: [EMAIL PROTECTED] (&q

Re: [PHP] 404 handler

2001-01-22 Thread Alex Black
I have note tested this, but I think you can probably get this in before the apache header info: header("HTTP/1.0 200 OK"); I'll go test that, I've also got a 404 handler, and wouldn't mind never having 404s reported to IE :) -alex -- Alex Black, Head Monkey [EMA

Re: [PHP] picture quality question

2001-01-22 Thread Alex Black
older versions of AOL use a custom 256 palette to support the AOL gui. this has nothing to do with php. -alex -- Alex Black, Head Monkey [EMAIL PROTECTED] The Turing Studio, Inc. http://www.turingstudio.com vox+510.666.0074 fax+510.666.0093 Saul Zaentz Film Center 2600 Tenth St Suite 433

Re: [PHP] solutions to disadvantages when register_globals is off

2001-01-21 Thread Alex Black
> include $HTTP_POST_VARS['file']; > ... > ?> > > really isn't any safer. People won't be able to put file=/etc/passwd > right in the URL, but they can still trivially fake up a form post and > inject whatever value for 'file' into the POST data. > > It all boils down to verifying any and all

Re: [PHP] RE: Ethics question...

2001-01-20 Thread Alex Black
>>> is there any benchmarks or proof that I should host a high traffic site on a >>> FREEBSD/APACHE instead of a redhat Linux/Apache server? I have _heard_ that linux is great under medium load, but does not deal as well with super-high loads as well as freeBSD. that has not stopped me from using

Re: [PHP] is it possible to communicate javascript and php?

2001-01-20 Thread Alex Black
. _alex -- Alex Black, Head Monkey [EMAIL PROTECTED] The Turing Studio, Inc. http://www.turingstudio.com vox+510.666.0074 fax+510.666.0093 Saul Zaentz Film Center 2600 Tenth St Suite 433 Berkeley, CA 94710-2522 > From: [EMAIL PROTECTED] (Evelio Martinez) > Newsgroups: php.general >

Re: [PHP] Profanity Filter

2001-01-20 Thread Alex Black
hey, does anyone have a big compiled list? like a profanity library? maybe even a multi-lingual one! hey, it would be fun to make :) _alex -- Alex Black, Head Monkey [EMAIL PROTECTED] The Turing Studio, Inc. http://www.turingstudio.com vox+510.666.0074 fax+510.666.0093 Saul Zaentz Film

Re: [PHP] question (as if anything else would be in an email tothe list...)

2001-01-18 Thread Alex Black
y be associated with the element, not the element. -alex -- Alex Black, Head Monkey [EMAIL PROTECTED] The Turing Studio, Inc. http://www.turingstudio.com vox+510.666.0074 fax+510.666.0093 Saul Zaentz Film Center 2600 Tenth St Suite 433 Berkeley, CA 94710-2522 > From: [EMAIL PROTECT

Re: [PHP] Forms!

2001-01-18 Thread Alex Black
Unfortunately, that makes it a little weird to distribute as a free product, and has all sorts of yucky legal implications (or inconvenience) :) _alex -- Alex Black, Head Monkey [EMAIL PROTECTED] The Turing Studio, Inc. http://www.turingstudio.com vox+510.666.0074 fax+510.666.0093 Saul

Re: [PHP]

2001-01-18 Thread Alex Black
xml problems? _what_ xml problems? _alex -- Alex Black, Head Monkey [EMAIL PROTECTED] The Turing Studio, Inc. http://www.turingstudio.com vox+510.666.0074 fax+510.666.0093 Saul Zaentz Film Center 2600 Tenth St Suite 433 Berkeley, CA 94710-2522 > From: [EMAIL PROTECTED] (Teodor Cimpo

Re: [PHP] How to avoid submitting twice?

2001-01-18 Thread Alex Black
1: register a ver in the session or 2: register the event in the DB -a -- Alex Black, Head Monkey [EMAIL PROTECTED] The Turing Studio, Inc. http://www.turingstudio.com vox+510.666.0074 fax+510.666.0093 Saul Zaentz Film Center 2600 Tenth St Suite 433 Berkeley, CA 94710-2522 > F

Re: [PHP] < Levels of Access >

2001-01-18 Thread Alex Black
n access: -function 1 -function 2 etc (ver long list :) _alex -- Alex Black, Head Monkey [EMAIL PROTECTED] The Turing Studio, Inc. http://www.turingstudio.com vox+510.666.0074 fax+510.666.0093 Saul Zaentz Film Center 2600 Tenth St Suite 433 Berkeley, CA 94710-2522 > From: [EM

Re: [PHP] Forms!

2001-01-18 Thread Alex Black
you'd need a java applet to do that... I actually had one made, but you can't get text in on the clipboard because java can't get access to system resources, which of course makes it useless. :) -- Alex Black, Head Monkey [EMAIL PROTECTED] The Turing Studio, Inc. http://www.t

Re: [PHP] how do i hide my .inc files in apache??

2001-01-17 Thread Alex Black
move them out of your apache docroot. /usr/local/apache/htdocs/blah.php includes /usr/local/apache/include/hoo.inc _a -- Alex Black, Head Monkey [EMAIL PROTECTED] The Turing Studio, Inc. http://www.turingstudio.com vox+510.666.0074 fax+510.666.0093 Saul Zaentz Film Center 2600 Tenth St

Re: [PHP] Merging PHPLIB into PEAR

2001-01-17 Thread Alex Black
what are the plans in PEAR for dependencies on the pear components? for example, I would like to be able to use other pear libs in binarycloud without running into all sorts of conflicts, especially re: DB abstraction etc. best, _alex -- Alex Black, Head Monkey [EMAIL PROTECTED] The Turing

Re: [PHP] error message handling

2001-01-17 Thread Alex Black
> You probably want to suppress the error message with an @ symbol. Try > putting an "@" before the function calls that give you errors. you want to avoid doing that, I recommend properly handling the error. > $x = @php_function_here(); > ?> > > This suppresses the error function. Many funct

Re: [PHP] Template parser

2001-01-16 Thread Alex Black
you can do that in .htaccess or httpd.conf with the apache rewrite engine. _alex -- Alex Black, Head Monkey [EMAIL PROTECTED] The Turing Studio, Inc. http://www.turingstudio.com vox+510.666.0074 fax+510.666.0093 Saul Zaentz Film Center 2600 Tenth St Suite 433 Berkeley, CA 94710-2522

Re: [PHP] RedHat+Apache+php+MSSQL

2001-01-16 Thread Alex Black
dude, I installed RH7 _nightmare_ so I promptly uninstalled it, and am happily running 6.2 I would advise convincing whoever told you to do that out of doing that :) I would recommend waiting until oracle runs on redhat 7.(x) - that's a good litmus test. _alex -- Alex Black, Head M

Re: [PHP] Macromedia and Allaire (cold fusion) have agreed tomerge.

2001-01-16 Thread Alex Black
aw, crap. I never liked allaire... but I did kinda like macromedia. (giant-toilet-flushing-sound) -a -- Alex Black, Head Monkey [EMAIL PROTECTED] The Turing Studio, Inc. http://www.turingstudio.com vox+510.666.0074 fax+510.666.0093 Saul Zaentz Film Center 2600 Tenth St Suite 433 Berkeley

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

2001-01-16 Thread Alex Black
> First when most people say "the internet" now, they pretty much mean > "the web" and e-mail. When people say "the web" they mean HTTP and HTML > (with a little SSL thrown in for e-commerce). HTTP is the transport protocol > (how it is delivered) and HTML is the markup language (the message). XML

Re: [PHP] Help! Oracle...

2001-01-16 Thread Alex Black
I have a vague memory of ORA-12545 being a database not available error. but go by the oracle errors, they are usually pretty informative. -a -- Alex Black, Head Monkey [EMAIL PROTECTED] The Turing Studio, Inc. http://www.turingstudio.com vox+510.666.0074 fax+510.666.0093 Saul Zaentz Film

Re: [PHP] mixing HTML and PHP code

2001-01-15 Thread Alex Black
>> the horse is back from the dead! > >huh? inside joke. > Why? If nested tables can do the work, i won't bother learning how layers > work... um, I mean in your application design, not your html. >> I don't like to do database connections when I've already output markup, >> what if something

Re: [PHP] Regex for telephone number

2001-01-15 Thread Alex Black
\)\-\. ]/", $var)){ return TRUE; }else{ set_stringtypes_error(throw_error("lib_string_types_109", $var)); } break; works good for us. that's from the stringtypes lib in binarycloud. we're going to convert all of that stuff to be stored as rules in XML...

Re: [PHP] Perl-like DBI and generic SQL

2001-01-15 Thread Alex Black
have a look at binarycloud.com. _a -- Alex Black, Head Monkey [EMAIL PROTECTED] The Turing Studio, Inc. http://www.turingstudio.com vox+510.666.0074 fax+510.666.0093 Saul Zaentz Film Center 2600 Tenth St Suite 433 Berkeley, CA 94710-2522 > From: [EMAIL PROTECTED] (Michael Kimsal) > Newsgroup

Re: [PHP] load balancing with php/apache?

2001-01-15 Thread Alex Black
pgrades without worrying about the > impact on the visitors. > > Am I missing something? Nope, not a thing. That is a consequence of the stateless-but-not-quite model. In my case, it's fine. In other cases, it certainly is not :) _alex > > Alex Black wrote: > >&g

Re: [PHP] DocBook Editors?

2001-01-14 Thread Alex Black
using something like Word. Well, word is a terrible example being a terrible app, especially for structured content. Nothing? No options? No SGML editors out there with a tag catalog, etc? and yes, WYSINWYG = what you see is _never_ what you get _a > -Rasmus > > On Sun, 14 Jan 2001,

Re: [PHP] mixing HTML and PHP code

2001-01-14 Thread Alex Black
> There are things that can be done to speed things up though...cacheing files > at the page level, or even cacheing templated components at the sub-page > level where possible can overcome much of the overhead of using templates. but that doesn't do you any good on pages that are getting results

Re: [PHP] load balancing with php/apache?

2001-01-14 Thread Alex Black
check out http://www.coyotepoint.com/ only $4000! does 512 clients! can even stick clients through the famous AOHell proxies! cheap! :) -- Alex Black, Head Monkey [EMAIL PROTECTED] The Turing Studio, Inc. http://www.turingstudio.com vox+510.666.0074 fax+510.666.0093 Saul Zaentz Film

Re: [PHP] Use

2001-01-14 Thread Alex Black
can people give me opinions as to why http://www.turingstudio.com vox+510.666.0074 fax+510.666.0093 Saul Zaentz Film Center 2600 Tenth St Suite 433 Berkeley, CA 94710-2522 > From: [EMAIL PROTECTED] (Philip Olson) > Newsgroups: php.general > Date: 13 Jan 2001 12:18:08 -0800 > Subject: Re: [PH

Re: [PHP] load balancing with php/apache?

2001-01-14 Thread Alex Black
> Whoever said NFS is slow hasn't used a NetApp amen brother. -a -- 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]

Re: [PHP] load balancing with php/apache?

2001-01-14 Thread Alex Black
with a particular server intelligently, so we can be ever-so-slightly-lazy about that. do you _like_ that system? (that isn't a challenge, it's real interest) _a -- Alex Black, Head Monkey [EMAIL PROTECTED] The Turing Studio, Inc. http://www.turingstudio.com vox+510.666.0074 fax+510.666.0093

Re: [PHP] mixing HTML and PHP code

2001-01-14 Thread Alex Black
the horse is back from the dead! I can't resist: > From: [EMAIL PROTECTED] ("Iván Sánchez Ortega \"MR\"") > Newsgroups: php.general > Date: 13 Jan 2001 14:17:35 -0800 > Subject: Re: [PHP] mixing HTML and PHP code > > "Alex Black&qu

Re: [PHP] Templates

2001-01-14 Thread Alex Black
well, I suppose it could, but it's pretty weird... why would you want to directly hook up presentation w/sql queries ? :) -a -- Alex Black, Head Monkey [EMAIL PROTECTED] The Turing Studio, Inc. http://www.turingstudio.com vox+510.666.0074 fax+510.666.0093 Saul Zaentz Film Center 2600

Re: [PHP] logging page views, which method is better????

2001-01-14 Thread Alex Black
apache logging and going to the DB. problem is this puts an annoying amount of stress on the production DB, so there you have it, the dilemma :) -a -- Alex Black, Head Monkey [EMAIL PROTECTED] The Turing Studio, Inc. http://www.turingstudio.com vox+510.666.0074 fax+510.666.0093 Saul Zaentz Film

Re: [PHP] PHP vs JSP

2001-01-14 Thread Alex Black
sly one of those dilettantes that things CFML is the holy grail :P anyway, that article is wrong, _except_ the part about JSP: -slow -extremely time consuming -friggin annoying :) I've worked on a couple of projects with JSP, and decided to use PHP to build binarycloud. 'nuff said :) _a

[PHP] DocBook Editors?

2001-01-14 Thread Alex Black
ocBook has gained so much support given the apparent lack of good tools for authoring. ? _alex -- Alex Black, Head Monkey [EMAIL PROTECTED] The Turing Studio, Inc. http://www.turingstudio.com vox+510.666.0074 fax+510.666.0093 Saul Zaentz Film Center 2600 Tenth St Suite 433 Berkeley, CA

Re: [PHP] Special Characters

2001-01-12 Thread Alex Black
eh? check out htmlspecialchars() (I think that's right, from memory) it basically lets you fuggeddaboutit. -a -- Alex Black, Head Monkey [EMAIL PROTECTED] The Turing Studio, Inc. http://www.turingstudio.com vox+510.666.0074 fax+510.666.0093 Saul Zaentz Film Center 2600 Tenth St Suit

Re: [PHP] apple-macintosh

2001-01-12 Thread Alex Black
pardon. sorry original poster. rhapsody... I had completely forgotten it exists :) -a -- Alex Black, Head Monkey [EMAIL PROTECTED] The Turing Studio, Inc. http://www.turingstudio.com vox+510.666.0074 fax+510.666.0093 Saul Zaentz Film Center 2600 Tenth St Suite 433 Berkeley, CA 94710-2522

Re: [PHP] Script execution Speed

2001-01-12 Thread Alex Black
until zend cache, but it turns out to be rippin' fast, so I'd say put stuff in different files, because it's easy to use. btw, if you're building something big, have a look at binarycloud.com, it will save you a lot of time. -alex -- Alex Black, Head Monkey [EMAIL PROTECTED]

Re: [PHP] mixing HTML and PHP code

2001-01-12 Thread Alex Black
> > {:each:output} > > {output}{more_output} > > {:next:more_output} > {:end} > > > Even a pot-smoking mac-using hippie web designer can understand that. :-) > And it's readable in Dreamweaver or GoLive or any of those visual HTML > tools. For Dreamweaver I added a little custom definition t

Re: [PHP] mixing HTML and PHP code

2001-01-12 Thread Alex Black
> connect_to_database(); > parse_query(); > execute_query(); > > echo ""; > > while (fetch_row_from_query()) > { > $output = data_from_fetched_row(); > $more_output = more_data_from_fetched_row(); > > echo " $output $more_output "; > > } > echo ""; > ?> Well, this may be a bit specific, but

Re: [PHP] on style (was mixing PHP and HTML code)

2001-01-12 Thread Alex Black
in my mouth and have that somewhere in the binarycloud code standard... maybe I should go look :) _alex -- Alex Black, Head Monkey [EMAIL PROTECTED] The Turing Studio, Inc. http://www.turingstudio.com vox+510.666.0074 fax+510.666.0093 Saul Zaentz Film Center 2600 Tenth St Suite 433 Berkeley, CA 9471

Re: [PHP] mixing HTML and PHP code

2001-01-12 Thread Alex Black
> That I prefer to call it "investment" instead of overhead because it has > given us a system we vastly prefer. hehe, I like that. I still disagree, but that was good :) >> by all means use whatever techniques you like in-house, but that would be >> completely useless to someone in the "outside

Re: [PHP] mixing HTML and PHP code

2001-01-12 Thread Alex Black
yeah, but it's good to agree on something so that people can use each other's code... -- Alex Black, Head Monkey [EMAIL PROTECTED] The Turing Studio, Inc. http://www.turingstudio.com vox+510.666.0074 fax+510.666.0093 Saul Zaentz Film Center 2600 Tenth St Suite 433 Berkeley, CA

Re: [PHP] mixing HTML and PHP code

2001-01-12 Thread Alex Black
>> and the problem with that, is you're not paring tons of html through a >> search-replace function, which also created unnecessary overheead, and > > You have a point here. Template-systems are slow. yeppers... that's why I didn't implement one of those keyword things in binarycloud. ergh. >

Re: [PHP] mixing HTML and PHP code

2001-01-12 Thread Alex Black
> or more like : > > > > > Name : > $name = 'johnny'; > echo $name; ?> > > > Title : > $title = 'smith'; > echo $title; ?> > > > yes, uhhzakkly :) > > --- > Yeah, there are more important things in life than money, but they won't go > out with

Re: [PHP] mixing HTML and PHP code

2001-01-12 Thread Alex Black
nts : > > Best Practices: PHP Coding Style : > http://phpbuilder.com/columns/tim20010101.php3 > > Smart Architectures in PHP : > http://phpbuilder.com/columns/tim20001010.php3 > > A few humble thoughts. > > Happily yours, >

Re: [PHP] mixing HTML and PHP code

2001-01-12 Thread Alex Black
don't mix logic with markup" much too far: is really not that much harder to write. html people can ignore it, php can find their code, and those that know both can reap the benefits. what about loops? etc... you start building your own little template language constructs, which

Re: [PHP] mixing HTML and PHP code

2001-01-12 Thread Alex Black
00%', '', BLACK); > tr('top'); td(); image('fire.jpg'); x('td'); x('tr'); > x('table'); > > x('body'); > x('html'); -- Alex Black, Head Monkey [EMAIL PROTECTED] The Turing Studio, Inc. http://www

Re: [PHP]

2001-01-11 Thread Alex Black
hi phillip, I've been teetering back and fourth on that issue with binarycloud: I _love_ using as opposed to the more compatible: the first _feels_ like a key, the latter does not :) great for html templates. _alex -- Alex Black, Head Monkey [EMAIL PROTECTED] The Turing Studio

Re: [PHP] mixing HTML and PHP code

2001-01-11 Thread Alex Black
dn't have said it better :) _alex -- Alex Black, Head Monkey [EMAIL PROTECTED] The Turing Studio, Inc. http://www.turingstudio.com vox+510.666.0074 fax+510.666.0093 Saul Zaentz Film Center 2600 Tenth St Suite 433 Berkeley, CA 94710-2522 -- PHP General Mailing List (http://www.php

Re: [PHP] mixing HTML and PHP code

2001-01-11 Thread Alex Black
ion, the better. That includes facilitating quick changes to all of the markup associated with your application. echoing large chunks of that markup does not achieve the latter. best, _alex -- Alex Black, Head Monkey [EMAIL PROTECTED] The Turing Studio, Inc. http://www.turingstudio.com vox+510.6

Re: [PHP] includes

2001-01-11 Thread Alex Black
esn't hurt. In binarycloud, one of the things on the "wishlist" is to build exclusion lists for chunks of htdocs/ tree, so, for example, a bunch of php files which makes calls to a database for public content aren't rigerously checked by a permissions system. best, -alex --

Re: [PHP] mixing HTML and PHP code

2001-01-11 Thread Alex Black
> code snip from phorum > > : () > : > > // > > echo "$lAuthor: $author ($host)\n"; > echo "$lDate: $datestamp\n"; > ?> well, the first example is just improperly structured code. () or: echo "\n"; echo " \n"; echo " \n"; echo "$lAuthor: $author ($host) \n"; echo " \n"; ec

Re: [PHP] mixing HTML and PHP code

2001-01-11 Thread Alex Black
> That's pretty ugly. > > echo ""; that isn't html anymore, though. even though IE and NS may be forgiving, That's a bit better. > This is even better still: > > echo ""; > > Now, I can see the PHP variable used in there a lot easier than I > could before. Syntax highlighting would bring it

[PHP] unsubscribe null@terra.com.br

2001-01-11 Thread Alex Black
his mailbox is full, I'm getting spam'd by his mailserver :) -alex -- Alex Black, Head Monkey [EMAIL PROTECTED] The Turing Studio, Inc. http://www.turingstudio.com vox+510.666.0074 fax+510.666.0093 Saul Zaentz Film Center 2600 Tenth St Suite 433 Berkeley, CA 94710-2522 -- P

Re: [PHP] Function -> Sending URL's

2001-01-11 Thread Alex Black
u need double quotes for the $company to be eval'd also, $name is defined within a function, which means you don't have access to it from the "outside world" can you give a little more detail? -alex -- Alex Black, Head Monkey [EMAIL PROTECTED] The Turing Studio, Inc. http://w

Re: [PHP] number of users currently on web

2001-01-11 Thread Alex Black
yes, use binarycloud. (binarycloud.com) select count(*) from bc_logged_in; :) _alex -- Alex Black, Head Monkey [EMAIL PROTECTED] The Turing Studio, Inc. http://www.turingstudio.com vox+510.666.0074 fax+510.666.0093 Saul Zaentz Film Center 2600 Tenth St Suite 433 Berkeley, CA 94710-2522

Re: [PHP] Netscape does not show all the variables

2001-01-11 Thread Alex Black
set a cookie. -alex -- Alex Black, Head Monkey [EMAIL PROTECTED] The Turing Studio, Inc. http://www.turingstudio.com vox+510.666.0074 fax+510.666.0093 Saul Zaentz Film Center 2600 Tenth St Suite 433 Berkeley, CA 94710-2522 > From: [EMAIL PROTECTED] (Cynic) > Newsgroups: php.general >

Re: [PHP] running scripts

2001-01-11 Thread Alex Black
probably a better idea to spawn a CGI version of your email sending script than to run it from the client... that means you'd have to bump max_executio_time way the hell up, which will affect the rest of your php apps on your server. _alex -- Alex Black, Head Monkey [EMAIL PROTECTED]

Re: [PHP] Dynamic 'left menu's' on site: Like a windows explorersystem???

2001-01-11 Thread Alex Black
a library out of it and send it along! :) -alex -- Alex Black, Head Monkey [EMAIL PROTECTED] The Turing Studio, Inc. http://www.turingstudio.com vox+510.666.0074 fax+510.666.0093 Saul Zaentz Film Center 2600 Tenth St Suite 433 Berkeley, CA 94710-2522 > From: [EMAIL PROTECTED] ("

Re: [PHP] apple-macintosh

2001-01-11 Thread Alex Black
eh? on OS X? what is your (pardon, insane) justification for having pressure to get a piece of software on a yet-to-be-released operating system? go download freeBSD it works! OSX is just beta... -a -- Alex Black, Head Monkey [EMAIL PROTECTED] The Turing Studio, Inc. http

Re: [PHP] mixing HTML and PHP code

2001-01-11 Thread Alex Black
n environment, that's not ok. what if I find a problem in your table code? etc. -alex -- Alex Black, Head Monkey [EMAIL PROTECTED] The Turing Studio, Inc. http://www.turingstudio.com vox+510.666.0074 fax+510.666.0093 Saul Zaentz Film Center 2600 Tenth St Suite 433 Berkeley, CA

Re: [PHP] File Uploading Security - Urgent please

2001-01-11 Thread Alex Black
I seem to dimly remember a lib that somene wrote which will actually check the headers in the files to make _absolutely_ sure you're actually loading a jpeg, gif, etc etc. it was very cool :) _alex -- Alex Black, Head Monkey [EMAIL PROTECTED] The Turing Studio, Inc.

Re: [PHP] OS X

2001-01-11 Thread Alex Black
blown) - but overall I'm extremely excited... _alex -- Alex Black, Head Monkey [EMAIL PROTECTED] The Turing Studio, Inc. http://www.turingstudio.com vox+510.666.0074 fax+510.666.0093 Saul Zaentz Film Center 2600 Tenth St Suite 433 Berkeley, CA 94710-2522 > From: [EMAIL PROTECTED] (

Re: [PHP] dynamic code

2001-01-10 Thread Alex Black
why would you want to do that? can you give me a little more detail about the application? -alex -- Alex Black, Head Monkey [EMAIL PROTECTED] The Turing Studio, Inc. http://www.turingstudio.com vox+510.666.0074 fax+510.666.0093 Saul Zaentz Film Center 2600 Tenth St Suite 433 Berkeley, CA

Re: [PHP] two submit buttons possible?

2001-01-10 Thread Alex Black
just name the submit: input type="submit" name="credit_card" and input type="submit" name="dealer" that's easy to capture. -alex -- Alex Black, Head Monkey [EMAIL PROTECTED] The Turing Studio, Inc. http://www.turingstudio.com vox+510.666.0074 f

Re: [PHP] DB portability

2001-01-10 Thread Alex Black
se it is _far_ more mature. I would recommend using metabase for your projects, I'd also recommend using binarycloud (we use metabase for database abstraction, and have a bunch of other code for building php apps) both will save you many hours of work :) -alex -- Alex Black, Head Mon

  1   2   >