On Thu, May 1, 2008 at 9:54 AM, Larry Garfield <[EMAIL PROTECTED]>
wrote:
> On Wednesday 30 April 2008, Chris wrote:
> > >> Index on most integer fields only. Text fields can be indexed, but is
> > >> not important when you design your DB well.
> > >>
> > >> Don't index just all integer fields. Ke
On Wed, Apr 30, 2008 at 7:03 PM, Aschwin Wesselius <[EMAIL PROTECTED]>
wrote:
> Shelley wrote:
>
> Don't index just all integer fields. Keep track of the cardinality of a
> column. If you expect a field to have 100.000 records, but with only 500
> distinct values it has no use to put an index on
Hi Richard
Like Chris replied, then the returned value of imap_headerinfo() is an
stdClass object. You can iterate though
all the object properties like this:
$header = '';
foreach($mail_head as $headerbit => $value)
{
if(empty($value))
{
continue;
}
$header .= $headerbit .
Richard Kurth wrote:
> I get a *Catchable fatal error*: Object of class stdClass could not be
> converted to string on this line $mail_head = imap_headerinfo($conn, $i);
RTM.
http://www.php.net/imap_headerinfo
It's an object, not a string.
print_r($mail_head);
--
PHP General Mailing List (h
I get a *Catchable fatal error*: Object of class stdClass could not be
converted to string on this line $mail_head = imap_headerinfo($conn, $i);
if I remove it it works fine what would be casing this I really need to
read the header. I am using php version 5.2.5
$conn = @imap_open("{" . $bou
On Wednesday 30 April 2008, Chris wrote:
> >> Index on most integer fields only. Text fields can be indexed, but is
> >> not important when you design your DB well.
> >>
> >> Don't index just all integer fields. Keep track of the cardinality of a
> >> column. If you expect a field to have 100.000 r
I am trying to use variable variables in an array. ?The last line of code does
not work. ?More specifically the last variable in the last line of code does
not work in this setup. ?The array gets created with the appropriate indexes
however the values are blank. ?I can echo item_value and it con
>> Index on most integer fields only. Text fields can be indexed, but is not
>> important when you design your DB well.
>>
>> Don't index just all integer fields. Keep track of the cardinality of a
>> column. If you expect a field to have 100.000 records, but with only 500
>> distinct values it ha
On Wed, Apr 30, 2008 at 2:58 PM, Richard Heyes <[EMAIL PROTECTED]> wrote:
> but I was thinking if there is the function does that.
>>
>
> array_filter(). Note this:
>
> "If no callback is supplied, all entries of input equal to FALSE (see
> converting to boolean) will be removed."
>
> http://uk3.p
yup! that's the one
:D
thanks richard
Richard Heyes wrote:
>> but I was thinking if there is the function does that.
>
> array_filter(). Note this:
>
> "If no callback is supplied, all entries of input equal to FALSE (see
> converting to boolean) will be removed."
>
> http://uk3.php.net/manual/
but I was thinking if there is the function does that.
array_filter(). Note this:
"If no callback is supplied, all entries of input equal to FALSE (see
converting to boolean) will be removed."
http://uk3.php.net/manual/en/function.array-filter.php
--
Richard Heyes
+
On Wed, Apr 30, 2008 at 2:36 PM, afan pasalic <[EMAIL PROTECTED]> wrote:
> hi,
> as a result of one calculation I'm receiving an array where elements
> could be 0 or date (as string -mm-dd hh:ii:ss).
> I have to check if any of elements of the array is "date" or if all
> elements of the array
hi,
as a result of one calculation I'm receiving an array where elements
could be 0 or date (as string -mm-dd hh:ii:ss).
I have to check if any of elements of the array is "date" or if all
elements of the array is 0?
If I try array_sum($result) I'll get 0 no matter what (0 + $string = 0).
I k
On Wed, Apr 30, 2008 at 2:31 AM, Yehudi Alexis Garrett <[EMAIL PROTECTED]>
wrote:
> I'm using a php script which performs three xml queries to other three
> servers to retrieve a set of ids and after I do a query to mysql of the kind
> SELECT * FROM table WHERE id IN ('set of ids');
> Although I'm
Yehudi Alexis Garrett wrote:
I'm using a php script which performs three xml queries to other three
servers to retrieve a set of ids and after I do a query to mysql of the
kind
SELECT * FROM table WHERE id IN ('set of ids');
Although I'm sure the connection to the database is ok, I sometimes ge
On Wed, Apr 30, 2008 at 1:53 PM, Larry Brown <
[EMAIL PROTECTED]> wrote:
> Sorry no quick silver bullet, but I would highly recommend looking at
> nusoap if only as a test.
>
additionally, i could not find any occurrence of 'attachment' grepping
through the c code in the soap extension or the rpc
I'm not sure how it looks etc with with soapui but I noticed you
mentioning you don't want to mess with nusoap. I've used nusoap for
both client and server uses for years and I'm really impressed with how
easily it works. Using $soapInstance->request and
$soapInstance->response the xml is display
I'm using a php script which performs three xml queries to other three
servers to retrieve a set of ids and after I do a query to mysql of the
kind
SELECT * FROM table WHERE id IN ('set of ids');
Although I'm sure the connection to the database is ok, I sometimes get
an error of this kind:
*War
Alternatively, I suggest you look into VMWare. There are several free
versions (player, server, etc) if you don't want Workstation (which I
absolutely love!) Workstation will give you such life-savers as multiple
Snapshots amongst other things.
http://www.vmware.com/products/player/
http://www.vmw
On Wed, 2008-04-30 at 11:14 +0200, Aschwin Wesselius wrote:
> Shelley wrote:
> > Hi all,
> >
> > I am currently responsible for a subscription module and need to design the
> > DB tables and write code.
> >
> > I have described my table design and queries in the post:
> > http://phparch.cn/index.p
Top posting from my cell...
1. Format hard drive
2. Install redhat fc8 or Ubuntu 8.04
3. Load the new MySQL installation with your backup file
If you really have to stay with windoze, remove and re-install apache. Look at
the system log files as they SHOULD tell you what was causing the crash.
> After reading a bit I see that if I just copy the "data" directory in the
> mySql directory, I can restore it from there? any idea if I have that wrong?
Hmm I guess, but I'd take the safer road and open a console and run:
mysqldump.exe -u -p --all-databases --add-drop-database --opt
> mysq
On Wed, Apr 30, 2008 at 7:35 AM, Eric Butera <[EMAIL PROTECTED]> wrote:
> On Tue, Apr 29, 2008 at 5:07 PM, Nathan Nobbe <[EMAIL PROTECTED]> wrote:
> > i know this has nothing to do w/ getting it to work w/ php, eric, but have
> > you tried hitting the service w/ soap ui?
> > http://www.soapui.or
On Wed, Apr 30, 2008 at 2:53 AM, Warren Vail <[EMAIL PROTECTED]> wrote:
> You should be able to parse it manually in PHP, but probably not with a XML
> parser or reader. Simply var_dump() the responses you are getting and write
> the code to break it up into values you can use. In some respects
On Tue, Apr 29, 2008 at 5:07 PM, Nathan Nobbe <[EMAIL PROTECTED]> wrote:
> i know this has nothing to do w/ getting it to work w/ php, eric, but have
> you tried hitting the service w/ soap ui?
> http://www.soapui.org/
>
> although its written in java, its an indispensable testing tool, imho, and i
Shelley wrote:
Don't index just all integer fields. Keep track of the cardinality of a
column. If you expect a field to have 100.000 records, but with only 500
distinct values it has no use to put an index on that column. A full record
search is quicker.
Hmmm... That's new. :)
Well,
On Wed, Apr 30, 2008 at 5:14 PM, Aschwin Wesselius <[EMAIL PROTECTED]>
wrote:
> Shelley wrote:
>
> > Hi all,
> >
> > I am currently responsible for a subscription module and need to design
> > the
> > DB tables and write code.
> >
> > I have described my table design and queries in the post:
> >
>
Shelley wrote:
Hi all,
I am currently responsible for a subscription module and need to design the
DB tables and write code.
I have described my table design and queries in the post:
http://phparch.cn/index.php/mysql/38-MySQL-configuration/152-best-practices-for-using-mysql-index
The problem i
NOTE: If you are interesting in PHP Debuggers, this is not the mail,
check the start of the thread since after I decided to try JasonPruim
Debug :p we are trying to solve one specific problem.
Now, to who is following the thread ... don't hung me, but i think the
problem was there was because
On Wed, Apr 30, 2008 at 4:28 PM, paragasu <[EMAIL PROTECTED]> wrote:
> You want light outta it?use the jabber2 server as a backend. It'll be
> > done
> > serving while you try to access the database. No need to do a square
> > wheel,
> > when a round one is invented
>
>
> is there any free jab
>
> You want light outta it?use the jabber2 server as a backend. It'll be
> done
> serving while you try to access the database. No need to do a square
> wheel,
> when a round one is invented
is there any free jabber2 server i can use?
Hi List
In Perl it is possible to use the syntax
$0 = "$LISTENER: accepting connections on $SERVER_PORT";
to set a meaningful test string for ps.
Is such a thing, or anything similar, available for PHP?
Regards,
Richard Luckhurst
--
PHP General Mailing List (http
Hi Folks,
Does anybody know of a product (php or otherwise) that enables the
creation of a graphical site map ? I have had a shimmy around the web
but just keep finding classes to create the .xml format site maps.
TIA,
JC
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, vi
33 matches
Mail list logo