2010/4/25 Michelle Konzack :
> Hi,
>
> I have a code sniplet which does not work and I do not know why:
>
> 8<--
> $isfile=shell_exec("ls /tmp/tdphp-vserver/SESSION_" .
> $_SERVER['REMOTE_ADDR'] . "_" . $_COOKIE['VSERVER_AUTHUSER
On 25 April 2010 22:14, Michelle Konzack wrote:
> Hi,
>
> I have a code sniplet which does not work and I do not know why:
>
> 8<--
> $isfile=shell_exec("ls /tmp/tdphp-vserver/SESSION_" .
> $_SERVER['REMOTE_ADDR'] . "_" . $_COOK
Oops, my apologies. That is a PHP MySQL solution. Wrong list.
Please disregard that solution.
Maybe find a way to get an error response from your session to see
what the problem is.
Karl
On Apr 25, 2010, at 3:24 PM, Karl DeSaulniers wrote:
Hi Michelle,
Maybe try adding an error catch to se
Hi Michelle,
Maybe try adding an error catch to see what you get.
if(is_file($isFile)) or die(mysql_error());
On Apr 25, 2010, at 3:14 PM, Michelle Konzack wrote:
if (is_file($isfile)) {
Karl DeSaulniers
Design Drumm
http://designdrumm.com
--
PHP General Mailing List (http://www.php.net/)
Hi,
I have a code sniplet which does not work and I do not know why:
8<--
$isfile=shell_exec("ls /tmp/tdphp-vserver/SESSION_" . $_SERVER['REMOTE_ADDR']
. "_" . $_COOKIE['VSERVER_AUTHUSER'] . "_* |head -n1");
if (is_file($is
5 matches
Mail list logo