[PHP] json_encode strange behavior

2013-05-31 Thread Bruno Hass de Andrade
:Client C} Thanks! -- - Bruno Hass (51) 8911-9274

[PHP] Updating to 5.3.6

2011-06-20 Thread Bruno Coelho
I realize this is a basic matter, but I've installed PHP 5.3.1 with XAMPP for Mac OS. How can I update my PHP version now? Thanks. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Updating to 5.3.6

2011-06-20 Thread Bruno Coelho
I've installed through XAMPP. The latest version of XAMPP still has PHP 5.3.1 A 2011/06/20, às 18:50, Sean Greenslade escreveu: How did you install it? Why can't you just uninstall it and reinstall with the new version? On Jun 20, 2011 12:52 PM, Bruno Coelho brunocsncoe...@gmail.com

Re: [PHP] Greate day for you,

2010-04-07 Thread Bruno Fajardo
2010/4/7 Nilesh Govindarajan li...@itech7.com: On 04/07/10 21:41, Chris G wrote: http://sites.google.com/site/vfgbyuhoi6/kewe2w Bloody asshole spammer. Is there no spam filter at lists.php.net ? It was probably a virus or a trojahn, not intentionally sent to the list by the OP... --

Re: [PHP] PHP MySQL Insert Statements

2010-03-11 Thread Bruno Fajardo
2010/3/11 Martine Osias webi...@gmail.com: Hi, My insert statements on this web page don't execute. The select statements do work. This tells me that the database connection is working. The username and password are the administrator's. What else could prevent the insert statements from

Re: [PHP] Execution order of PHP

2010-03-10 Thread Bruno Fajardo
-multiCall(), assuring that those methods are executed before the multiCall(). Something like: $methodOne = $client-methodOne(); $methodTwo = $client-methodTwo(); $client-system-multiCall($methodOne, $methodTwo); Cheers, Bruno. Is this order something that is specified by PHP and so can be relied

Re: [PHP] Execution order of PHP

2010-03-10 Thread Bruno Fajardo
2010/3/10 Auke van Slooten a...@muze.nl: Bruno Fajardo wrote: 2010/3/10 Auke van Slooten a...@muze.nl Hi, In a hobby project I'm relying on the order in which the following piece of PHP code is executed: $client-system-multiCall(  $client-methodOne(),  $client-methodTwo() ); Can't

Re: [PHP] Execution order of PHP

2010-03-10 Thread Bruno Fajardo
2010/3/10 Andrew Ballard aball...@gmail.com: On Wed, Mar 10, 2010 at 9:54 AM, Bruno Fajardo bsfaja...@gmail.com wrote: [snip] 2010/3/10 Auke van Slooten a...@muze.nl: This is not what I meant. I should perhaps mention that it's an xml-rpc client and the method calls are remote method calls

Re: [PHP] How to get the 'return type' of a function?

2010-02-23 Thread Bruno Fajardo
2010/2/23 Daniel Egeberg degeb...@php.net 2010/2/23 Dasn d...@lavabit.com: Hello guys, I try to use 'ReflectionFunction' to retrieve the info of a function. For example: ?php $rf = new ReflectionFunction('strstr'); echo $rf; ? === output ==

Re: [PHP] Cookies sessions

2010-01-20 Thread Bruno Fajardo
executed. Well, I hope this information is helpful. Cheers, Bruno. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Cookies sessions

2010-01-19 Thread Bruno Fajardo
2010/1/19 clanc...@cybec.com.au: I am trying for the first time to use cookies. The manual contains the statement Cookies are part of the HTTP header, so setcookie() must be called before any output is sent to the browser. When I first started using sessions, I was alarmed to read a very

Re: [PHP] What's the best way to extract HTML out of $var?

2010-01-15 Thread Bruno Fajardo
2010/1/15 alexus ale...@gmail.com: What's the best way to extract HTML out of $var? example of $var $var = a href=http://http://stackoverflow.com/Stack Overflow/a I want $var2 = http://starckoverflow.com/; example: preg_match(); what else? Hi, If you simply wants to remove all tags

Re: [PHP] header(Location:...) fails

