[PHP] configuring headers in mail() ...

2001-02-01 Thread Maxim Maletsky

Hello Guys,
to be short:
 
1. what I'm doing:
 
I need to send some email recipients of which are some users from a
database. (this part perfectly works)
What I care about is that when they receive the email they see 'J-Door
Newsletter' in their from field, not our email address (
'[EMAIL PROTECTED]'  )
 
3. how I'm doing it:
below is the PHP code followed by what message header looks like on received
email.
 
 

  $from = '"' . $POSTED['from_name'] . '" <' . $POSTED['from_email'] . '>';
 
   mail( $rec['email'],
stripslashes($POSTED['subject']),
stripslashes(str_replace('%name%', $rec['name'], $POSTED['body'])),
"FROM: $from
\nContent-Type: text/plain; charset=$encode
\nContent-Transfer-Encoding: 8bit"
   );

 

 
Received: from japaninc.net ([210.229.233.105]) by
exc-tyo-01.lincmedia.co.jp with SMTP (Microsoft Exchange Internet Mail
Service Version 5.5.2650.21)
 id DZ8G4JTZ; Fri, 2 Feb 2001 16:10:11 +0900
Received: (from nobody@localhost)
 by japaninc.net (8.9.3/8.9.3) id QAA10798;
 Fri, 2 Feb 2001 16:01:03 +0900
Date: Fri, 2 Feb 2001 16:01:03 +0900
Message-Id: < [EMAIL PROTECTED]
 >
To: [EMAIL PROTECTED]  
Subject: Message Body [Will be sent exactly as you see it in this box]:
FROM: "J-Door Newsletter" < [EMAIL PROTECTED]
 >
Content-Type: text/plain; charset=iso-8859-1

Content-Transfer-Encoding: 8bit
 

 
 
 
It all looks alright to me, however in from field of my email client I still
see ' [EMAIL PROTECTED]'   instead of
'J-Door Newsletter' ,
 
What am doing wrong?
 
Cheers,

Maxim Maletsky - [EMAIL PROTECTED]  
Webmaster, J-Door.com / J@pan Inc.
LINC Media, Inc.
TEL: 03-3499-2175 x 1271
FAX: 03-3499-3109

http://www.j-door.com  
http://www.japaninc.net  
http://www.lincmedia.co.jp  


 



-- 
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] Pricing for PHP programming???

2001-02-01 Thread Angus Mann

At 11:54 1/02/2001 -0800, Terrence Chay wrote:
> We should be prudent when discussing how much we charge for programming.
>I'm no lawyer but I believe it's okay to discuss hypotheticals, histories,
>and such, but remember that discussing wage rates may run against anti-trust
>regulation as evidence of collusion (at least in the United States).

You'd better tell the unions that.


-- 
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] Variables within functions, out?

2001-02-01 Thread Steve Werby

"David Robley" <[EMAIL PROTECTED]> wrote:
> The specific answer to your question is that the variable $birthday is
> local to the function - check out variable scope in the manual.
>
> But in fact there is another way of doing it - pass the values to check as
> parameters to the function and have it return a result, thus:
>
> function CheckBirthday($year,$month,$day) {

This is a good solution for something this simple.  [to original poster:] If
you're comfortable jumping into learning OOP (object oriented programming)
you can use classes.  There are plenty of good tutorials on classes (b/w
phpbuilder.com, devshed and zend you should be set).  Classes have a lot of
benefits which I won't go into, but one benefit is that it easy to use
related functions seamlessly and it's easy to create variables which are
accessible by all functions within the class (a class is essentially a
collection of functions that can talk with one another).

--
Steve Werby
COO
24-7 Computer Services, LLC
Tel: 804.817.2470
http://www.247computing.com/


-- 
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] how do I subscribe?

2001-02-01 Thread Maxim Maletsky

send an email at [EMAIL PROTECTED]

you will be asked for the confirmation..

Cheers,
Maxim Maletsky

-Original Message-
From: David VanHorn [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 02, 2001 2:52 PM
To: [EMAIL PROTECTED]
Subject: [PHP] how do I subscribe?


subscribe
--
Where's dave? http://www.findu.com/cgi-bin/find.cgi?kc6ete-9



-- 
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 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] how do I subscribe?

2001-02-01 Thread David VanHorn

subscribe
--
Where's dave? http://www.findu.com/cgi-bin/find.cgi?kc6ete-9



-- 
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] Automatic incoming mail notification

2001-02-01 Thread Steve Werby

"Josh G" <[EMAIL PROTECTED]> wrote:
> Depends on your mailserver. Most mail servers can redirect incoming
> mail to a program, I know sendmail can. In your case just make the first
> line of your script #!/path/to/php/bin/php and that should do the trick.

To actually read from the message piped to the PHP script, you'll need to
use the following to read from STDIN:

fopen( 'php://stdin', 'r' );

The above isn't widely documented, but it works.  With all this said, if the
original poster simply wants to let a web-based user know that there is a
new message in the user's email box, a better strategy may be to store all
of the messages in a database like MySQL and compare the timestamp on the
most recent message to the timestamp in a session variable from the previous
page access.  It wasn't clear what the poster was attempting, but with some
more details someone (maybe me) could provide a good solution.  Also, PHP
has functions for accessing IMAP accounts which could prove useful.

> Sorry I don't know how to make sendmail do it, only that you can.

Using sendmail you add an alias to pipe incoming email to a program (your
PHP script).  You may also need to create a symbolic link in a directory
utilized by smrsh (sendmail restricted shell) to allow sendmail to execute
your script (this is done for security reasons).  "man smrsh" for details.

--
Steve Werby
COO
24-7 Computer Services, LLC
Tel: 804.817.2470
http://www.247computing.com/


-- 
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] Automatic incoming mail notification

2001-02-01 Thread Ankur Verma

Dear Josh,

Thanks for your prompt reply

I will surely look around on the web for info on this pathy of action.

thanks once again

regards

Ankur Verma

- Original Message -
From: "Josh G" <[EMAIL PROTECTED]>
To: "PHP User Group" <[EMAIL PROTECTED]>
Sent: Friday, February 02, 2001 10:53 AM
Subject: Re: [PHP] Automatic incoming mail notification


> Depends on your mailserver. Most mail servers can redirect incoming
> mail to a program, I know sendmail can. In your case just make the first
> line of your script #!/path/to/php/bin/php and that should do the trick.
>
> Sorry I don't know how to make sendmail do it, only that you can.
> Check the man pages tho, shouldn't be too hard.
>
> Gfunk -  http://www.gfunk007.com/
>
> I sense much beer in you. Beer leads to intoxication, intoxication to
> hangovers, and hangovers to... suffering.
>
>
> - Original Message -
> From: "Ankur Verma" <[EMAIL PROTECTED]>
> To: "PHP User Group" <[EMAIL PROTECTED]>
> Sent: Saturday, February 03, 2001 5:51 AM
> Subject: [PHP] Automatic incoming mail notification
>
>
> Hello All!
>
> Sorry for this off-topic posting but this is extremely important for me.
>
> I need a php script to be called each time my email mailbox recieves a new
> email message. One way is to have a cron job running and get the php
script
> to check my mailbox every few minutes to see if there are any new emails
and
> do the needfull if there is one.
>
> But I guess that there should be a way for the mail server to initiate
some
> action based on the reciept of a new mail in a particular mailbox. I don't
> think trhat sites like Yahoo and Hotmail use cron jobs to sense new emails
> in a user's mailbox. Another possibility might be that the checking is
being
> done every few minutes by the client application.
>
> if anyone has any idea about the methodology being followed by Yahoo and
> Hotmail, please be kind enough to pass it on. If anyone is aware of a mail
> server otr a mailserver addin which would enable automatic notification
and
> initiaition of script on the reciept of a new email, please pass the info
> on.
>
> I am on Redhat 6.2 with cyrus as my mail server and am using PHP4.
>
> Thanks in advance
>
> Ankur Verma
> HCL Technologies
> A1CD, Sector 16,
> Noida
>
>
>
>
>
> --
> 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 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] Automatic incoming mail notification

2001-02-01 Thread David Robley

On Fri,  2 Feb 2001 15:53, Josh G wrote:
> Depends on your mailserver. Most mail servers can redirect incoming
> mail to a program, I know sendmail can. In your case just make the first
> line of your script #!/path/to/php/bin/php and that should do the trick.
>
> Sorry I don't know how to make sendmail do it, only that you can.
> Check the man pages tho, shouldn't be too hard.
>
> Gfunk -  http://www.gfunk007.com/
>
> I sense much beer in you. Beer leads to intoxication, intoxication to
> hangovers, and hangovers to... suffering.
>
>
> - Original Message -
> From: "Ankur Verma" <[EMAIL PROTECTED]>
> To: "PHP User Group" <[EMAIL PROTECTED]>
> Sent: Saturday, February 03, 2001 5:51 AM
> Subject: [PHP] Automatic incoming mail notification
>
>
> Hello All!
>
> Sorry for this off-topic posting but this is extremely important for me.
>
> I need a php script to be called each time my email mailbox recieves a
> new email message. One way is to have a cron job running and get the php
> script to check my mailbox every few minutes to see if there are any new
> emails and do the needfull if there is one.
>
> But I guess that there should be a way for the mail server to initiate
> some action based on the reciept of a new mail in a particular mailbox. I
> don't think trhat sites like Yahoo and Hotmail use cron jobs to sense new
> emails in a user's mailbox. Another possibility might be that the
> checking is being done every few minutes by the client application.
>
> if anyone has any idea about the methodology being followed by Yahoo and
> Hotmail, please be kind enough to pass it on. If anyone is aware of a
> mail server otr a mailserver addin which would enable automatic
> notification and initiaition of script on the reciept of a new email,
> please pass the info on.
>
> I am on Redhat 6.2 with cyrus as my mail server and am using PHP4.
>
> Thanks in advance
>
> Ankur Verma
> HCL Technologies
> A1CD, Sector 16,
> Noida

There is a nice program called procmail, which may already be on your 
system. Alternatively, under sendmail you can use entries in /etc/aliases 
to play around with redirecting emails.

-- 
David Robley| WEBMASTER & Mail List Admin
RESEARCH CENTRE FOR INJURY STUDIES  | http://www.nisu.flinders.edu.au/
AusEinet| http://auseinet.flinders.edu.au/
Flinders University, ADELAIDE, SOUTH AUSTRALIA

-- 
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] Automatic incoming mail notification

2001-02-01 Thread Josh G

Depends on your mailserver. Most mail servers can redirect incoming
mail to a program, I know sendmail can. In your case just make the first
line of your script #!/path/to/php/bin/php and that should do the trick.

Sorry I don't know how to make sendmail do it, only that you can.
Check the man pages tho, shouldn't be too hard.

Gfunk -  http://www.gfunk007.com/

I sense much beer in you. Beer leads to intoxication, intoxication to
hangovers, and hangovers to... suffering.


- Original Message -
From: "Ankur Verma" <[EMAIL PROTECTED]>
To: "PHP User Group" <[EMAIL PROTECTED]>
Sent: Saturday, February 03, 2001 5:51 AM
Subject: [PHP] Automatic incoming mail notification


Hello All!

Sorry for this off-topic posting but this is extremely important for me.

I need a php script to be called each time my email mailbox recieves a new
email message. One way is to have a cron job running and get the php script
to check my mailbox every few minutes to see if there are any new emails and
do the needfull if there is one.

But I guess that there should be a way for the mail server to initiate some
action based on the reciept of a new mail in a particular mailbox. I don't
think trhat sites like Yahoo and Hotmail use cron jobs to sense new emails
in a user's mailbox. Another possibility might be that the checking is being
done every few minutes by the client application.

if anyone has any idea about the methodology being followed by Yahoo and
Hotmail, please be kind enough to pass it on. If anyone is aware of a mail
server otr a mailserver addin which would enable automatic notification and
initiaition of script on the reciept of a new email, please pass the info
on.

I am on Redhat 6.2 with cyrus as my mail server and am using PHP4.

Thanks in advance

Ankur Verma
HCL Technologies
A1CD, Sector 16,
Noida





-- 
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: php4 /pear DB.php

2001-02-01 Thread Chuck Hagenbuch

chagenbuThu Feb  1 21:24:32 2001 EDT

  Modified files:  
/php4/pear  DB.php 
  Log:
  make sure to include subclasses before trying to instantiate them.
  
  
Index: php4/pear/DB.php
diff -u php4/pear/DB.php:1.45 php4/pear/DB.php:1.46
--- php4/pear/DB.php:1.45   Tue Jan 30 00:34:55 2001
+++ php4/pear/DB.phpThu Feb  1 21:24:31 2001
@@ -17,7 +17,7 @@
 // |  |
 // +--+
 //
-// $Id: DB.php,v 1.45 2001/01/30 08:34:55 ssb Exp $
+// $Id: DB.php,v 1.46 2001/02/02 05:24:31 chagenbu Exp $
 //
 // Database independent query interface.
 //
@@ -208,7 +208,8 @@
 $dsninfo = DB::parseDSN($dsn);
 }
 $type = $dsninfo["phptype"];
-
+   
+   @include_once "DB/${type}.php";
 $classname = "DB_${type}";
 @$obj =& new $classname;
 



-- 
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] Automatic incoming mail notification

2001-02-01 Thread Ankur Verma

Hello All!

Sorry for this off-topic posting but this is extremely important for me. 

I need a php script to be called each time my email mailbox recieves a new email 
message. One way is to have a cron job running and get the php script to check my 
mailbox every few minutes to see if there are any new emails and do the needfull if 
there is one.

But I guess that there should be a way for the mail server to initiate some action 
based on the reciept of a new mail in a particular mailbox. I don't think trhat sites 
like Yahoo and Hotmail use cron jobs to sense new emails in a user's mailbox. Another 
possibility might be that the checking is being done every few minutes by the client 
application.

if anyone has any idea about the methodology being followed by Yahoo and Hotmail, 
please be kind enough to pass it on. If anyone is aware of a mail server otr a 
mailserver addin which would enable automatic notification and initiaition of script 
on the reciept of a new email, please pass the info on.

I am on Redhat 6.2 with cyrus as my mail server and am using PHP4.

Thanks in advance

Ankur Verma
HCL Technologies
A1CD, Sector 16,
Noida





Re: [PHP] 404 error checker

2001-02-01 Thread Louis LeBlanc

You may be getting emails, but for some reason, when I try the links
provided as a demo:

BAD LINK--
http://www.social-ecology.org/new/indexbog.html


PAGE WITH BAD LINK--
http://www.social-ecology.org/indexbogus.html

My browser pops up the save as dialog.  I do have javascript enabled, so
I don't understand it.

I have been working on a similar 404 - actually just trying to modify
the one at phpbuilder.com to work with my system (PHP mail() won't work
because user nobody does not have permissions to execute the deliver
daemon in the Cyrus Imap server).

Are you seeing the page itself?  I can't bring it up.

Lou

