Re: [PHP] Re: iconv is messing up a spreadsheet generated by the Spreadsheet Excel Writer

2009-01-14 Thread Thodoris
On Tue, 13 Jan 2009 15:51:01 +0200, Thodoris wrote: Hi gang, I am generating a spreadsheet using the contents of a mysql table. I guess that there is something in the data that causes iconv used in the module's script to generate this error: *Notice*: iconv() [function.iconv ]: De

Re: [PHP] php.ini

2009-01-14 Thread Thodoris
hi php lovers, I have a debian lamp stack and I want to use php to send a form to my email server Do you mean that you need to send a mail directly from a web form? If that is the case check this out: http://www.w3schools.com/tags/tryit.asp?filename=tryhtml_form_mail Doesn't even need php

Re: [PHP] problem using crypt() without a salt

2009-01-14 Thread Thodoris
I have a problem with using crypt(), passing only one parameter (ie, no salt). When I do that, I get an empty string. When I do use a salt, it returns the expected value. Does anybody have any ideas what might be causing my problem? It only happens when I run it on my linux server, but not w

Re: [PHP] php.ini

2009-01-14 Thread Stuart
2009/1/14 Thodoris : > >> hi php lovers, >> >> I have a debian lamp stack and I want to use php to send a form to my >> email server > > Do you mean that you need to send a mail directly from a web form? > > If that is the case check this out: > > http://www.w3schools.com/tags/tryit.asp?filename=tr

Re: [PHP] Can I make EasyPHP on Windows allow remote connections?

2009-01-14 Thread clive
Rahul wrote: I have EasyPHP installed on my Windows system and can connect to the php+mysql using localhost in the browser but I was wondering if I can connect to this computer (which is at my office) from my home. I have a web address alloted to my computer at office. If that 'web address'

Re: [PHP] problem using crypt() without a salt

2009-01-14 Thread port23user
I figured out that I was running an older version of Suhosin. Apparently this bug is fixed in Suhosin version 0.9.23 . I upgraded and everything works great now. Thanks for the help. Thodoris wrote: > > > If no salt is provided, PHP will auto-generate a standard two character > salt by defa

Re: [PHP] Re: iconv is messing up a spreadsheet generated by the Spreadsheet Excel Writer

2009-01-14 Thread Nisse Engström
On Wed, 14 Jan 2009 11:33:25 +0200, Thodoris wrote: >> On Tue, 13 Jan 2009 15:51:01 +0200, Thodoris wrote: >> >> >>> Hi gang, >>> I am generating a spreadsheet using the contents of a mysql table. I >>> guess that there is something in the data that causes iconv used in the >>> module's s

Re: [PHP] Re: iconv is messing up a spreadsheet generated by the Spreadsheet Excel Writer

2009-01-14 Thread Thodoris
What's the output of: SHOW VARIABLES LIKE 'character_set%' Variable_name Value character_set_clientutf8 character_set_connectionutf8 character_set_database latin1 character_set_filesystembinary character_set_results utf8 character_set_serverlatin1 charact

Re: [PHP] PHP, Smarty, and Text

2009-01-14 Thread Phpster
Only allow a few markup tags, strip_tags() allows a limited lIst to be kept Bastien Sent from my iPod On Jan 13, 2009, at 11:18 PM, Daniel Kolbo wrote: Phpster wrote: What about stripping out all the 'nuances' and just reducing it to just the text where you then control the display

[PHP] ArrayObject - Posibillity to add key => value pair per default?

2009-01-14 Thread Edmund Hertle
Hey, I've just discovered the ArrayObject class, but it seems to not be well documented, so here is my problem: You can use ArrayObject::append() to add a new value to the array, but is there also a method to add a new key and value? And I know that I could extend the class and write my own metho

RE: [PHP] PHP unlink Permission Error

2009-01-14 Thread Alice Wei
> Subject: RE: [PHP] PHP unlink Permission Error> From: > a...@ashleysheridan.co.uk> To: aj...@alumni.iu.edu> CC: > php-general@lists.php.net> Date: Tue, 13 Jan 2009 17:07:34 +> > On Tue, > 2009-01-13 at 11:49 -0500, Alice Wei wrote:> > > > > > > > > Subject: RE: > [PHP] PHP unlink Permiss

Re: [PHP] ArrayObject - Posibillity to add key => value pair per default?

2009-01-14 Thread Edgar da Silva (Fly2k)
Did you try: $a = new ArrayObject; $a['sometest'] = 'somevalue'; ? On Wed, Jan 14, 2009 at 10:42 AM, Edmund Hertle wrote: > Hey, > I've just discovered the ArrayObject class, but it seems to not be well > documented, so here is my problem: > > You can use ArrayObject::append() to add a new valu

Re: [PHP] ArrayObject - Posibillity to add key => value pair per default?

2009-01-14 Thread Nathan Nobbe
On Wed, Jan 14, 2009 at 6:18 AM, Edgar da Silva (Fly2k) < silva.ed...@gmail.com> wrote: > Did you try: > > $a = new ArrayObject; > $a['sometest'] = 'somevalue'; > its also worth pointing out, the above syntax is available b/c ArrayObject implements the ArrayAccess interface. http://www.php.net/~

