Johannes Tyra <[EMAIL PROTECTED]> wrote:
>$startDate['Jungfrau'] = mktime (0, 0, 0, 08, 24,
> 2000);
>$startDate['Waage'] = mktime (0, 0, 0, 09, 24,
> 2000);
>
> but with 'Jungfrau' AND 'Waage' something is wrong!!
numbers with a leading zero are in octal form
Rasmus Lerdorf <[EMAIL PROTECTED]> wrote:
> Are you afraid of someone embedding PHP in a .jpg file? That's not really
> an issue as your web server is probably configured to only serve up PHP as
> .php files. Likewise, your web server config is likely such that any .jpg
> file is served up as co
Phil Schwarzmann <[EMAIL PROTECTED]> wrote:
> Any thoughts on this? What are the pros and cons of both?
i think you should not waste our time with such a discussion, perhaps by
taking it to a relevant forum. if you don't want to use php, that's your
problem. this list/newsgroup is for discussing
Scott Fletcher <[EMAIL PROTECTED]> wrote:
> Thanks! That's explain it! One other question. Is the even number a
> stable release and the odd number an unstable release? Just like the Red
> Hat Linux or Perl as an example. Does that apply to PHP?
nope. (this just happened to be broken in 4.1.
Scott Fletcher <[EMAIL PROTECTED]> wrote:
>There is the calculation errors for the floating point, so I checked the
> PHP website. On that website, the function webpage, pow(). It said that
> "In PHP 4.0.6 and earlier pow() always returned a float, and did not issue
> warnings.". So, there
Norman Zhang <[EMAIL PROTECTED]> wrote:
> Right? if ($foo) means variable exists and can be null. Whereas, isset($foo)
> means that the value in $foo cannot be null?
you've got it backwards. 'if (isset($foo))' tests that the variable has
been set to some value, possibly including false or null. '
Matt Friedman <[EMAIL PROTECTED]> wrote:
> In regards to the above, under what circumstances might you have
> to create a separate lock file? Is this an OS issue? Is it an issue when
> concurrency is high? The manual says "you may have to"; I am looking for
> some clarification as to when exactly
Duncan <[EMAIL PROTECTED]> wrote:
> i wrote a script, which uses the IMAP-extension. But if s.o. uses it
> on a machine, which doesn't support IMAP functions, i get an error
> message. How can i prevent this error:
>
> Fatal error: Call to undefined function: imap_open() in
> /home/test/public_
John Clarke <[EMAIL PROTECTED]> wrote:
> Any ideas why this would be happening?
because 2002-03-31 is 25 hours long in your time zone?
http://www.dstc.qut.edu.au/DST/marg/daylight.html
jim
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Alan McFarlane <[EMAIL PROTECTED]> wrote:
> header("location: index.php; target: _top");
header("Location: index.php");
header("Window-target: _top");
jim
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Wed, Mar 06, 2002 at 06:02:15PM -0600, Craig Westerman wrote:
> Would you explain what this line does?
>
>$out[$m[1]] = $m[2];
it assigns an entry to the output array. $m is populated by preg_match
(where it was passed as the third argument) with the entire match in
$m[0], the first paren
Craig Westerman <[EMAIL PROTECTED]> wrote:
> I'm just now trying to learn PHP. I don't know ANYTHING about XML. I don't
> even have any XML reference books yet. I did create a PHP script that is
> usable (see below), but there has to be a more efficient way to do it with
> PHP. I'll hunt up your p
Php <[EMAIL PROTECTED]> wrote:
> function Authorize() {
global $HTTP_POST_VARS;
> $username = $HTTP_POST_VARS['username'];
> $password = $HTTP_POST_VARS['password'];
> echo "T".$username.$password;
> }
(insert the line above.)
jim
--
PHP General Mailing List (http://www.php.net/)
To unsu
Pax <[EMAIL PROTECTED]> wrote:
> I am developing site that needs to have stock quotes retrieved and
> placed into the database. Perhaps someone know if there is a site that
> would supply me with quotes? - I just do not want to do it manually :-((
http://www.google.com/search?q=php%20stock%20quot
Paul Roberts <[EMAIL PROTECTED]> wrote:
> how do i do two things at the same time, i'm thinking of the
> equivalent of fork in perl
you need to enable the pcntl extension, and then you can use pcntl_fork
(http://php.net/pcntl_fork). you may also be able to use the 'ticks'
mechanism (http://www.ph
Andy <[EMAIL PROTECTED]> wrote:
> Is there a way to redirect imediatelly to a waiting page? I tryed to
> redirect, but somehow the server is first uploading the file before
> something else happens.
unfortunately, no. one thing you can do is use javascript to pop up a
small window in your form's
Jtjohnston <[EMAIL PROTECTED]> wrote:
> Where/How do I start in building a new array? ".=" doesn't work:
>
> $authors .= explode(";", $mydata->KW);
'.=' doesn't work because that does a string append.
you just want:
$authors = explode(";", $mydata->KW);
then you can sort the array using sor
Reginald Mullin <[EMAIL PROTECTED]> wrote:
> Now I understand why I'm getting the error. What I'd like to know is how to
> get around it? Basically what I want is the image in the DB to be displayed
> like any regular image would be on an HTML page, i.e. src="imageGoesHere" height="x" width="x
In php.general Jeremy Reed <[EMAIL PROTECTED]> wrote:
> Is great for posting results to a regular http site. But what I need to do
> is post to a secure site (https). I looked through some of the php
> documentation and couldn't find anything about manually encrypting the data
> to send or anyth
Byron Albert <[EMAIL PROTECTED]> wrote:
> I have a few forms that are used to input html. We have run into a
> problem of < and > getting turned into < and > when you hit
> submit, Or if you hit submit more than once. I have attached a sample
> form. The major problem here is that some times w
Matthew Berwald <[EMAIL PROTECTED]> wrote:
> Do you know of any method/package out there that I
> could install on my linux machine that will all me to
> print data to a printer? Thanks for the help.
$lp = popen("lpr", "w");
fwrite($lp, "stuff to print");
pclose($lp);
this uses the unix-standar
Phil <[EMAIL PROTECTED]> wrote:
> Thanx, sounds like the way to go.
> Still curious though whether there is anyway at all to get the original
> password back to the user?
not without storing it unencrypted or cracking the password with a
dictionary attack. as you said, the php crypt() function an
Manuel Ritsch <[EMAIL PROTECTED]> wrote:
> $file_s = filesize($file);
you want $file_s = filesize("images/$file").
jim
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To c
Bj?rne <[EMAIL PROTECTED]> wrote:
> When I'm using the code below, the page that is returned is all white. What
> to do? Am I doing anything wrong?
the page you are requesting from www.php.net (/page.php) does not exist,
and will cause a redirect to the search page.
so all you should be getting
Marvin Sanders <[EMAIL PROTECTED]> wrote:
> I'm using the PHP date() function on my site, but since my hosting company
> (Pair Networks) is on the East Coast and I'm on the West Coast, everything
> shows as three hours later (for most of my visitors, anyway). Pair tells me
> there's no setting I c
Hugh Danaher <[EMAIL PROTECTED]> wrote:
> Hello All and Happy New Year.
> I have a simple routine to get the year, date and the day of year.
> Year and date come out correctly but the day of year is one less than
> the date. It being January, it's easy to see the error. The only
> thing I can f
as some of you may have noticed over the last few days, a new method of
spam protection has been implemented on lists.php.net.
if you post to one of the lists.php.net lists (via mail or the news
server at news.php.net) from a mail address that is not subscribed to
the mailing list, you will recei
trick question, right? 0 is false. you want do { ... } while(1);
jim
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED]
wrote:
> Hi, I'm wondering if there's an ezmlm equivalent of the "lists-full"
> command for majordomo. That command returns data like the following
> (from the PostgreSQL list):
no ezmlm equivalent that i'm aware of, but here's the subscription
figure it out. :)
jim
On Sun, Feb 11, 2001 at 01:32:58AM -0800, Rasmus Lerdorf wrote:
> Hrm.. When was this changed in PHP 3? It used to be on by default. And
> it is on by default in PHP 4.
>
> -Rasmus
>
> On Sat, 10 Feb 2001, Jim Winstead wrote:
>
> > jimw
jimwSat Feb 10 11:45:34 2001 EDT
Modified files:
/php3 ChangeLog
Log:
document change
Index: php3/ChangeLog
diff -u php3/ChangeLog:1.855 php3/ChangeLog:1.856
--- php3/ChangeLog:1.855Sun Dec 17 16:09:44 2000
+++ php3/ChangeLog Sat Feb 10 1
jimwSat Feb 10 11:43:58 2001 EDT
Modified files:
/php3 php3.ini-dist
Log:
we claim php3.ini documents the defaults, but magic_quotes_gpc defaults to off
unless --enable-magic-quotes is used in compiling
Index: php3/php3.ini-dist
diff -u php3/php3.ini
jimwSat Jan 27 17:53:56 2001 EDT
Modified files:
/CVSROOTavail gen_acl_file.m4
Log:
give zak access to phpweb
Index: CVSROOT/avail
diff -u CVSROOT/avail:1.58 CVSROOT/avail:1.59
--- CVSROOT/avail:1.58 Fri Jan 26 18:25:48 2001
+++ CVSROOT/avail Sat
please, please take this discussion elsewhere.
if you have questions for the zend guys about their pricing and want to
lecture them on what you think the right pricing is, there are a number
of message boards on their site that are more suitable.
if you want to explore alternatives to the zend c
nt_table_row(1, "Alexander Aulbach, Stig Bakken, Rasmus
Lerdorf, Egon Schmid, Zeev Suraski, Lars Torben Wilson, Jim Winstead");
+ php_info_print_table_row(1, "Jouni Ahto, Alexander Aulbach, Stig
+Bakken, Rasmus Lerdorf, Egon Schmid, Zeev Suraski, Lars Torben Wilson, Jim Win
jimwMon Jan 22 15:43:37 2001 EDT
Modified files:
/CVSROOTavail gen_acl_file.m4
Log:
give david hedbor access to phpdoc cvs
Index: CVSROOT/avail
diff -u CVSROOT/avail:1.51 CVSROOT/avail:1.52
--- CVSROOT/avail:1.51 Mon Jan 22 12:31:22 2001
+++ CVSROOT/av
jimwMon Jan 22 12:31:22 2001 EDT
Modified files:
/CVSROOTavail
Log:
add goba to phpweb list
Index: CVSROOT/avail
diff -u CVSROOT/avail:1.50 CVSROOT/avail:1.51
--- CVSROOT/avail:1.50 Sun Jan 21 09:29:24 2001
+++ CVSROOT/avail Mon Jan 22 12:31:22 2
jimwMon Jan 22 12:30:41 2001 EDT
Modified files:
/CVSROOTgen_acl_file.m4
Log:
add goba to phpweb list
Index: CVSROOT/gen_acl_file.m4
diff -u CVSROOT/gen_acl_file.m4:1.50 CVSROOT/gen_acl_file.m4:1.51
--- CVSROOT/gen_acl_file.m4:1.50Sun Jan 21 09:
jimwSun Jan 21 18:12:51 2001 EDT
Modified files:
/CVSROOTcommitinfo loginfo
Log:
the generated manuals are now gone from cvs, so enable cvs emails from phpweb/manual
again
Index: CVSROOT/commitinfo
diff -u CVSROOT/commitinfo:1.10 CVSROOT/commitinfo:1.1
jimwFri Jan 12 13:52:15 2001 EDT
Modified files:
/CVSROOTcheckoutlist
Log:
should check out cvs_acls file into CVSROOT
Index: CVSROOT/checkoutlist
diff -u CVSROOT/checkoutlist:1.6 CVSROOT/checkoutlist:1.7
--- CVSROOT/checkoutlist:1.6Sun Jan 7 20:51
In article ,
[EMAIL PROTECTED] wrote:
> when was http://cvs.php.net/viewcvs.cgi/php3/language-scanner.lex.diff?r1=1.3&r2=1.4
http://cvs.php.net/viewcvs.cgi/php3/language-scanner.lex.diff?r1=1.6&r2=1.7
jim
--
PHP General Mailing List (http://
jimwThu Jan 11 13:36:30 2001 EDT
Modified files:
/CVSROOTcvs_acls
Log:
no need to be noisy when access is allowed
Index: CVSROOT/cvs_acls
diff -u CVSROOT/cvs_acls:1.2 CVSROOT/cvs_acls:1.3
--- CVSROOT/cvs_acls:1.2Sun Jan 7 21:20:42 2001
+++ CVSR
42 matches
Mail list logo