John Huggins wrote:
> 
> Ah yes, this seems to stem from the fact the "ErrorDocument 404 /404.php" is
> really a kind if redirect.  What's weird about this is if you use it one way
> (in the .htaccess) the PHP variables that appear are pre-redirect.  If you
> put "Errordocument 404 /404.php" into the httpd.conf the PHP variables are
> post-redirect and are just as if you went straight to the 404.php page.  I
> am sure I am missing some kind of Apache "point-of-view," but is it working
> for most of my URLs now.  Some ancient CGI accesses come in now and again
> and they show this problem.
> 
> However, thanks for the idea and code.  Even as just a 404 trigger, this is
> very useful.  The emails are starting to show just how many old URLs exist
> on my servers.
> 
> John
> 
> > -Original Message-
> > From: Institute for Social Ecology [mailto:[EMAIL PROTECTED]]
> > Sent: Thursday, February 01, 2001 2:32 PM
> > To: John Huggins
> > Cc: [EMAIL PROTECTED]
> > Subject: RE: [PHP] 404 error checker
> >
> >
> > John,
> >
> > I had the same problem, but it was a matter of how I was refering the teh
> > 404 file in htaccess.  It is working fine for me now.  An example of my
> > output is below.  I wish I knew more about appache and htaccess to help
> > you out, but I don't.
> >
> > michael
> >
> 
> --
> 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]

-- 
Louis LeBlanc
Fully Funded Hobbyist, KeySlapper Extrordinaire :)
[EMAIL PROTECTED]
http://acadia.ne.mediaone.net

-- 
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] OT mod_rewrite says goodbye to POST vars (but interesting)

2001-02-01 Thread Matt Friedman

Well, not being able to find much help on mod_rewrite, I hoped some guru
here might be able to help me.

I'm using mod rewrite to do a pretty simple redirect (or rewrite that it) to
a php page that parses the original url and allows for the output of all
sorts of content.

Works great apart from the fact that the POST vars are lost along the way.
And I believe the cookie vars too, but get seems to be ok.

So, does anyone know how to do url redirection or rewriting or whatever that
allows the post vars to be maintained? Please don't refer me to tim's
article on phpbuilder on the subject as I've read every word twice and all
the annotations to no avail.

Many thanks as always.

Matt Friedman
Spry New Media



-- 
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] Pricing for PHP programming???

2001-02-01 Thread Josh G

Ok, you got me on a technicality :)

Of course, every rule has an exception. Even the rule that
says every rule has an exception ;-)

Gfunk -  http://www.gfunk007.com/

I sense much beer in you. Beer leads to intoxication, intoxication to
hangovers, and hangovers to... suffering.


- Original Message -
From: "Michael Kimsal" <[EMAIL PROTECTED]>
To: "Josh G" <[EMAIL PROTECTED]>
Sent: Friday, February 02, 2001 4:12 PM
Subject: Re: [PHP] Pricing for PHP programming???


>
>
> Josh G wrote:
>
> > 
> >
> > It comes down to one simple thing:
> > You cannot know how much a project is worth to a client. If they're
> > willing to pay you $5000, it's worth $5000, wether you think it's worth
> > $500 or $5.
>
> I hear you, but have to disagree a bit - I think you CAN sometimes know
> what something is objectively worth.  Not always, but sometimes.
> We wrote an ordering system for a client that, when implemented,
> would make 8 people redundant.  Even on the low end of ~$20k/person,
> plus admin overhead, that project would be saving them ~$200k/year, plus
> the other benefits of having their data faster and with fewer errors.
> That was a no brainer, imo.  They knew they'd save a MINIMUM of $x/year,
> perhaps more.  We knew what the project was worth to them.  If they
> didn't pay our price, yes, in the abstract it wasn't "worth" it to them,
> but that's on an emotional level at that point (worth) not a paper
> figure level.  :)
>
>
>
>
> > If I buy a pack of basketball cards for $2 that has
> > ten cards in it, then they're worth 20c each. If suddenly some
> > collecter says "ohmigod you have a jordan rookie card in there, i'll
> > give you $3000", it's now worth $3000, because that's what
> > he is willing to part with to own it.
> >
> > In short, any skill, service, or product, is "worth" the amount of money
> > you can exchange it for" this is how the stock market works
> > (sometimes), it's how just about everything works. If they're willing
> > to pay it, you should charge it. They can go somewhere else, noone
> > is holding a gun to their heads.
> >
> > Everything is a game. You want the most money possible for it, they
> > want it for the least amount of money, you compromise on something
> > you can both live with, or you don't do business, and next job, you
> > have to start over.
> >
> > Some people won't look at you if you charge less than $150/hr, some
> > people won't look at you if you chargre more than 40 it's just the
> > way it is.
> >
> > 
> >
> > Gfunk -  http://www.gfunk007.com/
>


-- 
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] Exit Function

2001-02-01 Thread Boget, Chris

> What is the way to exit a function?  For example:
> function FooBar() {
> if ($foo = $bar)
> Exit_this_Function;
> ## otherwise execute the rest of this function
> }

function FooBar() {
  if ($foo = $bar)
return 0;

  }
  ## otherwise execute the rest of this function
}

Chris



Re: [PHP] neat html output

2001-02-01 Thread Jeff Lacy

You can also use tabs (\t).

This is an example using tabs and newlines:
echo "\n\n\tHello There\n\tHow are
you\n";

Note: You must use quotes because ticks don't work.

Jeff




""Mark"" <[EMAIL PROTECTED]> wrote in message
9597gb$4el$[EMAIL PROTECTED]">news:9597gb$4el$[EMAIL PROTECTED]...
> I'd like my html output to be neatly written, including newlines is
helpful
> but does anyone know of a better way to output newlines than appending
> ."\n"; to every echo statement.
>
> -Mark
>
>
>
>
> --
> 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 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] Fw: Message status - undeliverable

2001-02-01 Thread Josh G

Sorry about this, but can somebody please remove this guy from
the list? I'm tired of getting this email every time I contribute.

Cheers,
Gfunk -  http://www.gfunk007.com/

I sense much beer in you. Beer leads to intoxication, intoxication to
hangovers, and hangovers to... suffering.


- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, February 02, 2001 3:34 PM
Subject: Message status - undeliverable


> The message that you sent was undeliverable to the following:
> JMARTINEZ
>






> Information about your message:
> Subject: Re: [PHP] Re: PHP a lightweight language?
>


-- 
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] Re: PHP a lightweight language?

2001-02-01 Thread Josh G

most c compilers are self-hosting. iirc it's one of the best tests of
your compiler.

Gfunk -  http://www.gfunk007.com/

I sense much beer in you. Beer leads to intoxication, intoxication to
hangovers, and hangovers to... suffering.


- Original Message -
From: "John Hinsley" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, February 02, 2001 3:32 PM
Subject: [PHP] Re: PHP a lightweight language?


>
> > Michael Hall <[EMAIL PROTECTED]> wrote
>
>
> >
> > I'm interested in the proposition made recently on this list that PHP is
> > somehow a 'lightweight' language that some people don't take seriously.
I
> > am relatively new to Linux and open source programming and only really
> > know PHP and some shell scripting, though I am now starting to explore
> > Python.
>
> Seems to me that most languages can be considered "lightweight" in some
> respects. After all, couldn't C be considered lightweight compared with
> machine code?
>
> And then, most languages are written in something else (something
> heavier?): if I remember correctly, Squeak is about the only thing that
> really eats its own dog food. And, from what I remember, such recursion
> wasn't straightforward!
>
> It's really a silly discussion. PHP does what it does exceptionally
> well. You'd be barking mad to write an operating system in it, but you'd
> be equally crazy to write a C application to do what a shell script does
> or to use Java to run a regex on a text file.
>
> The reason, I think, that there are so many languages out there is that
> each has its advantages when used in a particular context. It may be
> able to work out of context, but the overheads in development and/or
> compilation or run time build up.
>
> --
>

**
> Marx: "Why do Anarchists only drink herbal tea?"
> Proudhon: "Because all proper tea is theft."
>

**
>
> --
> 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 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: PHP a lightweight language?

2001-02-01 Thread John Hinsley


> Michael Hall <[EMAIL PROTECTED]> wrote
 

> 
> I'm interested in the proposition made recently on this list that PHP is
> somehow a 'lightweight' language that some people don't take seriously. I
> am relatively new to Linux and open source programming and only really
> know PHP and some shell scripting, though I am now starting to explore
> Python.

Seems to me that most languages can be considered "lightweight" in some
respects. After all, couldn't C be considered lightweight compared with
machine code?

And then, most languages are written in something else (something
heavier?): if I remember correctly, Squeak is about the only thing that
really eats its own dog food. And, from what I remember, such recursion
wasn't straightforward!

It's really a silly discussion. PHP does what it does exceptionally
well. You'd be barking mad to write an operating system in it, but you'd
be equally crazy to write a C application to do what a shell script does
or to use Java to run a regex on a text file. 

The reason, I think, that there are so many languages out there is that
each has its advantages when used in a particular context. It may be
able to work out of context, but the overheads in development and/or
compilation or run time build up.

-- 
**
Marx: "Why do Anarchists only drink herbal tea?"
Proudhon: "Because all proper tea is theft."
**

-- 
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:What version of Linux?

2001-02-01 Thread John Hinsley


> "Andrés de la Varga" <[EMAIL PROTECTED]> 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?

Stay clear of any version built specifically for 586 machines. This
certainly means Mandrake, but may include late versions of other
distributions, so check with their home site.

But I'm unsure of what you "really" intend using this machine for. Do
you really want a home network (in which case conventional wisdom
suggests that the server should be the most powerful box on site) or
just something to run php or CGI scripts on with Apache or whatever?

If you can get back with details of what you want to do with that little
old box (and what other machines and Operating Systems you have) I can
maybe be of more help. Personally, I like SuSE.
-- 
**
Marx: "Why do Anarchists only drink herbal tea?"
Proudhon: "Because all proper tea is theft."
**

--
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] Pricing for PHP programming???

2001-02-01 Thread Josh G



It comes down to one simple thing:
You cannot know how much a project is worth to a client. If they're
willing to pay you $5000, it's worth $5000, wether you think it's worth
$500 or $5. If I buy a pack of basketball cards for $2 that has
ten cards in it, then they're worth 20c each. If suddenly some
collecter says "ohmigod you have a jordan rookie card in there, i'll
give you $3000", it's now worth $3000, because that's what
he is willing to part with to own it.

In short, any skill, service, or product, is "worth" the amount of money
you can exchange it for" this is how the stock market works
(sometimes), it's how just about everything works. If they're willing
to pay it, you should charge it. They can go somewhere else, noone
is holding a gun to their heads.

Everything is a game. You want the most money possible for it, they
want it for the least amount of money, you compromise on something
you can both live with, or you don't do business, and next job, you
have to start over.

Some people won't look at you if you charge less than $150/hr, some
people won't look at you if you chargre more than 40 it's just the
way it is.



Gfunk -  http://www.gfunk007.com/

I sense much beer in you. Beer leads to intoxication, intoxication to
hangovers, and hangovers to... suffering.


- Original Message -
From: "Steve Werby" <[EMAIL PROTECTED]>
To: "Shane McBride" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Friday, February 02, 2001 3:20 PM
Subject: Re: [PHP] Pricing for PHP programming???


> "Shane McBride" <[EMAIL PROTECTED]> wrote:
> > I was wondering what other PHP people charge to write PHP?
>
> There's no magic answer.  And no offense, but if you categorize building
> business solutions delivered via the internet as "writing PHP" then your
> services probably shouldn't be priced at the higher end of the spectrum.
> There are so many factors - size of project, complexity, reusability of
> project components, turnaround time, your reputation, your speed,
geography,
> etc.  And there are many ways to price a project.  We use a combination of
> flat rate pricing, estimates with a cap, hourly rates, retainer
arrangements
> and some more creative terms depending on another long list of factors.
>
> As a PHP programmer and COO of a development and consulting shop, the
> emphasis on hourly rate is something that really amazes me.  Not all
> programmers are created equal.  A lot of clients don't recognize that.
Some
> mistakenly believe that a $120/hr. programmer is 20% more productive than
a
> $100/hr. programmer.  Yet others think that a $200/hr. programmer must be
> twice as good as a $100/hr. programmer.  I find that there is *no*
> correlation between hourly rate and the quality, productivity and value of
a
> programmer.  Sure, in other non_knowledge_based occupations, there may be
a
> correlation, but in our biz I don't see one.  Some say "you get what you
pay
> for", but b/c this industry is new there are a lot of unscrupulous
> developers out there talking with naive uneducated clients.  This is a
> dangerous mix.  We've talked to a number of prospective clients who were
> charged $100,000+ for projects we could have done for $5,000.  I couldn't
> sleep at night if we gouged clients like that and in the long run I think
> gouging clients will come back to bite you.  We try to emphasize the total
> cost to the client along with the benefits of our proposed solutions.  We
> try to state these benefits in terms of time savings, exposure,
value-added
> capabilities, revenue and process improvement.  When you can put what you
> can bring to the table in these terms the hourly rate becomes less
critical
> and it makes it easier to compete with inferior competitors that compete
on
> price alone.
>
> So, in general what should you charge based on your skills, experience and
> the types of things you are building?  At a mimimum you should charge
enough
> to cover the cost of your operation taking into account the risk of not
> staying fully utlized and adding on enough to make an acceptable amount of
> profit.  If after arriving at that number it seems that your target market
> can't support that rate, reassess your strategy.  As a rule of thumb, a
> consulting biz needs to charge 2.5 - 3 times the hourly rate payed to its
> employees.  If you're a one person operation, you might think you need to
> charge less, but I wouldn't look at it that way.  Unless you have clients
> breaking your door down and your clients aren't aware that there *are*
> others like you, you'll probably have to spend a significant amount of
> non-billable time dealing with running the business, doing marketing,
sales
> and other business functions.  And if you're alternative is working as an
> employee of another company and earning a steady paycheck (unless you just
> don't want to work for anyone else) you should plan on at least making
> enough to earn more than this alternative.
>
> If I was trying to ga

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

2001-02-01 Thread Steve Werby

"Shane McBride" <[EMAIL PROTECTED]> wrote:
> I was wondering what other PHP people charge to write PHP?

There's no magic answer.  And no offense, but if you categorize building
business solutions delivered via the internet as "writing PHP" then your
services probably shouldn't be priced at the higher end of the spectrum.
There are so many factors - size of project, complexity, reusability of
project components, turnaround time, your reputation, your speed, geography,
etc.  And there are many ways to price a project.  We use a combination of
flat rate pricing, estimates with a cap, hourly rates, retainer arrangements
and some more creative terms depending on another long list of factors.

As a PHP programmer and COO of a development and consulting shop, the
emphasis on hourly rate is something that really amazes me.  Not all
programmers are created equal.  A lot of clients don't recognize that.  Some
mistakenly believe that a $120/hr. programmer is 20% more productive than a
$100/hr. programmer.  Yet others think that a $200/hr. programmer must be
twice as good as a $100/hr. programmer.  I find that there is *no*
correlation between hourly rate and the quality, productivity and value of a
programmer.  Sure, in other non_knowledge_based occupations, there may be a
correlation, but in our biz I don't see one.  Some say "you get what you pay
for", but b/c this industry is new there are a lot of unscrupulous
developers out there talking with naive uneducated clients.  This is a
dangerous mix.  We've talked to a number of prospective clients who were
charged $100,000+ for projects we could have done for $5,000.  I couldn't
sleep at night if we gouged clients like that and in the long run I think
gouging clients will come back to bite you.  We try to emphasize the total
cost to the client along with the benefits of our proposed solutions.  We
try to state these benefits in terms of time savings, exposure, value-added
capabilities, revenue and process improvement.  When you can put what you
can bring to the table in these terms the hourly rate becomes less critical
and it makes it easier to compete with inferior competitors that compete on
price alone.

So, in general what should you charge based on your skills, experience and
the types of things you are building?  At a mimimum you should charge enough
to cover the cost of your operation taking into account the risk of not
staying fully utlized and adding on enough to make an acceptable amount of
profit.  If after arriving at that number it seems that your target market
can't support that rate, reassess your strategy.  As a rule of thumb, a
consulting biz needs to charge 2.5 - 3 times the hourly rate payed to its
employees.  If you're a one person operation, you might think you need to
charge less, but I wouldn't look at it that way.  Unless you have clients
breaking your door down and your clients aren't aware that there *are*
others like you, you'll probably have to spend a significant amount of
non-billable time dealing with running the business, doing marketing, sales
and other business functions.  And if you're alternative is working as an
employee of another company and earning a steady paycheck (unless you just
don't want to work for anyone else) you should plan on at least making
enough to earn more than this alternative.

If I was trying to gauge my value I would probably start low, build up word
of mouth, client referrals and long term relationships and then increase my
rates gradually over time if the market allows you to do so.  In my area a
green PHP programmer working part time might be able do contract work for
$15 an hour while a seasoned guru might be able to command $150 an hour.
Over time your programming skills, productivity and business knowledge
should continuously increase.  As a result your margins should increase,
even if your so called "hourly rate" remains flat.  Unless of course you
hire other people.  That may make your operation much more complex and
difficult to manage than you may think.  Plus, any development firm that
hires a PHP programmer is reducing the pool of PHP programmers available to
my company and I just can't have that.  

--
Steve Werby
COO
24-7 Computer Services, LLC
Tel: 804.817.2470
http://www.247computing.com/


-- 
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] How do I get last inserted ID?

2001-02-01 Thread David Robley

On Fri,  2 Feb 2001 14:13, Sandeep Hundal wrote:
> Hi All,
>
> just a quick question. Say my script is inserting values into a
> database, which has an autoincremental id. Now I usually send out a
> mail also with the contents of the inserted stuff. The only problem
> is that of the ID field. How can I get the script to determine what
> id number was given to that row?
>
> thanks
>
> /sunny

If you are using mysql, mysql_insert_id will do that for you.

-- 
David Robley| WEBMASTER & Mail List Admin
RESEARCH CENTRE FOR INJURY STUDIES  | http://www.nisu.flinders.edu.au/
AusEinet| http://auseinet.flinders.edu.au/
Flinders University, ADELAIDE, SOUTH AUSTRALIA

-- 
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] How do I get last inserted ID?