[PHP] Re: ArrayObject - Posibillity to add key => value pair per default?

2009-01-14 Thread Carlos Medina
Edmund Hertle schrieb: Hey, I've just discovered the ArrayObject class, but it seems to not be well documented, so here is my problem: You can use ArrayObject::append() to add a new value to the array, but is there also a method to add a new key and value? And I know that I could extend the cla

Re: [PHP] Re: iconv is messing up a spreadsheet generated by the Spreadsheet Excel Writer

2009-01-14 Thread Nisse Engström
On Wed, 14 Jan 2009 13:19:31 +0200, Thodoris wrote: > Variable_name Value > character_set_client utf8 > character_set_connection utf8 > character_set_databaselatin1 > character_set_filesystem binary > character_set_results utf8 > character_set_server latin1 > ch

[PHP] Quotes in querys

2009-01-14 Thread MikeP
Hello, I am trying to get the following to work: "Select Netid from Users where Netid = '$_SESSION[phpCAS][user]'" Netid is a string type. No matter where of if I put the quotes, I still get array[phpCAS] not the value. If there is anything I still have trouble with after all these years its quot

Re: [PHP] Re: ArrayObject - Posibillity to add key => value pair per default?

2009-01-14 Thread Edmund Hertle
> Edmund Hertle schrieb: > > Hey, >> I've just discovered the ArrayObject class, but it seems to not be well >> documented, so here is my problem: >> >> You can use ArrayObject::append() to add a new value to the array, but is >> there also a method to add a new key and value? >> >> And I know tha

RES: [PHP] Quotes in querys

2009-01-14 Thread Jônatas Zechim
Try session_start(); $sql = "SELECT Netid FROM User WHERE Netid='".$_SESSION['phpCAS']['user']."'"; -Mensagem original- De: MikeP [mailto:mpel...@princeton.edu] Enviada em: quarta-feira, 14 de janeiro de 2009 14:17 Para: php-general@lists.php.net Assunto: [PHP] Quotes in querys Hello,

Re: [PHP] Quotes in querys