2010-01-13 Thread Bruno Fajardo
in the end of the process. Cheers, Bruno. Obviously, I'm missing something incredibly basic. Can anyone help me figure this out? -- Richard S. Crawford (rscrawf...@mossroot.com) http://www.mossroot.com Publisher and Editor in Chief, Daikaijuzine (http://www.daikaijuzine.com) -- PHP

Re: [PHP] SVG and PHP

2010-01-05 Thread Bruno Fajardo
2010/1/5 Alice Wei aj...@alumni.iu.edu Hi, Just went online and saw an SVG generated from Python, and wanted to do the similar thing by loading the SVG into an PHP script. Here is the script that I have: ?php #Load the Map $ourFileName= USA_Counties_with_FIPS_and_names.svg; $fh =

Re: [PHP] Dual PHP installation and session sharing

2009-07-20 Thread Bruno Fajardo
the current one. But if there's a chance to share session in the actual environment, I would certainly prefer that. Thanks for the reply! 2009/7/19 Zareef Ahmed zareef.ah...@gmail.com On Sat, Jul 18, 2009 at 1:34 AM, Bruno Fajardo bsfaja...@gmail.com wrote: Hi all, I'm using Apache/2.2.3

[PHP] Dual PHP installation and session sharing

2009-07-17 Thread Bruno Fajardo
Hi all, I'm using Apache/2.2.3 (Linux/SUSE), running PHP 4.4.7 in CGI mode, in a dual installation with PHP 5.1.2 running as an Apache module. Scripts with .php5 extension are executed by PHP 5, and those with .php are executed by PHP 4, and everything runs as expected. My question is: is it

Re: [PHP] Best Encryption Algorithm

2009-06-03 Thread Bruno Fajardo
Hi there! Try out AES. http://en.wikipedia.org/wiki/Advanced_Encryption_Standard Bruno. 2009/6/3 Hemant Patel hemant.develo...@gmail.com Hello Everyone,                      Hope you all are doing great.                      Now we are creating a application which has high level

Re: [PHP] MYSQL 5 auto increment not working

2009-05-21 Thread Bruno Fajardo
2009/5/21 Leidago !Noabeb leid...@googlemail.com Hi All I know this is not strictly a PHP question, but i have a problem whenever i insert a record using PHP. Basically the auto increment field does not work at all. Here's the structure of the table that i'm using: CREATE TABLE `children`

Re: [PHP] Variables not initialized. Is it possible to...

2009-05-18 Thread Bruno Fajardo
This kind of tip is raised in form of notices. So, to enable that, use the following function on top of your scripts: error_reporting(E_ALL | E_NOTICE); Best regards, Bruno. 2009/5/18 Paul M Foster pa...@quillandmouse.com On Mon, May 18, 2009 at 05:38:37PM +0200, Cesco wrote

Re: [PHP] SQL Injection - Solution

2009-05-06 Thread Bruno Fajardo
), mysql_real_escape_string($lastname)); Cheers, Bruno. Regards, Igor Escobar Systems Analyst Interface Designer -- Personal Blog ~ blog.igorescobar.com Online Portifolio ~ www.igorescobar.com Twitter ~ @igorescobar -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit

Re: [PHP] Re: SQL Injection - Solution

2009-05-06 Thread Bruno Fajardo
trying to solve, has been solved a long time ago. Bruno. That is a recursive function and i can use array_map becouse i some cases we obtain arrays of arrays and that will generate a error. Regards, Igor Escobar Systems Analyst Interface Designer -- Personal Blog ~ blog.igorescobar.com

Re: [PHP] RE: AJAX with POST

2009-04-05 Thread Bruno Fajardo
Ajax is asynchronous. The option of asynchronous or synchronous can be set in the XMLHTTPRequest object (used by Ajax), but a synchronous call is not Ajax. Cheers, Bruno. 2009/4/5 Phpster phps...@gmail.com Ajax can be both async and sync. Itsbthe fourth param in the open call and I believe

Re: [PHP] Re: Extract result from a https remote server response

2009-02-13 Thread Bruno Fajardo
Assigning the return of file_get_contents to a variable? Didn't get your point... 2009/2/13 m a r k u s queribus2...@hotmail.com Shawn McKenzie wrote: Shawn McKenzie wrote: m a r k u s wrote: Hi all, Example :