2001-02-01 Thread Maxim Maletsky

mysql_insert_id() is a PHP function for it.
however I recommend you using a build-in SQL function LAST_INSERT_ID().

i.e: INSERT INTO table SET name='$name', surname='$surname';
UPDATE table SET name='$name', surname='$surname' WHERE id=LAST_INSERT_ID()

Cheers,
Maxim Maletsky

-Original Message-
From: Sandeep Hundal [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 02, 2001 12:44 PM
To: PHP General
Subject: [PHP] How do I get last inserted ID?


Hi All,

just a quick question. Say my script is inserting values into a
database, which has an autoincremental id. Now I usually send out a
mail also with the contents of the inserted stuff. The only problem
is that of the ID field. How can I get the script to determine what
id number was given to that row?

thanks

/sunny

__
Get personalized email addresses from Yahoo! Mail - only $35 
a year!  http://personal.mail.yahoo.com/

-- 
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 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] How do I get last inserted ID?

2001-02-01 Thread Sandeep Hundal

Hi All,

just a quick question. Say my script is inserting values into a
database, which has an autoincremental id. Now I usually send out a
mail also with the contents of the inserted stuff. The only problem
is that of the ID field. How can I get the script to determine what
id number was given to that row?

thanks

/sunny

__
Get personalized email addresses from Yahoo! Mail - only $35 
a year!  http://personal.mail.yahoo.com/

-- 
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: PHP a lightweight language?

2001-02-01 Thread Nold, Mark


- 
Disclaimer: The information contained in this email is intended only for the
use of the person(s) to whom it is addressed and may be confidential or
contain legally privileged information. If you are not the intended
recipient you are hereby notified that any perusal, use, distribution,
copying or disclosure is strictly prohibited. If you have received this
email in error please immediately advise us by return email at
[EMAIL PROTECTED] and delete the email document without making a
copy. 

-

M, i really think that PHP is considered lightweight by some becuase:

1. Its easy. (Compare to C, Java, and the inconsistancies of VB)
We all know that real programmers only program in  (insert the hardest
thing you know eg: Machine Code, Fortran, C++ or Basic if you're pretty sad)
with VI installed on on an Commodore 64 with a tape drive...

2. It's a scripting language.
This does make PHP seem less like a "real language", even though a compiled
Java class file still needs an interpreter.


But of course any comments like "PHP a lightweight language?" are typically
flamebait, and i would ignore them (well i will next time)

mn

Mark Nold
[EMAIL PROTECTED]  
Senior Consultant
 
Change is inevitable, except from vending machines. 



-Original Message-
From: Michael Hall [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 02, 2001 6:49 AM
To: [EMAIL PROTECTED]
Subject: PHP a lightweight language?



I'm interested in the proposition made recently on this list that PHP is
somehow a 'lightweight' language that some people don't take seriously. I
am relatively new to Linux and open source programming and only really
know PHP and some shell scripting, though I am now starting to explore
Python.

I have had a quick overview of several languages and it seems to me that
they all deal with the same basic components and logic:

variables
statements
flow control
functions
classes
etc
etc
etc

So I'm wondering, apart from the fact that PHP is web centric, what
features does the language lack that prevent some from taking it
seriously? It appears to me to use the same basic elements and logic as
any other programming language. Maybe it doesn't have tedious requirements
for memory management like C, but so what? Neither does Python.

Any comments appreciated.

Mick


--
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] contracting & consulting (was "[PHP] Pricing for PHP programming???")

2001-02-01 Thread Steve Werby

"Benjamin Munoz" <[EMAIL PROTECTED]> wrote:
> Great thread. When I was changing jobs in April of 2000, a recruiter told
me
> that PHP is "cool and all", but there is zero demand for developers of PHP
> web apps (in Los Angeles).

Interesting.  We're located in [not very large, but high tech/internet
concentration] Charlottesville, Virginia and there's a pretty significant
demand for PHP-based apps and websites.  Then again, our target market is
small/medium businesses and small internet startups and after assessing a
client's needs, working with them to define a solution and developing a
proposal that nearly always uses LAMP the clients rarely care what we use as
long as we deliver.  Sure, larger, stodgier corportate clients with IT
departments are more resistent to utilizing PHP and open source technology
for their enterprise solutions, but they aren't the only customers out
there.

> therefore command a higher wage.  Demand vs supply, right?.  A search
today
> on monster.com for ASP in LA yields 142 listings, Java yields 262, JSP
> yields 32, Perl yields 105, PHP yields 16, cold fusion yields 16.

Odd.  My search on monster.com for "php" turned up 324 listings.  I *wish*
there were less - we have listings 135 and 136 and have not found the right
candidate yet.

--
Steve Werby
COO
24-7 Computer Services, LLC
Tel: 804.817.2470
http://www.247computing.com/


-- 
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] Why?? SPRINTF("SELECT sequence,prodnum,childdesc....);

2001-02-01 Thread Steve Werby

"Karl J. Stubsjoen" <[EMAIL PROTECTED]> wrote:
> What is the purpose of the SPRINTF in this instance?
> SPRINTF("SELECT
>
equence,prodnum,childdesc,onhand,openorders,avlallocate,bakorder,webpricing
> FROM prodaval");

It appears as though the sprintf() function is being misused.  There's no
advantage to using it to wrap around an SQL statement.

--
Steve Werby
COO
24-7 Computer Services, LLC
Tel: 804.817.2470
http://www.247computing.com/


-- 
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] Php Database

2001-02-01 Thread Vinicius Garcia Mommensohn

Muito obrigado pela ajuda Michael!

Hi everyone!
To use de DBA database format, first i had to configurate php with
--with-db2 option. All works (configure, make and make install). But the
php script still not works. The line of the script that has a problem
is:

$id = dba_open ("/home/httpd/html/testes/test.db", "n", "db2");

Fatal error: Call to undefined function: dba_open() in
/home/httpd/html/testes/teste.php on line 5

That's the error. But, when i looks at phpinfo(), it shows that the php
wasn't configurated with --with-db2.

I wanna know, how to upgrate the configurations of php... I already
tried to delete the config.cache file, but still not working.

Anyone knows it?

Tks,
Sorry for the English... /me from Brazil
Scratch


-- 
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: Java variables - PHP varialbles

2001-02-01 Thread Nold, Mark


- 
Disclaimer: The information contained in this email is intended only for the
use of the person(s) to whom it is addressed and may be confidential or
contain legally privileged information. If you are not the intended
recipient you are hereby notified that any perusal, use, distribution,
copying or disclosure is strictly prohibited. If you have received this
email in error please immediately advise us by return email at
[EMAIL PROTECTED] and delete the email document without making a
copy. 

-

If it is the Java PHP module i assume you are talking about and not
Javascript or Java Applets have a look at
http://www.phpbuilder.com/columns/marknold20001221.php3 for an introduction
to PHP and Java.




Mark Nold
[EMAIL PROTECTED]  
Senior Consultant
 
Change is inevitable, except from vending machines. 



-Original Message-
From: Claude Cormier [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 02, 2001 2:42 AM
To: [EMAIL PROTECTED]
Subject: Java variables - PHP varialbles


Hi!,

I am rather a newbie with PHP.

Can someone tell me how we can assign the content of a PHP 
variable to a Java variables in a script (and vice versa).

Thanks

Claude

--
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] contracting & consulting (was "[PHP] Pricing for PHP programming???")

2001-02-01 Thread Maxim Maletsky


>> -What can we as a developer community do to change this?
>Prove that Open Source is working, and better than many commercial
>solutions, too.

This is something I like to do within my company: they used to buy software
online saying that it is still cheaper then develop it ourselves. Hmm.. I
always agreed, BUT in a different way -- sending them a link to Source Forge
- "Look guys, they have done a similar soft already and even in a similar
language, but, 4 FREE "  Gezz,, when will they ever understand that
Phorum runs better then some $200 cgi-perl application easier to find for a
manager on AltaVista.

This is how we have to teach them.

Cheers,
Maxim Maletsky

-- 
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] contracting & consulting (was "[PHP] Pricing for PHP pr ogramming???")

2001-02-01 Thread Dave VanAuken

or cname the main PHP site that way we don't have to bog down/rely on
the primary PHP servers.  jobs.php.net

Further to the other conversations on this topic:
We always investiate any companies that are looking for CGI, Perl,
and ASP solutions since many of them are just going off of whatever
hype or pop phrases they have heard...many times we have waltzed
in and taken the NT/IIS/ASP proposed project that some small to mid
sized company wanted to hire for and offer a FreeBSD/Apache/PHP based
solution that cost them thousands less in licensing, still nets us
profit on the server implementation (not just web dev folks), and gets
us so close to the customer that it would cost twice as much for them
to move their business elsewhere and have anyone sit down and figure
out what the code logic is.
Recruiters and HR staff are usually the last people that you want to
try and deal with...  they are busy looking for people with 5+ years
of Windows 2000 administration, 5 different programming languages, and
5 years in marketing for a 50k a year position...  and have no idea
what the job actually entails or the project goals are.
Personal opinion, as always.

Dave

-Original Message-
From: Jonathan Sharp [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 01, 2001 5:49 PM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: RE: [PHP] contracting & consulting (was "[PHP] Pricing for
PHP
pr ogramming???")


because that's too easy! Why would we want to use a system that's
already in
place? hehehe...looks good! I think it'd be best to have PHP jobs
listed at
THE PHP.NET site...got my vote!

-Jonathan

> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, February 01, 2001 2:47 PM
> To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
> Subject: Re: [PHP] contracting & consulting (was "[PHP] Pricing for
PHP
> pr ogramming???")
>
>
> On Thu, Feb 01, 2001 at 04:47:31PM -0600, [EMAIL PROTECTED] wrote:
> > I have implemented a PHP Developer's directory at
> > http://www.phpusergroups.org where you can sign up to the
directory
> > and wehen people are looking for spot jobs you will receive a RFG
> > (request for quotes).
>
> Why do you not contact Brian Schaffner? On http://php.net/links.php
there
> is a link to his "PHP Employment List".
>
> Another suggestion, why not jobs.php.net?  I think Rasmus doesn't
have
> other opinions.
>
> -Egon
>
> --
> http://www.linuxtag.de/
> http://php.net/books.php
> http://www.concert-band.de/
> http://www.php-buch.de/
>
> --
> 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 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 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] contracting & consulting (was "[PHP] Pricing for PHP programming???")

2001-02-01 Thread Ben Peter

Hi Ben,

> I know that that Java/EJB/JSP and COM/ASP is in MUCH more demand, and
> therefore command a higher wage.  Demand vs supply, right?.  A search today
> on monster.com for ASP in LA yields 142 listings, Java yields 262, JSP
> yields 32, Perl yields 105, PHP yields 16, cold fusion yields 16.

Take into account that you need 5 Java programmers where one PHP
programmer would do the job (this is not blind rage against Java; we
have recently completed a Java [ATG Dynamo] project and it has taken 10
times the resources the same solution in PHP would have needed).

> -Has the demand changed much in your city since middle of last year?
Can't tell.

> -Also, for developers who are proficient in several web dev environments, is
> it mostly true that you use PHP for your own personal projects, but some
> other language for big corporate clients.
This is true for our major client; they have decided to go to Java,
leaving us no choice but to follow. They might yet make up their mind,
as ATG Dynamo and Oracle bring in licensing costs of ~ $1m.

> -What is the perception of PHP for mid/large organizations with more to
> risk?
A lot of IT consultants will recommend something expensive so that they
can claim they wanted a 'bussiness standard' if there are problems. Get
more trouble when you have recommended Open Source [*sigh*]. I still
wouldn't, though.

> -What can we as a developer community do to change this?
Prove that Open Source is working, and better than many commercial
solutions, too.

Regards,
Ben

-- 
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] encode string with spaces

2001-02-01 Thread David Robley

On Fri,  2 Feb 2001 11:36, David Robley wrote:
> On Fri,  2 Feb 2001 11:22, Kevin McCarthy wrote:
> > All -
> >
> > Any easy way to take a string and fill the spaces in it? Say like a
> > URLencoding:
> >
> > This is my dog, Jack
> > becomes
> > This%20is%20my%20dog,%20Jack
> >
> > I ask this as I would like to send a string to a perl function that can
> > parse the string and create a hash from it based on delimiters I
> > define. But if there are spaces in the string in between defined
> > fields, it is thrown off.
> >
> > BTW, I tried both ereg_replace() and str_replace() with no luck as
> > below:
> >
> > $my_string = "This is my dog, Jack";
> > str_replace(" ", "%20", $my_string);
> >
> > $my_string remains with spaces, not %20s.

And that is because you need to do

$my_string = str_replace(" ", "%20", $my_string);

You have to assign the result of the function to something to see it :-)


-- 
David Robley| WEBMASTER & Mail List Admin
RESEARCH CENTRE FOR INJURY STUDIES  | http://www.nisu.flinders.edu.au/
AusEinet| http://auseinet.flinders.edu.au/
Flinders University, ADELAIDE, SOUTH AUSTRALIA

-- 
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] C++ integration with PHP

2001-02-01 Thread Toby Butzon

Yes, system() waits for the called program to terminate before PHP
execution continues, so that should work.

However, you may also want to look into building a custom module for PHP
so you can call your C functions directly from PHP. Info on the Zend
API, building PHP modules in C, etc., is available at Zend.com.

--Toby

