try something like
echo date("Y, m, d, g, i, s", $timevalue);
thats based on your example or you can do
echo date("m/d/Y g:i s", $timevalue);
which would show something like
05/19/2005 5:45 23
Jim's PHP Weblog
www.litfuel.net/plush
[EMAIL PROTECTED] wrote:
Hi,
I have a database where i store the us
Where did the string come from?
Jim
PHP WebBlog =
http://www.litfuel.net/plush/
Diana Castillo wrote:
Does anyone know what kind of string encoding this is :
®®
mA®
and how can I decode this?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hey Danny,
no good books on that subject regarding php/mcv that I've seen but PHP
Architecht has some good articles on MVC, I believe they have a free
issue that has a huge article on PHP/MVC. www.phparch.com
Danny Lin wrote:
Can any one recommend a good book that discusses MVC design patterns w
you can get the resolution from javascript then pass that info to php
using HTTP REQUEST http://jibbering.com/2002/4/httprequest.html
or super low budget way could be to get that information from javascript
then right after forward the page using javascript with the resolution
variable in the q
Mike check out hotscripts.com
in the PHP section, there are a billion scripts on there. you should be
able to find one that matches your needs
Jim
carreraSC wrote:
Hi,
Has anyone ever seen a mockup or simulation of CL done in PHP, for
download? I need to do a small scale version of it for an un
also, note I used preg_match instead of ereg, preg is a better choice
over ereg usually (flexibility, speed, etc)
Ross Hulford wrote:
Does anyone know a working eregi expression for determining a domain is
valid? don't need the http:// just looking for www.thedomain.com
cheers,
R.
--
PHP Gener
this should work for any web address starting with www.
// test for domain
$domain = "www.example.com";
// This pattern will match anything that STARTS with www followed by a
period, followed by at least 2 characters,
// numbers and periods followed by a period followed by at least two
characters
Ross, is there a reason you don't want to use sessions again?
Creating an associative array of each pages answers is much cleaner than
passing hidden fields or get vars.
Another option you could use it write the files to disk after each page
save, that way if anything goes wrong(IE user computer
do you happen to remember what issues you may have had?
thanks again
[EMAIL PROTECTED] wrote:
Jim,
i had only minor issues, but it builds fine otherwise.
"Jim Plush" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
Has anyone successfully built php5 using visual st
Has anyone successfully built php5 using visual studio.net ? or is VC6
still only supported?
thanks,
Jim
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
what you need is to make a recursive function, that is a function that
calls itself
like
function open_dir()
{
if(is_dir($my_dir))
{
open_dir();
} else {
// read files here
}
}
basically you're saying... I'm reading the top level directory, are you
a file? ok I'll re
here is a script I use to get jpg attachments with IMAP.. good luck
from[0]->mailbox."@".$header->from[0]->host.'';
return $header->from[0]->mailbox."@".$header->from[0]->host;
}
function get_structure($mbox,$i)
{
$structure = imap_fetchstructure($mbox, $i);
return $structure;
}
function no_at
12 matches
Mail list logo