php-general Digest 22 Mar 2011 10:45:42 - Issue 7237
Topics (messages 311980 through 311983):
Re: Question about directory permissions
311980 by: Andy McKenzie
311981 by: Curtis Maurand
SSL issues
311982 by: Bostjan Skufca
311983 by: Richard Quadling
On 22 March 2011 01:21, Bostjan Skufca bost...@a2o.si wrote:
Hi all,
is anyone else experiencing SSL connectivity issues with PHP 5.3(.5|6)?
PHP 5.2.17 compiled identically on the same system with the same
config file connects to remote SSL-enabled host just fine, whereas PHP
5.3 (only tried
This works, but SSL-enabled socket connection does not. Will craft a
short script ASAP.
b.
On 22 March 2011 11:37, Richard Quadling rquadl...@gmail.com wrote:
On 22 March 2011 01:21, Bostjan Skufca bost...@a2o.si wrote:
Hi all,
is anyone else experiencing SSL connectivity issues with PHP
I just remembered, I had unrelated issue yesterday with php 5.3.6.
It is used as standalone socket server with SSL connections and it
suddenly stopped working, server was receiving gibberish instead of
XML requests. I nailed it down to stream_set_blocking() which was set
to false for various
Kinda new to this, but I've been puttering/writing for about 3 weeks now and
have some good working screens up. Ran into something new while I was
debuggina script today.
Tried to echo the $i value within a for loop as part of the list of items I
was building
Something like
for
On Tue, Mar 22, 2011 at 18:22, Jim Giner jim.gi...@albanyhandball.com wrote:
[snip!]
for ($i=0;$i$rows;$i++)
echo $i.' '.$row['itemname'];
I expected to see :
1 item1
2 item2
...
...
but instead I got
1 item1
f item2
Yes - an 'f' and not a 2.
Tried it some more with this:
On 11-03-22 06:22 PM, Jim Giner wrote:
Kinda new to this, but I've been puttering/writing for about 3 weeks now and
have some good working screens up. Ran into something new while I was
debuggina script today.
Tried to echo the $i value within a for loop as part of the list of items I
was
Are you sure?
$ php -a
php for ($i = 0; $i 10; $i++) { echo $i . ' '; }
0 1 2 3 4 5 6 7 8 9
David
On 3/22/2011 6:22 PM, Jim Giner wrote:
Kinda new to this, but I've been puttering/writing for about 3 weeks now and
have some good working screens up. Ran into something new while I was
debuggina script today.
Tried to echo the $i value within a for loop as part of the list of items I
was
ok - here's the code in question.
$q = 'select * from director_records ';
$qrslt = mysql_query($q);
$rows = mysql_num_rows($qrslt);
for ($i=0; $i$rows; $i++)
{
$j = $i+1;
$row = mysql_fetch_array($qrslt);
echo $j.'-'.$row['userid'];
if ($row['user_priv'] )
echo '
On Mar 22, 2011, at 8:42 PM, Jim Giner wrote:
ok - here's the code in question.
$q = 'select * from director_records ';
$qrslt = mysql_query($q);
$rows = mysql_num_rows($qrslt);
for ($i=0; $i$rows; $i++)
{
$j = $i+1;
Am i reading this correctly: the first variable is j (jay) the second
Yes - it is J and I. I tried using $i+1 in the echo originally but it
wouldn't run. That's why I created $j.
And just what is wrong with the old cr/lf sequence? How would you have done
it?
What do you mean 'this alone .'?
Tamara Temple tamouse.li...@gmail.com wrote in message
On Tue, Mar 22, 2011 at 10:50:54PM -0400, Jim Giner wrote:
Yes - it is J and I. I tried using $i+1 in the echo originally but it
wouldn't run. That's why I created $j.
Yes, the substitution creates a syntax error unless surrounded by
parentheses or the like.
And just what is wrong with
13 matches
Mail list logo