php-general Digest 5 Nov 2006 18:14:04 -0000 Issue 4442

Topics (messages 244223 through 244239):

imagejpeg
        244223 by: Ron Piggott (PHP)
        244226 by: Dotan Cohen

Re: 301 redirect returning 302 instead
        244224 by: ianevans.digitalhit.com

Re: Trying to create an encryption method
        244225 by: Paul Novitski
        244230 by: Jochem Maas
        244234 by: John Meyer

XML Sending problem
        244227 by: Rosen
        244229 by: Michal Manko
        244231 by: Rosen
        244235 by: Stut
        244237 by: Myron Turner

Re: Closing a connection to browser without exiting the script
        244228 by: David Négrier
        244238 by: Larry Garfield

Sorting MySQL queries
        244232 by: Dotan Cohen

PHP in Kenya
        244233 by: Mark Steudel

Re: in_array() related problem
        244236 by: tamcy

Re: [newbie in session] Is is right behavior???
        244239 by: Jürgen Wind

Administrivia:

To subscribe to the digest, e-mail:
        [EMAIL PROTECTED]

To unsubscribe from the digest, e-mail:
        [EMAIL PROTECTED]

To post to the list, e-mail:
        [email protected]


----------------------------------------------------------------------
--- Begin Message ---
Is there a way to specify a font when using imagejpeg ?  Ron

--- End Message ---
--- Begin Message ---
On 05/11/06, Ron Piggott (PHP) <[EMAIL PROTECTED]> wrote:
Is there a way to specify a font when using imagejpeg ?  Ron



On this page:
http://il.php.net/imagejpeg

Take a look at the comment by Olav Alexander Mjelde.

Dotan Cohen

http://what-is-what.com/what_is/sitepoint.html
http://technology-sleuth.com/

--- End Message ---
--- Begin Message ---
Chris,

I just posted this to php-internals in response to someone else, but this
tale of woe shows the problem:

header("HTTP/1.1 301 Moved Permanently");
header("Location: http://...";);
exit();

produces a 302.

header("Location: http://...";);
header("HTTP/1.1 301 Moved Permanently");
exit();

produces a 302.

header("Location: http://...",false,301);

produces a 302 and, for good luck,

header("Location: http://...",true,301);

produces a 302.

Everything's producing a 302. So you can see the dilemma.

--- End Message ---
--- Begin Message ---
At 11/4/2006 08:15 PM, John Meyer wrote:
I'm trying to create this encryption method for puzzles (nothing super
secret, just those cryptograms), but this seems to time out, can anybody
point out what I'm doing wrong here:

for ($i=1;$i<=26;$i++) {
            $normalAlphabet[$i] = chr($i);
        }
        //now, to shuffle

        for ($j=1;$j<=26;$j++) {
            do {
            $k = rand(1,26);
            } while ($k == $j || (strlen(trim($normalAlphabet[$k])) === 0));
            $arEncryptedAlphabet[$j] = $normalAlphabet[$k];
            $normalAlphabet[$k] = "";
        }
        $arNormalString = str_split($normalzedString);
        $encryptedString = "";
        for ($i=0;$i<count($arNormalString);$i++) {
            if (ord($arNormalString[$i])>=65 &&
ord($arNormalString[$i])<=90) {
                $encryptedString = $encryptedString .
$arEncryptedAlphabet[ord($arNormalString[$i]) - 64];
            } else {
                $encryptedString = $encryptedString . $arNormalString[$i];
            }
        }
        return $encryptedString;
    }

At 11/4/2006 08:43 PM, Stut wrote:
Both the inner loop and the outer loop are using $i, meaning the outer loop will never end since it gets reset in the inner loop.


No, there is no loop nesting. The OP's indenting is misleading. Here's a reformatted version:
____________________________

for ($i=1;$i<=26;$i++)
{
        $normalAlphabet[$i] = chr($i);
}

//now, to shuffle
for ($j=1;$j<=26;$j++)
{
        do
        {
                $k = rand(1,26);
        }
        while ($k == $j || (strlen(trim($normalAlphabet[$k])) === 0));

        $arEncryptedAlphabet[$j] = $normalAlphabet[$k];
        $normalAlphabet[$k] = "";
}

$arNormalString = str_split($normalzedString);
$encryptedString = "";

