[PHP] Re: Problem with mktime()

2002-05-20 Thread Jim Winstead

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 format, and '8' and '9' are not
valid octal digits.

jim

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




Re: [PHP] Uploading JPEG's - Security Issues?

2002-05-16 Thread Jim Winstead

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 content-type image/jpeg and as such it really doesn't
 matter what sort of junk is embedded in the image.  At most it will show
 up as a broken image icon in your browser.

right.

the thing you may need to worry about, if you provide some sort of
service that allows for anyone to upload a jpeg file that anyone else
can then download, is people using programs that piggyback other data
(mp3 files, rar archives, etc) on those images.

one simple check you can do to minimize this is to compare the image
dimensions to the file size -- if you've got a 120x120 image in a three
meg jpeg file, something is probably awry. so with a combination of
php's getimagesize() and filesize(), you can try to detect that sort of
thing.

(this is one of the problems that plague sites that provide free
webspace. it's only a security issue insofar as this can constitute an
effective denial-of-service 'attack' on your systems.)

jim

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




[PHP] Re: Done w/ PHP - VB or C# ?

2002-05-15 Thread Jim Winstead

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 php.

jim

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




[PHP] Re: pow() vs. float when doing match.

2002-04-24 Thread Jim Winstead

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 was some changes to the pow() on PHP 4.0.7 and after.
 Let's do the demo script.
 
echo pow(0, 0.0829);
 
It should return a 0 as it did in version 4.0.6 and before.  But
 version 4.0.7 and after, it returned a -1.#IND.  Why is that?  What is the
 other way around to fix the problem?  Let me know!

pow() was badly broken in the 4.1.x series, particularly in the various
edge conditions (like using 0 for either argument). 4.2.0 gets it right.

jim

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




[PHP] Re: pow() vs. float when doing match.

2002-04-24 Thread Jim Winstead

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.x by someone who didn't
understand the math behind pow(), and it lingered because nobody else
noticed how much they had screwed it up. i guess there's not a lot of
people using pow(). :)

jim

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




[PHP] Re: difference between $foo and isset($foo)

2002-04-18 Thread Jim Winstead

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. 'if ($foo)'
tests that the value of the variable is true.

jim

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




Re: FW: [PHP] - REPOST - Flock manual clarification please ;-)

2002-04-07 Thread Jim Winstead

Matt Friedman [EMAIL PROTECTED] wrote:
 In regards to the snip 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 you may have to follow the
 snip advice.

when you do an fopen(file,w), it truncates the file -- before you
can call flock(). so if one process locks the file, and starts writing
data, a second one could just come along and blow away all or part of
the data even though the first still has it locked. by the time the
second process calls flock() and notices that the first has it locked,
it has already truncated the file.

jim

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




[PHP] Re: How to check for a php-extension?

2002-04-04 Thread Jim Winstead

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_html/test/imap_test.php on line 8
 
 and replace it with s.th. like: This function doesn't work, due to
 missing IMAP extension.
 
 I already tried some stuff, but the problem is, that php exits the
 script as soon as it hits the first IMAP related function.

http://www.php.net/manual/en/function.extension-loaded.php

if (!extension_loaded(imap)) {
  die(the imap extension is not loaded.);
}

jim

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




[PHP] Re: Problem with strtotime() and 2002-03-31

2002-03-19 Thread Jim Winstead

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




Re: [PHP] data from service into array

2002-03-06 Thread Jim Winstead

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 post on XML in the archives after I get a XML book.

the example you provided isn't xml. (it has some resemblance, but it isn't
xml.) here's a code snippet that will turn that format into an array:

$fp = fopen($url,r);
if (!$fp) die(could not open URL);
$out = array();
while (!feof($fp)) {
  $line = fgets($fp,512);
  if (preg_match('!(\w+?)(.*?)/\1!', $line, $m)) {
$out[$m[1]] = $m[2];
  }
}
fclose($fp);

print_r($out);

jim

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




Re: [PHP] data from service into array

2002-03-06 Thread Jim Winstead

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 parenthesized expression in $m[1] (which is the element
name), and the second parenthesized expression in $m[2] (which is the
value).

jim

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




[PHP] Re: header() and frames

2002-03-06 Thread Jim Winstead

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




[PHP] Re: Need help with a PHP script