Re: [PHP] sprintf thousand separator.

2009-02-11 Thread Bruno Fajardo
Can you extend the JPGraph class, intercepting the desired method, formatting the output the way you need? 2009/2/11 João Cândido de Souza Neto j...@consultorweb.cnt.br No, I can´t, because if I do it how can jpgrhph render without numeric data? hehehe Richard Heyes rich...@php.net escreveu

Re: [PHP] php validate user password

2009-02-09 Thread Bruno Fajardo
tedd, I think that the problem of the duplicated hashes in the database (in the case of two users using the same password) persists with a constant prefix in the passwords. Although the random salt portion get stored in the database concatenated to the hash, the attacker don't know the string

Re: [PHP] php validate user password

2009-02-09 Thread Bruno Fajardo
, visit: http://www.php.net/unsub.php -- Bruno Fajardo - Desenvolvimento bruno.faja...@dinamize.com - www.dinamize.com Dinamize RS - Porto Alegre-RS - CEP 90420-111 Fones (51) 3027 7158 / 8209 4181 - Fax (51) 3027 7150 Dinamize BA - Lauro de Freitas - Fone 71 3379.7830 Dinamize SC - Joinville - Fone

Re: [PHP] long echo statement performance question

2009-02-06 Thread Bruno Fajardo
', $var, 'blah', $var2,...ad nauseum ... to output mixed html and php var values? If so could you refer me to a work around, or better way? Frank -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- Bruno Fajardo - Desenvolvimento

Re: [PHP] long echo statement performance question

2009-02-06 Thread Bruno Fajardo
agree. 2009/2/6 Eric Butera eric.but...@gmail.com: On Fri, Feb 6, 2009 at 12:15 PM, Bruno Fajardo bsfaja...@gmail.com wrote: In my opinion, you would achieve better results using a template engine, like Smarty (http://www.smarty.net/). In addition, your code would be entirely separated from

Re: [PHP] long echo statement performance question

2009-02-06 Thread Bruno Fajardo
I am so stick to Smarty that I never tried other solutions, like Savant. Thanks for the tip, I'll try it right away. Cheers. 2009/2/6 Eric Butera eric.but...@gmail.com: On Fri, Feb 6, 2009 at 1:43 PM, Bruno Fajardo bsfaja...@gmail.com wrote: Well, Smarty's caching layer is very fast. Maybe

Re: [PHP] Blank page of hell..what to look for

2009-02-05 Thread Bruno Fajardo
Maybe X-Debug (http://www.xdebug.org/) could help you find bugs in your code, and for development environments it's recommended to use the most sensitive level of messages (turn on E_STRICT and E_NOTIVE, for example). 2009/2/5 Ashley Sheridan a...@ashleysheridan.co.uk On Thu, 2009-02-05 at

[PHP] Web app for betting on soccer WorldCup 2006

2006-05-03 Thread FAURE, Bruno (PCO TECHNOLOGIES)
exist and where I could find one? Thanks in advance, Bruno Worldcup fan This e-mail is intended only for the above addressee. It may contain privileged information. If you are not the addressee you must not copy, distribute, disclose or use any of the information in it. If you have received

[PHP] Get recursive array

2006-02-06 Thread Bruno B B Magalhães
arguments and check if key exists and returns it... I tried func_num_args, and func_get_args, without success. Any ideas? Regards, Bruno B B Magalhaes -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Get recursive array

2006-02-06 Thread Bruno B B Magalhães
arguments and check if key exists and returns it... I tried func_num_args, and func_get_args, without success. Any ideas? Regards, Bruno B B Magalhaes -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Get recursive array

2006-02-06 Thread Bruno B B Magalhães
]; } } unset($reference); } And I didn't double posted, I had to subscribe... and I didn't know if my message had been sent or not. Thanks, Bruno B B Magalhaes -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

[PHP] Imap, reading the email-body

2005-10-19 Thread Bruno Gola
message... I dont know what can i do to fix it... Thanks for any help and sorry any mistakes about my english... Bruno Gola -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: How to read PHP variables.