Zhu George-CZZ010 wrote:
> 
> Does anyone know how to integrate C++ and PHP if there are some data changes between 
>PHP program and C++ program?
> 
> What I can think about is: in PHP, put the data in a file, and use "system" call to 
>activate the c++ program. After that, let the c++ program to read the data file, and 
>output the result into another file, and let the PHP to read the result file.
> But there is one question: will php wait until C++ program finish if I use "system" 
>function from PHP?
> 
> Is there any better way to do the integration?
> 
> Thanks,
> G.Z.
> 
> --
> 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 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] Win2000 TCP/IP failure

2001-02-01 Thread Toby Butzon

Greetings,

I've run into a problem on my Win2k computer running IIS5 and PHP
404pl1. I've got a page set up to pull a page from CNN.com, parse it for
headlines, and print the results in an organized table of links.
Everything's been working fine since the beginning of January, but
suddenly it dies with a PHP warning and my die() message:


Warning: fopen("http://www.cnn.com/desktop/content.html","r") - No error
in _file_extract.php on line 5

Unable to open http://www.cnn.com/desktop/content.html

The line that's generating the error looks like this:
$file = fopen($url, "r") or die("Unable to open $url");

So I figured maybe something was up with my fopen()... but apparently
not. I also have the same page connecting to the mysql server on
localhost to request a list of my reminders & tasks that need to be
done. However, connecting to the db server (on localhost) also dies with
the following:


Warning: MySQL Connection Failed: Can't create TCP/IP socket (10091) in
basic_functions.php on line 9

Error: basic_functions.php:9 

Unable to connect to database

So now I'm completely stumped. I haven't changed anything as far as the
scripting on the page goes. I've tried rebooting (seems a likely
solution for windows, but it didn't work :/), I upgraded to the latest
PHP (I had been running 403), and even using the ISAPI module instead of
the CGI...

My apologies if it's obvious and I'm just not seeing it. Any ideas?

--Toby Butzon

-- 
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] encode string with spaces

2001-02-01 Thread David Robley

On Fri,  2 Feb 2001 11:22, Kevin McCarthy wrote:
> All -
>
> Any easy way to take a string and fill the spaces in it? Say like a
> URLencoding:
>
> This is my dog, Jack
> becomes
> This%20is%20my%20dog,%20Jack
>
> I ask this as I would like to send a string to a perl function that can
> parse the string and create a hash from it based on delimiters I define.
> But if there are spaces in the string in between defined fields, it is
> thrown off.
>
> BTW, I tried both ereg_replace() and str_replace() with no luck as below:
>
> $my_string = "This is my dog, Jack";
> str_replace(" ", "%20", $my_string);
>
> $my_string remains with spaces, not %20s.
>
> Thanks.
>
>
>
> Kevin McCarthy

rawurlencode seems to be what you want if you want %20; or see urlencode 
which uses + for space character.

-- 
David Robley| WEBMASTER & Mail List Admin
RESEARCH CENTRE FOR INJURY STUDIES  | http://www.nisu.flinders.edu.au/
AusEinet| http://auseinet.flinders.edu.au/
Flinders University, ADELAIDE, SOUTH AUSTRALIA

-- 
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] What version of Linux?

2001-02-01 Thread Michael Hall


Almost any distribution should work OK. I use Red Hat on one of my old
486 machines ... it is slow but it works. Given the machine
you're  working with, the main issue is I think optimising or customising
whatever distribution you do use to improve performance.

Mick

On Thu, 1 Feb 2001, Andrés de la Varga 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?
> 
> Andrés de la Varga.
> 
> 
> 
> -- 
> 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 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-general Digest 2 Feb 2001 00:51:13 -0000 Issue 487

2001-02-01 Thread php-general-digest-help


php-general Digest 2 Feb 2001 00:51:13 - Issue 487

Topics (messages 37626 through 37763):

Inappropriate ioctl for device
37626 by: Kif

Re: upload_max_filesize
37627 by: Jon Haworth
37648 by: WreckRman2
37651 by: WreckRman2
37756 by: David Robley
37757 by: David Robley

Easy flowchart programm
37628 by: Wico de Leeuw
37633 by: Trevor DeVore

Re: Directory Listing with PHP
37629 by: Tim Ward

How does memory limit work?
37630 by: Ralf Hupfer

Re: Pricing for PHP programming???
37631 by: Brian V Bonini
37635 by: Joe Stump
37637 by: Michael Kimsal
37645 by: Krznaric Michael
37652 by: Brian V Bonini
37667 by: thor
37670 by: Jon Haworth
37673 by: Jerry Lake
37699 by: Terrence Chay
37700 by: Boget, Chris
37701 by: Chana Black
37703 by: szii.sziisoft.com
37719 by: James Moore
37721 by: Jade Ohlhauser
37760 by: Miles Thompson

Odd problem
37632 by: Dan Lowe

NEWBIE QUESTION
37634 by: Stinie Steinbach
37646 by: Johannes Janson

PHP and report generation
37636 by: Todd Cary

Tab character
37638 by: Karl J. Stubsjoen
37639 by: Martin A. Marques
37644 by: Toby Miller
37658 by: Alexander Skwar
37659 by: Alexander Skwar
37754 by: David Robley

[Q] Domxml: unlink() method?
37640 by: Peter Sabaini
37689 by: Teodor Cimpoesu

Problems getting Zend IDE to run.
37641 by: Neil Kimber

Re: Symbolic link fails when User Authentication comes in
37642 by: johnny p.

Performance hit with certain apache configs?
37643 by: Robinson, Mike

Re: test
37647 by: Jon Haworth

Setting The Font In SENDMAIL
37649 by: Jeff Gannaway
37656 by: Chris Lee

Help needed tsrm_error
37650 by: Tony Brown

Cant get this one
37653 by: Mike
37663 by: Chris Lee
37708 by: Shane McBride

Re: Oracle failed to connect
37654 by: Iván Sánchez Ortega \"MR\"

Re: Is there a 'redo' loop control function?
37655 by: Jason Murray

Nulls in database
37657 by: Conover, Ryan
37664 by: Juan

test, please ignore.
37660 by: Zhu George-CZZ010

Email Attachment
37661 by: Website4S.aol.com

Transitioning from php3 to php4
37662 by: Chana Black

Suggest for List
37665 by: Jon Jacob
37677 by: Chris Lee
37678 by: Boget, Chris
37682 by: Chris Lee
37691 by: April
37695 by: Benjamin Munoz
37697 by: April
37702 by: Philip Olson
37705 by: April
37710 by: Philip Olson
37712 by: Brian Paulson
37716 by: Leo Papandreou

php4 - MS SQL7 connection problem
37666 by: Martin Tiscornia
37668 by: Jason Bouwmeester

Open a new window
37669 by: Francisco Aguilera

trouble with odbc
37671 by: Michael Geier
37683 by: Remco Chang

Include " quotes inside textbox
37672 by: Karl J. Stubsjoen
37676 by: Chana Black

Re: [PHP-WIN] Nulls in database
37674 by: Svensson, B.A.T.

Re: 404 error checker
37675 by: Institute for Social Ecology
37693 by: John Huggins
37696 by: Institute for Social Ecology
37698 by: John Huggins

Java variables - PHP varialbles
37679 by: Claude Cormier

contracting & consulting (was "[PHP] Pricing for PHP programming???")
37680 by: Dean Hall
37692 by: Benjamin Munoz
37704 by: szii.sziisoft.com
37706 by: szii.sziisoft.com
37707 by: DELAP, SCOTT F (SBCSI)
37713 by: Navid
37727 by: Chad Day
37732 by: Stephan Ahonen
37734 by: Josh G
37735 by: stankusn
37736 by: Joe Stump
37738 by: cmoewes.moewes.com
37742 by: eschmid+sic.s.netic.de
37744 by: Jonathan Sharp
37745 by: stout.stoutstreet.com
37752 by: Michael Kimsal

Re: gethostbyaddr timeout
37681 by: Sebastian Stadtlich
37686 by: Chana Black

errors when included functions call functions
37684 by: Charlie Llewellin

passing arrays of objects
37685 by: Conover, Ryan
37690 by: Teodor Cimpoesu

similar to shuffle()
37687 by: Jason Jacobs
37688 by: Chana Black

htmlspecialchars Problem
37694 by: Karl J. Stubsjoen
37753 by: David Robley

sessions with frames
37709 by: Chris Hayes
37714 by: Nathan Cook

details on imap functions.
37711 by: Larry Hotchkiss
37717 by: Rasmus Lerdorf
37722 by: Larry Hotchkiss

is_dir() function on Win32 platform
37715 by: Michael Hall

PHP/Perl Employee/Consultant Wanted!
37718 by: Lew Payne

Inappropriatte ioctl
37720 by: Kif

cancel <[EMAIL PROTECTED]>
37723 by: Larry Hotchkiss

Re: VIRUS ON LIST?
37724 by: St

[PHP] encode string with spaces

2001-02-01 Thread Kevin McCarthy

All -

Any easy way to take a string and fill the spaces in it? Say like a 
URLencoding:

This is my dog, Jack
becomes
This%20is%20my%20dog,%20Jack

I ask this as I would like to send a string to a perl function that can 
parse the string and create a hash from it based on delimiters I define. 
But if there are spaces in the string in between defined fields, it is 
thrown off.

BTW, I tried both ereg_replace() and str_replace() with no luck as below:

$my_string = "This is my dog, Jack";
str_replace(" ", "%20", $my_string);

$my_string remains with spaces, not %20s.

Thanks.



Kevin McCarthy  


-- 
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] Files only available via HTTPS

2001-02-01 Thread Michael Conley

I have several PHP files that I only want users to be able to access via
HTTPS.  How can I control that on an Apache 1.3.14 server running on RedHat
7?  I have openssl and mod_ssl working fine.  Currently, I can access all of
the files on my site via either http or https.  I want to keep certain files
(with interesting information) from being accessed via http.  I realize this
isn't really a PHP question, but I have no idea how to do this.

Thanks.



-- 
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] PHP a lightweight language?

2001-02-01 Thread Michael Hall


I'm interested in the proposition made recently on this list that PHP is
somehow a 'lightweight' language that some people don't take seriously. I
am relatively new to Linux and open source programming and only really
know PHP and some shell scripting, though I am now starting to explore
Python.

I have had a quick overview of several languages and it seems to me that
they all deal with the same basic components and logic:

variables
statements
flow control
functions
classes
etc
etc
etc

So I'm wondering, apart from the fact that PHP is web centric, what
features does the language lack that prevent some from taking it
seriously? It appears to me to use the same basic elements and logic as
any other programming language. Maybe it doesn't have tedious requirements
for memory management like C, but so what? Neither does Python.

Any comments appreciated.

Mick


-- 
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] Pricing for PHP programming???

2001-02-01 Thread Miles Thompson


Simply because both involve computers.

Miles

At 11:43 AM 2/1/01 +, Robin Vickery wrote:
> > "JG" == "Josh G" <[EMAIL PROTECTED]> writes:
>
>  > I hear you. Another thing that's hard to find, is somebody who is a
>  > good programmer, and a good graphic designer.
>
>I've never quite understood why employers seem to expect that a
>php/perl programmer should also be doing graphic design. They're
>quite unrelated activities using completely different skills. It's
>not something that's generally expected from other professions
>(when was the last time you saw an advert for an accountant that
>required they be proficient with Photoshop?) so why programmers?
>
>
> -robin (who can't draw for toffee)
>
>
>--
>Robin Vickery.
>BlueCarrots, 14th Floor, 20 Eastbourne Terrace, London, W2 6LE
>
>--
>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 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] What version of Linux?

2001-02-01 Thread Andrés de la Varga

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?

Andrés de la Varga.



-- 
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] Variables within functions, out?

2001-02-01 Thread David Robley

On Fri,  2 Feb 2001 08:51, James, Yz wrote:
> Hey guys.  Can I firstly say, thanks to all of you who helped me out with
> my last question about importing MS Access databases into MySQL...  It
> helped tons!
>
> However, I have another question.
>
> Firstly, I've strayed away from writing many of my own functions, because
> they give me the fear.  But the code on the pages I am creating has
> forced me to wake up...  I really sould think about cutting back on code.
>
> SO, anyway, to cut to the chase, my question is this:  If I write a
> function, which performs checks and assigns variable based on these
> checks, how do I get the assigned variables from within the function? 
> For example (this is more than likely VERY wrong), something like this:
>
> global.inc:
>
> 
> function CheckBirthday() {
>   global $year,$month,$day;
>
> if (($day) && ($month) && ($year)) {
> if (checkdate($day,$month,$year) {
> $birthday = "$year/$month/$day";
> } else {
> $birthday = "Invalid";
> }
> }
> }
>
> ?>
>
> File that would update / insert information to a MySQL database:
>
> 
> // Connection details here
>
> require("global.inc");
>
> CheckBirthday();
>
> $sql = "UPDATE MyTable
> SET
> birthday = \"$birthday\"
> WHERE id = \"$id\"
> ";
>
> // etc
>
> ?>
>
> Even when I KNOW that I have included correct values, the $birthday
> variable never shows up outside the function.  It's probably something
> simple I'm missing, as in most cases ;)
>
> Thanks for your patience,
>
> James.

The specific answer to your question is that the variable $birthday is 
local to the function - check out variable scope in the manual.

But in fact there is another way of doing it - pass the values to check as 
parameters to the function and have it return a result, thus: 

function CheckBirthday($year,$month,$day) {

if (($day) && ($month) && ($year)) {
  if (checkdate($day,$month,$year) {
$birthday = "$year/$month/$day";
  } else {
$birthday = "Invalid";
  }
}
  return $birthday
}

and to use it:

$result = CheckBirthday($year,$month,$day);
$sql = "UPDATE MyTable SET birthday = \"$result\" WHERE id = \"$id\"  ";

Those " around the variables probably should be ' if you are playing with 
mysql char fields.

-- 
David Robley| WEBMASTER & Mail List Admin
RESEARCH CENTRE FOR INJURY STUDIES  | http://www.nisu.flinders.edu.au/
AusEinet| http://auseinet.flinders.edu.au/
Flinders University, ADELAIDE, SOUTH AUSTRALIA

-- 
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] upload_max_filesize

2001-02-01 Thread David Robley

On Fri,  2 Feb 2001 10:32, David Robley wrote:
> On Fri,  2 Feb 2001 02:37, WreckRman2 wrote:
> > Actually it isn't on a windows system. Looking at my phpinfp.php file
> > it shows "Configuration File (php.ini) Path" as /usr/local/lib but I
> > see no file called php.ini in there using ftp or telnet. Any ideas?
> >
> > David
>
> php.ini is not installed - you need to modify php.ini-dist or

I mean, of course php.ini is not installed by the compile/install process; 
you need to do it yourself. If you don't, PHP uses built in defaults.


-- 
David Robley| WEBMASTER & Mail List Admin
RESEARCH CENTRE FOR INJURY STUDIES  | http://www.nisu.flinders.edu.au/
AusEinet| http://auseinet.flinders.edu.au/
Flinders University, ADELAIDE, SOUTH AUSTRALIA

-- 
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] upload_max_filesize

2001-02-01 Thread David Robley

On Fri,  2 Feb 2001 02:37, WreckRman2 wrote:
> Actually it isn't on a windows system. Looking at my phpinfp.php file it
> shows "Configuration File (php.ini) Path" as /usr/local/lib but I see no
> file called php.ini in there using ftp or telnet. Any ideas?
>
> David

php.ini is not installed - you need to modify php.ini-dist or 
php.ini-optimized from the top level directory of your source and place it 
in the directory you have specified at compile (if you did) or the the 
default (/usr/local/lib) location.