2002-03-03 Thread Jim Winstead

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 unsubscribe, visit: http://www.php.net/unsub.php




[PHP] Re: uploading files | how to avoid submitting twice?

2002-02-23 Thread Jim Winstead

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 onsubmit method that tells the user to hang
on, and then close that window in the next page's onload method. it
isn't easy to do a real progress meter, but even this little bit should
help tremendously.

you may also want to check the md5 sum of the file contents against
previous uploads to detect duplicates.

jim

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




[PHP] Re: fork?

2002-02-23 Thread Jim Winstead

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.php.net/manual/en/control-structures.declare.php).

jim

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




[PHP] Re: using PHP to access another site - stock quotes ??

2002-02-23 Thread Jim Winstead

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%20quotes

gives lots of solutions. most of them pull the data from yahoo.

jim

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




[PHP] Re: Displaying image from MySql DB

2002-02-22 Thread Jim Winstead

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. img
 src=imageGoesHere height=x  width=x border=x.  However, I still
 need to pass the HTML headers.

you need to create a page that justs returns the image (as your example
code did), and use that as the target of the 'src' attribute. you can't
send the binary image at the same time as you send the html. so the
script that sent the html page would look something like:

  $res = mysql_query($query)
  while ($obj = mysql_fetch_object($res)) {
echo 'img src=get-image.php?id=', $obj-id, ' /';
  }

and get-image.php would look something like:

  $res = mysql_query(SELECT type,image FROM table WHERE id=$id);
  $obj = mysql_fetch_object($res);
  header(Content-type: .$obj-type);
  echo $obj-image;

jim

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




[PHP] Re: how to build an array

2002-02-22 Thread Jim Winstead

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 sort(). http://php.net/sort

jim

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




[PHP] Re: question

2002-02-20 Thread Jim Winstead

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-standard 'lpr' utility.

jim

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




[PHP] Re: textarea form input converting lt; and gt; to

2002-02-20 Thread Jim Winstead

Byron Albert [EMAIL PROTECTED] wrote:
 I have a few forms that  are used to input html.  We have run into a
 problem of lt; and gt;  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 we want lt; and some
 times we want to input html tags. Has any one else run into this problem
 maybe even found a solution.

when you re-display user input in a textarea (or as the value
attribute of a text input field), you should use the htmlentities()
function. so, from your code:

 TEXTAREA NAME=test rows=10 cols=50? echo $test; ?/textarea

should be:

 TEXTAREA NAME=test rows=10 cols=50? echo htmlentities($test); ?/textarea

(you could also probably use CDATA sections and avoid calling
htmlentities(). i haven't tried it, and am skeptical that the various
browsers all get that right. i've never had a problem using
htmlentities() in this manner.)

jim

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




[PHP] Re: using sendtohost on a secure site

2002-02-20 Thread Jim Winstead

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 anything like that.

http://php.net/curl

(and please do not cross-post to lists that are unrelated to your
question.)

jim

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




Re: [PHP] crypt/Password

2002-02-03 Thread Jim Winstead

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 and mysql's
password() function are one-way algorithms.

jim

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




[PHP] Re: Newbie: Question about filesize()

2002-01-31 Thread Jim Winstead

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 contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] Re: Time Zone Offset?

2002-01-13 Thread Jim Winstead

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 can make on my account to change the server time zone.
 
 Can anyone recommend a way to set an offset for the date() function in PHP?
 (I searched on php.net and couldn't find anything.)

putenv(TZ=PST8PDT);

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]




[PHP] Re: Can't get accurate day of year

2002-01-05 Thread Jim Winstead

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 figure, is that the date(z) function gets a fractional
 value and rounds down not rounds up.  I really could use some input on
 this before I just add one to the result and move on.

as http://www.php.net/date says, the range of the 'z' format is from 0
to 365. january 1st is day 0.

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]




[PHP] [ADMIN] spam protection for lists.php.net lists

2001-12-11 Thread Jim Winstead

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 receive an email with information on how to
confirm that you are a real person trying to send mail to the list, and
not just some drive-by spammer. once you have responded to the
confirmation, your original message to the list will be let through to
the list, and your email address will be stored as one that is allowed
to post so that future postings from you to any of the lists.php.net
lists will be passed through without requiring confirmation.