2005-07-15 Thread Bruno B B Magalhães
and write the strings.. Best Regards, Bruno B B Magalhães -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] How to read PHP variables.

2005-07-12 Thread Bruno B B Magalhães
Hi you all! That's my problem: I have a configuration files with the following structure... $vars['varname'] = 'varvalue'; And I would like to have a module to change those parameters, but I don't know how to write a pattern to match it... Thanks in advance... Best Regards, Bruno B B

Re: [PHP] Formating

2005-07-07 Thread Bruno B B Magalhães
Hi Richard, On Jul 5, 2005, at 6:20 PM, Richard Lynch wrote: On Mon, July 4, 2005 6:48 pm, Bruno B B Magalhães said: For example I have a brazilian zipcode witch is stored in database as Is she a Good Witch, or a Bad Witch? :-) Ups, hehehehe! 22252970 and must be formatted as N-NNN

[PHP] TimeStamp BEFORE 1970

2005-07-07 Thread Bruno B B Magalhães
PROTECTED] * @copyright 2004 by Bruno B B Magalhaes * @copyright 2005 by B3M Development Team * @link http://www.bbbm.com.br/platform/ ***/ class datetime

Re: [PHP] TimeStamp BEFORE 1970

2005-07-07 Thread Bruno B B Magalhães
(31557376.189582). Well, any help is appreciate. At least now I can work on a windows box. Best Regards, Bruno B B Magalhaes On Jul 7, 2005, at 3:42 PM, Richard Davey wrote: Hello Bruno, Thursday, July 7, 2005, 7:04:44 PM, you wrote: BBBM I've read the manual, and the ADOdb Date package functions

Re: [PHP] TimeStamp BEFORE 1970

2005-07-07 Thread Bruno B B Magalhães
; } else { preg_match('([0-2][0-9][0-9][0-9])', $input, $year); preg_replace('([0-2][0-9][0-9][0-9])', '1976', $input); return floor(strtotime($input) + (($year[0] - 1976) * (31557376.189582))); } } Thanks a lot! Best Regards, Bruno B B Magalhaes

Re: [PHP] TimeStamp BEFORE 1970

2005-07-07 Thread Bruno B B Magalhães
the final equation: 189313200 + (-1262295047.583). The result is a negative timestamp: -1072981847.583 Which if we put in a date function, we would get: 01/01/1936. Magic! We have negative timestamp in windows! Was it clear, or I am dreaming awake? hehehehhe Best Regards, Bruno B B Magalhaes

Re: [PHP] TimeStamp BEFORE 1970 AND AFTER 2035

2005-07-07 Thread Bruno B B Magalhães
-9][0-9][0-9])', $input, $year); $input = str_replace($year[0], '1976', $input); return (float)floor(strtotime($input) + (($year[0] - 1976) * (31557376.189582))); } } Shoot! Best Regards, Bruno B B Magalhaes -- PHP General Mailing List (http://www.php.net

[PHP] Formating

2005-07-05 Thread Bruno B B Magalhães
, for example 05117635472 and outputted as NNN.NNN.NNN-NN... Is that any way that I can do it generic, storing the formatting strings ('N- NNN') with languages strings, so it is localised and this would be parsed as: string::format($string, $format); Best Regards, Bruno B B Magalhaes

Re: [PHP] PHP vs. ColdFusion

2005-07-04 Thread Stéphane Bruno
On Fri, 2005-07-01 at 19:01, Mark Charette wrote: It is always funny to read that one needs OO approches to do anything useful. What one needs is a modular approach, re-factoring, and knowing I never said that you NEED OO approach to do anything. I found some problems where an OO approach

Re: Re[2]: [PHP] PHP vs. ColdFusion

2005-07-01 Thread Stéphane Bruno
Hello, I followed the discussions closely. I wanted to reply to some questions I saw in the discussions. I am using both PHP and Coldfusion, but both on Linux platforms. So, I am not bound to Microsoft technologies, and CF runs faster on Linux/Unix than on Windows. Like PHP, there is no need

[PHP] _construct() problem