-- 
David Robley| WEBMASTER & Mail List Admin
RESEARCH CENTRE FOR INJURY STUDIES  | http://www.nisu.flinders.edu.au/
AusEinet| http://auseinet.flinders.edu.au/
Flinders University, ADELAIDE, SOUTH AUSTRALIA

-- 
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] Dnloading FDF docs / acrobat integration

2001-02-01 Thread Patrick Shafer

Greetings!

I am currently working on a project that creates an FDF document on-the-fly.
The end user should beable to click on a link (something like
http://whatever.com/mydoc.html?) and download an FDF document.
Users who have acrobat reader installed (with the browser plugin) should
beable to simply click on the link, and reader will open, displaying the
proper pdf with the fields filled in 

The problem is:  When a user clicks on the link, the fdf document either 1)
is displayed in plain text (despite the proper header being sent) or 2)
acrobat reader opens but displays an error saying the file can not be found.

I can right click on the link, and choose to save to disk.  Once I have the
fdf document on disk, opening it will propely open its associated pdf and
fill in the fields.

Has any one had this type of problem before? could web cacheing be causing
this?  could php sessions be influencing this?

Please CC me your reply ([EMAIL PROTECTED]) as I am not on this
list.

Thanks.

-Patrick Shafer

-- 
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] Tab character

2001-02-01 Thread David Robley

On Fri,  2 Feb 2001 01:47, Karl J. Stubsjoen wrote:
> Is this a tab character \t

Yes - but remember that you won't be able to see it on a page rendered by a 
browser, as they tend to treat tabs, multiple spaces and line feeds as a 
single white space.

-- 
David Robley| WEBMASTER & Mail List Admin
RESEARCH CENTRE FOR INJURY STUDIES  | http://www.nisu.flinders.edu.au/
AusEinet| http://auseinet.flinders.edu.au/
Flinders University, ADELAIDE, SOUTH AUSTRALIA

-- 
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] htmlspecialchars Problem

2001-02-01 Thread David Robley

On Fri,  2 Feb 2001 05:58, Karl J. Stubsjoen wrote:
> When I perform thi function:
> $new = htmlspecialchars("Test", ENT_QUOTES);
>
> I get the following error:
>
> Warning: Wrong parameter count for htmlspecialchars() in
> utility/HTMLFormObjects1-1.php on line 135
>
>
> Anyone know why?

What version of PHP are you using? From TFM:

Also note that the optional second argument was added in PHP 3.0.17 and PHP 
4.0.3. 

Cheers
-- 
David Robley| WEBMASTER & Mail List Admin
RESEARCH CENTRE FOR INJURY STUDIES  | http://www.nisu.flinders.edu.au/
AusEinet| http://auseinet.flinders.edu.au/
Flinders University, ADELAIDE, SOUTH AUSTRALIA

-- 
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] contracting & consulting (was "[PHP] Pricing for PHP programming???")

2001-02-01 Thread Michael Kimsal



Benjamin Munoz wrote:

> Great thread. When I was changing jobs in April of 2000, a recruiter told me
> that PHP is "cool and all", but there is zero demand for developers of PHP
> web apps (in Los Angeles). Although I've been very productive developing in
> PHP, he advised me to learn something else, b/c the demand just isn't there.
> I prefer PHP for my web dev, but I'm still curious how accurate he was.
>
> I know that that Java/EJB/JSP and COM/ASP is in MUCH more demand, and
> therefore command a higher wage.  Demand vs supply, right?.  A search today
> on monster.com for ASP in LA yields 142 listings, Java yields 262, JSP
> yields 32, Perl yields 105, PHP yields 16, cold fusion yields 16.
>

There was some discussion on this list a few months back re: an employer looking

for PHP coders.  The job description on their site listed "PHP" as "an open
source
ASP".  *MANY* "recruiters" don't know what the hell they're looking for,
especially for smaller companies.  They know they want result X and have heard
'java' is the answer, so they want 'java'.  If they take the time to learn
the lingo, and still want java, fine.  But if they don't want to take the time
to
learn the options (benefits/drawbacks) then I wouldn't want to do business with
them
anyway.

I also got turned down for a job some time ago because I didn't program CGI.
Perl?  yes.  PHP?  yes.  CGI - no.  I was talking to a recruiter and he'd looked
at
what I knew and said, sorry, no job for "perl" people - we need people who can
code in CGI.  I walked out at that point.

In 1997, I saw a job posting in our local paper (detroit news) wanting people
with 5 years Java experience.

When talking to potential clients, don't push PHP - push solutions.  When they
learn that an equivalent ASP solution will be an extra $7000 in licensing
over the open source equivalent, they'll often go open source.  But only
after they trust that you can deliver the end result in the first place,
language
choice aside.

Obviously this doesn't work well with companies that already have a huge
investment in one technology - people who dropped 5 figures on CF
aren't going to throw it away tomorrow.


>
> -Has the demand changed much in your city since middle of last year?

The demand for competent individuals who can deliver quality on time
for a reasonable cost has gone up.  Demand for people with particular
language skills has, AFAICT, gone down.

>
> -Also, for developers who are proficient in several web dev environments, is
> it mostly true that you use PHP for your own personal projects, but some
> other language for big corporate clients.
>

We migrated two relatively large clients from ASP to PHP recently, and use it
for all 'smaller' projects.

> -What is the perception of PHP for mid/large organizations with more to
> risk?

"if it doesn't crash my servers, use it".  PHP definitely has a leg up over ASP.

> -What can we as a developer community do to change this?
>

Discussions like this for a start.  :)


>
> Thanks, I'm very interested in others' opinions on this.
>
> -Ben
>


-- 
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] Closing Objects "Cleaning Up"

2001-02-01 Thread Josh G

True for PHP+Mysql, but not for all databases. Oracle for example,
will run out of cursors in a week or two on a low-traffic site if you
don't close them and the db server will need a kick in the nuts to
get back up

Gfunk -  http://www.gfunk007.com/

I sense much beer in you. Beer leads to intoxication, intoxication to
hangovers, and hangovers to... suffering.


- Original Message -
From: "David Robley" <[EMAIL PROTECTED]>
To: "Karl J. Stubsjoen" <[EMAIL PROTECTED]>; "PHP Mailing List"
<[EMAIL PROTECTED]>
Sent: Friday, February 02, 2001 10:19 AM
Subject: Re: [PHP] Closing Objects "Cleaning Up"


> On Fri,  2 Feb 2001 08:58, Karl J. Stubsjoen wrote:
> > When I do this:
> > $link = @mysql_pconnect("localhost", $this->db_user_id,
> > $this->db_passwd);
> >
> > And I do this:
> > if(!($result = mysql_query($querystr))) { ...
> >
> > Then I do this:
> > $result = DoQuery($q);
> >
> >
> > What objects are there to close?  In ASP we issue code like this to
close
> > these objects:
> > rs.close
> > set rs = nothing
> > db.close
> > set db = nothing
> > (where rs is the recordset and db is the database)
> >
> > Thank You!
>
> You don't need to do anything - when the script terminates all that sort
of
> thing is done for you by PHP. However, if you have a result set that may
be
> using a bit of memory, and you have a lot more script after the result set
> is done with, you can use mysql_free_result. From TFM:
>
>
> mysql_free_result - Free result memory
>
> Description
>
> int mysql_free_result (int result)
>
> mysql_free_result() will free all memory associated with the
> result identifier result.
>
> mysql_free_result() only needs to be called if you are concerned about how
> much memory is being used for queries that return large result sets. All
> associated result memory is automatically freed at the end of the script's
> execution.
>
> For downward compatibility mysql_freeresult() can also be used.
>
> Cheers
> --
> David Robley| WEBMASTER & Mail List Admin
> RESEARCH CENTRE FOR INJURY STUDIES  | http://www.nisu.flinders.edu.au/
> AusEinet| http://auseinet.flinders.edu.au/
> Flinders University, ADELAIDE, SOUTH AUSTRALIA
>
> --
> 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 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] Closing Objects "Cleaning Up"

2001-02-01 Thread David Robley

On Fri,  2 Feb 2001 08:58, Karl J. Stubsjoen wrote:
> When I do this:
> $link = @mysql_pconnect("localhost", $this->db_user_id,
> $this->db_passwd);
>
> And I do this:
> if(!($result = mysql_query($querystr))) { ...
>
> Then I do this:
> $result = DoQuery($q);
>
>
> What objects are there to close?  In ASP we issue code like this to close
> these objects:
> rs.close
> set rs = nothing
> db.close
> set db = nothing
> (where rs is the recordset and db is the database)
>
> Thank You!

You don't need to do anything - when the script terminates all that sort of 
thing is done for you by PHP. However, if you have a result set that may be 
using a bit of memory, and you have a lot more script after the result set 
is done with, you can use mysql_free_result. From TFM:


mysql_free_result - Free result memory

Description

int mysql_free_result (int result)

mysql_free_result() will free all memory associated with the 
result identifier result. 

mysql_free_result() only needs to be called if you are concerned about how 
much memory is being used for queries that return large result sets. All 
associated result memory is automatically freed at the end of the script's 
execution. 

For downward compatibility mysql_freeresult() can also be used. 

Cheers
-- 
David Robley| WEBMASTER & Mail List Admin
RESEARCH CENTRE FOR INJURY STUDIES  | http://www.nisu.flinders.edu.au/
AusEinet| http://auseinet.flinders.edu.au/
Flinders University, ADELAIDE, SOUTH AUSTRALIA

-- 
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] Retrieve HTML page

2001-02-01 Thread Kif

something like this perhaps ?

$remotefile = file($remote_file_url);
$file_contents = join( '', $remotefile);

Cheers
Kif




- Original Message -
From: "Jared Howard" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, February 01, 2001 11:03 PM
Subject: [PHP] Retrieve HTML page


> I've been looking through the manual but I keep on missing the function or
> it doesn't exist.
> I need to know if there is a way to get a specified HTML page (as if you
> were to go to the page by typing in the url in your browser) and either
> turn it into a string or array or something that I would be able to cut up
> and use the information that I need.  This way PHP does the work instead
of
> going to the page yourself.
>
>
> --
> 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 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] contracting & consulting (was "[PHP] Pricing for PHP pr ogramming???")

2001-02-01 Thread Joe Stump

jobs.php-coder.net will be up and running later tonight. The nameservers will
be updating over the next few days, but a simple link database and place to
post resumes (maybe a blurb with a file attachment) will be up soon.

--Joe

On Thu, Feb 01, 2001 at 04:30:36PM -0600, stankusn wrote:
> Or just post links to all the major job sites and links to people who are
> looking for  workers...
> 
> 
> ---
> Nick.Stankus
> Software Engineer
> Logicon/Sterling Federal
> 402-232-7870
> ---
> "There are two things that are infinite; Human stupidity and the
> universe. And I'm not sure about the universe." - Albert Einstein
> 
> 
> 
> - Original Message -
> From: "Josh G" <[EMAIL PROTECTED]>
> To: "PHP User Group" <[EMAIL PROTECTED]>
> Sent: Thursday, February 01, 2001 4:22 PM
> Subject: Re: [PHP] contracting & consulting (was "[PHP] Pricing for PHP pr
> ogramming???")
> 
> 
> | and one place where everybody on the list could post their resumes
> | in a little database that sorts by country / state?
> |
> | Gfunk -  http://www.gfunk007.com/
> |
> | I sense much beer in you. Beer leads to intoxication, intoxication to
> | hangovers, and hangovers to... suffering.
> |
> |
> | - Original Message -
> | From: "Stephan Ahonen" <[EMAIL PROTECTED]>
> | To: <[EMAIL PROTECTED]>
> | Sent: Friday, February 02, 2001 9:23 AM
> | Subject: Re: [PHP] contracting & consulting (was "[PHP] Pricing for PHP pr
> | ogramming???")
> |
> |
> | > How about making a mailing list for job postings, i.e.
> | > [EMAIL PROTECTED]?
> | >
> | >
> | > --
> | > 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 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 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]

-- 

---
Joe Stump, PHP Hacker, [EMAIL PROTECTED] -o)
http://www.miester.org http://www.care2.com /\\
"It's not enough to succeed. Everyone else must fail" -- Larry Ellison _\_V
---


-- 
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] contracting & consulting (was "[PHP] Pricing for PHP pr ogramming???")

2001-02-01 Thread Stephan Ahonen

How about making a mailing list for job postings, i.e.
[EMAIL PROTECTED]?


-- 
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] Retrieve HTML page

2001-02-01 Thread James, Yz

In addition to what's been mentioned, check out the :

readfile, fread and fgets functions...

James.



-- 
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] Closing Objects "Cleaning Up"

2001-02-01 Thread Karl J. Stubsjoen

When I do this:
$link = @mysql_pconnect("localhost", $this->db_user_id, $this->db_passwd);

And I do this:
if(!($result = mysql_query($querystr))) { ...

Then I do this:
$result = DoQuery($q);


What objects are there to close?  In ASP we issue code like this to close
these objects:
rs.close
set rs = nothing
db.close
set db = nothing
(where rs is the recordset and db is the database)

Thank You!




-- 
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] contracting & consulting (was "[PHP] Pricing for PHP pr ogramming???")

2001-02-01 Thread Josh G

and one place where everybody on the list could post their resumes
in a little database that sorts by country / state?

Gfunk -  http://www.gfunk007.com/

I sense much beer in you. Beer leads to intoxication, intoxication to
hangovers, and hangovers to... suffering.


- Original Message -
From: "Stephan Ahonen" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, February 02, 2001 9:23 AM
Subject: Re: [PHP] contracting & consulting (was "[PHP] Pricing for PHP pr
ogramming???")


> How about making a mailing list for job postings, i.e.
> [EMAIL PROTECTED]?
>
>
> --
> 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 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] Retrieve HTML page

2001-02-01 Thread Mark Green

http://snoopy.sourceforge.net/

very cool class for retrieving remote webpages
even supports cookies and HTTPS (using cURL)

^^@rk


Jared Howard wrote:
> 
> I've been looking through the manual but I keep on missing the function or
> it doesn't exist.
> I need to know if there is a way to get a specified HTML page (as if you
> were to go to the page by typing in the url in your browser) and either
> turn it into a string or array or something that I would be able to cut up
> and use the information that I need.  This way PHP does the work instead of
> going to the page yourself.
> 
> --
> 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]

-- 
<< If I was a signature file, where would I be?? >>

-- 
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] dll windows libraries for php.

2001-02-01 Thread Rasmus Lerdorf

virtual() is an apache-specific function.

On Thu, 1 Feb 2001, Scott Fletcher wrote:

>Hi!  I installed the IIS and PHP4 on WinNT 4 for testing purpose only.
> (Tsk!Tsk!  I like Unix better!)  And they are working great so far.  One
> after another, things that don't work are starting to work and it is taking
> a while.  Right now, I have an script error saying undefined function,
> virtual().  So, where can I find the dll php librar(ies) for windows?  I
> don't even know what libraries does it come with for Windows.
>
> Thanks,
>  Scott
>
>
>
> --
> 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 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] contracting & consulting (was "[PHP] Pricing for PHP pr ogramming???")

2001-02-01 Thread stankusn

Or just post links to all the major job sites and links to people who are
looking for  workers...


---
Nick.Stankus
Software Engineer
Logicon/Sterling Federal
402-232-7870
---
"There are two things that are infinite; Human stupidity and the
universe. And I'm not sure about the universe." - Albert Einstein