note that this means it is no longer possible to post to the list using
an invalid smtp sender (or using an invalid email address in the 'From'
header of a post via the news server).

if you encounter problems posting to the list, feel free to drop a note
to the list administrators at [EMAIL PROTECTED]

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]




Re: [PHP] do..while(0) not staying true

2001-03-07 Thread Jim Winstead

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]




Re: [PHP-CVS] cvs: php3 / php3.ini-dist

2001-02-11 Thread Jim Winstead

magic_quotes_gpc always default to off in in php3, at least as far
as i've looked. the switch was added to configure.in in october 1997.

http://cvs.php.net/viewcvs.cgi/php3/configure.in.diff?r1=1.77r2=1.78

php4 does have a different default, it was changed very early
in the php4 cycle.

http://cvs.php.net/viewcvs.cgi/php4/main/main.c.diff?r1=1.3r2=1.4

it looks to me like the --enable-magic-quotes option to configure
is ignored by php4, too. it should probably be removed or fixed.

but i could easily be misreading things. someone could actually
test if they were eager to 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:
 
  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-dist:1.57 php3/php3.ini-dist:1.58
  --- php3/php3.ini-dist:1.57 Wed Feb 23 14:57:21 2000
  +++ php3/php3.ini-dist  Sat Feb 10 11:43:58 2001
  @@ -110,7 +110,7 @@
   ;
   ; Data Handling ;
   ;
  -magic_quotes_gpc   =   On  ; magic quotes for incoming 
GET/POST/Cookie data
  +magic_quotes_gpc   =   Off ; magic quotes for incoming 
GET/POST/Cookie data
   magic_quotes_runtime=  Off ; magic quotes for runtime-generated 
data, e.g. data from SQL, from exec(), etc.
   magic_quotes_sybase=   Off ; Use Sybase-style magic 
quotes (escape ' with '' instead of \')
   track_vars =   On  ; enable $HTTP_GET_VARS[], 
$HTTP_POST_VARS[] and $HTTP_COOKIE_VARS[] arrays

-- 
PHP CVS 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]




[PHP-CVS] cvs: php3 / php3.ini-dist

2001-02-10 Thread Jim Winstead

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-dist:1.57 php3/php3.ini-dist:1.58
--- php3/php3.ini-dist:1.57 Wed Feb 23 14:57:21 2000
+++ php3/php3.ini-dist  Sat Feb 10 11:43:58 2001
@@ -110,7 +110,7 @@
 ;
 ; Data Handling ;
 ;
-magic_quotes_gpc   =   On  ; magic quotes for incoming 
GET/POST/Cookie data
+magic_quotes_gpc   =   Off ; magic quotes for incoming 
+GET/POST/Cookie data
 magic_quotes_runtime=  Off ; magic quotes for runtime-generated data, 
e.g. data from SQL, from exec(), etc.
 magic_quotes_sybase=   Off ; Use Sybase-style magic quotes 
(escape ' with '' instead of \')
 track_vars =   On  ; enable $HTTP_GET_VARS[], 
$HTTP_POST_VARS[] and $HTTP_COOKIE_VARS[] arrays



-- 
PHP CVS 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]




[PHP-CVS] cvs: php3 / ChangeLog

2001-02-10 Thread Jim Winstead

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 11:45:33 2001
@@ -2,6 +2,7 @@
 |||
 
 ? ? , 200?, Version 3.0.19
+- Fixed magic_quotes_gpc default in php3.ini-dist (Jim)
 - Added SESAM database support (Martin Kraemer)
 - Improved BS/2000 support (Martin Kraemer)
 - Fixed seeding of system pseudo random number generators 



-- 
PHP CVS 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]




[PHP-CVS] cvs: CVSROOT / avail gen_acl_file.m4

2001-01-27 Thread Jim Winstead

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 Jan 27 17:53:55 2001
@@ -1,7 +1,7 @@
 
 unavail
 avail|andi,andrei,jimw,rasmus,rubys,sas,ssb,thies,zeev,shane|CVSROOT
