Gómez M:.M:.
Administrador de Redes/Webmaster
IPI "Carlos Marx", Matanzas. Cuba.
0145-2887(30-33) ext 124
__ Información de ESET NOD32 Antivirus, versión de la base de firmas de
virus 4791 (20100120) __
ESET NOD32 Antivirus ha comprobado este mensaje.
http://www.eset.com
On Wed, Jan 20, 2010 at 08:15:55PM -0800, Allen McCabe wrote:
> For a work in progress, view http://www.mwclans.com/new_index.php
>
> The login fields are a 'component' I include in the header.
> The links are generated from the 'links' table; the primary_navigation links
> are a class by the sam
On Thu, Jan 21, 2010 at 11:29:54AM +0800, Hendry wrote:
> Hi,
>
> Anyone can share your favorite PHP open source CMS to work with and
> what's the reason? I'm looking for something that easily extensible.
> I've googled and found severals but I'm still confused, some from the
> lists:
> - Drupal
On Fri, Jan 15, 2010 at 6:25 PM, Michael A. Peters wrote:
> Adam Richardson wrote:
>
>> Hi,
>>
>> I've developed a framework that requires PHP 5.3 (it takes a more
>> functional
>> approach.) I'm hosting my own apps on a dedicated server running cpanel
>> (thanks to their recent upgrade.) Howev
Hi,
Thanks for both Robert and Allen for sharing, I agree, Drupal is very
easy to start with, and it is also very powerful, but somehow, I find
it very hard to extend which is might be due to my lack of experience.
# Hendry
On Thu, Jan 21, 2010 at 12:21 PM, Allen McCabe wrote:
> I suppose I am
I suppose I am opposed to 'custom systems' with PHP. I feel that you
shouldn't have to learn "new-stuff" that is specific to a certain system if
it is so extensive. I know, I'm lazy, but I've been trying to learn PHP (as
well as needing to learn JavaScript, SQL, and CSS 2.0 lately) and not stuff
th
For a work in progress, view http://www.mwclans.com/new_index.php
The login fields are a 'component' I include in the header.
The links are generated from the 'links' table; the primary_navigation links
are a class by the same name, and the 'footer_navigation' are also a
different category. All li
Allen McCabe wrote:
I've not had much experience with CMS's, however Drupal seems pretty
featured, with the steep-learning curve; it's not very user friendly.
Not to disregard your own experience, but I've found Drupal surprisingly
easy to get running with. In fact it's pretty much my first ch
I've not had much experience with CMS's, however Drupal seems pretty
featured, with the steep-learning curve; it's not very user friendly.
I'm working on my own CMS which is more generic, so that it can be used with
any kind of website (basically). I suggest you do the same; have a page
class with
Hi,
Anyone can share your favorite PHP open source CMS to work with and
what's the reason? I'm looking for something that easily extensible.
I've googled and found severals but I'm still confused, some from the
lists:
- Drupal
- Tomato CMS
- modx
- xoops
- Symphony
Thanks
# Hendry
--
PHP Gener
On Wed, 20 Jan 2010 20:05:42 -0200, bsfaja...@gmail.com (Bruno Fajardo) wrote:
>2010/1/20 :
>> When you are working with sessions, provided you start your program with
>> session_id(), you
>> can then do anything you like with session variables at any point in your
>> program.
>
>Hi,
>
>You mea
On Wed, Jan 20, 2010 at 04:34, richard gray wrote:
>
> Camilo Sperberg wrote:
>
>> Hi list, my first message here :)
>>
>> To the point: I'm programming a class that takes several CSS files,
>> parses,
>> compresses and saves into a cache file. However, I would like to go a step
>> further and al
Bruno Fajardo wrote:
You don't need to use output buffering at all. You only need this
mechanism if your script needs to output stuff before the
session_start() or setcookie() functions get executed.
Output buffering is also used if you need to "output" something before
the headers are sent eith
2010/1/20 :
> When you are working with sessions, provided you start your program with
> session_id(), you
> can then do anything you like with session variables at any point in your
> program.
Hi,
You meant session_start() instead of session_id(), right? But yes,
once you started a session (b
On Thu, 2010-01-21 at 08:43 +1100, clanc...@cybec.com.au wrote:
> On Wed, 20 Jan 2010 13:19:03 +, a...@ashleysheridan.co.uk (Ashley
> Sheridan) wrote:
>
> >On Wed, 2010-01-20 at 15:45 +1100, clanc...@cybec.com.au wrote:
> >
> >> On Tue, 19 Jan 2010 22:45:14 -0500, phps...@gmail.com (Phpster)
On Wed, 2010-01-20 at 13:24 -0800, Daevid Vincent wrote:
> http://www.php.net/manual/en/function.mysql-free-result.php
>
> mysql_free_result($myresult);
>
> NOTE: mysql_free_result() only needs to be called if you are concerned
> about how much memory is being used for queries that return large
On Wed, 2010-01-20 at 13:06 -0800, Daevid Vincent wrote:
> Comments inline below...
>
> > -Original Message-
> > From: Ashley Sheridan
> >
> > GET has a limit on the amount of data it may carry, which is
> > reduced the longer the base URL is.
>
> True, but for search parameters, it's
--
Dasn
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Wed, 20 Jan 2010 13:19:03 +, a...@ashleysheridan.co.uk (Ashley Sheridan)
wrote:
>On Wed, 2010-01-20 at 15:45 +1100, clanc...@cybec.com.au wrote:
>
>> On Tue, 19 Jan 2010 22:45:14 -0500, phps...@gmail.com (Phpster) wrote:
>>
>> >The first setcookie call is empty which produces the errors t
Daevid,
Thanks for the links so I can read up!
-ML
- Original Message -
From: "Daevid Vincent"
To: php-general@lists.php.net
Cc: "Slack-Moehrle"
Sent: Wednesday, January 20, 2010 1:24:16 PM
Subject: RE: [PHP] Close MySQL Result
http://www.php.net/manual/en/function.mysql-free-result.
http://www.php.net/manual/en/function.mysql-free-result.php
mysql_free_result($myresult);
NOTE: mysql_free_result() only needs to be called if you are concerned
about how much memory is being used for queries that return large result
sets. All associated result memory is automatically freed at t
I think I am a dork.
How do I close a MySQL result set to free memory?
Given something like this:
$gsql = "Select * from resources where queryName = 'Production';";
$myresult = mysql_query($gsql) or die('Cannot execute Query: ' . mysql_error());
$Row = mysql_fetch_assoc($myresult);
if
Comments inline below...
> -Original Message-
> From: Ashley Sheridan
>
> GET has a limit on the amount of data it may carry, which is
> reduced the longer the base URL is.
True, but for search parameters, it's IMHO best to use GET rather than POST
so the page can be bookmarked.
This
Daevid Vincent wrote:
> BTW, I want to use GET so that the page can be bookmarked for future
> searches of the same data (or modified easily with different dates, etc.),
> so that's why I don't use POST.
>
to do as you say on the clientside you'd probably be best to write a
short js script to bui
At 11:18 AM -0500 1/20/10, Paul M Foster wrote:
On Wed, Jan 20, 2010 at 10:11:18AM -0500, tedd wrote:
While I teach OOP, I don't write any OOP for clients. My charge is to
do things quickly and OOP requires a considerable amount of analysis
before creating a solution. In most cases, I don
At 11:31 AM -0500 1/20/10, Bob McConnell wrote:
From: tedd
At 10:26 AM -0500 1/19/10, Bob McConnell wrote:
Some problems will fit into it, some don't.
I teach OOP thinking at the local college and haven't run into a
problem that doesn't fit. For example, in my last class I had a woman
w
Hi Bob,
[Couldn't resist jumping into this topic :)]
Even if you look at traditional unix (or similar) kernel internals,
although they tend to use functional paradigms, they do have a
OOP-like flavor. Example:
Everything in a unix system is a 'file' (well not really with
networking logic, but it
On Wed, 2010-01-20 at 10:30 -0800, Michael A. Peters wrote:
> Rene Veerman wrote:
> > Michael, while i respect your choices, i think you should know that
> > jquery.com is pretty good at minimizing browser-incompatibility
> > headaches (and keeping js apps small), and the quircks that are left
> >
Rene Veerman wrote:
Michael, while i respect your choices, i think you should know that
jquery.com is pretty good at minimizing browser-incompatibility
headaches (and keeping js apps small), and the quircks that are left
are easy enough to learn about.
for things whereby
- the server needs to ge
this is at least 1000% faster
the crux is that array()+=array() is way faster than any array_merge()
operations.
global $hmGenKeys;
$hmGenKeys = 0;
function htmlMicroscope_generateRandomArray ($maxKeys, $maxDepth,
$maxDuration=-1) {
global $hmGenKeys;
if ($maxKeys!==null) {
$hmGenKeys = $
Just use the shipping rate web service of your client's shipping carrier
why border building a custom shipping rate calculator
On Wed, Jan 20, 2010 at 10:24 AM, Angelo Zanetti wrote:
> Thanks guys, yes in general we will go with a lookup for each country, it
> wont be accurate but in future we ca
From: tedd
> At 10:26 AM -0500 1/19/10, Bob McConnell wrote:
>> Some problems will fit into it, some don't.
>
> I teach OOP thinking at the local college and haven't run into a
> problem that doesn't fit. For example, in my last class I had a woman
> who wanted to pick out a blue dress for her
On Wed, Jan 20, 2010 at 10:11:18AM -0500, tedd wrote:
>
> While I teach OOP, I don't write any OOP for clients. My charge is to
> do things quickly and OOP requires a considerable amount of analysis
> before creating a solution. In most cases, I don't have the time.
> Besides, I'm more of an agi
tedd wrote on 20/01/2010 16:11:
At 10:26 AM -0500 1/19/10, Bob McConnell wrote:
Some problems will fit into it, some don't.
I teach OOP thinking at the local college and haven't run into a problem
that doesn't fit. For example, in my last class I had a woman who wanted
to pick out a blue dre
2010/1/20 tedd :
> Also IMO, one can argue the advantages that OOP and Design Patterns bring to
> the table over procedural, but after all is said and done, if you know your
> stuff in procedural, OOP is not going to provide you with much that you
> don't already have.
You also have to consider th
Jay Blanchard wrote:
[snip]
My viewpoint may be jaundiced from having programmed in C++, but the
polymorphism of PHP seems a little crippled by comparison.
[/snip]
I wholeheartedly agree, but I figured out how to work with it in PHP to
my advantage and the advantage of my team. It'll get better.
2010/1/20 Edward S.P. Leong :
> Richard Quadling wrote:
>
> 2010/1/20 Edward S.P. Leong :
>
>
> Richard Quadling wrote:
>
> http://www.microsoft.com/downloads/details.aspx?FamilyId=C6C3E9EF-BA29-4A43-8D69-A2BED18FE73C&displaylang=en
>
>
> Sorry,
>
> Would you mind to tell me which for connecting MS
[snip]
My viewpoint may be jaundiced from having programmed in C++, but the
polymorphism of PHP seems a little crippled by comparison.
[/snip]
I wholeheartedly agree, but I figured out how to work with it in PHP to
my advantage and the advantage of my team. It'll get better...
--
PHP General Mai
Thanks guys, yes in general we will go with a lookup for each country, it
wont be accurate but in future we can build rates for each province / state
for each country which an admin would have to complete for each product
(time consuming) but for now the solution will work.
Thanks for the response
On Wed, Jan 20, 2010 at 06:47:04AM -0600, Jay Blanchard wrote:
> [snip]
> > Another advantage of OOP that is difficult to
> > provide via the procedural paradigm is polymorphism.
>
> Agreed. Though the advantages of polymorphism are questionable,
> depending on your viewpoint.
> [/snip]
>
> In a
Richard Quadling wrote:
>2010/1/20 Edward S.P. Leong :
>
>
>>Richard Quadling wrote:
>>
>>http://www.microsoft.com/downloads/details.aspx?FamilyId=C6C3E9EF-BA29-4A43-8D69-A2BED18FE73C&displaylang=en
>>
>>
>>Sorry,
>>
>>Would you mind to tell me which for connecting MS-SQL 2000 and PHP ?
>>
>>Tha
At 10:26 AM -0500 1/19/10, Bob McConnell wrote:
Some problems will fit into it, some don't.
I teach OOP thinking at the local college and haven't run into a
problem that doesn't fit. For example, in my last class I had a woman
who wanted to pick out a blue dress for her upcoming wedding
anni
2010/1/20 Edward S.P. Leong :
> Richard Quadling wrote:
>
> http://www.microsoft.com/downloads/details.aspx?FamilyId=C6C3E9EF-BA29-4A43-8D69-A2BED18FE73C&displaylang=en
>
>
> Sorry,
>
> Would you mind to tell me which for connecting MS-SQL 2000 and PHP ?
>
> Thanks !
>
> Edward.
>
>
>
> Either ODBC
Richard Quadling wrote:
>>http://www.microsoft.com/downloads/details.aspx?FamilyId=C6C3E9EF-BA29-4A43-8D69-A2BED18FE73C&displaylang=en
>>
>>
>>Sorry,
>>
>>Would you mind to tell me which for connecting MS-SQL 2000 and PHP ?
>>
>>Thanks !
>>
>>Edward.
>>
>>
>>
>
>Either ODBC or the MS SQL drive
2010/1/20 Richard Quadling :
> 2010/1/20 Edward S.P. Leong :
>> Richard Quadling wrote:
>>
>> 2010/1/19 Edward S.P. Leong :
>>
>>
>> Richard Quadling wrote:
>>
>>
>>
>> But having said all of that, the php_mssql.dll uses a very old library
>> which may give you issues.
>>
>> For the time being, usi
2010/1/20 Edward S.P. Leong :
> Richard Quadling wrote:
>
> 2010/1/19 Edward S.P. Leong :
>
>
> Richard Quadling wrote:
>
>
>
> But having said all of that, the php_mssql.dll uses a very old library
> which may give you issues.
>
> For the time being, using ODBC (php_odbc is built in for PHP on
> W
Richard Quadling wrote:
>2010/1/19 Edward S.P. Leong :
>
>
>>Richard Quadling wrote:
>>
>>
>>
>>>But having said all of that, the php_mssql.dll uses a very old library
>>>which may give you issues.
>>>
>>>For the time being, using ODBC (php_odbc is built in for PHP on
>>>Windows) is a much s
At 12:42 PM +0100 1/20/10, Rene Veerman wrote:
Hi, for http://mediabeez.ws/htmlMicroscope/ (lgpl) i need to make
large & complex but _randomly filled_ test-arrays.
Sometimes it's good to look at some of php's built in functions, like
shuffle() and array_rand().
Cheers,
tedd
--
---
http
On Tue, 2010-01-19 at 20:55 -0800, Daevid Vincent wrote:
> I have an HTML form with a hundred or so elements on it, used for searching
> a database.
>
> When the user submits the form (via GET) the URL is loaded with ALL of
> these fields, and many of them are not even actually used in the searc
On Wed, 2010-01-20 at 15:45 +1100, clanc...@cybec.com.au wrote:
> On Tue, 19 Jan 2010 22:45:14 -0500, phps...@gmail.com (Phpster) wrote:
>
> >The first setcookie call is empty which produces the errors that cause
> >the second cookie to fail.
>
> I'm afraid not. I modified the program started
[snip]
> Another advantage of OOP that is difficult to
> provide via the procedural paradigm is polymorphism.
Agreed. Though the advantages of polymorphism are questionable,
depending on your viewpoint.
[/snip]
In a loosely typed language like PHP that advantages of polymorphism far
outweigh any
Hi, for http://mediabeez.ws/htmlMicroscope/ (lgpl) i need to make
large & complex but _randomly filled_ test-arrays.
The code i wrote (hastily) for this is taking over 2 hours to generate
65k array values.
I wonder if any of you see a way to improve it's speed.
global $hmGenKeys;
$hmGenKeys = 0;
Michael, while i respect your choices, i think you should know that
jquery.com is pretty good at minimizing browser-incompatibility
headaches (and keeping js apps small), and the quircks that are left
are easy enough to learn about.
for things whereby
- the server needs to generate tons of HTML fo
I am on the top of the world! Borlange University wrote:
hello, i can obnot retrieve a select ject from div innerHTML.
what i want to do is that when a page is loaded, first selector,say #1,
would be shown in the first div by sending a request.then i choose one
option from #1, fire change event o
54 matches
Mail list logo