- Original Message -
From: "Josh G" <[EMAIL PROTECTED]>
To: "PHP User Group" <[EMAIL PROTECTED]>
Sent: Thursday, February 01, 2001 4:22 PM
Subject: Re: [PHP] contracting & consulting (was "[PHP] Pricing for PHP pr
ogramming???")


| and one place where everybody on the list could post their resumes
| in a little database that sorts by country / state?
|
| Gfunk -  http://www.gfunk007.com/
|
| I sense much beer in you. Beer leads to intoxication, intoxication to
| hangovers, and hangovers to... suffering.
|
|
| - Original Message -
| From: "Stephan Ahonen" <[EMAIL PROTECTED]>
| To: <[EMAIL PROTECTED]>
| Sent: Friday, February 02, 2001 9:23 AM
| Subject: Re: [PHP] contracting & consulting (was "[PHP] Pricing for PHP pr
| ogramming???")
|
|
| > How about making a mailing list for job postings, i.e.
| > [EMAIL PROTECTED]?
| >
| >
| > --
| > 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 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 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] Retrieve HTML page

2001-02-01 Thread Jared Howard

I've been looking through the manual but I keep on missing the function or
it doesn't exist.
I need to know if there is a way to get a specified HTML page (as if you
were to go to the page by typing in the url in your browser) and either
turn it into a string or array or something that I would be able to cut up
and use the information that I need.  This way PHP does the work instead of
going to the page yourself.


-- 
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] Recommended Job Posting sites? Need to hire someone w/PHP exp.

2001-02-01 Thread John Donagher


Hey Brian-

Finding someone with past PHP experience is still difficult. Instead, look for
people who are recreational programmers or who have a deep understanding of the
mechanics behind HTTP. Whether they've worked with Java, ASP, Perl, Python, or
any CGI-style environment is IMHO irrelevant. PHP as a language is not
difficult to learn. Overcoming the inherant limitations of programming for the
web seems to be the bigger hurdle. People don't need to have used PHP to
conquer this hurdle. Either way, I'd be wary about making PHP experience a
prerequisite.

The desire to learn is important. Some people come in to a PHP project with the
misconception that "PHP sucks" and that their own future marketability as
programmers is somehow being tarnished by virtue of the fact that they have to
learn and use it. Write them off.

John

--

John Donagher
Application Engineer
Intacct Corp. - Powerful Accounting on the Web
408-395-0989
720 University Ave.
Los Gatos CA 95032
www.intacct.com

On Thu, 1 Feb 2001, Brian Tully wrote:

> Hey there - 
> 
> I was wondering what the recommended sites are to post/find jobs related to
> web development - especially PHP.  The sites I've visited list mostly ASP
> and Java related jobs so I'm wondering where do the PHP folks go to find
> opportunities. While I'm not looking for a PHP expert, I'm looking for
> someone with good web skills and has at least some PHP experience (as well
> as the desire to learn more!). I'd appreciate any recommendations/advice.
> 
> Thanks in advance,
> brian
> 
> 
> 


-- 
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] contracting & consulting (was "[PHP] Pricing for PHP pr ogramming???")

2001-02-01 Thread eschmid+sic

On Thu, Feb 01, 2001 at 04:47:31PM -0600, [EMAIL PROTECTED] wrote:
> I have implemented a PHP Developer's directory at
> http://www.phpusergroups.org where you can sign up to the directory
> and wehen people are looking for spot jobs you will receive a RFG
> (request for quotes).

Why do you not contact Brian Schaffner? On http://php.net/links.php there
is a link to his "PHP Employment List".

Another suggestion, why not jobs.php.net?  I think Rasmus doesn't have 
other opinions.

-Egon

-- 
http://www.linuxtag.de/
http://php.net/books.php 
http://www.concert-band.de/
http://www.php-buch.de/

-- 
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] contracting & consulting (was "[PHP] Pricing for PHP pr ogramming???")

2001-02-01 Thread cmoewes

I have implemented a PHP Developer's directory at
http://www.phpusergroups.org where you can sign up to the directory
and wehen people are looking for spot jobs you will receive a RFG
(request for quotes).

On Fri, Feb 02, 2001 at 09:22:24AM +1100, Josh G wrote:
> and one place where everybody on the list could post their resumes
> in a little database that sorts by country / state?
> 
> Gfunk -  http://www.gfunk007.com/
> 
> I sense much beer in you. Beer leads to intoxication, intoxication to
> hangovers, and hangovers to... suffering.
> 
> 
> - Original Message -
> From: "Stephan Ahonen" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Friday, February 02, 2001 9:23 AM
> Subject: Re: [PHP] contracting & consulting (was "[PHP] Pricing for PHP pr
> ogramming???")
> 
> 
> > How about making a mailing list for job postings, i.e.
> > [EMAIL PROTECTED]?
> >
> >
> > --
> > 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 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]
> 

-- 

Christopher R. Moewes-Bystrom
[EMAIL PROTECTED]
http://www.moewes.com
http://www.linuxnovice.org

-- 
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] HTTP Referer has to be changed.

2001-02-01 Thread FvH

Hi,

I've got a problem with the HTTP_REFERER. I'll explain it to you now.

I've got a site where I can't logon to to change some things. That site
checks the HTTP_REFERER variable and if it matches with what's in the MySQL
db it passes you through.

Now I've got a site which has to have access to that site. Is there a
possiblity to change the referer in the httpheader?

I already tried header("Http-referer: www.name.com"); and header("Referer:
www.name.com"); and so one, but the headers_sent() function keeps on
returing false. (So headers aren't sent)

When I replace the referer for e.g. Location: www.name.com the header is
sent (headers_sent() returns true)

Hope someone can help me.

Greetz & already thanks.

Frank


-- 
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] dll windows libraries for php.

2001-02-01 Thread Scott Fletcher

Aww!  That's suck!  Look like a conversion from Apache to IIS is a bad idea.

Thanks,
 Scott

""Scott Fletcher"" <[EMAIL PROTECTED]> wrote in message
95cn8n$tms$[EMAIL PROTECTED]">news:95cn8n$tms$[EMAIL PROTECTED]...
>Hi!  I installed the IIS and PHP4 on WinNT 4 for testing purpose only.
> And they are working great so far.  One after another, things that don't
work
> are starting to work and it is taking a while.  Right now, I have an
script error
> saying undefined function, virtual().  So, where can I find the dll php
> librar(ies) for windows?  I don't even know what libraries does it come
with
> for Windows.
>
> Thanks,
>  Scott
>
>
>
> --
> 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 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] contracting & consulting (was "[PHP] Pricing for PHP pr ogramming???")

2001-02-01 Thread Chad Day

Well, actually, I own phpspot.com but never got the time to actually DO
anything with it.  Might as well put it to good use.. if someone wants to
develop a site (and I might even have time to help, woo hoo!), I'd be in on
it.

Chad

-Original Message-
From: DELAP, SCOTT F (SBCSI) [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 01, 2001 3:20 PM
To: Benjamin Munoz; [EMAIL PROTECTED]
Subject: RE: [PHP] contracting & consulting (was "[PHP] Pricing for PHP
pr ogramming???")


Just some thoughts on this topic.   I've ran a web development business for
6 years.  I've seen demand for PHP grow exponentially in recent months.
However, it still isn't anywhere near where it could be.  I think the new
Zend Products will help corporate acceptance and job growth.  Right now when
I look at sites like monster, hotjobs, guru.com, etc. there are few php
listings.  It is hard for clients looking explicitly for good php talent to
find it easily.  We used to get a number of good leads every month off of
PHPBuilder.com's job board.   However, it was taken down in recent months at
parent company internet.com's request.  I think we need a central site where
people looking for contract work and full time employment positions can come
and post jobs related to php.  If anyone has a good domain idea or one
already bought, I'd be glad to work with them on such a site.  This type of
site would need to be pushed by the community if they want to benefit from
it.  Just putting a job board up and letting it sit won't do the trick.

Scott Delap
SBC Services, Inc.
[EMAIL PROTECTED]
314-235-6216


-Original Message-
From: Benjamin Munoz [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 01, 2001 1:37 PM
To: 'Dean Hall'; PHP General
Subject: RE: [PHP] contracting & consulting (was "[PHP] Pricing for PHP
pr ogramming???")



Great thread. When I was changing jobs in April of 2000, a recruiter told me
that PHP is "cool and all", but there is zero demand for developers of PHP
web apps (in Los Angeles). Although I've been very productive developing in
PHP, he advised me to learn something else, b/c the demand just isn't there.
I prefer PHP for my web dev, but I'm still curious how accurate he was.

I know that that Java/EJB/JSP and COM/ASP is in MUCH more demand, and
therefore command a higher wage.  Demand vs supply, right?.  A search today
on monster.com for ASP in LA yields 142 listings, Java yields 262, JSP
yields 32, Perl yields 105, PHP yields 16, cold fusion yields 16.

-Has the demand changed much in your city since middle of last year?  
-Also, for developers who are proficient in several web dev environments, is
it mostly true that you use PHP for your own personal projects, but some
other language for big corporate clients.  
-What is the perception of PHP for mid/large organizations with more to
risk?
-What can we as a developer community do to change this?

Thanks, I'm very interested in others' opinions on this.

-Ben

-Original Message-
From: Dean Hall [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 01, 2001 10:43 AM
To: PHP General
Subject: [PHP] contracting & consulting (was "[PHP] Pricing for PHP
programming???")


Somewhat related to the recent discussion on pricing for contractors, I
thought I'd ask if anyone knows of any good resources to help budding
contrators/consultants find their way around.

I'm a skilled web developer, but I'm not so knowledgeable when it comes to
law and conventions in the US for contractors and consultants doing web
development (or anything else).

If there are any good books or websites that talk about this type of
self-employment, or if anyone has personal experience they wish to offer,
please let me know.

Thanks.
Dean.

-- 
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 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 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] C++ integration with PHP

2001-02-01 Thread Zhu George-CZZ010

Does anyone know how to integrate C++ and PHP if there are some data changes between 
PHP program and C++ program?

What I can think about is: in PHP, put the data in a file, and use "system" call to 
activate the c++ program. After that, let the c++ program to read the data file, and 
output the result into another file, and let the PHP to read the result file.  
But there is one question: will php wait until C++ program finish if I use "system" 
function from PHP?

Is there any better way to do the integration?

Thanks,
G.Z.

-- 
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] Recommended Job Posting sites? Need to hire someone w/ PHP exp.

2001-02-01 Thread Brian Tully

Hey there - 

I was wondering what the recommended sites are to post/find jobs related to
web development - especially PHP.  The sites I've visited list mostly ASP
and Java related jobs so I'm wondering where do the PHP folks go to find
opportunities. While I'm not looking for a PHP expert, I'm looking for
someone with good web skills and has at least some PHP experience (as well
as the desire to learn more!). I'd appreciate any recommendations/advice.

Thanks in advance,
brian


-- 
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] contracting & consulting (was "[PHP] Pricing for PHP pr ogramming???")

2001-02-01 Thread stout


Request For Goats?

>I have implemented a PHP Developer's directory at
>http://www.phpusergroups.org where you can sign up to the directory
>and wehen people are looking for spot jobs you will receive a RFG
>(request for quotes).
>On Fri, Feb 02, 2001 at 09:22:24AM +1100, Josh G wrote:
>> and one place where everybody on the list could post their resumes
>> in a little database that sorts by country / state?
>> 
>> Gfunk -  http://www.gfunk007.com/
>> 
>> I sense much beer in you. Beer leads to intoxication, intoxication to
>> hangovers, and hangovers to... suffering.
>> 
>> 
>> - Original Message -
>> From: "Stephan Ahonen" <[EMAIL PROTECTED]>
>> To: <[EMAIL PROTECTED]>
>> Sent: Friday, February 02, 2001 9:23 AM
>> Subject: Re: [PHP] contracting & consulting (was "[PHP] Pricing for PHP pr
>> ogramming???")
>> 
>> 
>> > How about making a mailing list for job postings, i.e.
>> > [EMAIL PROTECTED]?
>> >
>> >
>> > --
>> > 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 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]
>> 
>-- 
>Christopher R. Moewes-Bystrom
>[EMAIL PROTECTED]
>http://www.moewes.com
>http://www.linuxnovice.org
>-- 
>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 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] contracting & consulting (was "[PHP] Pricing for PHP pr ogramming???")

2001-02-01 Thread Jonathan Sharp

because that's too easy! Why would we want to use a system that's already in
place? hehehe...looks good! I think it'd be best to have PHP jobs listed at
THE PHP.NET site...got my vote!

-Jonathan

> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, February 01, 2001 2:47 PM
> To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
> Subject: Re: [PHP] contracting & consulting (was "[PHP] Pricing for PHP
> pr ogramming???")
>
>
> On Thu, Feb 01, 2001 at 04:47:31PM -0600, [EMAIL PROTECTED] wrote:
> > I have implemented a PHP Developer's directory at
> > http://www.phpusergroups.org where you can sign up to the directory
> > and wehen people are looking for spot jobs you will receive a RFG
> > (request for quotes).
>
> Why do you not contact Brian Schaffner? On http://php.net/links.php there
> is a link to his "PHP Employment List".
>
> Another suggestion, why not jobs.php.net?  I think Rasmus doesn't have
> other opinions.
>
> -Egon
>
> --
> http://www.linuxtag.de/
> http://php.net/books.php
> http://www.concert-band.de/
> http://www.php-buch.de/
>
> --
> 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 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] Why?? SPRINTF("SELECT sequence,prodnum,childdesc....);

2001-02-01 Thread Karl J. Stubsjoen

What is the purpose of the SPRINTF in this instance?


SPRINTF("SELECT
equence,prodnum,childdesc,onhand,openorders,avlallocate,bakorder,webpricing
FROM prodaval");


-- 
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] Variables within functions, out?

2001-02-01 Thread James, Yz

Hey guys.  Can I firstly say, thanks to all of you who helped me out with my
last question about importing MS Access databases into MySQL...  It helped
tons!

However, I have another question.

Firstly, I've strayed away from writing many of my own functions, because
they give me the fear.  But the code on the pages I am creating has forced
me to wake up...  I really sould think about cutting back on code.

SO, anyway, to cut to the chase, my question is this:  If I write a
function, which performs checks and assigns variable based on these checks,
how do I get the assigned variables from within the function?  For example
(this is more than likely VERY wrong), something like this:

global.inc:



File that would update / insert information to a MySQL database:



Even when I KNOW that I have included correct values, the $birthday variable
never shows up outside the function.  It's probably something simple I'm
missing, as in most cases ;)

Thanks for your patience,

James.



-- 
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 / avail gen_acl_file.m4

2001-02-01 Thread Andrei Zmievski

andrei  Wed Jan 31 12:47:48 2001 EDT

  Modified files:  
/CVSROOTavail gen_acl_file.m4 
  Log:
  qaweb Karma for PHP QA folks.
  
  
Index: CVSROOT/avail
diff -u CVSROOT/avail:1.66 CVSROOT/avail:1.67
--- CVSROOT/avail:1.66  Wed Jan 31 06:23:09 2001
+++ CVSROOT/avail   Wed Jan 31 12:47:48 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,mysql,kalowsky,opaquedave,steinm,phanto,gluke,shuric|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,phanto,gluke,shuric,hholzgra|functable
 avail|rasmus,sterling,jimw|pres
-avail|zak|qaweb
+avail|jalal,zak,waldschrott,ultrapingo,lyric,jmoore,ronabop,sbergmann,joey,sniper,torben|qaweb
 
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,phanto,gluke,shuric,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,cg,delrom,dickmeiss|phpdoc
 avail|andrei|php-gtk
 avail|rasmus|php4/ext/aspell
Index: CVSROOT/gen_acl_file.m4
diff -u CVSROOT/gen_acl_file.m4:1.67 CVSROOT/gen_acl_file.m4:1.68
--- CVSROOT/gen_acl_file.m4:1.67Wed Jan 31 12:46:46 2001
+++ CVSROOT/gen_acl_file.m4 Wed Jan 31 12:47:48 2001
@@ -20,7 +20,7 @@
 avail|php_dev|php4,php3,php31,phpfi
 avail|php_dev,hholzgra|functable
 avail|php_pres|pres
-avail|zak|qaweb
+avail|php_qa|qaweb
 avail|php_dev,php_ext,php_doc|phpdoc
 avail|andrei|php-gtk
 dnl Access to individual dirs in the code tree



-- 
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] dll windows libraries for php.

2001-02-01 Thread Scott Fletcher

   Hi!  I installed the IIS and PHP4 on WinNT 4 for testing purpose only.
(Tsk!Tsk!  I like Unix better!)  And they are working great so far.  One
after another, things that don't work are starting to work and it is taking
a while.  Right now, I have an script error saying undefined function,
virtual().  So, where can I find the dll php librar(ies) for windows?  I
don't even know what libraries does it come with for Windows.

Thanks,
 Scott



-- 
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: php4 / php.ini-dist

2001-02-01 Thread Jon Parise

On Thu, Feb 01, 2001 at 09:10:05PM -, James Moore wrote:

> This looks good although maybe something like the following would make it
> easier to find sections.. at the moment the [syslog] (required) titles seem
> to fade into the background a bit having this above the [title] would maybe
> make the sections easier to spot.
> 
> ;;
> ; Syslog ;
> ;;
 
That looks pretty good to me, although it would be easier to search
for "^; Syslog" if it looked like this:

;;
; Syslog ;
;;

But that's just a random thought. =)

-- 
Jon Parise ([EMAIL PROTECTED])  .  Rochester Inst. of Technology
http://www.csh.rit.edu/~jon/  :  Computer Science House Member

-- 
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] rephrasing: start session in frame-index, continue in pages