-avail|andi,andrei,jimw,rasmus,rubys,sas,ssb,thies,zeev,shane,cmv,tcobb,gareth,jah,eschmid,ronabop,derick,sterling,stas,phildriscoll,jmoore,waldschrott,sniper,david,lyric,zimt,mk,goba|phpweb
+avail|andi,andrei,jimw,rasmus,rubys,sas,ssb,thies,zeev,shane,cmv,tcobb,gareth,jah,eschmid,ronabop,derick,sterling,stas,phildriscoll,jmoore,waldschrott,sniper,david,lyric,zimt,mk,goba,zak|phpweb
 
avail|andi,andrei,jimw,rasmus,rubys,sas,ssb,thies,zeev,shane,fmk,hirokawa,jah,eschmid,dbeu,sbergmann,samjam,avsm,ronabob,derick,sterling,venaas,stas,hholzgra,cmv,phildriscoll,jmoore,waldschrott,sniper,changelog,sr,david,jdonagher,chagenbu,jon,elixer,joosters,jason,mysql,kalowsky,opaquedave,steinm,jon,rael,jlp,sbergmann,troels,urs,jpm,adaniel,tuupola,mj,ssb,metallic,heyesr,aj,waldschrott,zimt,uw|php4/pear,pearweb,pear
 
avail|andi,andrei,jimw,rasmus,rubys,sas,ssb,thies,zeev,shane,fmk,hirokawa,jah,eschmid,dbeu,sbergmann,samjam,avsm,ronabob,derick,sterling,venaas,stas,hholzgra,cmv,phildriscoll,jmoore,waldschrott,sniper,changelog,sr,david,jdonagher,chagenbu,jon,elixer,joosters,jason,mysql,kalowsky,opaquedave,steinm|php4,php3,php31,phpfi
 
