> -Original Message-
> while(foo){
> $tr = (0 == $trColor % 2)? "#E8E8E8" : "#FF";
> echo "";
> ...
Don't do this modulus (%) math Just toggle a boolean!!
">
smime.p7s
Description: S/MIME cryptographic signature
On 25/04/10 14:17, ioan...@btinternet.com wrote:
I can return a target page - once, but then on refresh within a few
hours the script curl_error is that it cannot connect to the host and
return is empty. The target URL is an ip address, not a named url, so
maybe it has something to do with DNS. I
On 2010/04/30 17:02, Pete Ford wrote:
On 25/04/10 14:17, ioan...@btinternet.com wrote:
I can return a target page - once, but then on refresh within a few
hours the script curl_error is that it cannot connect to the host and
return is empty. The target URL is an ip address, not a named url, so
On 29 April 2010 20:32, Daevid Vincent wrote:
> I'm looking for a script (bash or php) that I would run on my production
> web server that would do this or close to it:
>
> 1. do a CVS/SVN checkout to a new timestamped directory
> 2. change the symlink from the old directory
>
On 30 April 2010 08:40, Daevid Vincent wrote:
>> -Original Message-
>> while(foo){
>> $tr = (0 == $trColor % 2)? "#E8E8E8" : "#FF";
>> echo "";
>> ...
>
> Don't do this modulus (%) math Just toggle a boolean!!
>
> ">
>
The modulus is a good option when there are more than 2 states
[snip]
Don't do this modulus (%) math Just toggle a boolean!!
">
[/snip]
What is wrong with modulus math
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hallo there everyone
although i have built my code correctly according to the examples i found on
the net..
i get Invalid DN syntax error when i try to insert some attributes with ldap
add..
i get and read a csv file where i get the data correctly as i can see on the
echos that follow:
On Fri, 2010-04-30 at 14:34 +0300, Manolis Vlachakis wrote:
> Hallo there everyone
> although i have built my code correctly according to the examples i found on
> the net..
> i get Invalid DN syntax error when i try to insert some attributes with ldap
> add..
>
> i get and read a csv file where
on the array and on the server side i can see the names are added normally
and with the correct encode(despite what i show you )
and the only thing is tha i get that DN not valid...
i used the \r cause i use it on my csv file at least one...
but i am sure (i used a counter for the letters + i compe
On Thu, Apr 29, 2010 at 05:34:38PM -0400, tedd wrote:
> At 11:01 AM -0300 4/29/10, Juan Rodriguez Monti wrote:
>>
>> Tedd,
>> Thanks. I'm gonna check it. I finally solved it using:
>>
>> if ( CONDITIONS )) {
>>
>> $results = query( QUERY );
>> $colors = array('#97b7cd','#96bf8c');
>>
On Fri, 2010-04-30 at 06:14 -0500, Jay Blanchard wrote:
> [snip]
> Don't do this modulus (%) math Just toggle a boolean!!
>
> ">
> [/snip]
>
> What is wrong with modulus math
>
Modulus is the most elegant solution I reckon. Imagine if you only
needed to highlight every 3rd row, or 4th
Paul M Foster wrote:
+1
This thread came up before, and tedd's solution was the least complex,
as far as I could tell. I shamelessly stole his code and regularly use
it in my own projects. ;-}
Or if one choose to use Smarty template.
http://www.smarty.net/manual/en/language.function.cycle.
On Fri, Apr 30, 2010 at 12:11:17PM +0530, Nilesh Govindarajan wrote:
> On 04/30/2010 11:26 AM, Jim Lucas wrote:
>> Nilesh Govindarajan wrote:
>>> Hi,
>>>
>>> As you know there are lot of control panels lying around like Cpanel,
>>> Lxadmin, most of them based on PHP. The control panels allow editi
On Fri, 2010-04-30 at 10:40 -0400, Paul M Foster wrote:
> On Fri, Apr 30, 2010 at 12:11:17PM +0530, Nilesh Govindarajan wrote:
>
> > On 04/30/2010 11:26 AM, Jim Lucas wrote:
> >> Nilesh Govindarajan wrote:
> >>> Hi,
> >>>
> >>> As you know there are lot of control panels lying around like Cpanel,
On 04/30/2010 08:10 PM, Paul M Foster wrote:
On Fri, Apr 30, 2010 at 12:11:17PM +0530, Nilesh Govindarajan wrote:
On 04/30/2010 11:26 AM, Jim Lucas wrote:
Nilesh Govindarajan wrote:
Hi,
As you know there are lot of control panels lying around like Cpanel,
Lxadmin, most of them based on PHP.
On 04/30/2010 08:12 PM, Ashley Sheridan wrote:
On Fri, 2010-04-30 at 10:40 -0400, Paul M Foster wrote:
On Fri, Apr 30, 2010 at 12:11:17PM +0530, Nilesh Govindarajan wrote:
On 04/30/2010 11:26 AM, Jim Lucas wrote:
Nilesh Govindarajan wrote:
Hi,
As you know there are lot of control panels ly
On Fri, 2010-04-30 at 20:23 +0530, Nilesh Govindarajan wrote:
> On 04/30/2010 08:12 PM, Ashley Sheridan wrote:
> > On Fri, 2010-04-30 at 10:40 -0400, Paul M Foster wrote:
> >
> >> On Fri, Apr 30, 2010 at 12:11:17PM +0530, Nilesh Govindarajan wrote:
> >>
> >>> On 04/30/2010 11:26 AM, Jim Lucas wrot
Hi,
I have written this tool : < Portal Manager :: Drupal Management Assembly >
which is to remotely manage a drupal based website
You can manage and edit user properties
You can manage and edit posts
you can sort posts on the bases of taxonomies and then manage and edit
posts
The tool is writte
I have written this code to export data to a text file and asks user
to save generated file. It works with Firefox perfectly, but IE shows
content of file instead of prompting the download window.
How can I force IE to show the download dialog?
--
Ali Asghar Torabi
--
PHP General Mailing List
Hello Ali,
It's attachment, not attachement. Maybe here's the reason? Just a
thought.
--
With best regards from Ukraine,
Andre
Skype: Francophile; Wlm&MSN: arthaelon @ yandex.ru; Jabber: arthaelon @
jabber.org
Yahoo! messenger: andre.polykanine; ICQ: 191749952
Twitter: m_elensule
- Original
On Fri, Apr 30, 2010 at 9:19 AM, Ali Asghar Toraby Parizy
wrote:
> I have written this code to export data to a text file and asks user
> to save generated file. It works with Firefox perfectly, but IE shows
> content of file instead of prompting the download window.
> How can I force IE to show t
At 10:34 AM -0400 4/30/10, Paul M Foster wrote:
On Thu, Apr 29, 2010 at 05:34:38PM -0400, tedd wrote:
> Please critically review my example.
+1
This thread came up before, and tedd's solution was the least complex,
as far as I could tell. I shamelessly stole his code and regularly use
it in m
At 4:37 PM +0200 4/30/10, Jay Ess wrote:
Paul M Foster wrote:
+1
This thread came up before, and tedd's solution was the least complex,
as far as I could tell. I shamelessly stole his code and regularly use
it in my own projects. ;-}
Or if one choose to use Smarty template.
http://www.smart
On Fri, 2010-04-30 at 13:59 -0400, tedd wrote:
> At 4:37 PM +0200 4/30/10, Jay Ess wrote:
> >Paul M Foster wrote:
> >>+1
> >>
> >>This thread came up before, and tedd's solution was the least complex,
> >>as far as I could tell. I shamelessly stole his code and regularly use
> >>it in my own proje
At 7:26 PM +0100 4/30/10, Ashley Sheridan wrote:
On Fri, 2010-04-30 at 13:59 -0400, tedd wrote:
At 4:37 PM +0200 4/30/10, Jay Ess wrote:
Paul M Foster wrote:
+1
This thread came up before, and tedd's solution was the least complex,
as far as I could tell. I shamelessly stole his code and regul
> -Original Message-
> From: Ashley Sheridan [mailto:a...@ashleysheridan.co.uk]
>
> Modulus is the most elegant solution I reckon. Imagine if you only
> needed to highlight every 3rd row, or 4th? Easy to change the modulus
> for it, not so easy to re-work a binary switch.
>
> -Origin
On Fri, 2010-04-30 at 15:59 -0400, tedd wrote:
> At 7:26 PM +0100 4/30/10, Ashley Sheridan wrote:
> >>On Fri, 2010-04-30 at 13:59 -0400, tedd wrote:
> >>At 4:37 PM +0200 4/30/10, Jay Ess wrote:
> >>>Paul M Foster wrote:
> +1
>
> This thread came up before, and tedd's solution was the
hello everybody here is my array(s)
$us_census = array('NY' => array('New York' => 8008278),
'CA' => array('Los Angeles' => 3694820,
'San Diego' =>
1223400),
'IL
On Apr 30, 2010, at 4:20 PM, Daevid Vincent wrote:
-Original Message-
From: Ashley Sheridan [mailto:a...@ashleysheridan.co.uk]
Modulus is the most elegant solution I reckon. Imagine if you only
needed to highlight every 3rd row, or 4th? Easy to change the modulus
for it, not so easy to
Am 01.05.2010 00:57, schrieb Nick Balestra:
> hello everybody here is my array(s)
>
>
> $us_census = array('NY' => array('New York' => 8008278),
> 'CA' => array('Los Angeles' => 3694820,
>'San Diego' =>
thanks Piero!
i was trying to solve an excercise on "learning php5" (O'reilyl) book.
I am happy abotut his solution with the array_sum funtion you suggested, and my
multidimensional array make much more sense to mee then they suggested solution
that also much more line of code comapred...
loo
#x27;, '$description','$image_file_name', ' ',
'$available');
INSERT INTO images (id, image_file) VALUES('','$image_file')";
$sqlResult = $batchconnection->multi_query($sqlStatements);
if($sqlResult == true) {
echo "Succ
turer, type, model,
> caliber, condition, price, description, image_file_name,submitted
> ,available) VALUES ('','$manufacturer', '$type', '$model', '$caliber',
> '$condition', '$price', '$description','$image_file_n
;300)) {
>> if ($_FILES['image_file']['error'] == 0) {
>> // Move the file to the target upload folder
>> $target = 'images/' . $image_file;
>> if (move_uploaded_file($_FILES['image_file']['tmp_n
may be it is not the error with the code. The problem may be with some
' in the input. Print out the mysql error and/or the sql query to see
what is going wrong.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I've been trying to connect to our SharePoint server's webservices
with PHP. I downloaded the nusoap library and have been trying to make
a connection using sample code from various websites. I keep getting
the following error:
You are not authorized to view this page
You do not have permission to
36 matches
Mail list logo