that would work.
but, so long as the php code is _extremely_ light, and the logic is stored
elsewhere, sounds good to me :)
definitely avoid print() and echo like the _plague_ for html output.
-alex
--
Alex Black, Head Monkey
[EMAIL PROTECTED]
The Turing Studio, Inc.
http://www.turingstudi
t, or check
that one element equals some other value, etc) to form elements.
it's working really well for us, and soon it will be working ridiculously
well :)!
check out: http://www.binarycloud.com
_alex
--
Alex Black, Head Monkey
[EMAIL PROTECTED]
The Turing Studio, Inc.
http://www.turingstu
, because we show all
php and binarycloud system errors related to a page.
have a look at http://www.binarycloud.com
_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
you're not talking about authenticated pages, (which you probably aren't
for a basic shopping cart app), we handle all of that stuff transparently.
_alex
--
Alex Black, Head Monkey
[EMAIL PROTECTED]
The Turing Studio, Inc.
http://www.turingstudio.com
vox+510.666.0074
fax+510.666.00
VERY exciting!
cool cool cool
zend cache, but for free!
but does it work.
more to come, as I will be testing this :)
_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
we're using PHPDoc with binarycloud, it's a little rough at the moment, but
it looks like the code is moving along, and having a standard is fantastical
:)
phpdoc.de
binarycloud: www.binarycloud.com
_alex
--
Alex Black, Head Monkey
[EMAIL PROTECTED]
The Turing Studio,
write a lib that can call scp :)
-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] (&quo
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
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
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
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] (
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.
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
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
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] ("
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]
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
>
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
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
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
> 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
> 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
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
--
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
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
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
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
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
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,
>
> 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
>> 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.
>
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
> 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
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
> 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
>
> {: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
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]
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
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
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
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
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
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
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
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
> 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]
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
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
> 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
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,
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
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
\)\-\. ]/", $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...
>> 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
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
> 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
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
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
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
> 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
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
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
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
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
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
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
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
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
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
.
_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
>
>>> 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
> 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
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
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
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
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
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
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
> 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
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
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
#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
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
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
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
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
> 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:
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
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
> 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
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
),
> 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
> 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
> 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
>> 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
> * 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'
> 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
> 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
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.
> 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
1 - 100 of 107 matches
Mail list logo