2001-02-01 Thread Chris Hayes


index.php:


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] newlines in boxes..

2001-02-01 Thread Michael Hall


Use nl2br (new line to ).

Mick

On Wed, 31 Jan 2001, James Smith wrote:

> Alright, on my site, I have a news section, whenever i
> goto insert new news in the Admin area, I have to
> insert  or /n in it, while typing in the news. 
> How do I make this a automated process I know it can
> be done, but addslashes doesn't work and
> htmlspecailchars() doesn't work what will?  
> 
> Thanks,
> 
> James
> 
> __
> Get personalized email addresses from Yahoo! Mail - only $35 
> a year!  http://personal.mail.yahoo.com/
> 
> -- 
> 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 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] Want to learn PHP

2001-02-01 Thread Stephan Ahonen

> Where do I start?

I got started when I wanted to upgrade a site I co-run to some semblance of
automation, so we got a guy who knew PHP to do it for us... He started
working on a webn-page-in-a-template script, but wasn't able to finish it
due to schoolwork. I decided to try my hand at it, so I looked at the code
(thankfully, it wasn't as complicated as some of the stuff I see on here -
oy vey), got a general idea of what everything did by looking at it, and
started improving it. The online manual at http://www.php.net/manual/en/ was
extremely helpful for looking up functions.

Sig for a Day
Stephan Ahonen, ICQ 491101
"That's very funny Scotty, now beam down my clothes!"
Come back tomorrow for a different sig!
Backspace a single "s" to reply by email


-- 
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] VIRUS ON LIST?

2001-02-01 Thread Stephan Ahonen

> You left some attributes off:
> 
>

$retaliation = explode("",$badjoke);

Either that, or:

$joke = str_replace($badjoke,$goodjoke,$joke);

Sig for a Day
Stephan Ahonen, ICQ 491101
"That's very funny Scotty, now beam down my clothes!"
Come back tomorrow for a different sig!
Backspace a single "s" to reply by email


-- 
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] cancel <3A79D543.779F9F37@unicap.com>

2001-02-01 Thread Larry Hotchkiss

This message was cancelled from within Mozilla.

-- 
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] details on imap functions.

2001-02-01 Thread Larry Hotchkiss

Thanks Rasmus, but I cant find just the imap source tarball. I do have
the complete source from php.net but there is no 'internal.txt' anywhere
in it.

Rasmus Lerdorf wrote:
> 
> docs/internal.txt is part of the imap source tarball
> 
> On Thu, 1 Feb 2001, Larry Hotchkiss wrote:
> 
> >   I am looking for a little more detailed information of the imap
> > function of php4. The dos point me to 'docs/internal.txt' but that does
> > not exist on my windows 'play' system. I cant find it on another rs/6000
> > I have it installed on either. Does someone have the file they can
> > e-mail to me? Or point me to where I can get it?
> >
> > --
> > Larry Hotchkiss

-- 
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] Pricing for PHP programming???

2001-02-01 Thread Jade Ohlhauser

Who cares, they could never bust us. So lets decide on this list that we are
going to set (or "fix" if you will) the price of PHP work at $100/per hour.
Oh just a second, someone's at the door...

. Jade Ohlhauser
[website architect]... http://bandwidthplace.com


- Original Message -
From: "James Moore" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Thursday, February 01, 2001 2:10 PM
Subject: RE: [PHP] Pricing for PHP programming???


>
> > Isn't it illegal in the US to discuss
> > rates in this manner?
> >
> > It's always been my understanding that
> > The U.S. law specifically makes discussion
> > of pricing between competitors (all or some)
> > a federal offense.



-- 
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] Inappropriatte ioctl

2001-02-01 Thread Kif

help...
ok, now this looks quite straightforward...

$filename="http://remoteserver/path/file";
$file=fopen($filename,"r") or die("cant open $filename");
while(!feof($file)){
$line=fgets($file,4096);
echo $line;
}

but when i run it i get an error

fopen("http://195.92.38.87/cgi-win/homeview.dll?details1?src=1050&PropertyCo
de=1050003/SAPHI/14665/3","r") -

Inappropriate ioctl for device in /home/httpd/docs/test.php on line 6

So can someone please tell me, what the blazes an ioctl is and why do i have
an inappropriate one?

The remote file is fine,

Thanks

Kif



-- 
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] Pricing for PHP programming???

2001-02-01 Thread James Moore


> Isn't it illegal in the US to discuss
> rates in this manner?
> 
> It's always been my understanding that
> The U.S. law specifically makes discussion
> of pricing between competitors (all or some)
> a federal offense. 
> 
> Am I taking this too literally?

Lucky most of us arnt in the US then isnt it.

James

-- 
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: php4 / php.ini-dist

2001-02-01 Thread James Moore

This looks good although maybe something like the following would make it
easier to find sections.. at the moment the [syslog] (required) titles seem
to fade into the background a bit having this above the [title] would maybe
make the sections easier to spot.

;;
; Syslog ;
;;

James

> -Original Message-
> From: Jon Parise [mailto:[EMAIL PROTECTED]]
> Sent: 01 February 2001 06:34
> To: [EMAIL PROTECTED]
> Subject: Re: [PHP-CVS] cvs: php4 / php.ini-dist
>
>
> On Thu, Feb 01, 2001 at 06:29:41AM -, Jon Parise wrote:
>
> > jon Wed Jan 31 22:29:41 2001 EDT
> >
> >   Modified files:
> > /php4   php.ini-dist
> >   Log:
> >   Massive reformatting.
>
> Before anyone says something, I know that I should have reformatted
> the php.ini-optimized file, too.  I just don't have the time to finish
> the job right now.  You have no idea how long it took to go through
> this one and reformat everything consistently.  I'm glad it got done,
> though, because it's much easier to navigate this file, especially now
> that the comments conform to eighty column screen widths.
>
> I'd appreciate some members of the QA team reviewing this file.  In a
> way, it's an important piece of PHP documentation in and of itself,
> and it really should receive a lot more attention than it has in the
> past.
>
> My eyes and fingers hurt, so I'm going to sleep now. =)
>
> --
> Jon Parise ([EMAIL PROTECTED])  .  Rochester Inst. of Technology
> http://www.csh.rit.edu/~jon/  :  Computer Science House Member
>
> --
> 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 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] PHP/Perl Employee/Consultant Wanted!

2001-02-01 Thread Lew Payne


I'm looking to hire an *experienced* PHP programmer with experience in
PHP4, mySQL and Perl. The project involves taking an existing system
that's written mostly in Perl, and re-writing it in PHP4. To avoid the
pitfalls and problems of the existing system, we'll be implementing a
different strategy in our re-design. 

I've been a consultant for 20 years, and am experienced in PHP, mySQL,
Unix, bind, Apache, DHCP, Diablo, VAX/VMS and some esoteric systems.
My business has grown to the point where I can't do all the projects,
and I want to build a team of reliable employees and/or contractors I
can delegate to. 

I'm looking for people who have experience solving business problems.
That is, you should be able to analyze a problem and devise algorithms
on your own. I am *not* looking for someone who just learned PHP and
has no real-world problem solving experience. 

If you're interested, please email me directly -- [EMAIL PROTECTED] 
I have offices in Palo Alto, CA and Los Angeles, CA. But if you are
disciplined and experienced, you can work from home obviously.

---
Lew Payne Publishing, Inc. Dunn & Bradstreet listed
994 San Antonio Road DUNS # 055037852
Palo Alto, CA  94303


-- 
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] details on imap functions.

2001-02-01 Thread Rasmus Lerdorf

docs/internal.txt is part of the imap source tarball

On Thu, 1 Feb 2001, Larry Hotchkiss wrote:

>   I am looking for a little more detailed information of the imap
> function of php4. The dos point me to 'docs/internal.txt' but that does
> not exist on my windows 'play' system. I cant find it on another rs/6000
> I have it installed on either. Does someone have the file they can
> e-mail to me? Or point me to where I can get it?
>
> --
> Larry Hotchkiss
>
> --
> 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 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] is_dir() function on Win32 platform

2001-02-01 Thread Michael Hall

I'm developing on Windows, and I have a bit of code that is designed to do a
quick recursive read on a folder.  An integral part of this is the use of
the is_dir() function to decide if it should recurse or not.

DoIt('G:\\');

function DoIt($path){
$handle=opendir("$path");
echo "Directory handle: $handle\n";
echo "Files:\n";
while (($file = readdir($handle))) {
if (is_dir($file) and $file != '.'){  #otherwise the '.' will send it 
into
a loop
print "";
DoIt($file);
print "";
} else {
print "".$file;
}
}
closedir($handle);
}


The problem I have is rather odd.  It seems to work on one machine (a
Windows NT 4 box) but on two others (one windows 98 and one NT4) the
if_dir() function returns false for everything except the . directory.

Does anyone know why this would be?

thanks.



Michael Hall
Database Engineer
Prairie Fire Web Design
[EMAIL PROTECTED]


-- 
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] sessions with frames

2001-02-01 Thread Nathan Cook

When you define the index.php and load the frames go ahead and start the
session and then pass the variables to the frame like this:




and then on main.php if you echo $var1 it will it will print "test"

Good Luck!

.:: Nathan Cook [ [EMAIL PROTECTED] ] ::.
Systems & Network Administrator :: Programmer
[ phone - 208.343.3110 ][ pager - 208.387.9983 ]
- Original Message -
From: "Chris Hayes" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, February 01, 2001 1:22 PM
Subject: [PHP] sessions with frames


> hi!
> i would like to read in a txt file in the frame index page and use it
> through a session in pages.
>
> It does not work if index.php starts the session and succesfully registers
a
> var, because a php page in a frame does not recognize the var.
>
> Chris
>
>
> 
> --  C.Hayes  Droevendaal 35  6708 PB Wageningen  the Netherlands  --
> 
>
>
>
> --
> 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 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] contracting & consulting (was "[PHP] Pricing for PHP programming???")

2001-02-01 Thread Navid

Mr. Delap,

Perhaps the following site may help you in your quest for new employees that
know not only PHP, but almost anything computer related, from beginners to
advanced. If you haven't ran across it already, I think you might like it.
Roam around it a bit:  www.computerjobs.com.

Also, I am planning on starting up my own Web Development company, something
small for now. I want to focus more on XML, Push Technology, and Wireless
Communications. Do you have any tips to get me started? Thanks.   :)

-- Navid Yar



