[PHP] sample contract

2001-02-02 Thread bill
Anybody have a sample contract they could share that could be tweaked to be used between a PHP developer and a business client? Not looking for a non-disclosure contract, I have one of those. Just looking for a "I'll do this and you'll do that, I'll get this and you'll get that" type of contract

[PHP-CVS] cvs: php4 /pear/Mail smtp.php

2001-02-02 Thread Chuck Hagenbuch
chagenbuFri Feb 2 11:00:26 2001 EDT Modified files: /php4/pear/Mail smtp.php Log: fix silly cut-n-paste bug (#9081) Index: php4/pear/Mail/smtp.php diff -u php4/pear/Mail/smtp.php:1.2 php4/pear/Mail/smtp.php:1.3 --- php4/pear/Mail/smtp.php:1.2 Tu

[PHP] how to specify the sender email address in the mail() function?

2001-02-02 Thread david klein
It seems that mail($recipient, $subject, $content) has no place to specify the sender's email address. Does anyone know how to specify the sender's email address? Thanks, David _ Get your FREE download of MSN Explorer at http://exp

RE: [PHP] Pricing for PHP programming???

2001-02-02 Thread johnny p.
I agree. I have a separate maintenance agreement for additional changes and updates and charge them a pre-specified hourly rate. thanks for the advice... been bit a couple times before, tho. good for others to read. johnny p. > -Original Message- > From: Jeff Oien [mailto:[EMAIL PROTE

RE: [PHP] Pricing for PHP programming???

2001-02-02 Thread johnny p.
Hah! My wife has a formal education in graphics design. My web sites would look like crap without her extensive layout skills. :) I'm so lucky... johnny p. > -Original Message- > From: Jerry Lake [mailto:[EMAIL PROTECTED]] > Sent: Thursday, February 01, 2001 12:11 PM > To: [EMAIL PROT

[PHP] getting STDIO

2001-02-02 Thread Martin A. Marques
I want to use PHP to build a script that would run from the comand line. Now me problem is how do I make PHP interpretate a chunk of text that is piped to it? Lets say my script is named script1.php and I do: $ less file1 | script1.php just like if I send variables with info with a put in the

RE: [PHP] how to specify the sender email address in the mail() function?

2001-02-02 Thread Brian Paulson
Try this mail($recipient,"subject"," $content ","From: $sender\nReply-To: $sender\nX-Mailer: PHP/" . phpversion()); Hope this helps Thank you Brian Paulson Sr. Web Developer [EMAIL PROTECTED] http://www.chieftain.com 1-800-269-6397 -Original Message- From: david klein [mailto:[EMAIL

RE: [PHP] how to specify the sender email address in the mail() function?

2001-02-02 Thread John Huggins
You specify that in the additional headers field. http://www.php.net/manual/en/function.mail.php John > -Original Message- > From: david klein [mailto:[EMAIL PROTECTED]] > Sent: Friday, February 02, 2001 2:25 PM > To: [EMAIL PROTECTED] > Subject: [PHP] how to specify the sender email ad

[PHP] Windows Time modification 12/31/1969???

2001-02-02 Thread Joe
I'm opening the files in a directory, and trying to find the most recent modification date. The problem is that I'm getting the date of 12/31/1969 for all my files, and when I try to print out the modification timestamp from filemtime directly I get nothing. If you look at the code you can se

Re: [PHP] Pricing for PHP programming???

2001-02-02 Thread Siim Einfeldt aka Itpunk
> Obviously I want to be profitable. But my primary motivation is to be doing > challenging work, to enjoy what I'm doing and to build software that makes > my clients happy. Sure, we could be like this other company and charge > $100,000 for a project that's worth $5,000 but we won't do that.

Re: [PHP] Pricing for PHP programming???

2001-02-02 Thread [EMAIL PROTECTED]
Ask the first client if they know of anyone who could utilize your skills. As an IC, you are more than just a coder; you are the marketing, sales, finance, and programming departments. Look online, post your resume, apply for jobs. In your application cover letter, state that you are fully quali

RE: [PHP] Windows Time modification 12/31/1969???

2001-02-02 Thread John Huggins
Not sure, but I think NT may not report the last modified data resulting in a unixtime of 0 which would be 12/31/1969 I believe. > -Original Message- > From: Joe [mailto:[EMAIL PROTECTED]] > Sent: Friday, February 02, 2001 3:14 PM > To: [EMAIL PROTECTED] > Subject: [PHP] Windows Time modi

[PHP] CSS with PHP

2001-02-02 Thread Brandon Orther
Hello Sorry if this is a little off subject, but I am working on a php script that changes the CSS of all the pages in a web site. I was wondering if in CSS you could make a CSS that made all text a certain color and size. not including links and form objects Thank you, ---

Re: [PHP] CSS with PHP

2001-02-02 Thread stankusn
Yes just include this tag in the head of you HTML then call this style.css A:link { color: #66; font-size: 9pt; font-family: Verdana, Helvetica, Arial; } A:active { color: black; font-size: 9pt; font-family: Verdana, Helvetica, Arial; } A:visited { color: #66; font-size: 9pt; font-

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

2001-02-02 Thread Colin Viebrock
cmv Fri Feb 2 12:55:27 2001 EDT Modified files: /php4/ext/sockets sockets.c Log: Fix for http://bugs.php.net/bugs.php?id=9082 I know switch() is expensive, so someone rewrite this "properly" if you want. Index: php4/ext/sockets/sockets.c dif

[PHP] RE: Files only available via HTTPS

2001-02-02 Thread Ayan R. Kayal
Add this to httpd.conf: SSLRequireSSL O- ~ARK CFO, Hmedicine.com, Inc. > -Original Message- > From: Michael Conley [mailto:[EMAIL PROTECTED]] > Sent: Thursday, February 01, 2001 7:29 PM > > I have several PHP files that I only want users to be able to acces

[PHP] Calendar help

2001-02-02 Thread Fang Li
Hello Has anyone coded a calendar using PHP? when click a date in the calendar,it will sotre the date in a database. Thanks. Fang -- 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

Re: [PHP-CVS] cvs: php4 /ext/sockets sockets.c

2001-02-02 Thread Andrei Zmievski
On Fri, 02 Feb 2001, Colin Viebrock wrote: > cmv Fri Feb 2 12:55:27 2001 EDT > > Modified files: > /php4/ext/sockets sockets.c > Log: > Fix for http://bugs.php.net/bugs.php?id=9082 > > I know switch() is expensive, so someone rewrite this "properly" if you

RE: [PHP-CVS] cvs: php4 /ext/sockets sockets.c

2001-02-02 Thread Colin Viebrock
> What do you mean, switch() is expensive? Well, isn't it slower? > Uh-uh - can't do that. What is your goal here, if port is not passed, it > defaults to 0? The goal is to make getpeername() not seg-fault and core dump when I only call it with 2 args. :) - Colin -- PHP CVS Mailing List (htt

[PHP] Change Password script

2001-02-02 Thread enthalpy
anyone have example code of a change password script in php? <-CoreComm-Internet-Services--http://core.com/-> (Jon Marshall CoreComm Services Chicago) ([EMAIL PROTECTED] Systems Engineer II) ([EMAIL PROTECTED] Network Operations) <-Enthalpy.o

Re: [PHP-CVS] cvs: php4 /ext/sockets sockets.c

2001-02-02 Thread Andrei Zmievski
On Fri, 02 Feb 2001, Colin Viebrock wrote: > Well, isn't it slower? No, not really. > The goal is to make getpeername() not seg-fault and core dump when > I only call it with 2 args. :) What should the value of 'port' be by default, then? -Andrei * Who is Ray and why would we want to selective

RE: [PHP-CVS] cvs: php4 /ext/sockets sockets.c

2001-02-02 Thread Colin Viebrock
> > Well, isn't it slower? > > No, not really. Ok. > > The goal is to make getpeername() not seg-fault and core dump when > > I only call it with 2 args. :) > > What should the value of 'port' be by default, then? I dunno. If I call the function with: I guess it doesn't matter wh

Re: [PHP] Calendar help

2001-02-02 Thread Joe Stump
Search for "php calendar" on freshmeat.net --Joe On Fri, Feb 02, 2001 at 04:28:37PM -0500, Fang Li wrote: > Hello > > Has anyone coded a calendar using PHP? when click a date in the calendar,it > will sotre the date in a database. > Thanks. > > Fang > > > -- > PHP General Mailing List (http

Re: [PHP] Change Password script

2001-02-02 Thread Joe Stump
DB password or unix password? --Joe On Fri, Feb 02, 2001 at 03:38:15PM -0600, enthalpy wrote: > > anyone have example code of a change password script in php? > > <-CoreComm-Internet-Services--http://core.com/-> > (Jon Marshall CoreComm Services Chicago) > ([EMAIL PROTE

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

2001-02-02 Thread Andrei Zmievski
andrei Fri Feb 2 13:32:17 2001 EDT Modified files: /php4/ext/sockets sockets.c Log: Revert bogus patch and fix it properly. Index: php4/ext/sockets/sockets.c diff -u php4/ext/sockets/sockets.c:1.30 php4/ext/sockets/sockets.c:1.31 --- php4/ext/sockets/soc

Re: [PHP] Change Password script

2001-02-02 Thread enthalpy
sorry for the generalization. im looking to change a unix password. <-CoreComm-Internet-Services--http://core.com/-> (Jon Marshall CoreComm Services Chicago) ([EMAIL PROTECTED] Systems Engineer II) ([EMAIL PROTECTED] Network Operations) <-Ent

Re: [PHP-CVS] cvs: php4 /ext/sockets sockets.c

2001-02-02 Thread Andrei Zmievski
On Fri, 02 Feb 2001, Colin Viebrock wrote: > I dunno. If I call the function with: > > > > I guess it doesn't matter what the port *is* ... it just won't return it. > Maybe just put if statements around any of the code that references port? Ok, I fixed it. -Andrei * What were the first

RE: [PHP-CVS] cvs: php4 /ext/sockets sockets.c

2001-02-02 Thread Colin Viebrock
> Ok, I fixed it. Thanks ... although "bogus patch" is kinda harsh, don't you think? :) - Colin -- 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 PROTECT

Re: [PHP-CVS] cvs: php4 /ext/sockets sockets.c

2001-02-02 Thread Andrei Zmievski
On Fri, 02 Feb 2001, Colin Viebrock wrote: > > Ok, I fixed it. > > Thanks ... although "bogus patch" is kinda harsh, don't you think? :) Well, sorry if it seemed harsh, but you tried to fix one problem and introduced another without really understanding what needed to be done. -Andrei Give a

[PHP-CVS] cvs: php4 /pear/Crypt CBC.php

2001-02-02 Thread Colin Viebrock
cmv Fri Feb 2 13:52:21 2001 EDT Modified files: /php4/pear/CryptCBC.php Log: typo Index: php4/pear/Crypt/CBC.php diff -u php4/pear/Crypt/CBC.php:1.4 php4/pear/Crypt/CBC.php:1.5 --- php4/pear/Crypt/CBC.php:1.4 Tue Jan 23 13:36:12 2001 +++ php4/pear/

RE: [PHP-CVS] cvs: php4 /ext/sockets sockets.c

2001-02-02 Thread Colin Viebrock
> Well, sorry if it seemed harsh, but you tried to fix one problem and > introduced another without really understanding what needed to be done. True. I was relying on a fix somebody suggested. This is also why I noted in the CVS comments that somebody else should look at this. I'll be the fir

Re: [PHP] Change Password script

2001-02-02 Thread Joe Stump
Not unless passwd takes stdin (which i don't think it does) --Joe On Fri, Feb 02, 2001 at 04:07:47PM -0600, enthalpy wrote: > > sorry for the generalization. im looking to change a unix password. > > <-CoreComm-Internet-Services--http://core.com/-> > (Jon Marshall CoreC

[PHP] "Trim" an array?

2001-02-02 Thread Thomas Deliduka
I looked through the archives and couldn't find anything on this. I have a web form which takes 9 values to create a definition for a table that would have up to 9 columns. I made the table so that each form field is submitted as an array so that I can simply step through each value and create t

Re: [PHP] "Trim" an array?

2001-02-02 Thread Thomas Deliduka
On 2/2/01 5:34 PM this was written: > while(list($key,$value)=each($array)){ > if(empty($value)) unset $array[$key]; > } Sweet! Thanks, that was easy. -- Thomas Deliduka IT Manager - New Eve Media The Solution To Your Internet Angst http://www.neweve.com/ -- PH

Re: [PHP] Change Password script

2001-02-02 Thread Mark Maggelet
On Fri, 2 Feb 2001 14:13:50 -0800, Joe Stump ([EMAIL PROTECTED]) wrote: >Not unless passwd takes stdin (which i don't think it does) It does, but php would have to be running as root, which is a bad idea. >--Joe > >On Fri, Feb 02, 2001 at 04:07:47PM -0600, enthalpy wrote: >> >> sorry for the gen

[PHP] Off Subject, but can't find any info elsewhere

2001-02-02 Thread Toby Miller
Web Developers, I know this has nothing to do with PHP, but some bright minds out there might have run across it. It's about Netscape 6 mouseovers. I've read elsewhere that Netscape 6 has problems with preloading images. I have confirmed this time and time again, but have not been able to come

Re: [PHP] "Trim" an array?

2001-02-02 Thread Mark Maggelet
On Fri, 02 Feb 2001 17:31:43 -0500, Thomas Deliduka ([EMAIL PROTECTED]) wrote: >I looked through the archives and couldn't find anything on this. > >I have a web form which takes 9 values to create a definition for a >table >that would have up to 9 columns. > >I made the table so that each form fi

[PHP] Re: [PHP-WIN] RE: [PHP] Re: [PHP-WIN] For My Information

2001-02-02 Thread phobo
Lets just say I'm glad you posted that on a Windows list :P I personally find Apache more stable, less mem hogging, and as its what is used on linux machines, I know that my PHP code CAN work on any platform ;) And ... yuo say 'best that money can buy' ... I hope you know the price of Apache? www

[PHP] Semi-review of Zend-IDE 1.0

2001-02-02 Thread Ed Finkler
I was really pleased to see that Zend had taken the new approach with pricing and availability of the Zend IDE, and that they were offering a demo version of the product. I downloaded it right away and took it for a spin. To be honest, I was pretty disappointed with the product. While the debug

RE: [PHP] PHP/FI what FI?

2001-02-02 Thread Boaz Yahav
Check this out : http://www.weberdev.com/index.php3?GoTo=get_example.php3?count=1785 Sincerely berber Visit http://www.weberdev.com Today!!! To see where PHP might take you tomorrow. -Original Message- From: Brandon Orther [mailto:[EMAIL PROTECTED]] Sent: Friday, February 02,

RE: [PHP] File Download Completion

2001-02-02 Thread Boaz Yahav
While we are on the subject, I made some tests with Apache logs and it seems that Apache writes the size of the file that you are DL to the log file at the beginning of the transfer. So if you are DL a 1MB file apache will write that you have DL a 1MB file and it doesn't reflect weather you stopp

Re: [PHP] Change Password script

2001-02-02 Thread enthalpy
yea thats what i was thiking is there anyway to use soemting like suexec? <-CoreComm-Internet-Services--http://core.com/-> (Jon Marshall CoreComm Services Chicago) ([EMAIL PROTECTED] Systems Engineer II) ([EMAIL PROTECTED] Network Operations) <--

RE: [PHP] Re: [PHP-WIN] For My Information

2001-02-02 Thread Boaz Yahav
Guys, I don't believe that there is any question today that IIS5 on win2K is the best webserver $$$ can buy. Sincerely berber Visit http://www.weberdev.com Today!!! To see where PHP might take you tomorrow. -Original Message- From: Dan Malcolm [mailto:[EMAIL PROTECTED]] Sent:

Re: [PHP] getting STDIO

2001-02-02 Thread Steve Werby
"Martin A. Marques" <[EMAIL PROTECTED]> wrote: > Lets say my script is named script1.php and I do: > > $ less file1 | script1.php $fp = fopen( 'php://stdin', 'r' ); Then use the standard file handling functions to access the piped data. -- Steve Werby COO 24-7 Computer Services, LLC Tel: 804.8

Re: [PHP] Future plans (4.1) ?

2001-02-02 Thread Toby Butzon
> > As for better OO. I think many of the things people ask for, like > > visibility (public,private,protected) class properties, aren't actually > > features that add functionality, but more just convenience features > > that could be implemented in user space. > > I disagree. Just as with stro

[PHP] exec() won't start SAS job

2001-02-02 Thread Curt Seeliger
Folks, I'm unable to get exec() to start a small SAS job on my RH 6.2 box. (I've got file permissions set correctly) The code: $command="sas -noterminal -log $SASProgDir$JobName.log ". " -print $SASProgDir$JobName.lst $SASProgDir$JobName.sas"; print("Spawning '$command'\n");

RE: [PHP] Pricing for PHP programming???

2001-02-02 Thread Dave VanAuken
1) talk to the customer, in person if at all possible - get a CLEAR picture of exactly what they want. 2) write down every aspect of what they want 3) take each element of the site and estimate how many hours it will take you to accomplish it. 4) double the amount (your customer will cause that)

[PHP] performing tasks with a user's rights

2001-02-02 Thread Nathaniel Hekman
Is there any way for a php script to perform some task as a particular user? Here's what I'm trying to do in particular: I have a Linux box with a handful of users. These users do not have shell access, but they do have ftp (for file uploads to their web sites), pop, imap, etc. I'd like to prov

Re: [PHP] getting STDIO

2001-02-02 Thread Joe Stump
#!/path/to/php -q chmod +x script.php --Joe On Fri, Feb 02, 2001 at 04:36:48PM -0300, Martin A. Marques wrote: > I want to use PHP to build a script that would run from the comand line. Now > me problem is how do I make PHP interpretate a chunk of text that is piped to > it? > Lets sa

[PHP] PHP on PWS

2001-02-02 Thread Patrick L.
When I installed activestate perl from a cdrom, it was an automatic install, did all the reg entries, etc. I am somewhat of a newbie and am deathly afraid of going into the registry to install PHP. I do have remote access to unix servers with php, but having it on my pc would be nice, too.

Re: [PHP] performing tasks with a user's rights

2001-02-02 Thread Steve Werby
"Nathaniel Hekman" <[EMAIL PROTECTED]> wrote: > Is there any way for a php script to perform some task as a particular user? Install PHP as a CGI (this is actually the default install method). When run as a CGI, a particular PHP script will run with the permissions of the user who owns the file.

[PHP-CVS] cvs: php4 /win32 readdir.c

2001-02-02 Thread Sean Bright
elixer Fri Feb 2 16:50:49 2001 EDT Modified files: /php4/win32 readdir.c Log: Comments didn't reflect rewinddir() Index: php4/win32/readdir.c diff -u php4/win32/readdir.c:1.5 php4/win32/readdir.c:1.6 --- php4/win32/readdir.c:1.5Sun Jun 4 15:00:17 2000

[PHP] PHP evaluates an expression function?

2001-02-02 Thread 방창현
Hi. I working convert from VBSCRIPT source to PHP. I found VBSCRIPT eval() same function in PHP. example. VBSCRIPT running... $a = "1+2+3+4" $b = eval ($a) $b retunr is number 10. What function or same method in PHP. Thank! E-mail: [EMAIL PROTECTED] PHONE: +83-2-3411-419

php-general Digest 3 Feb 2001 02:10:42 -0000 Issue 489

2001-02-02 Thread php-general-digest-help
php-general Digest 3 Feb 2001 02:10:42 - Issue 489 Topics (messages 37828 through 37928): Re: PHP configure commandline 37828 by: Alain Fontaine 37829 by: Alain Fontaine Zend Debug Server 37830 by: Milan Mlynarcik 37840 by: Steve Haemelinck Future plans (4.

[PHP] Need to count number of rows per id! :(

2001-02-02 Thread Sandeep Hundal
Hey guys, I need an answer to a problem I've been trying to work on for days :( I made a message board, which has a front page which lists Topic name, topic started by, and what date. All this info, and the topic message is stored in one mysql table. when you click on any of the topics, it leads

Re: [PHP] Need to count number of rows per id! :(

2001-02-02 Thread Julian Wood
Are you looking for select topicID, count(*) from $secondtable group by topicID? This will give you a count of each distinct topicID in $secondtable. Julian -- Julian Wood Multimedia Developer University of Calgary on 2/2/01 6:15 PM, Sandeep Hundal at [EMAIL PROTECTED] wrote: > > Hey g

[PHP] 200 DOLLARS FOR YOU

2001-02-02 Thread Matt Spears

[PHP-I18N] 200 DOLLARS FOR YOU

2001-02-02 Thread Matt Spears

php-i18n Digest 3 Feb 2001 02:54:05 -0000 Issue 48

2001-02-02 Thread php-i18n-digest-help
php-i18n Digest 3 Feb 2001 02:54:05 - Issue 48 Topics (messages 108 through 109): E Bay is going up again.. 108 by: tabathia 200 DOLLARS FOR YOU 109 by: Matt Spears Administrivia: To subscribe to the digest, e-mail: [EMAIL PROTECTED] To unsubscribe from the dige

Re: [PHP] Re:What version of Linux?

2001-02-02 Thread John Hinsley
Christian Reiniger <[EMAIL PROTECTED]> wrote: > > On Friday 02 February 2001 05:32, John Hinsley wrote: > > > > I want to install my personal server on a old Intel 486 machine, 36 > > > Mb RAM, 2 Gb HardDisk, VGA, to develop in PHP. What version of Linux > > > do I need to install? >

RE: [PHP] PHP evaluates an expression function?

2001-02-02 Thread johnny p.
Well, I think the equivalent PHP function to VB's eval() function is... eval(). go to: http://www.php.net/manual/en/function.eval.php HTH, johnny p. > -Original Message- > From: ¹æÃ¢Çö [mailto:[EMAIL PROTECTED]] > Sent: Friday, February 02, 2001 8:11 PM > To: [EMAIL PROTECTED] > Subjec

[PHP-CVS] cvs: php4 / NEWS /ext/pcre php_pcre.c

2001-02-02 Thread Andrei Zmievski
andrei Fri Feb 2 20:53:50 2001 EDT Modified files: /php4 NEWS /php4/ext/pcre php_pcre.c Log: Adding delimiter capturing functionality. As far as NEWS, compilation fixed don't belong here. Index: php4/NEWS diff -u php4/NEWS:1.578 php4/N

[PHP] Help with XSLT!

2001-02-02 Thread Theo Brinkman
I'm trying to learn XSLT and thought that PHP 4.0.4 with the Sablotron extension would be ideal for this, but I quite simply cannot get any samples I find to work. I'm trying to use the class.XSLTransform.php file mentioned in the annotated PHP manual, but I get a fatal error on line 113 (don

RE: [PHP] Pricing for PHP programming???

2001-02-02 Thread [EMAIL PROTECTED]
tOn Fri, 2 Feb 2001, johnny p. wrote: > Hah! My wife has a formal education in graphics design. My web sites > would look like crap without her extensive layout skills. :) I'm so > lucky... Ah! kindered spirit My wife has a formal education in Mass Communication and Public Relations I would

Re: [PHP] Change Password script

2001-02-02 Thread mwaples
enthalpy wrote: > > anyone have example code of a change password script in php? > > <-CoreComm-Internet-Services--http://core.com/-> > (Jon Marshall CoreComm Services Chicago) > ([EMAIL PROTECTED] Systems Engineer II) > ([EMAIL PROTECTED] Networ

Re: [PHP] PHP evaluates an expression function?

2001-02-02 Thread 방창현
Thank's your advices. Eureka! result r=10 - Original Message - From: "johnny p." <[EMAIL PROTECTED]> To: "©ö©¡A¡ËCo" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Saturday, February 03, 2001 1:51 PM Subject: RE: [PHP] PHP evaluates an expression function? > Well, I

Re: [PHP] Re:What version of Linux?

2001-02-02 Thread Meir kriheli
On Friday 02 February 2001 17:09, Christian Reiniger wrote: > On Friday 02 February 2001 05:32, John Hinsley wrote: > > > I want to install my personal server on a old Intel 486 machine, 36 > > > Mb RAM, 2 Gb HardDisk, VGA, to develop in PHP. What version of Linux > > > do I need to install? You

<    1   2