2005-06-09 Thread Stéphane Bruno
Hello, I designed a player class with the following properties and constructor: class player { private $properties = array('firstname' = NULL, 'lastname' = NULL); function _construct($first, $last) { $this-properties['firstname'] = $first; $this-properties['lastname'] = $last; } }

[PHP] _construct() problem

2005-06-09 Thread Stéphane Bruno
Hello, I designed a player class with the following properties and constructor: class player { private $properties = array('firstname' = NULL, 'lastname' = NULL); function _construct($first, $last) { $this-properties['firstname'] = $first; $this-properties['lastname'] = $last; } }

Re: [PHP] _construct() problem

2005-06-09 Thread Stéphane Bruno
Thanks, Richard It now works. It was not obvious in the book I was using. The author should have put a side note stating it is two underscores instead of one. Stphane On Thu, 2005-06-09 at 08:42, Richard Davey wrote: Hello Stphane, Wednesday, June 8, 2005, 10:23:22 PM, you wrote: SB

[PHP] Re: SSL use

2005-04-23 Thread Bruno Wolff III
On Fri, Apr 22, 2005 at 16:38:29 -0400, ruel.cima [EMAIL PROTECTED] wrote: hi, im handling some important information that needs to be stored in my postgresql database via a php script. i´ve been reading the mails sent on this mailing list on SSL use. my postgresql server allows SSL

Re: [PHP] Re: class calling script

2005-04-12 Thread Bruno B B Magalhães
false; } } else { return $this-_mdl-$module_name = false; return false; } } --- I hope it will help you out. Best Regards, Bruno B B Magalhaes On Apr 12, 2005, at 11:09 AM, Jason Barnett wrote: [EMAIL

Re: [PHP] Simple Licensing System

2005-04-09 Thread Bruno B B Magalhães
Hi Richard, And how do I generate this, and how would I check it?!?! Thanks, Bruno B B Magalhaes On Apr 8, 2005, at 11:48 PM, Richard Lynch wrote: On Fri, April 8, 2005 1:06 pm, Bruno B B Magalhães said: I need a help with a licensing system, I want something very simple, for example a simple var

[PHP] Simple Licensing System

2005-04-08 Thread Bruno B B Magalhães
a simple idea for it? Best Regards, Bruno B B Magalhaes -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] line feed

2005-03-04 Thread Bruno Santos
quotes, in a simple html comand i need to use \ and i dont want that. is any way i could use single quotes, and getting the line feed ?? example: Double quotes: echo table border=\1\ width=\800px\\n; single quotes: echo 'table border=1 width=800px'; cheers Bruno Santos -- Say no to software

Re: [PHP] Re: PHP and Access

2005-02-26 Thread Bruno Santos
pete M wrote: Check this out http://adodb.sourceforge.net/ http://phplens.com/adodb/code.initialization.html#init have fun Pete Bruno Santos wrote: Hello. I need to to an application in PHP with graphics creation. The database where i need to go and fetch the values is access. is possible for PHP

[PHP] Communication protocol of PHP and Mysql

2005-02-25 Thread Bruno Santos
Hello all. Im developing an application as my final school project and for the report (administration manual) i need to specifie the protocol of communication between PHP and Mysql when accessing the mysql database using the functions within PHP. PHP communicates with Mysql throw TCP/IP or any

[PHP] PHP and Access