for ($i=0;$i<count($arNormalString);$i++)
{
if (ord($arNormalString[$i])>=65 && ord($arNormalString[$i])<=90)
                {
$encryptedString = $encryptedString . $arEncryptedAlphabet[ord($arNormalString[$i]) - 64];
                }
                else
                {
$encryptedString = $encryptedString . $arNormalString[$i];
                }
}
return $encryptedString;

}
____________________________

The script spends eternity executing the do...while loop. John, display your values at each loop while your code is running to see where your problem lies.

By the way, are you aware that chr(1) isn't 'A'? It's hex(01). 'A' = hex(40) = dec(64). Your array $normalAlphabet is not going to contain the alphabet the way it's written now.

Regards,
Paul

--- End Message ---
--- Begin Message ---
$secret  = "HalloWorld";
$encoded = "";

$a = $b = range("a","z");
shuffle($b);
$c = array_combine($a, $b);

foreach (str_split(strtolower($secret)) as $v)
        $encoded .= isset($c[ $v ]) ? $c[ $v ] : $v;

var_dump($c, $secret, $encoded);


Paul Novitski wrote:
> At 11/4/2006 08:15 PM, John Meyer wrote:
>> I'm trying to create this encryption method for puzzles (nothing super
>> secret, just those cryptograms), but this seems to time out, can anybody
>> point out what I'm doing wrong here:
>>
>> for ($i=1;$i<=26;$i++) {
>>             $normalAlphabet[$i] = chr($i);
>>         }
>>         //now, to shuffle
>>
>>         for ($j=1;$j<=26;$j++) {
>>             do {
>>             $k = rand(1,26);
>>             } while ($k == $j || (strlen(trim($normalAlphabet[$k]))
>> === 0));
>>             $arEncryptedAlphabet[$j] = $normalAlphabet[$k];
>>             $normalAlphabet[$k] = "";
>>         }
>>         $arNormalString = str_split($normalzedString);
>>         $encryptedString = "";
>>         for ($i=0;$i<count($arNormalString);$i++) {
>>             if (ord($arNormalString[$i])>=65 &&
>> ord($arNormalString[$i])<=90) {
>>                 $encryptedString = $encryptedString .
>> $arEncryptedAlphabet[ord($arNormalString[$i]) - 64];
>>             } else {
>>                 $encryptedString = $encryptedString .
>> $arNormalString[$i];
>>             }
>>         }
>>         return $encryptedString;
>>     }
> 
> At 11/4/2006 08:43 PM, Stut wrote:
>> Both the inner loop and the outer loop are using $i, meaning the outer
>> loop will never end since it gets reset in the inner loop.
> 
> 
> No, there is no loop nesting.  The OP's indenting is misleading.  Here's
> a reformatted version:
> ____________________________
> 
> for ($i=1;$i<=26;$i++)
> {
>         $normalAlphabet[$i] = chr($i);
> }
> 
> //now, to shuffle
> for ($j=1;$j<=26;$j++)
> {
>         do
>         {
>                 $k = rand(1,26);
>         }
>         while ($k == $j || (strlen(trim($normalAlphabet[$k])) === 0));
> 
>         $arEncryptedAlphabet[$j] = $normalAlphabet[$k];
>         $normalAlphabet[$k] = "";
> }
> 
> $arNormalString = str_split($normalzedString);
> $encryptedString = "";
> 
> for ($i=0;$i<count($arNormalString);$i++)
> {
>                 if (ord($arNormalString[$i])>=65 &&
> ord($arNormalString[$i])<=90)
>                 {
>                         $encryptedString = $encryptedString .
> $arEncryptedAlphabet[ord($arNormalString[$i]) - 64];
>                 }
>                 else
>                 {
>                         $encryptedString = $encryptedString .
> $arNormalString[$i];
>                 }
> }
> return $encryptedString;
> 
> }
> ____________________________
> 
> The script spends eternity executing the do...while loop.  John, display
> your values at each loop while your code is running to see where your
> problem lies.
> 
> By the way, are you aware that chr(1) isn't 'A'?   It's hex(01).  'A' =
> hex(40) = dec(64).  Your array $normalAlphabet is not going to contain
> the alphabet the way it's written now.
> 
> Regards,
> Paul
> 

