ente_id - razao_social
10 - Client A
5 - Client B
1 - Client C
json_encode output:
{"10":"Client A","5":"Client B","1":"Client C"}
Thanks!
--
-
Bruno Hass
(51) 8911-9274
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
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
2010/4/7 Nilesh Govindarajan :
> 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...
>
> --
> Nilesh
2010/3/11 Martine Osias :
> 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 executing?
Woul
2010/3/10 Andrew Ballard :
> On Wed, Mar 10, 2010 at 9:54 AM, Bruno Fajardo wrote:
> [snip]
>> 2010/3/10 Auke van Slooten :
>>> This is not what I meant. I should perhaps mention that it's an xml-rpc
>>> client and the method calls are remote method call
2010/3/10 Auke van Slooten :
> Bruno Fajardo wrote:
>>
>> 2010/3/10 Auke van Slooten
>>>
>>> Hi,
>>>
>>> In a hobby project I'm relying on the order in which the following piece
>>> of PHP code is executed:
>>>
>>
ould store they values in local variables, and then
pass them to the $client->system->multiCall(), assuring that those
methods are executed before the multiCall(). Something like:
$methodOne = $client->methodOne();
$methodTwo = $client->methodTwo();
$client->system->multiCall($met
2010/2/23 Daniel Egeberg
>
> 2010/2/23 Dasn :
> > Hello guys, I try to use 'ReflectionFunction' to retrieve the info of a
> > function.
> > For example:
> > >
> > $rf = new ReflectionFunction('strstr');
> > echo $rf;
> > ?>
> > === output ==
> >
> > Function [ functio
ore the
session_start() or setcookie() functions get 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
2010/1/19 :
> 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 similar
> s
2010/1/15 alexus :
> What's the best way to extract HTML out of $var?
>
> example of $var
>
> $var = "http://http://stackoverflow.com/"Stack Overflow"
> I want
>
> $var2 = "http://starckoverflow.com/";
> example: preg_match();
>
> what else?
Hi,
If you simply wants to remove all tags from the stri
ng in putting a die command after the
header("Location"). In fact, it is common. The header() command by
itself don't imply in the send of the request. You can have many
header() commands in sequence, and the header will be sent only in the
end of the process.
Cheers,
Bruno.
>
2010/1/5 Alice Wei
>
> 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:
>
>
> #Load the Map
> $ourFileName= "USA_Counties_with_FIPS_and_names.svg";
> $fh = fopen($ourFileN
iscontinue 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
>
>
> On Sat, Jul 18, 2009 at 1:34 AM, Bruno Fajardo wrote:
>>
>> Hi all,
>>
>> I'
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 possi
Hi there!
Try out AES.
http://en.wikipedia.org/wiki/Advanced_Encryption_Standard
Bruno.
2009/6/3 Hemant Patel
>
> Hello Everyone,
> Hope you all are doing great.
> Now we are creating a application which has high level
> of security so i
2009/5/21 Leidago !Noabeb
> 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` (
> `cid` int
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
> On Mon, May 18, 2009 at 05:38:37PM +0200, Cesco wrote:
>
> > Is it possi
ng 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
>
ape_string() like Shawn said, possibly something
like this would do the trick (from
http://br2.php.net/manual/en/function.mysql-query.php):
$query = sprintf("SELECT firstname, lastname, address, age FROM
friends WHERE firstname='%s' AND lastname='%s'",
mysql_real_escape_string($firstna
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
> Ajax can be both async and sync. Itsbthe fourth param in the open call and
> I believe by default
Assigning the return of file_get_contents to a variable?
Didn't get your point...
2009/2/13 m a r k u s
>
> Shawn McKenzie wrote:
>>
>> Shawn McKenzie wrote:
>>>
>>> m a r k u s wrote:
Hi all,
Example :
https://www.moneybookers.com/app/email_check.pl?email=t...@toto.com&
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
>
> No, I can´t, because if I do it how can jpgrhph render without numeric data?
> hehehe
>
> "Richard Heyes" escreveu na mensagem
> news:af872644090
> another hash that does not have the same collision issues.
>
> Thank you,
> Micah Gersten
> onShore Networks
> Internal Developer
> http://www.onshore.com
>
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.p
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 le
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 :
> On Fri, Feb 6, 2009 at 1:43 PM, Bruno Fajardo wrote:
>> Well, Smarty's caching layer is very fast. Maybe not as fast as an
>
ication, i agree.
2009/2/6 Eric Butera :
> On Fri, Feb 6, 2009 at 12:15 PM, Bruno Fajardo 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 fro
>
> echo 'blah', $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 unsu
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
>
> On Thu, 2009-02-05 at 12:22 -0500, Paul M Foster w
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
& $reference[$argument];
}
}
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 un
a function that gets those values and subvalues, but
there is one small catch, I need to dynamically get parsed 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
a function that gets those values and subvalues, but
there is one small catch, I need to dynamically get parsed 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
main page and try to read any 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
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
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 advan
preg_match('([0-9][0-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
and now multiply by number of seconds in a year
(31557376.189582) before Gregorian Calendar, and we will get:
-1262295047.583
Now we calculate the timestamp from 01/01/1976: 189313200
Now we have the final equation: 189313200 + (-1262295047.583).
The result is a negative timestamp: -1072981847
return $output;
}
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)));
}
}
Tha
I found
a round number (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
t;[EMAIL PROTECTED]>
* @copyright 2004 by Bruno B B Magalhaes
* @copyright 2005 by B3M Development Team
* @link http://www.bbbm.com.br/platform/
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
only, 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,
Brun
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 he
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 for
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.
Stéphane
On Thu, 2005-06-09 at 08:42, Richard Davey wrote:
> Hello Stéphane,
>
> Wednesday, June 8, 2005, 10:23:22 PM, you wrote:
>
> S
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;
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;
}
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 allow
return true;
}
return true;
}
else
{
return $this->_mdl->$module_name = false;
return false;
}
}
else
{
return $this->_mdl->$module_name = false;
return false;
}
}
else
{
return $this->_mdl->$module_name = false;
re
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
ave 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
use double 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 "\n";
single quotes:
echo '';
cheers
Bruno Santos
--
Say no to software patents
w
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
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
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
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
er im testing it is firefox (linux)
but in IE 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
= 300
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
m ?? (/etc/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 PROT
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
}
else
{
return $input_data;
}
}
Where are the break-lines?!?!? I 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
7;s easy to
convert 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
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 &
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
Database ---> UBB Decode ---> 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 Ge
he DISPLAY 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át
{
return null;
}
return $results;
}
===
Regards,
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 nee
My question is: Is there ANY way to speed up this function, or any 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 runnin
efault_timezone_offset))
{
$this->local_timezone_offset = $this->default_timezone_offset -
$this->server_timezone_offset;
return time()+3600*$this->local_timezone_offset;
}
else
{
return time();
}
}
=====
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
tion class (lots of input validation)
and its multilingual, fetched from the database.
Best Regards,
Bruno B B Magalhaes
used #!/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
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 gener
hell is this optimizer optimizing?!?1
Regards,
Bruno
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
AND category_id='022')
My problem is that how 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
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_SE
post, get, 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
] =
strtolower(addslashes(strip_tags(eregi_replace($get_string,'',$path[$i])
)));
}
else
{
$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
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 Magalhães
On Dec 8, 2004, at 8:34 PM, John Holmes wrote:
Bruno B B Magalhães wrote:
Hi again guys,
does anybody have am idea of witch
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
cess.
Any idea?
Regards,
Bruno B B Magalhaes
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
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
)
and I 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
g 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
}
}
elseif(!isset($this->core->$class))
{
return $this->core->$class =& new $class($this);
}
else
{
return $this->core->$class;
}
}
Best regards to you all,
Bruno B
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 possib
Here is a example of a controller of my framework, can you imagine it
using procedural approach?
(http://www.yourhostname.com/controller/articles)
http://www.bbbm.com.br/
* @copyright 2004 Bruno B B Magalhaes
* @author Bruno B B Magalhaes <[EMAIL PROTECTED]>
* @package BBBM Framework
*
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 and
.class.php');
$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
(
[moduleId] => 2
[moduleName] => Logout
[modulePath] => logout
[moduleAliasPath] =>
[moduleController] => administration
[moduleLevel] => 5
[moduleOrder] => 3
[moduleVisibility] => 1
[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
table..
==
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
{
var $domain;
var $database;
var $authentica
Reinhart,
picture_url.'"';
if($i <= mysql_num_rows($result)-2)
{
echo ',';
}
}
?>
Here is how I do in my developments.
Regards,
Bruno B B Magalhães
On Nov 7, 2004, at 8:44 AM, Reinhart Viane wrote:
Hey all,
Hope some o
Hi,
I am trying to categorize the keywords... for example, if a word shows
at the begin probably it´s more important, but how many occurrences is
also important...
Does someone knows Google´s formula? hehe
This code is working more or less as expected!
Many Thanks,
Bruno
at
nulla facilisis at vero eros et accumsan et iusto odio dignissim qui
blandit praesent luptatum zzril delenit augue duis dolore te feugait
nulla facilisi. ';
echo generate_keywords($submited_text);
====
Than
um] => 0
[zzril] => 1
[delenit] => 1
[ugue] => 1
[duis] => 1
[te] => 4
[fcilisi] => 0
)
Which is the word and it total occurrence in the text... Now I want to
sort it from the highest values to the lowest... and then return a
keyword string as:
$k
{
$total[$val] = substr_count($text,$val);
}
}
}
=
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
-1; $i++)
{
$highlighted_code = eregi_replace($oddsyntax[$i],''.$oddsyntax[$i].'',$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 synt
Well,
we call it pre-testing, the only way, and the better one, is doing it
with the future users of your system!
Regards,
Bruno B B Magalhães
On Oct 23, 2004, at 10:00 PM, blackwater dev wrote:
Hello all,
I know I can use simpletest to test my application at the class level
but I need a tool
1 - 100 of 154 matches
Mail list logo