php-general Digest 24 Dec 2006 16:23:43 -0000 Issue 4532

2006-12-24 Thread php-general-digest-help
php-general Digest 24 Dec 2006 16:23:43 - Issue 4532 Topics (messages 246185 through 246194): Re: How to Separate PHP Errors to a file different than Apache Errors 246185 by: Sumeet 246187 by: Fahad Pervaiz 246190 by: Roman Neuhauser Re: Clarification: Jump to a

[PHP] Customizing unserialize output.

2006-12-24 Thread Jahangir
I am trying to implement the yahoo search api using php. I prefer to use PHP serialized to get the result of the search displayed. Right now i get the output like: Array ( [ResultSet] = Array ( [type] = web [totalResultsAvailable] = 2080

Re: [PHP] Clarification: Jump to a record/PHP paging...

2006-12-24 Thread Robert Cummings
On Sat, 2006-12-23 at 12:06 -0500, tedd wrote: At 11:24 AM -0500 12/23/06, Robert Cummings wrote: On Sat, 2006-12-23 at 11:05 -0500, tedd wrote: In my opinion, wrong thinking. You ask how many records appear before and after a search string result. That's like asking What's the

Re: [PHP] Re: How to Separate PHP Errors to a file different than Apache Errors

2006-12-24 Thread Roman Neuhauser
Please preserve necessary context in your replies. *At least* the In-Reply-To: header with the correct message-id! # [EMAIL PROTECTED] / 2006-12-24 11:42:45 +0500: First of all php errors are not logged in apache error log. PHP errors are logged seperately. Notices, warnings and errors from at

[PHP] help with curl

2006-12-24 Thread Angelo Zanetti
Dear All, I have a script that uses curl to execute an http request now I use the same code for two different servers. And it works on the first server but not the second. I have stored the URL that it generates on the server that doesnt work and if I paste it into the address bar of the

Re: [PHP] Clarification: Jump to a record/PHP paging...

2006-12-24 Thread Martin Alterisio
To solve a problem like yours I ussualy do the following: First you need to use a deterministic order criteria when displaying the results, this means that according to the order columns you provide, MySQL will not have to decide how to order two rows that have the same values for this columns.

Re: [PHP] help with curlSOLVED

2006-12-24 Thread Angelo Zanetti
it appears the problem with the port and not the timeout. Angelo Zanetti wrote: Dear All, I have a script that uses curl to execute an http request now I use the same code for two different servers. And it works on the first server but not the second. I have stored the URL that it

Re: [PHP] Clarification: Jump to a record/PHP paging...

2006-12-24 Thread tedd
Again, in my opinion, that's fuzzy thinking. Sure, Yeti may be in the monster sub-set, but how much monster it is as compared to Lockness? You need a means, a yardstick, to compare the two with each other. Like, is Lockness bigger than the Yeti while monster-mouse is smaller, or what?

[PHP] calling a function in the same page

2006-12-24 Thread Jahangir
I am trying to call a function from a href inside the same page. this is the code: echo brbra href=\isearch($query)\More results from Mysite/a; // calling the function isearch function isearch($query) {$query=urlencode($query);

[PHP] calling a function in the same page

2006-12-24 Thread Jahangir
I am trying to call a function from a href inside the same page. this is the code: echo brbra href=\isearch($query)\More results from Mysite/a; // calling the function isearch function isearch($query) {$query=urlencode($query);

[PHP] Counting the occurences of items in an array

2006-12-24 Thread Dotan Cohen
Has this wheel been invented, but simpler? I've an array of words that I'd like to know how many occurences of each there are. For instance: $fruits = array( lemon, orange, banana, apple, orange, banana, orange); And I'd like to create this: $fruit_count = array(

Re: [PHP] Counting the occurences of items in an array

2006-12-24 Thread Sumeet
Dotan Cohen wrote: Has this wheel been invented, but simpler? I've an array of words that I'd like to know how many occurences of each there are. For instance: $fruits = array( lemon, orange, banana, apple, orange, banana, orange); And I'd like to create this:

[PHP] Re: Counting the occurences of items in an array

2006-12-24 Thread Myron Turner
From the manual: array array_count_values ( array input) array_count_values() returns an array using the values of the input array as keys and their frequency in input as values. Example 1. array_count_values() example ?php $array = array(1, hello, 1, world, hello);

Re: [PHP] Counting the occurences of items in an array

2006-12-24 Thread tedd
At 8:35 PM +0200 12/24/06, Dotan Cohen wrote: Has this wheel been invented, but simpler? I've an array of words that I'd like to know how many occurences of each there are. For instance: $fruits = array( lemon, orange, banana, apple, orange, banana, orange); And I'd

Re: [PHP] Counting the occurences of items in an array

2006-12-24 Thread Dotan Cohen
Thanks for the link to the function. Know that I did RTFM before posting, but I missed that one. Dotan Cohen http://lyricslist.com/lyrics/artist_albums/219/xyz.php http://simplesniff.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Odd behavior

2006-12-24 Thread jekillen
Hello, Am having trouble with some code. I have been developing a web based application on a machine running php v4.3x, Apache 1.3x Mac OSX 10.3 The application works as expected on this machine. So I copied the code to my server which is running FreeBSD v6.0, Apache 1.3.34, php v5.1.2. On this

[PHP] New ImageMagick Extension

2006-12-24 Thread Kevin Waterson
Just what all long suffering image folks have been needing http://phpro.org/phpdev/New-ImageMagick-Extension.html When finished, this should be alot of fun. K -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php