avail|andi,andrei,jimw,rasmus,rubys,sas,ssb,thies,zeev,shane,fmk,hirokawa,jah,eschmid,dbeu,sbergmann,samjam,avsm,ronabob,derick,sterling,venaas,stas,hholzgra,cmv,phildriscoll,jmoore,waldschrott,sniper,changelog,sr,david,jdonagher,chagenbu,jon,elixer,joosters,jason,mysql,kalowsky,opaquedave,steinm,hholzgra|functable
Index: CVSROOT/gen_acl_file.m4
diff -u CVSROOT/gen_acl_file.m4:1.58 CVSROOT/gen_acl_file.m4:1.59
--- CVSROOT/gen_acl_file.m4:1.58Fri Jan 26 18:25:49 2001
+++ CVSROOT/gen_acl_file.m4 Sat Jan 27 17:53:55 2001
@@ -9,7 +9,7 @@
 dnl PEAR Team
 define(`php_pear', 
`jon,rael,jlp,sbergmann,troels,urs,jpm,adaniel,tuupola,mj,ssb,metallic,heyesr,aj,waldschrott,zimt,uw')dnl
 dnl PHP.NET Website
-define(`php_web', 
`cmv,tcobb,gareth,jah,eschmid,ronabop,derick,sterling,stas,phildriscoll,jmoore,waldschrott,sniper,david,lyric,zimt,mk,goba')dnl
+define(`php_web', 
+`cmv,tcobb,gareth,jah,eschmid,ronabop,derick,sterling,stas,phildriscoll,jmoore,waldschrott,sniper,david,lyric,zimt,mk,goba,zak')dnl
 dnl
 define(`php_pres', `rasmus,sterling,jimw')dnl
 dnl



-- 
PHP CVS 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]




Re: [PHP] Zend hit (Encoder price)

2001-01-25 Thread Jim Winstead

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 cache and encoder
products, take a look at the bware 'afterburner' cache and apc (whose
next release will have encoder-like functionality). search freshmeat for
more information on those projects. there is a mailing list set up for
the discussion of apc, at least.

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]




[PHP-CVS] cvs: CVSROOT / gen_acl_file.m4

2001-01-22 Thread Jim Winstead

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:29:24 2001
+++ CVSROOT/gen_acl_file.m4 Mon Jan 22 12:30:40 2001
@@ -9,7 +9,7 @@
 dnl PEAR Team
 define(`php_pear', 
`jon,rael,jlp,sbergmann,troels,urs,jpm,adaniel,tuupola,mj,ssb,metallic,heyesr,aj,waldschrott,zimt,uw')dnl
 dnl PHP.NET Website
-define(`php_web', 
`cmv,tcobb,gareth,jah,eschmid,ronabop,derick,sterling,stas,phildriscoll,jmoore,waldschrott,sniper,david,lyric,zimt,mk')dnl
+define(`php_web', 
+`cmv,tcobb,gareth,jah,eschmid,ronabop,derick,sterling,stas,phildriscoll,jmoore,waldschrott,sniper,david,lyric,zimt,mk,goba')dnl
 dnl
 define(`php_pres', `rasmus,sterling,jimw')dnl
 dnl



-- 
PHP CVS 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]




[PHP-CVS] cvs: CVSROOT / avail gen_acl_file.m4

2001-01-22 Thread Jim Winstead

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/avail   Mon Jan 22 15:43:36 2001
@@ -6,7 +6,7 @@
 
avail|andi,andrei,jimw,rasmus,rubys,sas,ssb,thies,zeev,shane,fmk,hirokawa,jah,eschmid,dbeu,sbergmann,samjam,avsm,ronabob,derick,sterling,venaas,stas,hholzgra,cmv,phildriscoll,jmoore,waldschrott,sniper,changelog,sr,david,jdonagher,chagenbu,jon,elixer,joosters,jason|php4,php3,php31,phpfi
 
avail|andi,andrei,jimw,rasmus,rubys,sas,ssb,thies,zeev,shane,fmk,hirokawa,jah,eschmid,dbeu,sbergmann,samjam,avsm,ronabob,derick,sterling,venaas,stas,hholzgra,cmv,phildriscoll,jmoore,waldschrott,sniper,changelog,sr,david,jdonagher,chagenbu,jon,elixer,joosters,jason,hholzgra|functable
 avail|rasmus,sterling,jimw|pres
-avail|andi,andrei,jimw,rasmus,rubys,sas,ssb,thies,zeev,shane,fmk,hirokawa,jah,eschmid,dbeu,sbergmann,samjam,avsm,ronabob,derick,sterling,venaas,stas,hholzgra,cmv,phildriscoll,jmoore,waldschrott,sniper,changelog,sr,david,jdonagher,chagenbu,jon,elixer,joosters,jason,php_ext,chad,torben,lynch,kk,ted,kwazy,aka,affinity,paul,skaag,pglat,mbritton,coar,lwest,joey,bibi,mrobinso,lwh,perugini,hamoralesr,tzwenny,hirokawa,drews,paulsen,hartmann,philross,leon,valdirh,dmarion,dubois,jonen,tschuer,tfromm,manuel,stas,danbeck,sli,jmcastagnetto,mohrt,cris,goba,samesch,jon,soneca,kaufm,ronabop,glace,latoserver,phpguru_dk,lojmann,rafael,jan,jcmeloni,chrullrich,mk,sbergmann,troels,mathieu,voize,phaethon,mgx,mj,corean,pandach,brown,cycle98,vizvil,openlife,regina,cynic,jpm,dams,alponce,menuconfig,obst,topgoods,karoora,pcraft,suvia,zak,zimt,mgx,sintoris,jmoore,ftfuture,uttam,ag315,ropik,jbi1979,bbonev,malo,afortaleza|phpdoc
+avail|andi,andrei,jimw,rasmus,rubys,sas,ssb,thies,zeev,shane,fmk,hirokawa,jah,eschmid,dbeu,sbergmann,samjam,avsm,ronabob,derick,sterling,venaas,stas,hholzgra,cmv,phildriscoll,jmoore,waldschrott,sniper,changelog,sr,david,jdonagher,chagenbu,jon,elixer,joosters,jason,php_ext,chad,torben,lynch,kk,ted,kwazy,aka,affinity,paul,skaag,pglat,mbritton,coar,lwest,joey,bibi,mrobinso,lwh,perugini,hamoralesr,tzwenny,hirokawa,drews,paulsen,hartmann,philross,leon,valdirh,dmarion,dubois,jonen,tschuer,tfromm,manuel,stas,danbeck,sli,jmcastagnetto,mohrt,cris,goba,samesch,jon,soneca,kaufm,ronabop,glace,latoserver,phpguru_dk,lojmann,rafael,jan,jcmeloni,chrullrich,mk,sbergmann,troels,mathieu,voize,phaethon,mgx,mj,corean,pandach,brown,cycle98,vizvil,openlife,regina,cynic,jpm,dams,alponce,menuconfig,obst,topgoods,karoora,pcraft,suvia,zak,zimt,mgx,sintoris,jmoore,ftfuture,uttam,ag315,ropik,jbi1979,bbonev,malo,afortaleza,neotron|phpdoc
 avail|rasmus|php4/ext/aspell
 avail|andi|php4/ext/bcmath
 avail|NOBODY|php4/ext/calendar
Index: CVSROOT/gen_acl_file.m4
diff -u CVSROOT/gen_acl_file.m4:1.51 CVSROOT/gen_acl_file.m4:1.52
--- CVSROOT/gen_acl_file.m4:1.51Mon Jan 22 12:30:40 2001
+++ CVSROOT/gen_acl_file.m4 Mon Jan 22 15:43:36 2001
@@ -3,7 +3,7 @@
 dnl PHP Developers (full access to the source trees)
 define(`php_dev', 
`php_group,fmk,hirokawa,jah,eschmid,dbeu,sbergmann,samjam,avsm,ronabob,derick,sterling,venaas,stas,hholzgra,cmv,phildriscoll,jmoore,waldschrott,sniper,changelog,sr,david,jdonagher,chagenbu,jon,elixer,joosters,jason')
 dnl PHP Documentation Group
-define(`php_doc', 
`chad,torben,lynch,kk,ted,kwazy,aka,affinity,paul,skaag,pglat,mbritton,coar,lwest,joey,bibi,mrobinso,lwh,perugini,hamoralesr,tzwenny,hirokawa,drews,paulsen,hartmann,philross,leon,valdirh,dmarion,dubois,jonen,tschuer,tfromm,manuel,stas,danbeck,sli,jmcastagnetto,mohrt,cris,goba,samesch,jon,soneca,kaufm,ronabop,glace,latoserver,phpguru_dk,lojmann,rafael,jan,jcmeloni,chrullrich,mk,sbergmann,troels,mathieu,voize,phaethon,mgx,mj,corean,pandach,brown,cycle98,vizvil,openlife,regina,cynic,jpm,dams,alponce,menuconfig,obst,topgoods,karoora,pcraft,suvia,zak,zimt,mgx,sintoris,jmoore,ftfuture,uttam,ag315,ropik,jbi1979,bbonev,malo,afortaleza')dnl
+define(`php_doc', 
+`chad,torben,lynch,kk,ted,kwazy,aka,affinity,paul,skaag,pglat,mbritton,coar,lwest,joey,bibi,mrobinso,lwh,perugini,hamoralesr,tzwenny,hirokawa,drews,paulsen,hartmann,philross,leon,valdirh,dmarion,dubois,jonen,tschuer,tfromm,manuel,stas,danbeck,sli,jmcastagnetto,mohrt,cris,goba,samesch,jon,soneca,kaufm,ronabop,glace,latoserver,phpguru_dk,lojmann,rafael,jan,jcmeloni,chrullrich,mk,sbergmann,troels,mathieu,voize,phaethon,mgx,mj,corean,pandach,brown,cycle98,vizvil,openlife,regina,cynic,jpm,dams,alponce,menuconfig,obst,topgoods,karoora,pcraft,suvia,zak,zimt,mgx,sintoris,jmoore,ftfuture,uttam,ag315,ropik,jbi1979,bbonev,malo,afortaleza,neotron')dnl
 dnl Quality Assurance Team
 define(`php_qa', `jalal,zak,waldschrott,ultrapingo,lyric,jmoore,ronabop,sbergmann')dnl
 dnl PEAR Team



-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For 

[PHP-CVS] cvs: php4 /ext/standard credits.c

2001-01-22 Thread Jim Winstead

jimwMon Jan 22 16:50:49 2001 EDT

  Modified files:  
/php4/ext/standard  credits.c 
  Log:
  jouni was added as an author of the docs
  
Index: php4/ext/standard/credits.c
diff -u php4/ext/standard/credits.c:1.2 php4/ext/standard/credits.c:1.3
--- php4/ext/standard/credits.c:1.2 Tue Dec 19 14:59:14 2000
+++ php4/ext/standard/credits.c Mon Jan 22 16:50:49 2001
@@ -17,7 +17,7 @@
+--+
 */
 
-/* $Id: credits.c,v 1.2 2000/12/19 22:59:14 zeev Exp $ */
+/* $Id: credits.c,v 1.3 2001/01/23 00:50:49 jimw Exp $ */
 
 #include "php.h"
 #include "info.h"
@@ -86,7 +86,7 @@
if (flag  PHP_CREDITS_DOCS) {
php_info_print_table_start();
php_info_print_table_header(1, "PHP Documentation Team");
-   php_info_print_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 Winstead");
php_info_print_table_row(1, "Edited by:  Stig Bakken and Egon Schmid");
php_info_print_table_end();
}



-- 
PHP CVS 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]




[PHP-CVS] cvs: CVSROOT / commitinfo loginfo

2001-01-21 Thread Jim Winstead

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.11
--- CVSROOT/commitinfo:1.10 Sun Jan 14 08:09:44 2001
+++ CVSROOT/commitinfo  Sun Jan 21 18:12:50 2001
@@ -1,5 +1,5 @@
 #
-#ident "@(#)cvs/examples:$Name:  $:$Id: commitinfo,v 1.10 2001/01/14 16:09:44 rasmus 
Exp $"
+#ident "@(#)cvs/examples:$Name:  $:$Id: commitinfo,v 1.11 2001/01/22 02:12:50 jimw 
+Exp $"
 #
 # The "commitinfo" file is used to control pre-commit checks.
 # The filter on the right is invoked with the repository and a list 
@@ -29,7 +29,6 @@
 # The next two lines prevent massive cvs commit messages from being
 # mailed out.  It would be nice if we could instead just send the 
 # commit log for these ones.
-.*manual.* /bin/true
 .*distributions.*  /bin/true
 
 DEFAULT$CVSROOT/CVSROOT/commitinfo.pl
Index: CVSROOT/loginfo
diff -u CVSROOT/loginfo:1.35 CVSROOT/loginfo:1.36
--- CVSROOT/loginfo:1.35Wed Dec 13 16:34:34 2000
+++ CVSROOT/loginfo Sun Jan 21 18:12:50 2001
@@ -1,5 +1,5 @@
 #
-#ident "@(#)cvs/examples:$Name:  $:$Id: loginfo,v 1.35 2000/12/14 00:34:34 jimw Exp $"
+#ident "@(#)cvs/examples:$Name:  $:$Id: loginfo,v 1.36 2001/01/22 02:12:50 jimw Exp $"
 #
 # The "loginfo" file is used to control where "cvs commit" log information
 # is sent.  The first entry on a line is a regular expression which is tested
@@ -38,11 +38,7 @@
 asf $CVSROOT/CVSROOT/log -s -f $CVSROOT/CVSROOT/mylog_asf -m 
[EMAIL PROTECTED] -u $USER %s
 imapd $CVSROOT/CVSROOT/log -s -f $CVSROOT/CVSROOT/mylog -m [EMAIL PROTECTED] -u 
$USER %s
 
-# this just goes to jim temporarily
-php-site $CVSROOT/CVSROOT/loginfo.pl [EMAIL PROTECTED] $USER %{sVv}
-
-# old php website
-.*manual.* $CVSROOT/CVSROOT/log -s -f $CVSROOT/CVSROOT/mylog -u $USER %s
+# php website
 .*distributions.* $CVSROOT/CVSROOT/log -s -f $CVSROOT/CVSROOT/mylog -u $USER %s
 phpweb $CVSROOT/CVSROOT/loginfo.pl [EMAIL PROTECTED] $USER %{sVv}
 phpdoc $CVSROOT/CVSROOT/loginfo.pl [EMAIL PROTECTED] $USER %{sVv}



-- 
PHP CVS 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]




Re: [PHP] ?= was born when?

2001-01-12 Thread Jim Winstead

In article Pine.BSF.4.10.10101112007430.77660-10@localhost,
[EMAIL PROTECTED]  wrote:
 when was ?= 'enabled' in php?  4.0.0 ?

4.0, although it actually existed for php 3 a long time ago for a short
while and was then removed.

http://cvs.php.net/viewcvs.cgi/php3/language-scanner.lex.diff?r1=1.3r2=1.4
http://cvs.php.net/viewcvs.cgi/php3/language-scanner.lex.diff?r1=1.6r2=1.7

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]