2005-02-25 Thread Bruno Santos
Hello. I need to to an application in PHP with graphics creation. The database where i need to go and fetch the values is access. is possible for PHP to fecth values from an access database ?? cheers Bruno Santos -- Say no to software patents www.nosoftwarepatents.com/ -- [EMAIL PROTECTED

[PHP] URL encode

2005-02-23 Thread Bruno Santos
can i can resolve it ?? ive tryed with htmlentities, urlencode, urldecode, etc... help ? cheers Bruno Santos -- Say no to software patents www.nosoftwarepatents.com/ -- [EMAIL PROTECTED] -- Divisao de Informatica [EMAIL PROTECTED] Tel: +351 272 000 155 Fax: +351 272 000 257 -- Hospital Amato Lusitano

[PHP] cannot remove cookies

2005-02-22 Thread Bruno Santos
is not working either... PHP version is PHP-5.0.3 Apache version is Apache-2.0.52 Cheers Bruno Santos -- Say no to software patents www.nosoftwarepatents.com/ -- [EMAIL PROTECTED] -- Divisao de Informatica [EMAIL PROTECTED] Tel: +351 272 000 155 Fax: +351 272 000 257 -- Hospital Amato Lusitano [EMAIL

[PHP] memory error

2005-02-17 Thread Bruno Santos
max_input_time = 60 memory_limit = 8M by the way, is there any function that allows me to flush the memory ?? cheers Bruno Santos -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Users logins in Linux machine

2005-02-12 Thread Bruno Santos
/passwd) ?? can it be with LDAP ? or PAM ? or any other method ? cheers ! Bruno Santos -- Say no to software patents www.nosoftwarepatents.com/ -- [EMAIL PROTECTED] -- Divisao de Informatica [EMAIL PROTECTED] Tel: +351 272 000 155 Fax: +351 272 000 257 -- Hospital Amato Lusitano [EMAIL PROTECTED] Tel

[PHP] $GLOBALS, any probolems?

2005-02-09 Thread Bruno B B Magalhães
Hi guys, is there any problems using $GLOBALS superglobal to carry all my global classes instances? For example: $GLOBALS['myclass'] = new myclass(); Regards, Bruno B B Magalhaes -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] URGENT: Break-lines disappearing.

2005-01-20 Thread Bruno B B Magalhães
am really desperate! Please! I am using MySQL and PHP4. Regards, Bruno B B Magalhaes -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Dates, times, timezones...

2005-01-19 Thread Bruno B B Magalhães
to any format and to do math with dates Is this the way? Regards, Bruno B B Magalhaes -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Checking if

2005-01-12 Thread Bruno B B Magalhães
Richard, my solution right know is: if(substr($url,-1) != '/') { $url = $url.'/'; } Simple and fast... :) Regards, Bruno B B Magalhaes On Jan 12, 2005, at 3:37 PM, Richard Lynch wrote: Bruno B B Magalhães wrote: how to determine if the last char of a string is a '/'... The problem

[PHP] client information

2005-01-11 Thread Bruno Santos
variable of the client ? if i make a system call, i get the server information and thats not what i want ? if not with php, is possible to do it with javascript ? thanx in advance Bruno Santos -- Say no to Software patents www.nosoftwarepatents.com -- [EMAIL PROTECTED] -- Divisão de Informática [EMAIL

[PHP] UBB Code correct use

2005-01-11 Thread Bruno B B Magalhães
--- Display Did you get what my question is? :) What is the correct order... I mean, because I am having problems when editing an article all the BRs are being duplicated, and other problems that have to do with the order. Regards, Bruno B B Magalhaes -- PHP General Mailing List (http

[PHP] Checking if

2005-01-11 Thread Bruno B B Magalhães
Hi people, how to determine if the last char of a string is a '/'... The problem, a webpage can be accessed by www.domain.com/page.php or www.domain.com/page.php/ Regards, Bruno B B Magalhães -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: Pagination Optimization

2005-01-08 Thread Bruno B B Magalhães
, Bruno B B Magalhães On Jan 7, 2005, at 10:09 PM, M. Sokolewicz wrote: first of all, you're running 4 queries here. 4 queries is a lot! Especially when you don't need more than 2 ;) the problem here is that your queries are pretty unknown to this function. Although it does a nice result

[PHP] Pagination Optimization

2005-01-07 Thread Bruno B B Magalhães
way to fetch paginated results quicker? I had a project list, without pagination, and when I added the pagination function, it slowed down up to 0.0125 secs. Before it was running at 0.0600 more or less, and now it´s running at 0.07 to 0.075... Best Regards, Bruno B B Magalhães -- PHP General

[PHP] GMT

2005-01-04 Thread Bruno B B Magalhães
to the hour. Regards, Bruno B B Magalhães -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] GMT

2005-01-04 Thread Bruno B B Magalhães
)) { $this-local_timezone_offset = $this-default_timezone_offset - $this-server_timezone_offset; return time()+3600*$this-local_timezone_offset; } else { return time(); } } = Nice regards to you all, Bruno B B Magalhães

[PHP] Frameworks

