You should use gmdate() if you want to how many hours left to expire
$time_left = gmdate(H:i:s,$diff);
Best Regards
Farzan Dalaee
On Oct 7, 2013, at 1:49, Jim Giner jim.gi...@albanyhandball.com wrote:
I always hate dealing with date/time stuff in php - never get it even close
until
Try this please
gmdate(H:i:s, $diff%86400)
Best Regards
Farzan Dalaee
On Oct 7, 2013, at 2:12, Jim Giner jim.gi...@albanyhandball.com wrote:
On 10/6/2013 6:36 PM, Farzan Dalaee wrote:
You should use gmdate() if you want to how many hours left to expire
$time_left = gmdate(H:i:s,$diff
Its so freaky
Best Regards
Farzan Dalaee
On Oct 7, 2013, at 2:29, Jim Giner jim.gi...@albanyhandball.com wrote:
On 10/6/2013 6:49 PM, Farzan Dalaee wrote:
Try this please
gmdate(H:i:s, $diff%86400)
Best Regards
Farzan Dalaee
On Oct 7, 2013, at 2:12, Jim Giner jim.gi
hi
i want to write online user module for my site and i want to check
$_SESSION['userID'] to find all users id who loged in
but when i echo this code its return only current user detail
how i can see all sessions?
foreach($_SESSION as $k = $v)
{
echo $k.--.$v;
}
or how i handle online
:02 AM, Farzan Dalaee farzan.dal...@gmail.com
wrote:
hi
i want to write online user module for my site and i want to check
$_SESSION['userID'] to find all users id who loged in
but when i echo this code its return only current user detail
how i can see all sessions?
foreach($_SESSION as $k
On Sun, 2013-08-04 at 14:56 +0430, Farzan Dalaee wrote:
You mean when user logged in i add new record to table and when logged out i
delete the row? So if user close the browser without logout how can i find
user is online or not?
Sent from my iPhone
On Aug 4, 2013, at 14:44
On Sun, Aug 4, 2013 at 4:00 PM, Ashley Sheridan a...@ashleysheridan.co.uk
wrote:
Farzan Dalaee farzan.dal...@gmail.com wrote:
On Sun, 2013-08-04 at 14:56 +0430, Farzan Dalaee wrote:
You mean when user logged in i add new record to table and when
logged out i delete
i starting to use mod rewrite but all my images or js links doest work
my current query string is:
index.php?r=blogpage=2
i want to change it with this:
/blog/2
this is my .htaccess file
RewriteEngine On
RewriteRule ^([^/]*)/([^/]*)$ /framework/?r=$1page=$2 [L]
but none of my js or css cant find
} !-f
RewriteCond %{REQUEST_FILENAME} !-d
that should exclude existing files and directories from rewriting...
Am 01.06.2013, 22:39 Uhr, schrieb Farzan Dalaee farzan.dal...@gmail.com:
i starting to use mod rewrite but all my images or js links doest work
my current query string is:
index.php?r
require_once('nusoap/nusoap.php');
$client = new nusoap_client('http://smsprovider.com/post/send.asmx?wsdl'
);
$err = $client-getError();
if ($err)
{
echo 'Constructor error' . $err;
}
$parameters['username'] = ;
$parameters['password'] = ;
$parameters['to'] =
hi guys
i want to open an email content ( subject ,body , attachment ) with php
i use imap_php but its wont connect to host
what should i do?
thanx
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
i dont have access to log files on server
On Azar 14, 1391, at 5:51 PM, Daniel Brown wrote:
On Tue, Dec 4, 2012 at 8:10 AM, Farzan Dalaee farzan.dal...@gmail.com wrote:
hi guys
i want to open an email content ( subject ,body , attachment ) with php
i use imap_php but its wont connect to host
, Jonathan Sundquist jsundqu...@gmail.com wrote:
What does it say when you call imap_errors or imap_last_error?
On Tue, Dec 4, 2012 at 10:02 AM, Farzan Dalaee
farzan.dal...@gmail.comwrote:
i dont have access to log files on server
On Azar 14, 1391, at 5:51 PM, Daniel Brown wrote:
On Tue, Dec 4
Same error
I think its need something else for opening service like ssl setting or
somthing like that
Or this host im using block imap or pop3 access
Best Regard
Farzan Dalaee
On Dec 4, 2012 10:03 PM, Jonathan Sundquist jsundqu...@gmail.com wrote:
Try removing the call to the inbox and try
hi guys
is there any way to reload page without using header('location :index.php');
and javascript?
Best Regards
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
hi guys
i really confuse by choosing the best work station for php ( cakephp , smarty ,
net bean , ... ) , please give me some advisdes.
and please tell why which one is better,
tnx
best regards farzan
16 matches
Mail list logo