--- End Message ---
--- Begin Message ---
Modified the script, and that's what I needed, thanks.
Jochem Maas wrote:
> $secret  = "HalloWorld";
> $encoded = "";
>
> $a = $b = range("a","z");
> shuffle($b);
> $c = array_combine($a, $b);
>
> foreach (str_split(strtolower($secret)) as $v)
>       $encoded .= isset($c[ $v ]) ? $c[ $v ] : $v;
>
> var_dump($c, $secret, $encoded);
>   

--- End Message ---
--- Begin Message ---
Hi,

I need to create an XML file and send it to another server, where script 
process the XML.
With creation and processing of XML I don't have a promlems, but how I can 
send XML to the processing script on another server ?


Thanks in advance,
Rosen 

--- End Message ---
--- Begin Message ---
Hi Rosen,
You can do this for some ways.
The simplest:
1. Send via ftp - http://php.net/ftp
2. Send via scp using ssh2 - http://php.net/ssh2

Regards
Michael

Rosen said:
Hi,

I need to create an XML file and send it to another server, where script process the XML. With creation and processing of XML I don't have a promlems, but how I can send XML to the processing script on another server ?


Thanks in advance,
Rosen

--- End Message ---
--- Begin Message ---
"Unknown Sender" <[EMAIL PROTECTED]> wrote in message 
news:[EMAIL PROTECTED]
> Hi Rosen,
> You can do this for some ways.
> The simplest:
> 1. Send via ftp - http://php.net/ftp
> 2. Send via scp using ssh2 - http://php.net/ssh2
>
> Regards
> Michael
>
Thanks Michael, but I want if it is possible to do something like "POST" in 
normal HTML language and "say" to the remote script to process XML. And I 
don't have FTP access to remote server. The idea is to working only with XML 
protocol to communicate with remote server. I think I have read something 
like this in the internet, but can't remember where :(

Regards
Rosen



> Rosen said:
>> Hi,
>>
>> I need to create an XML file and send it to another server, where script 
>> process the XML.
>> With creation and processing of XML I don't have a promlems, but how I 
>> can send XML to the processing script on another server ?
>>
>>
>> Thanks in advance,
>> Rosen 

--- End Message ---
--- Begin Message ---
Rosen wrote:
"Unknown Sender" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]
Hi Rosen,
You can do this for some ways.
The simplest:
1. Send via ftp - http://php.net/ftp
2. Send via scp using ssh2 - http://php.net/ssh2

Regards
Michael

Thanks Michael, but I want if it is possible to do something like "POST" in normal HTML language and "say" to the remote script to process XML. And I don't have FTP access to remote server. The idea is to working only with XML protocol to communicate with remote server. I think I have read something like this in the internet, but can't remember where :(

XML is not a protocol, but that's really not the point.

Have a look at the CURL functions: http://php.net/curl

-Stut

--- End Message ---
--- Begin Message ---
Your question interested me for my own work, so I found this url:
   http://www.zend.com/zend/spotlight/mimocsumissions.php

The script, disentangled from the commentary (& with a few of my own comments) is as follows:



function post_it($datastream, $url)
{

  $url = preg_replace("@^http://@i";, "", $url);
  $host = substr($url, 0, strpos($url, "/"));
  $uri = strstr($url, "/");

  $reqbody = "";
  foreach($datastream as $key=>$val) {
      if (!empty($reqbody)) $reqbody.= "&";
  $reqbody.= $key."=".urlencode($val);
  }

// the trick here is to know that the Host // header identifies the script, not the uri
  $contentlength = strlen($reqbody);
  $reqheader =  "POST $uri HTTP/1.1\r\n".
               "Host: $host\n". "User-Agent: PostIt\r\n".
  "Content-Type: application/x-www-form-urlencoded\r\n".
  "Content-Length: $contentlength\r\n\r\n".
          "$reqbody\r\n";

    $socket = fsockopen($host, 80, $errno, $errstr);

   if (!$socket) {
      $result["errno"] = $errno;
      $result["errstr"] = $errstr;
      return $result;
   }

  fputs($socket, $reqheader);

  while (!feof($socket)) {
     $result[] = fgets($socket, 4096);
  }

  fclose($socket);

  return $result;

}

?>

<?php

$data["xml"] = $xml_data; //here of course "xml" will be replaced by // your own name for the value $xml_data


$result = post_it($data, "http://www.example.com/cgi-bin/test/script.php";);

  if (isset($result["errno"])) {
    $errno = $result["errno"];
    $errstr = $result["errstr"];
    echo "<B>Error $errno</B> $errstr";
    exit;
  } else {

    for($i=0;$i< count($result); $i++) echo $result[$i];

  }

?>

Rosen wrote:
"Unknown Sender" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]
Hi Rosen,
You can do this for some ways.
The simplest:
1. Send via ftp - http://php.net/ftp
2. Send via scp using ssh2 - http://php.net/ssh2