2004-12-22 Thread Bruno B B Magalhães
(lots of input validation) and its multilingual, fetched from the database. Best Regards, Bruno B B Magalhaes

Re: [PHP] Infinity and nested categories

2004-12-14 Thread Bruno B B Magalhães
Thanks Richard! Helped a lot! Regards, Bruno B B Magalhaes On Dec 13, 2004, at 4:16 PM, Richard Lynch wrote: Bruno B B Magalhães wrote: Hi again everybody, well, I've asked it before, but I couldn't work on this at all. As some knows I have a system witch has a category system. The generic part

[PHP] scripting with php

2004-12-14 Thread Bruno Santos
#!/usr/bin/php -q, but it apears is not working ... can someone tell me how to i use php stand alone ? chears !!! Bruno Santos -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Slow Zend Optimizer

2004-12-14 Thread Bruno B B Magalhães
is this optimizer optimizing?!?1 Regards, Bruno -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Infinity and nested categories

2004-12-12 Thread Bruno B B Magalhães
can I handle those categories! and build a three of it. I am using PHP5 and MySQL 4.1 Regards, Bruno B B Magalhaes -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Friendly URL

2004-12-11 Thread Bruno B B Magalhães
Richard, well a much simpler solution than my old one: $this-uri = explode('/',basename($_SERVER['SCRIPT_NAME']).$_SERVER['PATH_INFO']); Many thanks for your help, Bruno B B Magalhaes On Dec 10, 2004, at 11:57 PM, Richard Lynch wrote: $_SERVER['PHP_SELF'] or $_SERVER['SCRIPT_FILENAME

[PHP] Friendly URL

2004-12-10 Thread Bruno B B Magalhães
{ $this-uri[$i] = strtolower(addslashes(strip_tags($path[$i]))); } } } Regards, Bruno B B Magalhaes -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Not quite PHP, but related...

2004-12-10 Thread Bruno B B Magalhães
, cookie and session headers. Regards, Bruno B B Magalhaes -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Implementing database cache.

2004-12-08 Thread Bruno B B Magalhães
of the query itself. I would love any ideas! :) Nice regards. Bruno B B Magalhaes -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Implementing database cache.

2004-12-08 Thread Bruno B B Magalhães
I am using mysql with cache results enable, but as every addicted I want more and more... course I have to benchmark it to see if its worth... Regards, Bruno B B Magalhes On Dec 8, 2004, at 8:34 PM, John Holmes wrote: Bruno B B Magalhes wrote: Hi again guys, does anybody have am idea of witch

[PHP] Lazy anwsers (WAS: mysql_connect vs mysql_pconnect)

2004-11-27 Thread Bruno B B Magalhães
believe that others do too. So I think that this is the worst kind of comment or suggestion someone can receive. Sorry everybody. Regards, Bruno B B Magalhães -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] identifying the country of the people who connect to web site / portal

2004-11-27 Thread Bruno B B Magalhães
Hi, course you can, you should search harder for it, but I will facilitate for you! :o) http://www.phpclasses.org/browse/package/1477.html Best Regards, Bruno B B Magalhães -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Comment Speed

2004-11-27 Thread Bruno B B Magalhães
idea? Regards, Bruno B B Magalhaes -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] How to $_POST from a grid

2004-11-24 Thread Bruno B B Magalhães
as foreach($modules as $module) { } our also a faster one for($i=0; $i $t; $i++) { } where $t = count($modules)-1;. Best Regards, Bruno B B Magalhães -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Is it a good idea?

2004-11-20 Thread Bruno B B Magalhães
)) { return $this-core-$class = new $class($this); } else { return $this-core-$class; } } Best regards to you all, Bruno B B Magalhaes -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Auto Class loading

2004-11-17 Thread Bruno B B Magalhães
Continuing the classes questions... I have a class loader called 'load_core_class($class=''), but if $class equals to all I would like to load all classes in the core directory, include then AND start then this way: $this-$loadedclassname = new $loadedclassname; Is it possible? Regards, Bruno B

[PHP] Authentication Class