-Original Message-
From: DELAP, SCOTT F (SBCSI) [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 01, 2001 2:20 PM
To: Benjamin Munoz; [EMAIL PROTECTED]
Subject: RE: [PHP] contracting & consulting (was "[PHP] Pricing for PHP
programming???")


Just some thoughts on this topic.   I've ran a web development business for
6 years.  I've seen demand for PHP grow exponentially in recent months.
However, it still isn't anywhere near where it could be.  I think the new
Zend Products will help corporate acceptance and job growth.  Right now when
I look at sites like monster, hotjobs, guru.com, etc. there are few php
listings.  It is hard for clients looking explicitly for good php talent to
find it easily.  We used to get a number of good leads every month off of
PHPBuilder.com's job board.   However, it was taken down in recent months at
parent company internet.com's request.  I think we need a central site where
people looking for contract work and full time employment positions can come
and post jobs related to php.  If anyone has a good domain idea or one
already bought, I'd be glad to work with them on such a site.  This type of
site would need to be pushed by the community if they want to benefit from
it.  Just putting a job board up and letting it sit won't do the trick.

Scott Delap
SBC Services, Inc.
[EMAIL PROTECTED]
314-235-6216


-Original Message-
From: Benjamin Munoz [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 01, 2001 1:37 PM
To: 'Dean Hall'; PHP General
Subject: RE: [PHP] contracting & consulting (was "[PHP] Pricing for PHP
pr ogramming???")



Great thread. When I was changing jobs in April of 2000, a recruiter told me
that PHP is "cool and all", but there is zero demand for developers of PHP
web apps (in Los Angeles). Although I've been very productive developing in
PHP, he advised me to learn something else, b/c the demand just isn't there.
I prefer PHP for my web dev, but I'm still curious how accurate he was.

I know that that Java/EJB/JSP and COM/ASP is in MUCH more demand, and
therefore command a higher wage.  Demand vs supply, right?.  A search today
on monster.com for ASP in LA yields 142 listings, Java yields 262, JSP
yields 32, Perl yields 105, PHP yields 16, cold fusion yields 16.

-Has the demand changed much in your city since middle of last year?
-Also, for developers who are proficient in several web dev environments, is
it mostly true that you use PHP for your own personal projects, but some
other language for big corporate clients.
-What is the perception of PHP for mid/large organizations with more to
risk?
-What can we as a developer community do to change this?

Thanks, I'm very interested in others' opinions on this.

-Ben

-Original Message-
From: Dean Hall [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 01, 2001 10:43 AM
To: PHP General
Subject: [PHP] contracting & consulting (was "[PHP] Pricing for PHP
programming???")


Somewhat related to the recent discussion on pricing for contractors, I
thought I'd ask if anyone knows of any good resources to help budding
contrators/consultants find their way around.

I'm a skilled web developer, but I'm not so knowledgeable when it comes to
law and conventions in the US for contractors and consultants doing web
development (or anything else).

If there are any good books or websites that talk about this type of
self-employment, or if anyone has personal experience they wish to offer,
please let me know.

Thanks.
Dean.

--
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 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 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] Suggest for List

2001-02-01 Thread Brian Paulson

General List
http://marc.theaimsgroup.com/?l=php-general

CVS list
http://marc.theaimsgroup.com/?l=php-cvs&r=1&w=2

Dev List
http://marc.theaimsgroup.com/?l=php-dev&r=1&w=2

Install
http://marc.theaimsgroup.com/?l=php-install&r=1&w=2

KB
http://marc.theaimsgroup.com/?l=php-kb&r=1&w=2

Migration
http://marc.theaimsgroup.com/?l=php-migration&r=1&w=2

Pear
http://marc.theaimsgroup.com/?l=php-pear&r=1&w=2

QA
http://marc.theaimsgroup.com/?l=php-qa&r=1&w=2

Template
http://marc.theaimsgroup.com/?l=php-template&r=1&w=2

Windows
http://marc.theaimsgroup.com/?l=php-windows&r=1&w=2

PHP4 Beta
http://marc.theaimsgroup.com/?l=php4beta&r=1&w=2

And there is more here

http://marc.theaimsgroup.com/?w=2

just scroll down to the www section.

Thank you
Brian Paulson
Sr. Web Developer
[EMAIL PROTECTED]
http://www.chieftain.com
1-800-269-6397







-Original Message-
From: April [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 01, 2001 1:18 PM
To: Philip Olson; Benjamin Munoz
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] Suggest for List


oh look, someone's getting snippy with me for speaking on the list and
admitting I'm a newbie already.  Patronizing does get to be a reflex action
after hearing the same question so many times, yeah.  But if I can't post
about the goodness/badness of having a newbie list and an advanced list,
because I wasn't here in 1999 for the first one and had no idea it had
happened, without being given tips on how to search google and get out of
your hair while you discuss big boy things...   If the volume is enough to
make the experts snippy (which it does regularly), why are the experts this
huge asset the newbies can't lose?   If it's something that no one on the
newbie list could answer, someone could just ask on the advanced list.

Anyway, on a trying not to be controversial and contrary note, where are the
archives?  People keep saying that, but I can't find any that work.


- Original Message -
From: "Philip Olson" <[EMAIL PROTECTED]>
To: "Benjamin Munoz" <[EMAIL PROTECTED]>
Cc: "'April'" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Thursday, February 01, 2001 2:03 PM
Subject: RE: [PHP] Suggest for List


>
> One suggestion for all newbies (and all) is this :
>
> Search the archives
>
> Search google
>
> Figure out a few keywords that will be in the answer and/or question and
> do a search.  Go here :
>
> http://marc.theaimsgroup.com/?l=php-general
>
> Q: "I want to redirect using php, how?"
> T: "redirect" or "redirection"
>
> Q: "When i use rand() it not work, why???"
> T: "random" or "rand" or "mt_rand"
>
> Or, let's say PHP gives an error, search them too :
>
> Q: Headers already sent, wtf?!
> T: "headers already sent" and/or "Cannot add header information"
>
> Remember, the archive is HUGE so sift through the pages, use the
> navigation (next in thread, next => ...) and usually an answer will be
> found.  YOU ARE NOT ALONE!
>
> When using google, append the term "PHP" and guess what, it works!  Google
> is amazing, it searches the entire world, all mailing lists, faqts, sites,
> etc.  A little research goes a long ways and who knows what else will be
> learned during this process (hint: a lot).  I digress.  Want to play a
> little game?  For every question you see, research archives/google and see
> how long it takes to find an answer.  It's fun!  But, each to their own.
> It's easy to get frustrated by repeat questions but we must realize it's
> not the same person asking over and over ...
>
> Regards,
>
> Philip Olson
> http://www.cornado.com/
>
>
>
> On Thu, 1 Feb 2001, Benjamin Munoz wrote:
>
> > April,
> >
> > There was a discussion like in 1999 (i remember cuz I was learning PHP
> > then), and Richard Lynch (i think) had a good point that splitting the
list
> > would reduce the quality of the answers on the beginners list--PHP
newbies
> > answering each others questions, you see.
> >
> > Newbies should continue to post here.  A tip: some developers preface
their
> > posts with something like: "newbie question".  If you do this, you'll
likely
> > get flooded with friendly and helpful responses.Try it :)
> >
> > -Ben
> >
> > -Original Message-
> > From: April [mailto:[EMAIL PROTECTED]]
> > Sent: Thursday, February 01, 2001 11:25 AM
> > To: [EMAIL PROTECTED]
> > Subject: Re: [PHP] Suggest for List
> >
> >
> > I've been searching for a much smaller PHP beginners lists, away from
the
> > official one, because I know I'm much too beginner for this one.
Everytime
> > I post, I feel like I'm trying to snatch a cookie in full view of the
> > headmistress, and probably going to get hit with her spoon for it.
You'll
> > always get the idiots posting to the advanced list, yeah, it happens.
But I
> > think that the quality of lists would generally go up for both advanced
and
> > beginning people - less interference and less pressure, respectively.
> >
> >
> > - Original Message -
> > From: "Boget, Chris" <[EMAIL 

[PHP] details on imap functions.

2001-02-01 Thread Larry Hotchkiss

I am looking for a little more detailed information of the imap
function of php4. The dos point me to 'docs/internal.txt' but that does
not exist on my windows 'play' system. I cant find it on another rs/6000
I have it installed on either. Does someone have the file they can
e-mail to me? Or point me to where I can get it?

-- 
Larry Hotchkiss

-- 
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] Suggest for List

2001-02-01 Thread Philip Olson

This is a public list and realize that :

a. Don't make assumptions
b. Don't take anything personally

Nobody here is directing "bad vibes" towards you and email communication
is questionable, miscommunication runs rampent.  So that said, nobody is
partronizing you but rather are bringing up points of reference.  We are 
'discussing' not 'fighting' and tangents many times come about too.

The archive can be searched through the search on php.net and the link
quoted below and of course through google (I don't work for google btw :)

http://marc.theaimsgroup.com/?l=php-general

Regards,

Philip Olson
http://www.cornado.com/

On Thu, 1 Feb 2001, April wrote:

> oh look, someone's getting snippy with me for speaking on the list and
> admitting I'm a newbie already.  Patronizing does get to be a reflex action
> after hearing the same question so many times, yeah.  But if I can't post
> about the goodness/badness of having a newbie list and an advanced list,
> because I wasn't here in 1999 for the first one and had no idea it had
> happened, without being given tips on how to search google and get out of
> your hair while you discuss big boy things...   If the volume is enough to
> make the experts snippy (which it does regularly), why are the experts this
> huge asset the newbies can't lose?   If it's something that no one on the
> newbie list could answer, someone could just ask on the advanced list.
> 
> Anyway, on a trying not to be controversial and contrary note, where are the
> archives?  People keep saying that, but I can't find any that work.
> 
> 
> - Original Message -
> From: "Philip Olson" <[EMAIL PROTECTED]>
> To: "Benjamin Munoz" <[EMAIL PROTECTED]>
> Cc: "'April'" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
> Sent: Thursday, February 01, 2001 2:03 PM
> Subject: RE: [PHP] Suggest for List
> 
> 
> >
> > One suggestion for all newbies (and all) is this :
> >
> > Search the archives
> >
> > Search google
> >
> > Figure out a few keywords that will be in the answer and/or question and
> > do a search.  Go here :
> >
> > http://marc.theaimsgroup.com/?l=php-general
> >
> > Q: "I want to redirect using php, how?"
> > T: "redirect" or "redirection"
> >
> > Q: "When i use rand() it not work, why???"
> > T: "random" or "rand" or "mt_rand"
> >
> > Or, let's say PHP gives an error, search them too :
> >
> > Q: Headers already sent, wtf?!
> > T: "headers already sent" and/or "Cannot add header information"
> >
> > Remember, the archive is HUGE so sift through the pages, use the
> > navigation (next in thread, next => ...) and usually an answer will be
> > found.  YOU ARE NOT ALONE!
> >
> > When using google, append the term "PHP" and guess what, it works!  Google
> > is amazing, it searches the entire world, all mailing lists, faqts, sites,
> > etc.  A little research goes a long ways and who knows what else will be
> > learned during this process (hint: a lot).  I digress.  Want to play a
> > little game?  For every question you see, research archives/google and see
> > how long it takes to find an answer.  It's fun!  But, each to their own.
> > It's easy to get frustrated by repeat questions but we must realize it's
> > not the same person asking over and over ...
> >
> > Regards,
> >
> > Philip Olson
> > http://www.cornado.com/
> >
> >
> >
> > On Thu, 1 Feb 2001, Benjamin Munoz wrote:
> >
> > > April,
> > >
> > > There was a discussion like in 1999 (i remember cuz I was learning PHP
> > > then), and Richard Lynch (i think) had a good point that splitting the
> list
> > > would reduce the quality of the answers on the beginners list--PHP
> newbies
> > > answering each others questions, you see.
> > >
> > > Newbies should continue to post here.  A tip: some developers preface
> their
> > > posts with something like: "newbie question".  If you do this, you'll
> likely
> > > get flooded with friendly and helpful responses.Try it :)
> > >
> > > -Ben
> > >
> > > -Original Message-
> > > From: April [mailto:[EMAIL PROTECTED]]
> > > Sent: Thursday, February 01, 2001 11:25 AM
> > > To: [EMAIL PROTECTED]
> > > Subject: Re: [PHP] Suggest for List
> > >
> > >
> > > I've been searching for a much smaller PHP beginners lists, away from
> the
> > > official one, because I know I'm much too beginner for this one.
> Everytime
> > > I post, I feel like I'm trying to snatch a cookie in full view of the
> > > headmistress, and probably going to get hit with her spoon for it.
> You'll
> > > always get the idiots posting to the advanced list, yeah, it happens.
> But I
> > > think that the quality of lists would generally go up for both advanced
> and
> > > beginning people - less interference and less pressure, respectively.
> > >
> > >
> > > - Original Message -
> > > From: "Boget, Chris" <[EMAIL PROTECTED]>
> > > To: "'Chris Lee'" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
> > > Sent: Thursday, February 01, 2001 12:42 PM
> > > Subject: RE: 

[PHP] sessions with frames

2001-02-01 Thread Chris Hayes

hi!
i would like to read in a txt file in the frame index page and use it 
through a session in pages.

It does not work if index.php starts the session and succesfully registers a 
var, because a php page in a frame does not recognize the var.

Chris



--  C.Hayes  Droevendaal 35  6708 PB Wageningen  the Netherlands  --


 

-- 
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] Cant get this one

2001-02-01 Thread Shane McBride

It looks like your not assigning the arrays correctly. Here's a long piece
of code I use: (it has alot of extra code that you don't need.)

Couldn't get list!");
 } else {
  while ($row = mysql_fetch_array($sql_result)) {
   $title = addslashes($row["title"]);
   $price = $row["price"];
   $image = $row["image"];
   $description = addslashes($row["description"]);
   $fmt_price = sprintf("%0.2f", $price);
   $fmt_title = stripslashes($title);
   $fmt_desc = stripslashes($description);
   echo "

 
  Title:
  $fmt_title
 
 
  Description:
  $fmt_desc
 
 
  Price:
  


";
   }
  }
?>

"Mike" <[EMAIL PROTECTED]> wrote in message
news:<95c33h$5a3$[EMAIL PROTECTED]>...
> Im trying to create  an edit page for database records on the fly.I get
all
> the fieldnames and all the textboxes but only the first textbox has
data.the
> rest are always empty.any suggestions?
>
> for ($i =0;$i {
>
>  $row = mysql_fetch_row($result);
>  $name=mysql_field_name($result,$i);
>   echo "$name size='20'>";
> }
>
>
> Thanks
> Mike P
> [EMAIL PROTECTED]
>
>
>
>
> --
> 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 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] contracting & consulting (was "[PHP] Pricing for PHP programming???")

2001-02-01 Thread DELAP, SCOTT F (SBCSI)

Just some thoughts on this topic.   I've ran a web development business for
6 years.  I've seen demand for PHP grow exponentially in recent months.
However, it still isn't anywhere near where it could be.  I think the new
Zend Products will help corporate acceptance and job growth.  Right now when
I look at sites like monster, hotjobs, guru.com, etc. there are few php
listings.  It is hard for clients looking explicitly for good php talent to
find it easily.  We used to get a number of good leads every month off of
PHPBuilder.com's job board.   However, it was taken down in recent months at
parent company internet.com's request.  I think we need a central site where
people looking for contract work and full time employment positions can come
and post jobs related to php.  If anyone has a good domain idea or one
already bought, I'd be glad to work with them on such a site.  This type of
site would need to be pushed by the community if they want to benefit from
it.  Just putting a job board up and letting it sit won't do the trick.

Scott Delap
SBC Services, Inc.
[EMAIL PROTECTED]
314-235-6216


-Original Message-
From: Benjamin Munoz [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 01, 2001 1:37 PM
To: 'Dean Hall'; PHP General
Subject: RE: [PHP] contracting & consulting (was "[PHP] Pricing for PHP
pr ogramming???")



Great thread. When I was changing jobs in April of 2000, a recruiter told me
that PHP is "cool and all", but there is zero demand for developers of PHP
web apps (in Los Angeles). Although I've been very productive developing in
PHP, he advised me to learn something else, b/c the demand just isn't there.
I prefer PHP for my web dev, but I'm still curious how accurate he was.

I know that that Java/EJB/JSP and COM/ASP is in MUCH more demand, and
therefore command a higher wage.  Demand vs supply, right?.  A search today
on monster.com for ASP in LA yields 142 listings, Java yields 262, JSP
yields 32, Perl yields 105, PHP yields 16, cold fusion yields 16.

-Has the demand changed much in your city since middle of last year?  
-Also, for developers who are proficient in several web dev environments, is
it mostly true that you use PHP for your own personal projects, but some
other language for big corporate clients.  
-What is the perception of PHP for mid/large organizations with more to
risk?
-What can we as a developer community do to change this?

Thanks, I'm very interested in others' opinions on this.

-Ben

-Original Message-
From: Dean Hall [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 01, 2001 10:43 AM
To: PHP General
Subject: [PHP] contracting & consulting (was "[PHP] Pricing for PHP
programming???")


Somewhat related to the recent discussion on pricing for contractors, I
thought I'd ask if anyone knows of any good resources to help budding
contrators/consultants find their way around.

I'm a skilled web developer, but I'm not so knowledgeable when it comes to
law and conventions in the US for contractors and consultants doing web
development (or anything else).

If there are any good books or websites that talk about this type of
self-employment, or if anyone has personal experience they wish to offer,
please let me know.

Thanks.
Dean.

-- 
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 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: php4 /pear/DB common.php

2001-02-01 Thread Colin Viebrock

cmv Thu Feb  1 12:16:53 2001 EDT

  Modified files:  
/php4/pear/DB   common.php 
  Log:
  fix here too
  
  
Index: php4/pear/DB/common.php
diff -u php4/pear/DB/common.php:1.35 php4/pear/DB/common.php:1.36
--- php4/pear/DB/common.php:1.35Tue Jan  9 17:01:53 2001
+++ php4/pear/DB/common.php Thu Feb  1 12:16:53 2001
@@ -242,13 +242,13 @@
  is_object($options[0]) && is_string($options[1]))) {
 $this->error_callback = $options;
 } else {
-trigger_error(E_USER_WARNING, "invalid error callback");
+trigger_error("invalid error callback", E_USER_WARNING);
 }
 $this->error_level = PEAR_ERROR_RETURN;
 break;
 
 default:
-trigger_error(E_USER_WARNING, "invalid error mode");
+trigger_error("invalid error mode", E_USER_WARNING);
 break;
 }
 }



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




  1   2   3   >