2009-01-14 Thread Robert Stankiewicz
I am trying to get the following to work: "Select Netid from Users where Netid = '$_SESSION[phpCAS][user]'" Netid is a string type. No matter where of if I put the quotes, I still get array[phpCAS] not the value. Maybe try this : $q = 'Select Netid from Users where Netid = "' . $_SESSION[p

Re: [PHP] Quotes in querys

2009-01-14 Thread ceo
You can only interpolate ONE level of array or object indirection in a string. WORKS: "... $foo[x] ..." "... $foo->x ..." FAILS: "... $foo[x][y] ..." "... $foo->x->y ..." //almost for sure it fails, never tried... You can use curly braces in side a string to evaluate something: WOR

Re: [PHP] Re: ArrayObject - Posibillity to add key => value pair per default?

2009-01-14 Thread ceo
In olden times, of PHP 3, you could for sure use ->x and [x] interchangeably, as an Object then was little more than a C struct with a couple functions tacked on, as was an array. I think PHP 3 Object may actually have been implemented as a PHP array with some additional C functions on it, c

Re: [PHP] Quotes in querys

2009-01-14 Thread Eric Butera
On Wed, Jan 14, 2009 at 11:17 AM, MikeP wrote: > Hello, > I am trying to get the following to work: > "Select Netid from Users where Netid = '$_SESSION[phpCAS][user]'" > Netid is a string type. > No matter where of if I put the quotes, I still get array[phpCAS] not the > value. > If there is anyth

Re: [PHP] Quotes in querys

2009-01-14 Thread MikeP
""Eric Butera"" wrote in message news:6a8639eb0901140825h1d603d01i3ffcce919dca6...@mail.gmail.com... > On Wed, Jan 14, 2009 at 11:17 AM, MikeP wrote: >> Hello, >> I am trying to get the following to work: >> "Select Netid from Users where Netid = '$_SESSION[phpCAS][user]'" >> Netid is a string

Re: [PHP] Quotes in querys

2009-01-14 Thread Eric Butera
On Wed, Jan 14, 2009 at 11:34 AM, MikeP wrote: > > ""Eric Butera"" wrote in message > news:6a8639eb0901140825h1d603d01i3ffcce919dca6...@mail.gmail.com... >> On Wed, Jan 14, 2009 at 11:17 AM, MikeP wrote: >>> Hello, >>> I am trying to get the following to work: >>> "Select Netid from Users where

Re: [PHP] Quotes in querys

2009-01-14 Thread MikeP
Thanks, Thats the kind of help I was looking for. Mike wrote in message news:20090114162142.65944.qm...@o2.hostbaby.com... > > You can only interpolate ONE level of array or object indirection in a > string. > > WORKS: > "... $foo[x] ..." > "... $foo->x ..." > > FAILS: > "... $foo[x][y] ..." > "

Re: [PHP] Re: iconv is messing up a spreadsheet generated by the Spreadsheet Excel Writer

2009-01-14 Thread ceo
> The charset: latin1 and the collation: latin1_swedish_ci. Trivia quiz at a MySQL presentation at my Chicago PHP User Group a few year ago comes in handy! The defaults for MySQL are actually latin1_swedish as that is the native language of the original developer, (?Monty Widenus?) This

Re: [PHP] switch vs elseif

2009-01-14 Thread tedd
At 2:18 PM -0600 1/13/09, Micah Gersten wrote: Jochem Maas wrote: switch (true) { case ($x === $y): // something > break; This is a misuse of the switch statement. Switch is meant to compare values to a single variable as stated on the manual page: http://us

Re: [PHP] Quotes in querys

2009-01-14 Thread ceo
> Doesn't anybody use prepared statements these days? It even helps MySQL > AND Oracle cache an execution plan... Forgive me if I'm wrong, but: Caching an execution plan for a prepared statement that is run only once in the script is just overhead, no? Or can it actually re-use the same

Re: [PHP] Quotes in querys

2009-01-14 Thread Kyle Terry
On Wed, Jan 14, 2009 at 8:41 AM, MikeP wrote: > Thanks, Thats the kind of help I was looking for. > Mike > wrote in message > news:20090114162142.65944.qm...@o2.hostbaby.com... > > > > You can only interpolate ONE level of array or object indirection in a > > string. > > > > WORKS: > > "... $foo

[PHP] Basic Authentication

2009-01-14 Thread tedd
Hi gang: Let's say that I don't want to use the htpasswd command from the UNIX shell to generate an encoded password -- how else can I create an encoded password string that would work in a .htaccess file using basic authentication? Cheers, tedd -- --- http://sperling.com http://anci

Re: [PHP] Basic Authentication

2009-01-14 Thread Stuart
2009/1/14 tedd : > Let's say that I don't want to use the htpasswd command from the UNIX shell > to generate an encoded password -- how else can I create an encoded password > string that would work in a .htaccess file using basic authentication? AFAIK it's an MD5 hash, nothing more complicated th

Re: [PHP] Basic Authentication

2009-01-14 Thread Andrew Ballard
On Wed, Jan 14, 2009 at 12:36 PM, Stuart wrote: > 2009/1/14 tedd : >> Let's say that I don't want to use the htpasswd command from the UNIX shell >> to generate an encoded password -- how else can I create an encoded password >> string that would work in a .htaccess file using basic authentication

Re: [PHP] Quotes in querys

2009-01-14 Thread Kyle Terry
On Wed, Jan 14, 2009 at 9:11 AM, wrote: > > > Doesn't anybody use prepared statements these days? It even helps MySQL > > AND Oracle cache an execution plan... > > Forgive me if I'm wrong, but: > > Caching an execution plan for a prepared statement that is run only once in > the script is just ov

Fwd: [PHP] Quotes in querys

2009-01-14 Thread Kyle Terry
On Wed, Jan 14, 2009 at 10:07 AM, Kyle Terry wrote: > > > On Wed, Jan 14, 2009 at 9:11 AM, wrote: > >> >> > Doesn't anybody use prepared statements these days? It even helps MySQL >> > AND Oracle cache an execution plan... >> >> Forgive me if I'm wrong, but: >> >> Caching an execution plan for a

Re: [PHP] Re: ArrayObject - Posibillity to add key => value pair per default?

2009-01-14 Thread Nathan Nobbe
On Wed, Jan 14, 2009 at 9:20 AM, Edmund Hertle < edmund.her...@student.kit.edu> wrote: > > Edmund Hertle schrieb: > > > > Hey, > >> I've just discovered the ArrayObject class, but it seems to not be well > >> documented, so here is my problem: > >> > >> You can use ArrayObject::append() to add a

Re: [PHP] Basic Authentication

2009-01-14 Thread tedd
At 12:51 PM -0500 1/14/09, Andrew Ballard wrote: On Wed, Jan 14, 2009 at 12:36 PM, Stuart wrote: 2009/1/14 tedd : Let's say that I don't want to use the htpasswd command from the UNIX shell to generate an encoded password -- how else can I create an encoded password string that would wor

Re: [PHP] Basic Authentication

2009-01-14 Thread ceo
What it is depends on what encryption routines you have installed. The algorithm to authenticate detects the algorithm based on the hash. 32-char : MD5 $1$ : SHA-1 $2$ : SHA-2 etc. (Apologies if I got my tokens/algorithms wrong) If you just toss MD5s in there, it should work,

Re: [PHP] PHP, Smarty, and Text

2009-01-14 Thread Daniel Kolbo
Robert Cummings wrote: On Tue, 2009-01-13 at 18:18 -1000, Daniel Kolbo wrote: Phpster wrote: What about stripping out all the 'nuances' and just reducing it to just the text where you then control the display and using your templates and css? Bastien Sent from my iPod On Jan 13, 20

Re: [PHP] PHP, Smarty, and Text

2009-01-14 Thread Robert Cummings
On Wed, 2009-01-14 at 09:08 -1000, Daniel Kolbo wrote: > Robert Cummings wrote: > > On Tue, 2009-01-13 at 18:18 -1000, Daniel Kolbo wrote: > > > >> Phpster wrote: > >> > >>> What about stripping out all the 'nuances' and just reducing it to > >>> just the text where you then control the di

RE: [PHP] PHP unlink Permission Error

2009-01-14 Thread Ashley Sheridan
On Wed, 2009-01-14 at 07:48 -0500, Alice Wei wrote: > > > Subject: RE: [PHP] PHP unlink Permission Error > > From: a...@ashleysheridan.co.uk > > To: aj...@alumni.iu.edu > > CC: php-general@lists.php.net > > Date: Tue, 13 Jan 2009 17:07:34 + > > > > On Tue, 2009-01-13 at 11:49 -0500, Alice Wei

Re: [PHP] Basic Authentication

2009-01-14 Thread tedd
What it is depends on what encryption routines you have installed. The algorithm to authenticate detects the algorithm based on the hash. 32-char : MD5 $1$ : SHA-1 $2$ : SHA-2 etc. (Apologies if I got my tokens/algorithms wrong) If you just toss MD5s in there, it should work, I think, i

Re: [PHP] Quotes in querys

2009-01-14 Thread Ashley Sheridan
On Wed, 2009-01-14 at 11:17 -0500, MikeP wrote: > Hello, > I am trying to get the following to work: > "Select Netid from Users where Netid = '$_SESSION[phpCAS][user]'" > Netid is a string type. > No matter where of if I put the quotes, I still get array[phpCAS] not the > value. > If there is anyt

Re: Fwd: [PHP] Quotes in querys

2009-01-14 Thread Ashley Sheridan
On Wed, 2009-01-14 at 10:11 -0800, Kyle Terry wrote: > On Wed, Jan 14, 2009 at 10:07 AM, Kyle Terry wrote: > > > > > > > On Wed, Jan 14, 2009 at 9:11 AM, wrote: > > > >> > >> > Doesn't anybody use prepared statements these days? It even helps MySQL > >> > AND Oracle cache an execution plan... >

Re: [PHP] Basic Authentication

2009-01-14 Thread TG
There are a number of online tools for creating the proper htaccess and htpasswd files for basic auth. Here's a couple (forget which one I used last time I needed it, both have 'visited' links in my browser): http://www.wmtips.com/tools/htpasswd-generator/ http://www.htaccesstools.com/htaccess

Re: [PHP] PHP, Smarty, and Text

2009-01-14 Thread Edmund Hertle
> > Robert Cummings wrote: > >> On Tue, 2009-01-13 at 18:18 -1000, Daniel Kolbo wrote: >> >> >>> Phpster wrote: >>> >>> What about stripping out all the 'nuances' and just reducing it to just the text where you then control the display and using your templates and css? Bast

Re: [PHP] Basic Authentication

2009-01-14 Thread Andrew Ballard
On Wed, Jan 14, 2009 at 2:34 PM, tedd wrote: >> What it is depends on what encryption routines you have installed. >> >> The algorithm to authenticate detects the algorithm based on the hash. >> >> 32-char : MD5 >> $1$ : SHA-1 >> $2$ : SHA-2 >> etc. >> (Apologies if I got my tokens/algorit

Re: [PHP] Basic Authentication

2009-01-14 Thread Edmund Hertle
2009/1/14 tedd > What it is depends on what encryption routines you have installed. >> >> The algorithm to authenticate detects the algorithm based on the hash. >> >> 32-char : MD5 >> $1$ : SHA-1 >> $2$ : SHA-2 >> etc. >> (Apologies if I got my tokens/algorithms wrong) >> >> If you just t

Re: [PHP] Quotes in querys

2009-01-14 Thread Frank Stanovcak
"Ashley Sheridan" wrote in message news:1231962521.3613.13.ca...@localhost.localdomain... > On Wed, 2009-01-14 at 11:17 -0500, MikeP wrote: >> Hello, >> I am trying to get the following to work: >> "Select Netid from Users where Netid = '$_SESSION[phpCAS][user]'" >> Netid is a string type. >> No

Re: [PHP] Basic Authentication

2009-01-14 Thread Shawn McKenzie
tedd wrote: >> What it is depends on what encryption routines you have installed. >> >> The algorithm to authenticate detects the algorithm based on the hash. >> >> 32-char : MD5 >> $1$ : SHA-1 >> $2$ : SHA-2 >> etc. >> (Apologies if I got my tokens/algorithms wrong) >> >> If you just toss

Re: [PHP] Quotes in querys

2009-01-14 Thread Ashley Sheridan
On Wed, 2009-01-14 at 15:24 -0500, Frank Stanovcak wrote: > "Ashley Sheridan" wrote in message > news:1231962521.3613.13.ca...@localhost.localdomain... > > On Wed, 2009-01-14 at 11:17 -0500, MikeP wrote: > >> Hello, > >> I am trying to get the following to work: > >> "Select Netid from Users wher

Re: [PHP] PHP, Smarty, and Text

2009-01-14 Thread ceo
One way to balance the author's need to have nice-looking output, and your need to keep the content/html under control is to provide the authors with a variety of template layouts with varying number/placement/sizes of images and blocks of text. Build a half-dozen of them, allow only ASCII t

[PHP] Zend Framework...where to start?

2009-01-14 Thread jcorry
I've been reading about these great new 'frameworks' for PHP development. The most similar experience I have so far is using PEAR/Smarty in application development. I am becoming very interested in adding one (or more) of these frameworks to my work existence. I'm leaning toward the Zend

Re: [PHP] Zend Framework...where to start?

2009-01-14 Thread Eric Butera
On Wed, Jan 14, 2009 at 3:36 PM, wrote: > I've been reading about these great new 'frameworks' for PHP development. > > The most similar experience I have so far is using PEAR/Smarty in > application development. > > I am becoming very interested in adding one (or more) of these frameworks to > m

Re: [PHP] PHP, Smarty, and Text

2009-01-14 Thread VamVan
On Tue, Jan 13, 2009 at 6:49 PM, Daniel Kolbo wrote: > Hello, > > I've been using PHP and Smarty for several years now and I am happy with > this "division" of data from presentation. With this philosophy in mind, i > am a bit perplexed as to how to handle the text on my sites. That is, the > t

Re: [PHP] PHP, Smarty, and Text

2009-01-14 Thread Nathan Rixham
VamVan wrote: On Tue, Jan 13, 2009 at 6:49 PM, Daniel Kolbo wrote: Hello, I've been using PHP and Smarty for several years now and I am happy with this "division" of data from presentation. With this philosophy in mind, i am a bit perplexed as to how to handle the text on my sites. That is,

Re: [PHP] Zend (or other) Framework...where to start?

2009-01-14 Thread John Corry
Well, bummer. I *seriously* need to divine a way to increase my efficiency both immediately and for the long term as I maintain tomorrow the applications I build today. For the new-to-frameworks, is there a better/easier framework to use that will streamline the development process from the begin

Re: [PHP] Zend Framework...where to start? -- don't.

2009-01-14 Thread Daevid Vincent
Not to start a Holy War (as these "to framework" or "not to framework" debates often turn into), but I personally had a horrible experience with using frameworks. I was forced to use Symfony at my last job and it was so cumbersome and slow to do even the simplest things. The whole MVC thing can be

Re: [PHP] Zend (or other) Framework...where to start?

2009-01-14 Thread Skip Evans
John Corry wrote: For the new-to-frameworks, is there a better/easier framework to use that will streamline the development process from the beginning? I've been using my own I developed from the ground up for the past couple years, but have recently looked at cakePHP and I think it might b

Re: [PHP] Zend (or other) Framework...where to start?

2009-01-14 Thread Eric Butera
On Wed, Jan 14, 2009 at 4:30 PM, John Corry wrote: > Well, bummer. > > I *seriously* need to divine a way to increase my efficiency both > immediately and for the long term as I maintain tomorrow the > applications I build today. > > For the new-to-frameworks, is there a better/easier framework to

Re: [PHP] Quotes in querys

2009-01-14 Thread Chris
It is over head, but it caches the execution plan for multiple runs of the script. So different users with different data will use the same cached query on the database. Saving processing time. It also prevents SQL injection on the fly because you are indicating what data type each place holde

Re: [PHP] Zend Framework...where to start? -- don't.

2009-01-14 Thread Eric Butera
On Wed, Jan 14, 2009 at 4:39 PM, Daevid Vincent wrote: > http://daevid.com "It appears your browser does not support some of the advanced features this site requires." That is pretty enteprisey! ;D -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsu

Re: [PHP] Zend Framework...where to start? -- don't.

2009-01-14 Thread Robert Cummings
On Wed, 2009-01-14 at 13:39 -0800, Daevid Vincent wrote: > Not to start a Holy War (as these "to framework" or "not to framework" > debates often turn into), but I personally had a horrible experience > with using frameworks. I was forced to use Symfony at my last job and > it was so cumbersome and

Re: [PHP] Zend Framework...where to start? -- don't.

2009-01-14 Thread Ashley Sheridan
On Wed, 2009-01-14 at 13:39 -0800, Daevid Vincent wrote: > Not to start a Holy War (as these "to framework" or "not to framework" > debates often turn into), but I personally had a horrible experience > with using frameworks. I was forced to use Symfony at my last job and > it was so cumbersome and

Re: [PHP] Zend Framework...where to start? -- don't.

2009-01-14 Thread Robert Cummings
On Wed, 2009-01-14 at 16:50 -0500, Eric Butera wrote: > On Wed, Jan 14, 2009 at 4:39 PM, Daevid Vincent wrote: > > http://daevid.com > > "It appears your browser does not support some of the advanced > features this site requires." > > That is pretty enteprisey! ;D I got the same message... 200

Re: [PHP] Zend Framework...where to start? -- don't.

2009-01-14 Thread Robert Cummings
On Wed, 2009-01-14 at 17:01 -0500, Robert Cummings wrote: > On Wed, 2009-01-14 at 16:50 -0500, Eric Butera wrote: > > On Wed, Jan 14, 2009 at 4:39 PM, Daevid Vincent wrote: > > > http://daevid.com > > > > "It appears your browser does not support some of the advanced > > features this site requir

Re: [PHP] Zend Framework...where to start? -- don't.

2009-01-14 Thread Ashley Sheridan
On Wed, 2009-01-14 at 17:03 -0500, Robert Cummings wrote: > On Wed, 2009-01-14 at 17:01 -0500, Robert Cummings wrote: > > On Wed, 2009-01-14 at 16:50 -0500, Eric Butera wrote: > > > On Wed, Jan 14, 2009 at 4:39 PM, Daevid Vincent wrote: > > > > http://daevid.com > > > > > > "It appears your brows

[PHP] Security question

2009-01-14 Thread Frank Stanovcak
This is mostly to make sure I understand how sessions are handled correctly. As far as sessions are concerned the variable data is stored on the server (be it in memory or temp files), and never transmitted accross the net unless output to the page? So this means I should be able to store the

Re: [PHP] Zend Framework...where to start? -- don't.

2009-01-14 Thread Eric Butera
On Wed, Jan 14, 2009 at 5:03 PM, Robert Cummings wrote: > On Wed, 2009-01-14 at 17:01 -0500, Robert Cummings wrote: >> On Wed, 2009-01-14 at 16:50 -0500, Eric Butera wrote: >> > On Wed, Jan 14, 2009 at 4:39 PM, Daevid Vincent wrote: >> > > http://daevid.com >> > >> > "It appears your browser does

Re: [PHP] Security question

2009-01-14 Thread VamVan
On Wed, Jan 14, 2009 at 2:22 PM, Frank Stanovcak wrote: > This is mostly to make sure I understand how sessions are handled > correctly. > As far as sessions are concerned the variable data is stored on the server > (be it in memory or temp files), and never transmitted accross the net > unless ou

Re: [PHP] Zend Framework...where to start? -- don't.

2009-01-14 Thread Kyle Terry
On Wed, Jan 14, 2009 at 2:18 PM, Eric Butera wrote: > On Wed, Jan 14, 2009 at 5:03 PM, Robert Cummings > wrote: > > On Wed, 2009-01-14 at 17:01 -0500, Robert Cummings wrote: > >> On Wed, 2009-01-14 at 16:50 -0500, Eric Butera wrote: > >> > On Wed, Jan 14, 2009 at 4:39 PM, Daevid Vincent > wrote

[PHP] HTML pages are faster then php?

2009-01-14 Thread Lamp Lists
hi, as far as I know (at least I was told so) html page will download faster then the same page made with php getting the same info from mysql, right? let's pretend we are building php/mysq based website of one football team. there are pages of every player, about the team, games etc. in admin a

Re: [PHP] HTML pages are faster then php?

2009-01-14 Thread Ashley Sheridan
On Wed, 2009-01-14 at 14:34 -0800, Lamp Lists wrote: > hi, > as far as I know (at least I was told so) html page will download faster then > the same page made with php getting the same info from mysql, right? > > let's pretend we are building php/mysq based website of one football team. > there

Re: [PHP] HTML pages are faster then php?

2009-01-14 Thread Lamp Lists
From: Ashley Sheridan To: Lamp Lists Cc: php-general@lists.php.net Sent: Wednesday, January 14, 2009 4:47:28 PM Subject: Re: [PHP] HTML pages are faster then php? On Wed, 2009-01-14 at 14:34 -0800, Lamp Lists wrote: > hi, > as far as I know (at least I was told

[PHP] Re: HTML pages are faster then php?

2009-01-14 Thread Nathan Rixham
Lamp Lists wrote: hi, as far as I know (at least I was told so) html page will download faster then the same page made with php getting the same info from mysql, right? let's pretend we are building php/mysq based website of one football team. there are pages of every player, about the team, g

Re: [PHP] Zend (or other) Framework...where to start?

2009-01-14 Thread Paul M Foster
On Wed, Jan 14, 2009 at 04:30:59PM -0500, John Corry wrote: > Well, bummer. > > I *seriously* need to divine a way to increase my efficiency both > immediately and for the long term as I maintain tomorrow the > applications I build today. > > For the new-to-frameworks, is there a better/easier f

Re: [PHP] Basic Authentication

2009-01-14 Thread tedd
At 2:19 PM -0600 1/14/09, Shawn McKenzie wrote: As others have said, use crypt(). http://php.net/manual/function.crypt.php has Example #2 Using crypt() with htpasswd. Thanks, but that doesn't really solve my problem. You see, I know the password and I know the encoded result -- what I don'

Re: [PHP] Basic Authentication

2009-01-14 Thread Ashley Sheridan
On Wed, 2009-01-14 at 18:17 -0500, tedd wrote: > At 2:19 PM -0600 1/14/09, Shawn McKenzie wrote: > > > > > >As others have said, use crypt(). > >http://php.net/manual/function.crypt.php has Example #2 Using crypt() > >with htpasswd. > > > Thanks, but that doesn't really solve my problem. > > You

Re: [PHP] Zend Framework...where to start? -- don't.

2009-01-14 Thread Daevid Vincent
If anything this strengthens my point... First of all, that is my PERSONAL site (notice it is my NAME), so it is NOT enterprise or SaaS. Second it uses the www.winlike.net Javascript FRAMEWORK (which I heavily manipulated in PHP to make the menu dynamic, adding a tertiary menu level and various

Re: [PHP] Basic Authentication

2009-01-14 Thread Chris
tedd wrote: At 2:19 PM -0600 1/14/09, Shawn McKenzie wrote: As others have said, use crypt(). http://php.net/manual/function.crypt.php has Example #2 Using crypt() with htpasswd. Thanks, but that doesn't really solve my problem. You see, I know the password and I know the encoded result --

Re: [PHP] Basic Authentication

2009-01-14 Thread Edmund Hertle
2009/1/15 tedd > At 2:19 PM -0600 1/14/09, Shawn McKenzie wrote: > >> >> >> As others have said, use crypt(). >> http://php.net/manual/function.crypt.php has Example #2 Using crypt() >> with htpasswd. >> > > > Thanks, but that doesn't really solve my problem. > > You see, I know the password and

Re: [PHP] Basic Authentication

2009-01-14 Thread TG
Could it be that you tested the correct algorithm but didn't use the correct salt or some other permutation to receive the same encoded result? -TG - Original Message - From: tedd To: Shawn McKenzie , php-general@lists.php.net Date: Wed, 14 Jan 2009 18:17:35 -0500 Subject: Re: [PHP] Bas

Re: [PHP] Zend Framework...where to start? -- don't.

2009-01-14 Thread Daevid Vincent
On Wed, 2009-01-14 at 14:28 -0800, Kyle Terry wrote: > On Wed, Jan 14, 2009 at 2:18 PM, Eric Butera wrote: > > > On Wed, Jan 14, 2009 at 5:03 PM, Robert Cummings > > wrote: > > > On Wed, 2009-01-14 at 17:01 -0500, Robert Cummings wrote: > > >> On Wed, 2009-01-14 at 16:50 -0500, Eric Butera wrot

Re: [PHP] Zend (or other) Framework...where to start?

2009-01-14 Thread Daevid Vincent
On Wed, 2009-01-14 at 17:59 -0500, Paul M Foster wrote: > On Wed, Jan 14, 2009 at 04:30:59PM -0500, John Corry wrote: > > > Well, bummer. > > > > I *seriously* need to divine a way to increase my efficiency both > > immediately and for the long term as I maintain tomorrow the > > applications I

[PHP] Senior Software Engineer / PHP Developer Job opportunity in Boulder, CO

2009-01-14 Thread Nick Gasparro
Hi, I am Looking for a Senior Software Engineer to join our dynamic and growing Internet-based company. The qualified candidate will expand our web-based platform, building new features and products. You will effectively design, develop, and deploy applications based on open-source technologie

Re: [PHP] Zend Framework...where to start? -- don't.

2009-01-14 Thread Ashley Sheridan
On Wed, 2009-01-14 at 15:47 -0800, Daevid Vincent wrote: > On Wed, 2009-01-14 at 14:28 -0800, Kyle Terry wrote: > > > On Wed, Jan 14, 2009 at 2:18 PM, Eric Butera wrote: > > > > > On Wed, Jan 14, 2009 at 5:03 PM, Robert Cummings > > > wrote: > > > > On Wed, 2009-01-14 at 17:01 -0500, Robert Cum

Re: [PHP] Zend Framework...where to start? -- don't.

2009-01-14 Thread Kyle Terry
On Wed, Jan 14, 2009 at 4:06 PM, Ashley Sheridan wrote: > On Wed, 2009-01-14 at 15:47 -0800, Daevid Vincent wrote: > > On Wed, 2009-01-14 at 14:28 -0800, Kyle Terry wrote: > > > > > On Wed, Jan 14, 2009 at 2:18 PM, Eric Butera > wrote: > > > > > > > On Wed, Jan 14, 2009 at 5:03 PM, Robert Cumming

Re: [PHP] Zend Framework...where to start? -- don't.

2009-01-14 Thread Eric Butera
On Wed, Jan 14, 2009 at 6:47 PM, Daevid Vincent wrote: > On Wed, 2009-01-14 at 14:28 -0800, Kyle Terry wrote: > >> On Wed, Jan 14, 2009 at 2:18 PM, Eric Butera wrote: >> >> > On Wed, Jan 14, 2009 at 5:03 PM, Robert Cummings >> > wrote: >> > > On Wed, 2009-01-14 at 17:01 -0500, Robert Cummings wr

[PHP] Re: Re: Re: Php and CSS where to put it

2009-01-14 Thread Michelle Konzack
Hello Ashley, Am 2009-01-13 22:14:53, schrieb Ashley Sheridan: > Yeah. Now my development goes like this: > > 1. Design for Firefox > 2. Fix for Opera, Safari et al > 3. Fix for IE > But generally speaking, if it works in Firefox, it'll most likely behave > itself in everything exc

[PHP] Re: Holy crap

2009-01-14 Thread Michelle Konzack
Am 2009-01-13 20:22:42, schrieb Daniel Brown: > On Mon, Jan 12, 2009 at 14:30, Robert Cummings wrote: > > > > 2.0 is the new beta... what did you think Web 2.0 was all about? > > In Q3 2009, Microsoft is "improving" on that with Web 2.11 for Workgroups. I had "W?? 3.11 for Workgroups" in 199

Re: [PHP] Re: Re: Re: Php and CSS where to put it

2009-01-14 Thread Ashley Sheridan
On Thu, 2009-01-15 at 01:42 +0100, Michelle Konzack wrote: > Hello Ashley, > > Am 2009-01-13 22:14:53, schrieb Ashley Sheridan: > > Yeah. Now my development goes like this: > > > > 1. Design for Firefox > > 2. Fix for Opera, Safari et al > > 3. Fix for IE > > But generally speaking

Re: [PHP] Basic Authentication

2009-01-14 Thread Andrew Ballard
On Wed, Jan 14, 2009 at 6:17 PM, tedd wrote: > At 2:19 PM -0600 1/14/09, Shawn McKenzie wrote: >> >> >> As others have said, use crypt(). >> http://php.net/manual/function.crypt.php has Example #2 Using crypt() >> with htpasswd. > > > Thanks, but that doesn't really solve my problem. > > You see,

Re: [PHP] Zend Framework...where to start? -- don't.

2009-01-14 Thread Andrew Ballard
On Wed, Jan 14, 2009 at 7:26 PM, Eric Butera wrote: > On Wed, Jan 14, 2009 at 6:47 PM, Daevid Vincent wrote: >> On Wed, 2009-01-14 at 14:28 -0800, Kyle Terry wrote: >> >>> On Wed, Jan 14, 2009 at 2:18 PM, Eric Butera wrote: >>> >>> > On Wed, Jan 14, 2009 at 5:03 PM, Robert Cummings >>> > wrote:

Re: [PHP] Zend Framework...where to start? -- don't.

2009-01-14 Thread Daevid Vincent
> > Lol, on your resumé page, the popup says you're not a Java man, but then > > the actual resumé says you are... :p No. I wrote Java for 3.5 years at WildTangent, a company I founded as employee #2 back in 1998, and left once I felt it was starting to become sketchy and we had grown to over 25

[PHP] program to test php security

2009-01-14 Thread paragasu
one of my client says his company do have a program to test php code for common programming security problem like sql injection etc i am curious but he do not want to tell what the program is. do this program exists? what is it? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, v

Re: [PHP] Zend Framework...where to start? -- don't.

2009-01-14 Thread Kyle Terry
On Wed, Jan 14, 2009 at 5:17 PM, Daevid Vincent wrote: > > > > > Lol, on your resumé page, the popup says you're not a Java man, but > then > > > the actual resumé says you are... :p > > No. I wrote Java for 3.5 years at WildTangent, a company I founded as > employee #2 back in 1998, and left onc

Re: [PHP] program to test php security

2009-01-14 Thread Chris
paragasu wrote: one of my client says his company do have a program to test php code for common programming security problem like sql injection etc i am curious but he do not want to tell what the program is. do this program exists? what is it? https://chorizo-scanner.com/ http://securityscann

Re: [PHP] PHP, Smarty, and Text

2009-01-14 Thread Benjamin Hawkes-Lewis
On 14/1/09 07:56, Robert Cummings wrote: Strip all tags except bold and italics. Then replace with and with since the former tags are deprecated. Actually, "b" and "i" have not been formally deprecated in any standard. The closest thing to a prohibition on these elements is WCAG 1.0's Chec

Re: [PHP] Zend Framework...where to start? -- don't.

2009-01-14 Thread Paul M Foster
On Wed, Jan 14, 2009 at 01:39:02PM -0800, Daevid Vincent wrote: >Not to start a Holy War (as these "to framework" or "not to framework" >debates often turn into), but I personally had a horrible experience with >using frameworks. I was forced to use Symfony at my last job and it was so

Re: [PHP] Zend Framework...where to start? -- don't.

2009-01-14 Thread Kyle Terry
On Wed, Jan 14, 2009 at 6:17 PM, Paul M Foster wrote: > On Wed, Jan 14, 2009 at 01:39:02PM -0800, Daevid Vincent wrote: > > >Not to start a Holy War (as these "to framework" or "not to framework" > >debates often turn into), but I personally had a horrible experience > with > >using fr

Re: [PHP] Zend Framework...where to start? -- don't.

2009-01-14 Thread Phpster
For what it's worth, you are on my good guys list. Coming. From a Dba background I am in the camp of everything is a trade off. Ease of use for speed, functionality for complexity and so on. My two cents: zend has an advantage because you can use the bits and pieces without the need to ha

  1   2   >