2004-11-16 Thread Bruno B B Magalhães
.. == ?php /** * Project: BBBM Framework * File: authentication.class.php * * @desc Main Authentication Class * @link http://www.bbbm.com.br/ * @copyright 2004 Bruno B B Magalhaes * @author Bruno B B Magalhaes [EMAIL PROTECTED] * @package BBBM Framework * @version 0.5dev */ class authentication

[PHP] Array unset

2004-11-16 Thread Bruno B B Magalhães
[moduleType] = alias [moduleStatus] = 1 ) ) So, the question, how resort the numeric values to 1,2,3,4? Regards, Bruno -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Auto-load class if it doesn't exists!

2004-11-16 Thread Bruno B B Magalhães
'); $myclass = new class(); } Regards, Bruno B B Magalhaes -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Authentication Class

2004-11-16 Thread Bruno B B Magalhães
Is this good or bad? heheh! Regards, Bruno B B Magalhaes On Nov 16, 2004, at 3:31 PM, raditha dissanayake wrote: Bruno B B Magalhães wrote: Hi guys, well, I wrote a class for a big project (a framework), and here it is, I was wondering if someone have any suggestions regarding flexibility

[PHP] Re: [PHP-DB] OOP vs Functions and includes

2004-11-16 Thread Bruno B B Magalhães
is a example of a controller of my framework, can you imagine it using procedural approach? (http://www.yourhostname.com/controller/articles) ?php /** * Project: BBBM Framework * File: site * * @desc Site Controller * @link http://www.bbbm.com.br/ * @copyright 2004 Bruno B B Magalhaes * @author Bruno B B

Re: [PHP] Javascript and php

2004-11-07 Thread Bruno B B Magalhães
. Regards, Bruno B B Magalhães On Nov 7, 2004, at 8:44 AM, Reinhart Viane wrote: Hey all, Hope some of you also work on sundays :) I have a little javascript which displays a images (with previous / next thing) Now, i populate the javascript array with an php array: SCRIPT LANGUAGE=JavaScript !-- Begin

Re: [PHP] Syntax highlighting of odd language

2004-11-05 Thread Bruno B B Magalhães
($oddsyntax[$i],'spam class=highlighted'.$oddsyntax[$i].'/spam',$code); } return $code; } echo highlight_code($code); Regards, Bruno B B Magalhães On Nov 5, 2004, at 6:39 PM, Aaron Gould wrote: Could any of you privide some leads in regard to highlighting syntax of an odd language? I have a large

[PHP] keywords generation

2004-11-05 Thread Bruno B B Magalhães
); } } } = How can I sort the resulting array by value, without loosing its relations. Is there a faster way of doing this? Regards, Bruno B B Magalhaes -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: keywords generation

2004-11-05 Thread Bruno B B Magalhães
as: $keywords = 'dolor,t,eu,te,in'; Got it? Thanks, Bruno B B Magalhaes On Nov 5, 2004, at 7:42 PM, M. Sokolewicz wrote: Bruno b b magalhães wrote: Hi People, well, I am building a very sophisticated(?) CMS, and I am thinking to implement a keyword automatically generation function... I thought

Re: [PHP] Re: keywords generation

2004-11-05 Thread Bruno B B Magalhães
delenit augue duis dolore te feugait nulla facilisi. '; echo generate_keywords($submited_text); Thanks to Tularis and Sokolewicz . Regards, Bruno B B Magalhães -- PHP General Mailing List (http://www.php.net

Re: [PHP] Re: keywords generation (ANOTHER)

2004-11-05 Thread Bruno B B Magalhães
Hi, I am trying to categorize the keywords... for example, if a word shows at the begin probably its more important, but how many occurrences is also important... Does someone knows Googles formula? hehe This code is working more or less as expected! Many Thanks, Bruno

Re: [PHP] PHP framework

2004-10-23 Thread Bruno B B Magalhães
of then: http://www.zope.org http://www.fusebox.org http://www.mojavi.org http://www.binarycloud.com http://www.eZpublish.com http://amb.sourceforge.net http://www.phpmvc.net http://phrame.itsd.ttu.edu http://www.horde.org Best Regards, Bruno B B Magalhães On Oct 23, 2004, at 4:04 PM, Igor wrote: I need

  1   2   >