Regards
Michael

Thanks Michael, but I want if it is possible to do something like "POST" in normal HTML language and "say" to the remote script to process XML. And I don't have FTP access to remote server. The idea is to working only with XML protocol to communicate with remote server. I think I have read something like this in the internet, but can't remember where :(

Regards
Rosen



Rosen said:
Hi,

I need to create an XML file and send it to another server, where script process the XML. With creation and processing of XML I don't have a promlems, but how I can send XML to the processing script on another server ?


Thanks in advance,
Rosen


--

_____________________
Myron Turner
http://www.room535.org
http://www.bstatzero.org
http://www.mturner.org/XML_PullParser/

--- End Message ---
--- Begin Message ---
Hi All,

Thanks a lot for your numerous answers.
I've learned a lot from all your suggestions.
Actually, combining all your answers, I'll come up with a solution.
To be more explicit on what I want to do, I want in fact to start a script, I want that script to display a page, and then, I want that script not to stop, but I want to be able to access that script back using AJAX calls from the web page. So my script is opening a network connection after having displayed the web page and is waiting for incoming calls. Although no solution given here is fully satisfying (because I don't want to launch antother script, I want to remain in the same) I still can find a way to close my connection to the browser (using a header specifying the connection length) and then go back to my script using AJAX.

Thanks a lot for the time you took to propose solutions.
Best regards,
David.
www.thecodingmachine.com

Eric Butera a écrit :
On 11/1/06, David Négrier <[EMAIL PROTECTED]> wrote:
Hello there,

I'm having a somewhat unusual question here, and I cannot find any way
to solve it.

I have a PHP page that displays a message, and then, performs a very
long operation. Note that it displays the message first.
I do not intend to give some feedback to the user when the operation is
done.

I've seen I can use ignore_user_abort() to prevent the user from
stopping the ongoing operation, but that solves only part of my problem.
Because as long as the page is not fully loaded, the mouse cursor in the
user's browser is showing a watch.

So ideally, what I would like is to be able to close the connection from
the server-side, but without using the exit() function, so my script
keeps running afterwards.

I know I could use a system() call to launch another process to do the
processing, but I would like to avoid doing that, because there are many
variables in the context that I cannot easily pass in parameter.

I also tried to use the register_shutdown_function() to perform my
operation after the page is displayed but since PHP 4.1.0, the
connection is closed after the function is called....

Would any of you have an idea on how I could close that connection?

Thanks a lot,
David
www.thecodingmachine.com

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



If you haven't gone with any of the listed methods yet you could use
fsockopen with a timeout value to accomplish your goal.

frontend.php:
<?php
$fp = fsockopen("localhost", 80);
fwrite($fp, "GET /long_processing_script.php HTTP/1.0\r\n\r\n");
stream_set_timeout($fp, 1);
echo "done!";
?>

long_processing_script.php:
<?php
ignore_user_abort();
set_time_limit(0);
// do stuff here
?>


--- End Message ---
--- Begin Message ---
Well, really you can't do that.  A PHP request only takes interrupt input when 
it starts, from the GET, POST, COOKIE, and SESSION magic variables.  It 
doesn't run as a daemon.  A fresh Ajax call to the script starts a new 
instance of the script.  Fortunately, PHP's engine is fast enough that the 
performance is still not that much of a problem unless you're grossly 
over-including code.

The only way to have a "stay-resident" PHP daemon for Ajax callbacks would be 
to either (a) Use an Opcode cache, which is not really a stay-resident but 
would eliminate a lot of the repetitive initialization in the engine or (b) 
write a CLI PHP script that you load on the server as a daemon that listens 
on a port, essentially same way that apache or MySQL or postfix or any other 
daemon does.  For the latter you may have to use an off-port.  

For what you're trying to do, I'd suggest just writing your script normally 
and letting the Zend engine take care of it for you.  If you're really 
concerned about performance you can have two include conditions, one for a 
full page and one for an Ajax call, but you have to be very careful about how 
you structure your code then.  An Opcode cache would be easier and more 
flexible.

As for persistent data across requests, that's what sessions are for.

On Sunday 05 November 2006 06:04, David Négrier wrote:
> Hi All,
>
> Thanks a lot for your numerous answers.
> I've learned a lot from all your suggestions.
> Actually, combining all your answers, I'll come up with a solution.
> To be more explicit on what I want to do, I want in fact to start a
> script, I want that script to
> display a page, and then, I want that script not to stop, but I want to
> be able to access that script
> back using AJAX calls from the web page. So my script is opening a
> network connection after having displayed the
> web page and is waiting for incoming calls. Although no solution given
> here is fully satisfying (because I don't want
> to launch antother script, I want to remain in the same) I still can
> find a way to close my connection to the browser (using
> a header specifying the connection length) and then go back to my script
> using AJAX.
>
> Thanks a lot for the time you took to propose solutions.
> Best regards,
> David.
> www.thecodingmachine.com
>
> Eric Butera a écrit :
> > On 11/1/06, David Négrier <[EMAIL PROTECTED]> wrote:
> >> Hello there,
> >>
> >> I'm having a somewhat unusual question here, and I cannot find any way
> >> to solve it.
> >>
> >> I have a PHP page that displays a message, and then, performs a very
> >> long operation. Note that it displays the message first.
> >> I do not intend to give some feedback to the user when the operation is
> >> done.
> >>
> >> I've seen I can use ignore_user_abort() to prevent the user from
> >> stopping the ongoing operation, but that solves only part of my problem.
> >> Because as long as the page is not fully loaded, the mouse cursor in the
> >> user's browser is showing a watch.
> >>
> >> So ideally, what I would like is to be able to close the connection from
> >> the server-side, but without using the exit() function, so my script
> >> keeps running afterwards.
> >>
> >> I know I could use a system() call to launch another process to do the
> >> processing, but I would like to avoid doing that, because there are many
> >> variables in the context that I cannot easily pass in parameter.
> >>
> >> I also tried to use the register_shutdown_function() to perform my
> >> operation after the page is displayed but since PHP 4.1.0, the
> >> connection is closed after the function is called....
> >>
> >> Would any of you have an idea on how I could close that connection?
> >>
> >> Thanks a lot,
> >> David
> >> www.thecodingmachine.com
> >>
> >> --
> >> PHP General Mailing List (http://www.php.net/)
> >> To unsubscribe, visit: http://www.php.net/unsub.php
> >
> > If you haven't gone with any of the listed methods yet you could use
> > fsockopen with a timeout value to accomplish your goal.
> >
> > frontend.php:
> > <?php
> > $fp = fsockopen("localhost", 80);
> > fwrite($fp, "GET /long_processing_script.php HTTP/1.0\r\n\r\n");
> > stream_set_timeout($fp, 1);
> > echo "done!";
> > ?>
> >
> > long_processing_script.php:
> > <?php
> > ignore_user_abort();
> > set_time_limit(0);
> > // do stuff here
> > ?>

-- 
Larry Garfield                  AIM: LOLG42
[EMAIL PROTECTED]               ICQ: 6817012

"If nature has made any one thing less susceptible than all others of 
exclusive property, it is the action of the thinking power called an idea, 
which an individual may exclusively possess as long as he keeps it to 
himself; but the moment it is divulged, it forces itself into the possession 
of every one, and the receiver cannot dispossess himself of it."  -- Thomas 
Jefferson

--- End Message ---
--- Begin Message ---
I have a list of subjects, such as "Linux", "Open Source", and "the
World Wide Web". The subjects are stored in a database and being
retrieved via php. I currently organize them alphabetically with SQL's
ORDER BY ASC argument, however, if there is a preceding "the " or "a "
then that is considered as part of the alphabetical order. Thus, all
the subjects starting with "the " are grouped together, as are the
subjects starting with "a ". How can I order by ascending, without
taking the preceding "the " or "a " into account?

** Example:
Now, the list is ordeded like this:
a Distribution
a Text Editor
a Virus
Bluetooth
Copyleft
DRM
Fedora
Firefox

However, I'd like it to be ordered like this:
Bluetooth
Copyleft
a Distribution
DRM
Fedora
Firefox
a Text Editor
a Virus

Current code:
$query  = "SELECT subject FROM table ORDER BY subject asc";
$result = mysql_query($query);


Thanks in advance.

Dotan Cohen
http://what-is-what.com/what_is/world_wide_web.html

--- End Message ---
--- Begin Message ---
I'm currently serving in Peace Corps in Kenya and I was looking for other
PHP web developers that are doing e-commerce that I could ping about what
requirements/paperwork etc is involved in setting up e-commerce accounts in
Kenya.

Thanks, Mark

--- End Message ---
--- Begin Message ---
Hi,

Thanks for your reply. After a sleep overnight I found I said
something really stupid. Arrays are compared in deep, and also for
objects. I really forgot the old PHP4 way and thought PHP5 compares
object simply by address when using ==, which is not the real case. I
need to use === for comparing objects of the same instance. And thanks
Tom for pointing out to use the strict parameter.


On 11/4/06, Richard Lynch <[EMAIL PROTECTED]> wrote:
> Try providing a custom comparison function.
>
> Almost for sure, PHP is attempting to "test" the == by a deeper scan
> than you think.
>
> On Fri, November 3, 2006 10:56 am, tamcy wrote:
> > Hello all,
> >
> > I'm new to this list. To not flooding the bug tracking system I hope
> > to clarify some of my understanding here.
> >
> > I am referring to the (now bogus) bug report
> > http://bugs.php.net/bug.php?id=39356&edit=2. This happens after my
> > upgrade to PHP 5.2, where the code shown produces a "Fatal error:
> > Nesting level too deep - recursive dependency?". Same testing code
> > reproduced below:
> >
> > ----------------------------
> > <?php
> > class A
> > {
> >       public $b;
> > }
> >
> > class B
> > {
> >       public $a;
> > }
> >
> > $a = new A;
> > $b = new B;
> > $b->a = $a;
> > $a->b = $b;
> >
> > $test = array($a, $b);
> >
> > var_dump(in_array($a, $test));
> > ----------------------------
> >
> > I think this is not rare for a child item to have knowledge about its
> > parent, forming a cross-reference.
> >
> > This code runs with no problem in PHP5.1.6, but not in 5.2. Ilia
> > kindly points out that "In php 5 objects are passed by reference, so
> > your code does in
> > fact create a circular dependency.". I know the passed by reference
> > rule. What I'm now puzzled is, why this should lead to an error.
> >
> > To my knowledge, despite the type-casting issue and actual algorithm,
> > in_array() should actually do nothing more than:
> >
> > function mimic_in_array($search, $list)
> > {
> >   foreach ($list as $item)
> >     if ($search == $item)
> >       return true;
> >   return false;
> > }
> >
> > Which means:
> > 1. in_array() isn't multi-dimensional.
> > 2. in_array() doesn't care about the properties of any object.
> >
> > That is, I don't expect in_array() to nest through all available inner
> > arrays for a match, not to mention those are object properties, not
> > arrays.
> >
> > So here is the question: Why should in_array() throws such a "Fatal
> > error: Nesting level too deep" error? Why should it care? Is there any
> > behaviour I don't know?
> >
> > Thanks all in advance.
> >
> > Tamcy
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
> >
>
>
> --
> Some people have a "gift" link here.
> Know what I want?
> I want you to buy a CD from some starving artist.
> http://cdbaby.com/browse/from/lynch
> Yeah, I get a buck. So?
>
>


--- End Message ---
--- Begin Message ---


Mariusz Topczewski wrote:
> 
> On some PC when i load the page, the is no content, and on other PC the
> page 
> is loaded properly. On computer where the page is blank i have to press F5 
> (refresh), and the page appear ?.
> 
this problem can also be observed on some win boxes when running phpMyAdmin.
seems to be related with some "security settings" in XP - just a guess
-- 
View this message in context: 
http://www.nabble.com/-newbie-in-session--Is-is-right-behavior----tf2573360.html#a7187719
Sent from the PHP - General mailing list archive at Nabble.com.

--- End Message ---

Reply via email to