php-general Digest 1 Feb 2001 12:39:00 -0000 Issue 486

Topics (messages 37568 through 37625):

Re: Dynamic Variable Creation from Forms
        37568 by: Josh G
        37569 by: Nuno Silva
        37573 by: [ rswfire ]
        37574 by: Josh G
        37575 by: Jonathan Sharp
        37617 by: Tim Ward
        37619 by: Tim Ward

Why sprintf for query?
        37570 by: Karl J. Stubsjoen
        37613 by: Ben Peter

passing data between pages?
        37571 by: Britton
        37572 by: Josh G

Thankz
        37576 by: [ rswfire ]

Re: Odbc Vs Oracle
        37577 by: Nold, Mark

Re: Pricing for PHP programming???
        37578 by: Michael Kimsal
        37580 by: Philip Olson
        37582 by: Jonathan Sharp
        37583 by: Josh G
        37584 by: Jason Murray
        37585 by: Philip Olson
        37586 by: Jonathan Sharp
        37587 by: [ rswfire ]
        37588 by: Jonathan Sharp
        37589 by: scott.gerhardt-it.com
        37614 by: mwaples.waples.net
        37621 by: Robin Vickery
        37623 by: Josh G

Formatting/Financial
        37579 by: [ rswfire ]
        37581 by: Josh G
        37607 by: Andrew Golovin

PHP4 Ultradev Extension availble!
        37590 by: Dan Radigan

Php database
        37591 by: Vinicius Garcia
        37604 by: Michael Hall

new mail() function
        37592 by: Police Trainee

Is there a 'redo' loop control function?
        37593 by: John Luxford

reload help!!!
        37594 by: Wen Ni Leong

Strange Parser error
        37595 by: Phil Daintree
        37611 by: Ben Peter

one quick question: how do I assign atring value into variable?
        37596 by: Jacky.lilst
        37606 by: David Robley

Re: E-mail valid
        37597 by: Sean Cazzell
        37598 by: Chris Aitken
        37600 by: Josh G

Directory Listing with PHP
        37599 by: Chris Aitken
        37602 by: Andrew Braund

Re: connecting to AS400 DB2
        37601 by: szii.sziisoft.com

404 error checker
        37603 by: Institute for Social Ecology
        37605 by: Jason Murray

Re: New User of PHP
        37608 by: Chris Choy

Re: test ... please ignore ...
        37609 by: PHPBeginner.com
        37615 by: Navid
        37616 by: PHPBeginner.com

Re-Creation of Objects in sessions
        37610 by: Thomas Stinner

Win2K/PHP4.0.4pl1 - include_path mess (won't include from the current directory)
        37612 by: PHPBeginner.com

List archives with PHP frontend
        37618 by: Ben Peter

upload_max_filesize
        37620 by: David Smith
        37622 by: David Smith

Image
        37624 by: David Tandberg-Johansen

INAPPROPRIATE IOCTL ERROR
        37625 by: Kif

Administrivia:

To subscribe to the digest, e-mail:
        [EMAIL PROTECTED]

To unsubscribe from the digest, e-mail:
        [EMAIL PROTECTED]

To post to the list, e-mail:
        [EMAIL PROTECTED]


----------------------------------------------------------------------


Not *sure* i understand the problem, but this may be the solution:

$foo = "hello";
$bar = "foo";
$foobar = $$bar;

$foobar now contains "hello".

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: "[ rswfire ]" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, February 01, 2001 11:28 AM
Subject: [PHP] Dynamic Variable Creation from Forms


> I have a problem I'm not sure how to fix.
>
> PART I
>
> I have a form on a page that creates its variables dynamically.  Here's an
> example:
>
> mysql_db_query($db, "SELECT * FROM table");
> while ($row = mysql_fetch_array($result))
> {
>
>   echo "<INPUT TYPE='CHECKBOX' NAME='chk_".$row["checkboxtype"]."'>";
>
> }
>
> PART II
>
> I need to make reference to these dynamically created variables.  How do I
> do this?  This does not work, obviously:
>
> $chk_.$row["checkboxtype"]
>
> Thanks in advance...
> _________________________________________________________________
> Get your FREE download of MSN Explorer at http://explorer.msn.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]
>





[ rswfire ] wrote:

> I have a problem I'm not sure how to fix.
> 
> PART I
> 
> I have a form on a page that creates its variables dynamically.  
> Here's an example:
> 
> mysql_db_query($db, "SELECT * FROM table");
> while ($row = mysql_fetch_array($result))
> {
> 
>  echo "<INPUT TYPE='CHECKBOX' NAME='chk_".$row["checkboxtype"]."'>";
> 
> }
> 
> PART II
> 
> I need to make reference to these dynamically created variables.  How 
> do I do this?  This does not work, obviously:
> 
> $chk_.$row["checkboxtype"]
> 
> Thanks in advance...
> _________________________________________________________________
> Get your FREE download of MSN Explorer at http://explorer.msn.com
> 
> 
$temp = "chk_$row";
echo $$temp["checkboxtype"];

the trick is $$var_name ;)

have fun,
Nuno







Thanks for your response, but that's not my problem.  I'll explain 
further...

I have a table with the following fields in a row:

aaa
bbb
ccc
ddd
eee

I have a page with a form:

<FORM POST>
mysql_db_query($db, "SELECT * FROM table");
while ($row = mysql_fetch_array($result))
{

   echo "<INPUT TYPE='CHECKBOX' NAME='chk_".$row["checkboxtype"]."'>";

}

This will create several checkboxes with the following names:

chk_aaa
chk_bbb
chk_ccc
chk_ddd
chk_eee

ON THE NEXT PAGE, AFTER THE SUBMIT BUTTON IS CLICKED, THESE VARIABLES WILL 
EXIST, but I cannot refer to them like this:

$chk_$row["field"]

How can I refer to them???  They can change based on the field data, so they 
cannot be considered static variables.






Not *sure* i understand the problem, but this may be the solution:

$foo = "hello";
$bar = "foo";
$foobar = $$bar;

$foobar now contains "hello".

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: "[ rswfire ]" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, February 01, 2001 11:28 AM
Subject: [PHP] Dynamic Variable Creation from Forms


>I have a problem I'm not sure how to fix.
>
>PART I
>
>I have a form on a page that creates its variables dynamically.  Here's an
>example:
>
>mysql_db_query($db, "SELECT * FROM table");
>while ($row = mysql_fetch_array($result))
>{
>
>   echo "<INPUT TYPE='CHECKBOX' NAME='chk_".$row["checkboxtype"]."'>";
>
>}
>
>PART II
>
>I need to make reference to these dynamically created variables.  How do I
>do this?  This does not work, obviously:
>
>$chk_.$row["checkboxtype"]
>
>Thanks in advance...
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com





It is what you're looking for, you just need to think it through a little.

instead of

> $chk_$row["field"]

try

$foo = "chk_" . $row["field"];
$bar = $$foo;

or if you're trying to do something else, you may need

$foo = "chk_" . $row;
$bar = ($$foo)["field"];

as I'm not sure which order of execution you want to happen on that
line, since it's not valid :)

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: "[ rswfire ]" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, February 01, 2001 11:41 AM
Subject: Re: [PHP] Dynamic Variable Creation from Forms


> Thanks for your response, but that's not my problem.  I'll explain
> further...
>
> I have a table with the following fields in a row:
>
> aaa
> bbb
> ccc
> ddd
> eee
>
> I have a page with a form:
>
> <FORM POST>
> mysql_db_query($db, "SELECT * FROM table");
> while ($row = mysql_fetch_array($result))
> {
>
>    echo "<INPUT TYPE='CHECKBOX' NAME='chk_".$row["checkboxtype"]."'>";
>
> }
>
> This will create several checkboxes with the following names:
>
> chk_aaa
> chk_bbb
> chk_ccc
> chk_ddd
> chk_eee
>
> ON THE NEXT PAGE, AFTER THE SUBMIT BUTTON IS CLICKED, THESE VARIABLES WILL
> EXIST, but I cannot refer to them like this:
>
> $chk_$row["field"]
>
> How can I refer to them???  They can change based on the field data, so
they
> cannot be considered static variables.
>
>
>
>
>
>
> Not *sure* i understand the problem, but this may be the solution:
>
> $foo = "hello";
> $bar = "foo";
> $foobar = $$bar;
>
> $foobar now contains "hello".
>
> 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: "[ rswfire ]" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Thursday, February 01, 2001 11:28 AM
> Subject: [PHP] Dynamic Variable Creation from Forms
>
>
> >I have a problem I'm not sure how to fix.
> >
> >PART I
> >
> >I have a form on a page that creates its variables dynamically.  Here's
an
> >example:
> >
> >mysql_db_query($db, "SELECT * FROM table");
> >while ($row = mysql_fetch_array($result))
> >{
> >
> >   echo "<INPUT TYPE='CHECKBOX' NAME='chk_".$row["checkboxtype"]."'>";
> >
> >}
> >
> >PART II
> >
> >I need to make reference to these dynamically created variables.  How do
I
> >do this?  This does not work, obviously:
> >
> >$chk_.$row["checkboxtype"]
> >
> >Thanks in advance...
> _________________________________________________________________
> Get your FREE download of MSN Explorer at http://explorer.msn.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]
>





have you thought about creating an array of the variables? "chk[$row]" and
then you'd read 'em back like chk["aaa"] or chk["bbb"] or you could loop
through the array with a each statement...

but for variable variables...try ${"chk_".$row}["field"] which should
work...

-Jonathan Sharp

Director of Technology - Imprev Inc.
Renwick Development Group - Flyerware
http://www.flyerware.com/
Phone: (425)688-9200
Cell: (425)766-1398
EPage: [EMAIL PROTECTED]

-----Original Message-----
From: [ rswfire ] [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 31, 2001 4:41 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] Dynamic Variable Creation from Forms


Thanks for your response, but that's not my problem.  I'll explain
further...

I have a table with the following fields in a row:

aaa
bbb
ccc
ddd
eee

I have a page with a form:

<FORM POST>
mysql_db_query($db, "SELECT * FROM table");
while ($row = mysql_fetch_array($result))
{

   echo "<INPUT TYPE='CHECKBOX' NAME='chk_".$row["checkboxtype"]."'>";

}

This will create several checkboxes with the following names:

chk_aaa
chk_bbb
chk_ccc
chk_ddd
chk_eee

ON THE NEXT PAGE, AFTER THE SUBMIT BUTTON IS CLICKED, THESE VARIABLES WILL
EXIST, but I cannot refer to them like this:

$chk_$row["field"]

How can I refer to them???  They can change based on the field data, so they
cannot be considered static variables.






Not *sure* i understand the problem, but this may be the solution:

$foo = "hello";
$bar = "foo";
$foobar = $$bar;

$foobar now contains "hello".

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: "[ rswfire ]" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, February 01, 2001 11:28 AM
Subject: [PHP] Dynamic Variable Creation from Forms


>I have a problem I'm not sure how to fix.
>
>PART I
>
>I have a form on a page that creates its variables dynamically.  Here's an
>example:
>
>mysql_db_query($db, "SELECT * FROM table");
>while ($row = mysql_fetch_array($result))
>{
>
>   echo "<INPUT TYPE='CHECKBOX' NAME='chk_".$row["checkboxtype"]."'>";
>
>}
>
>PART II
>
>I need to make reference to these dynamically created variables.  How do I
>do this?  This does not work, obviously:
>
>$chk_.$row["checkboxtype"]
>
>Thanks in advance...
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.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]






this works, you should be able to do something similar assigning
$row["checkboxtype"] as the array key. That way you don't need to know what
it's called just the array it is an element of.


<?php

if (isset($formvars))
{       foreach ($formvars as $fvTitle => $fvValue)
echo("$fvTitle:$fvValue<br>");
};

?>

<form action="#" method="post">
<?php
$gotvars[fred] = "fred value";
$gotvars[bill] = "billvalue";

foreach ($gotvars as $gvTitle => $gvValue)
        echo("$gvTitle<input type=text name=formvars[$gvTitle] size=40
maxlength=80 value='" . $gvValue . "'><br>");
?>
<input type="submit" value="GO">
</form>

        Tim Ward
        Senior Systems Engineer

Please refer to the following disclaimer in respect of this message:
http://www.stivesdirect.com/e-mail-disclaimer.html


> -----Original Message-----
> From: [ rswfire ] [mailto:[EMAIL PROTECTED]]
> Sent: 01 February 2001 00:29
> To: [EMAIL PROTECTED]
> Subject: Dynamic Variable Creation from Forms
> 
> 
> I have a problem I'm not sure how to fix.
> 
> PART I
> 
> I have a form on a page that creates its variables 
> dynamically.  Here's an 
> example:
> 
> mysql_db_query($db, "SELECT * FROM table");
> while ($row = mysql_fetch_array($result))
> {
> 
>   echo "<INPUT TYPE='CHECKBOX' NAME='chk_".$row["checkboxtype"]."'>";
> 
> }
> 
> PART II
> 
> I need to make reference to these dynamically created 
> variables.  How do I 
> do this?  This does not work, obviously:
> 
> $chk_.$row["checkboxtype"]
> 
> Thanks in advance...
> _________________________________________________________________
> Get your FREE download of MSN Explorer at http://explorer.msn.com
> 
> 




this works, you should be able to do something similar assigning
$row["checkboxtype"] as the array key. That way you don't need to know what
it's called just the array it is an element of.
(I thinmk this bounced first time)

<?php

if (isset($formvars))
{       foreach ($formvars as $fvTitle => $fvValue)
echo("$fvTitle:$fvValue<br>");
};

?>

<form action="#" method="post">
<?php
$gotvars[fred] = "fred value";
$gotvars[bill] = "billvalue";

foreach ($gotvars as $gvTitle => $gvValue)
        echo("$gvTitle<input type=text name=formvars[$gvTitle] size=40
maxlength=80 value='" . $gvValue . "'><br>");
?>
<input type="submit" value="GO">
</form>

        Tim Ward
        Senior Systems Engineer

Please refer to the following disclaimer in respect of this message:
http://www.stivesdirect.com/e-mail-disclaimer.html


> -----Original Message-----
> From: [ rswfire ] [mailto:[EMAIL PROTECTED]]
> Sent: 01 February 2001 00:29
> To: [EMAIL PROTECTED]
> Subject: Dynamic Variable Creation from Forms
> 
> 
> I have a problem I'm not sure how to fix.
> 
> PART I
> 
> I have a form on a page that creates its variables 
> dynamically.  Here's an 
> example:
> 
> mysql_db_query($db, "SELECT * FROM table");
> while ($row = mysql_fetch_array($result))
> {
> 
>   echo "<INPUT TYPE='CHECKBOX' NAME='chk_".$row["checkboxtype"]."'>";
> 
> }
> 
> PART II
> 
> I need to make reference to these dynamically created 
> variables.  How do I 
> do this?  This does not work, obviously:
> 
> $chk_.$row["checkboxtype"]
> 
> Thanks in advance...
> _________________________________________________________________
> Get your FREE download of MSN Explorer at http://explorer.msn.com
> 
> 




Sprintf formats strings and numbers to a specific format (correct?) then why
is this

$q = SPRINTF("SELECT prodnum, childdesc FROM prodaval");

like that?  Why SPRINTF in this case?  We are calling a MySQL table, is it
specific to calling a MySQL table or is this required for all calls to a
DB... or (simply) could it be written like this

$q = "SELECT prodnum, childdesc FROM prodaval";

Thanks!





Karl,

where is the first line from? it's pretty useless overhead. 

$q = 'SELECT prodnum, childdesc FROM prodaval' would be second fastest
(the string is now parsed as it is in single quotes).

fastest would be to directly feed the statement to the query function
(e.g. mysql_query) instead of storing it in a variable before.

Cheers,
Ben

"Karl J. Stubsjoen" wrote:
> 
> Sprintf formats strings and numbers to a specific format (correct?) then why
> is this
> 
> $q = SPRINTF("SELECT prodnum, childdesc FROM prodaval");
> 
> like that?  Why SPRINTF in this case?  We are calling a MySQL table, is it
> specific to calling a MySQL table or is this required for all calls to a
> DB... or (simply) could it be written like this
> 
> $q = "SELECT prodnum, childdesc FROM prodaval";
> 
> 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]





Is there a way to pass things to a php page you are referring to by href
(without forms or anythin), and if so could someone point me to the
documentation describing how?

Thanks,
Britton





easy - http://www.yourserver.com/path/to/yourfile.php?v1=foo&v2=bar

will create two variables, $v1 and $v2, with the values of "foo" and "bar"
respectively. note that the first variable is preceeded with a ?, all others
afterwards with an &.

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: "Britton" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, February 01, 2001 11:35 AM
Subject: [PHP] passing data between pages?


>
> Is there a way to pass things to a php page you are referring to by href
> (without forms or anythin), and if so could someone point me to the
> documentation describing how?
>
> Thanks,
> Britton
>
>
> --
> 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]
>





The $$ thing works.  You're right, I wasn't thinking it through...
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com





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

Use the OCI connections, but either way use a DB abstraction layer. This way
you can easily change in the future.

There is a PEAR DB Abs. layer, PHPlib or something called Metabase.

mn


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



-----Original Message-----
From: kaab kaoutar [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 31, 2001 8:28 PM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Odbc Vs Oracle


Hi!

i'm using an orcale DB, i'd like to know what's the best way to exploit php 
? using odbc or oracle functions ?

Thanks
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.





I get flamed for this sometimes, but we don't normally charge an hourly rate for a
project.  After-project maintenance, yes, but for an initial project we normally quote 
a fixed price.
The price will cover a minimal hourly rate to cover our costs, but we don't normally 
cap it on the top
by saying "that's 200 hours at $125/hour so it's $25,000" (or whatever it would be).

Rather, we try to gain as much info as we can about the project and it's relative 
value to
the business.  If someone is having us build a system that will net them a direct cost 
reduction
of $2 million dollars per year, we will take that into consideration.  Some people 
think that's
gouging, but we don't see it like that.  On the flip side of that, we've taken on 
projects
at lower than normal rates because the job was cool, but the value to the business just
wouldn't be all that much.  No sense in charging someone $10,000 for an inventory 
system
when they only do $20k/year in sales, for example.




Shane McBride wrote:

> I know this is not really a PHP question, but it should make for a good thread. :)
>
> I was wondering what other PHP people charge to write PHP? I have just been given a 
>project for a fairly large customer, much larger than I normally do work for. So I am 
>VERY confused.concerned about how to price it. Most of my other PHP projects have 
>been done for small single owners businesses, and the PHP has been pretty basic.
>
> Now that I can actually do what I am being asked without have to learn it, I am 
>stuck. I did a shopping cart for someone, but I didn't charge them a REAL price 
>because I didn't know how to do it with PHP. So, I of course didn't charge the client 
>for my learning curve.
>
> I know the price is very dependant upon the task. What I am doing is creating a 
>web-based front-end for a MySQL database. I'll need to create the database tables, 
>etc. The front-end is going to be rather dynamic since the data content depends 
>largely on the previous choices of the end-user. One or two tables with 20-30 fields. 
>5-6 pages of html and PHP.
>
> I'm just scouting this out, and am VERY confident with the contributors to this list 
>and their opinions.
>
> TIA,
> Shane






Hey Shane,

This is a tricky issue, here's me (USD):

  $60/hr
  $30/hr if end result becomes open sourced (no strings)

General discounts for features such as : fun,true non-profit,intelligent
employer,learning curve and it all lives on a sliding scale depending on
their ability to pay and my desire for work/money (time).  Also, barter 
is usually an option.  Usually hovers between 30-50 and one day this will
go up :-)  This is the most difficult part of the job, time estimates
and pricing.  Bah.  "Just give me money and I'll do stuff." 

Regards,

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


> On Wed, Jan 31, 2001 at 03:25:27PM -0500, Shane McBride wrote:
> I know this is not really a PHP question, but it should make for a good
> thread. :) 
> 
> I was wondering what other PHP people charge to write PHP? I have just
> been given a project for a fairly large customer, much larger than I
> normally do work for. So I am VERY confused.concerned about how to price
> it. Most of my other PHP projects have been done for small single owners
> businesses, and the PHP has been pretty basic.    
> 
> Now that I can actually do what I am being asked without have to learn
> it, I am stuck. I did a shopping cart for someone, but I didn't charge
> them a REAL price because I didn't know how to do it with PHP. So, I of
> course didn't charge the client for my learning curve.   
> 
> I know the price is very dependant upon the task. What I am doing is
> creating a web-based front-end for a MySQL database. I'll need to create
> the database tables, etc. The front-end is going to be rather dynamic
> since the data content depends largely on the previous choices of the
> end-user. One or two tables with 20-30 fields. 5-6 pages of html and
> PHP.     
> 
> I'm just scouting this out, and am VERY confident with the contributors
> to this list and their opinions.  
> 
> TIA,
> Shane





I find this an interesting topic...

One thing that we've found when looking for additional PHP programmers to
add is that since PHP has exploded there are a lot of people out there
coding in PHP that don't have a background in programming or some of the
design considerations. We've looked at various places from techies.com to
guru.com and haven't found that many PHP gurus out there. So in terms of
skill level, what do you all see the going rate? I know I'm currently
underpaid at $25/hour and I do ALL the PHP programming, project management,
engineering, database theory etc...oh...and did I mention I do all the
network support too? (I'm taking my CCNA in June...) so yeah...we're a
starup what did you expect?! =)

Comments?

Disclaimer: I don't mean to offend anyone out there who codes in PHP. But
from the experience that I've had trying to find someone who can really code
clean, effecient stuff that plugs into the whole picture has been virtually
non-existent...(if you do, please call! We have a few openings!)

Thanks,
-Jonathan Sharp

Director of Technology - Imprev Inc.
Renwick Development Group - Flyerware
http://www.flyerware.com/
Phone: (425)688-9200
Cell: (425)766-1398

-----Original Message-----
From: Philip Olson [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 31, 2001 5:40 PM
To: Shane McBride
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] Pricing for PHP programming???



Hey Shane,

This is a tricky issue, here's me (USD):

  $60/hr
  $30/hr if end result becomes open sourced (no strings)

General discounts for features such as : fun,true non-profit,intelligent
employer,learning curve and it all lives on a sliding scale depending on
their ability to pay and my desire for work/money (time).  Also, barter
is usually an option.  Usually hovers between 30-50 and one day this will
go up :-)  This is the most difficult part of the job, time estimates
and pricing.  Bah.  "Just give me money and I'll do stuff."

Regards,

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


> On Wed, Jan 31, 2001 at 03:25:27PM -0500, Shane McBride wrote:
> I know this is not really a PHP question, but it should make for a good
> thread. :)
>
> I was wondering what other PHP people charge to write PHP? I have just
> been given a project for a fairly large customer, much larger than I
> normally do work for. So I am VERY confused.concerned about how to price
> it. Most of my other PHP projects have been done for small single owners
> businesses, and the PHP has been pretty basic.
>
> Now that I can actually do what I am being asked without have to learn
> it, I am stuck. I did a shopping cart for someone, but I didn't charge
> them a REAL price because I didn't know how to do it with PHP. So, I of
> course didn't charge the client for my learning curve.
>
> I know the price is very dependant upon the task. What I am doing is
> creating a web-based front-end for a MySQL database. I'll need to create
> the database tables, etc. The front-end is going to be rather dynamic
> since the data content depends largely on the previous choices of the
> end-user. One or two tables with 20-30 fields. 5-6 pages of html and
> PHP.
>
> I'm just scouting this out, and am VERY confident with the contributors
> to this list and their opinions.
>
> TIA,
> Shane


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







I hear you. Another thing that's hard to find, is somebody who is a
good programmer, and a good graphic designer. I don't really know
any, apart from myself, and I've been just shy of being called a lying
scumbag by a few HR companies over the years when they look at
my resume ;-)

This thread has really fired up my desire to go the states.... US$80
an hour for php.... daaaaaaaaaaaamn, that's a shitload more than I
make here, which is more like US$20/hr

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: "Jonathan Sharp" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, February 01, 2001 12:49 PM
Subject: RE: [PHP] Pricing for PHP programming???


> I find this an interesting topic...
>
> One thing that we've found when looking for additional PHP programmers to
> add is that since PHP has exploded there are a lot of people out there
> coding in PHP that don't have a background in programming or some of the
> design considerations. We've looked at various places from techies.com to
> guru.com and haven't found that many PHP gurus out there. So in terms of
> skill level, what do you all see the going rate? I know I'm currently
> underpaid at $25/hour and I do ALL the PHP programming, project
management,
> engineering, database theory etc...oh...and did I mention I do all the
> network support too? (I'm taking my CCNA in June...) so yeah...we're a
> starup what did you expect?! =)
>
> Comments?
>
> Disclaimer: I don't mean to offend anyone out there who codes in PHP. But
> from the experience that I've had trying to find someone who can really
code
> clean, effecient stuff that plugs into the whole picture has been
virtually
> non-existent...(if you do, please call! We have a few openings!)
>
> Thanks,
> -Jonathan Sharp
>
> Director of Technology - Imprev Inc.
> Renwick Development Group - Flyerware
> http://www.flyerware.com/
> Phone: (425)688-9200
> Cell: (425)766-1398
>
> -----Original Message-----
> From: Philip Olson [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, January 31, 2001 5:40 PM
> To: Shane McBride
> Cc: [EMAIL PROTECTED]
> Subject: Re: [PHP] Pricing for PHP programming???
>
>
>
> Hey Shane,
>
> This is a tricky issue, here's me (USD):
>
>   $60/hr
>   $30/hr if end result becomes open sourced (no strings)
>
> General discounts for features such as : fun,true non-profit,intelligent
> employer,learning curve and it all lives on a sliding scale depending on
> their ability to pay and my desire for work/money (time).  Also, barter
> is usually an option.  Usually hovers between 30-50 and one day this will
> go up :-)  This is the most difficult part of the job, time estimates
> and pricing.  Bah.  "Just give me money and I'll do stuff."
>
> Regards,
>
> Philip Olson
> http://www.cornado.com/
>
>
> > On Wed, Jan 31, 2001 at 03:25:27PM -0500, Shane McBride wrote:
> > I know this is not really a PHP question, but it should make for a good
> > thread. :)
> >
> > I was wondering what other PHP people charge to write PHP? I have just
> > been given a project for a fairly large customer, much larger than I
> > normally do work for. So I am VERY confused.concerned about how to price
> > it. Most of my other PHP projects have been done for small single owners
> > businesses, and the PHP has been pretty basic.
> >
> > Now that I can actually do what I am being asked without have to learn
> > it, I am stuck. I did a shopping cart for someone, but I didn't charge
> > them a REAL price because I didn't know how to do it with PHP. So, I of
> > course didn't charge the client for my learning curve.
> >
> > I know the price is very dependant upon the task. What I am doing is
> > creating a web-based front-end for a MySQL database. I'll need to create
> > the database tables, etc. The front-end is going to be rather dynamic
> > since the data content depends largely on the previous choices of the
> > end-user. One or two tables with 20-30 fields. 5-6 pages of html and
> > PHP.
> >
> > I'm just scouting this out, and am VERY confident with the contributors
> > to this list and their opinions.
> >
> > TIA,
> > Shane
>
>
> --
> 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]
>





> This thread has really fired up my desire to go the states.... US$80
> an hour for php.... daaaaaaaaaaaamn, that's a shitload more than I
> make here, which is more like US$20/hr

Remember though, if you're on a salary you'll get less an hour for
ANYTHING (not just PHP) but it'll at least be consistent...

Jason





One thing to keep in mind is we're mixing up contract jobs and "real" jobs
with contract jobs usually being much higher rates.  Not sure on any
specifics though but real jobs are pretty secure, eight hours a day ... so
it's a tradeoff.  Most (if not all) quotes thus far are in regard to
contract jobs.

Philip

On Thu, 1 Feb 2001, Josh G wrote:

> I hear you. Another thing that's hard to find, is somebody who is a
> good programmer, and a good graphic designer. I don't really know
> any, apart from myself, and I've been just shy of being called a lying
> scumbag by a few HR companies over the years when they look at
> my resume ;-)
> 
> This thread has really fired up my desire to go the states.... US$80
> an hour for php.... daaaaaaaaaaaamn, that's a shitload more than I
> make here, which is more like US$20/hr
> 
> 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: "Jonathan Sharp" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Thursday, February 01, 2001 12:49 PM
> Subject: RE: [PHP] Pricing for PHP programming???
> 
> 
> > I find this an interesting topic...
> >
> > One thing that we've found when looking for additional PHP programmers to
> > add is that since PHP has exploded there are a lot of people out there
> > coding in PHP that don't have a background in programming or some of the
> > design considerations. We've looked at various places from techies.com to
> > guru.com and haven't found that many PHP gurus out there. So in terms of
> > skill level, what do you all see the going rate? I know I'm currently
> > underpaid at $25/hour and I do ALL the PHP programming, project
> management,
> > engineering, database theory etc...oh...and did I mention I do all the
> > network support too? (I'm taking my CCNA in June...) so yeah...we're a
> > starup what did you expect?! =)
> >
> > Comments?
> >
> > Disclaimer: I don't mean to offend anyone out there who codes in PHP. But
> > from the experience that I've had trying to find someone who can really
> code
> > clean, effecient stuff that plugs into the whole picture has been
> virtually
> > non-existent...(if you do, please call! We have a few openings!)
> >
> > Thanks,
> > -Jonathan Sharp
> >
> > Director of Technology - Imprev Inc.
> > Renwick Development Group - Flyerware
> > http://www.flyerware.com/
> > Phone: (425)688-9200
> > Cell: (425)766-1398
> >
> > -----Original Message-----
> > From: Philip Olson [mailto:[EMAIL PROTECTED]]
> > Sent: Wednesday, January 31, 2001 5:40 PM
> > To: Shane McBride
> > Cc: [EMAIL PROTECTED]
> > Subject: Re: [PHP] Pricing for PHP programming???
> >
> >
> >
> > Hey Shane,
> >
> > This is a tricky issue, here's me (USD):
> >
> >   $60/hr
> >   $30/hr if end result becomes open sourced (no strings)
> >
> > General discounts for features such as : fun,true non-profit,intelligent
> > employer,learning curve and it all lives on a sliding scale depending on
> > their ability to pay and my desire for work/money (time).  Also, barter
> > is usually an option.  Usually hovers between 30-50 and one day this will
> > go up :-)  This is the most difficult part of the job, time estimates
> > and pricing.  Bah.  "Just give me money and I'll do stuff."
> >
> > Regards,
> >
> > Philip Olson
> > http://www.cornado.com/
> >
> >
> > > On Wed, Jan 31, 2001 at 03:25:27PM -0500, Shane McBride wrote:
> > > I know this is not really a PHP question, but it should make for a good
> > > thread. :)
> > >
> > > I was wondering what other PHP people charge to write PHP? I have just
> > > been given a project for a fairly large customer, much larger than I
> > > normally do work for. So I am VERY confused.concerned about how to price
> > > it. Most of my other PHP projects have been done for small single owners
> > > businesses, and the PHP has been pretty basic.
> > >
> > > Now that I can actually do what I am being asked without have to learn
> > > it, I am stuck. I did a shopping cart for someone, but I didn't charge
> > > them a REAL price because I didn't know how to do it with PHP. So, I of
> > > course didn't charge the client for my learning curve.
> > >
> > > I know the price is very dependant upon the task. What I am doing is
> > > creating a web-based front-end for a MySQL database. I'll need to create
> > > the database tables, etc. The front-end is going to be rather dynamic
> > > since the data content depends largely on the previous choices of the
> > > end-user. One or two tables with 20-30 fields. 5-6 pages of html and
> > > PHP.
> > >
> > > I'm just scouting this out, and am VERY confident with the contributors
> > > to this list and their opinions.
> > >
> > > TIA,
> > > Shane
> >
> >
> > --
> > 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]
> 






Yeah, I'm consulting though...but yes there are some other options...where
does it say $80/hour in the US?!

-Jonathan

> -----Original Message-----
> From: Philip Olson [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, January 31, 2001 6:05 PM
> To: Josh G
> Cc: PHP User Group
> Subject: Re: [PHP] Pricing for PHP programming???
>
>
>
> One thing to keep in mind is we're mixing up contract jobs and "real" jobs
> with contract jobs usually being much higher rates.  Not sure on any
> specifics though but real jobs are pretty secure, eight hours a day ... so
> it's a tradeoff.  Most (if not all) quotes thus far are in regard to
> contract jobs.
>
> Philip
>
> On Thu, 1 Feb 2001, Josh G wrote:
>
> > I hear you. Another thing that's hard to find, is somebody who is a
> > good programmer, and a good graphic designer. I don't really know
> > any, apart from myself, and I've been just shy of being called a lying
> > scumbag by a few HR companies over the years when they look at
> > my resume ;-)
> >
> > This thread has really fired up my desire to go the states.... US$80
> > an hour for php.... daaaaaaaaaaaamn, that's a shitload more than I
> > make here, which is more like US$20/hr
> >
> > 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: "Jonathan Sharp" <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Thursday, February 01, 2001 12:49 PM
> > Subject: RE: [PHP] Pricing for PHP programming???
> >
> >
> > > I find this an interesting topic...
> > >
> > > One thing that we've found when looking for additional PHP
> programmers to
> > > add is that since PHP has exploded there are a lot of people out there
> > > coding in PHP that don't have a background in programming or
> some of the
> > > design considerations. We've looked at various places from
> techies.com to
> > > guru.com and haven't found that many PHP gurus out there. So
> in terms of
> > > skill level, what do you all see the going rate? I know I'm currently
> > > underpaid at $25/hour and I do ALL the PHP programming, project
> > management,
> > > engineering, database theory etc...oh...and did I mention I do all the
> > > network support too? (I'm taking my CCNA in June...) so yeah...we're a
> > > starup what did you expect?! =)
> > >
> > > Comments?
> > >
> > > Disclaimer: I don't mean to offend anyone out there who codes
> in PHP. But
> > > from the experience that I've had trying to find someone who
> can really
> > code
> > > clean, effecient stuff that plugs into the whole picture has been
> > virtually
> > > non-existent...(if you do, please call! We have a few openings!)
> > >
> > > Thanks,
> > > -Jonathan Sharp
> > >
> > > Director of Technology - Imprev Inc.
> > > Renwick Development Group - Flyerware
> > > http://www.flyerware.com/
> > > Phone: (425)688-9200
> > > Cell: (425)766-1398
> > >
> > > -----Original Message-----
> > > From: Philip Olson [mailto:[EMAIL PROTECTED]]
> > > Sent: Wednesday, January 31, 2001 5:40 PM
> > > To: Shane McBride
> > > Cc: [EMAIL PROTECTED]
> > > Subject: Re: [PHP] Pricing for PHP programming???
> > >
> > >
> > >
> > > Hey Shane,
> > >
> > > This is a tricky issue, here's me (USD):
> > >
> > >   $60/hr
> > >   $30/hr if end result becomes open sourced (no strings)
> > >
> > > General discounts for features such as : fun,true
> non-profit,intelligent
> > > employer,learning curve and it all lives on a sliding scale
> depending on
> > > their ability to pay and my desire for work/money (time).
> Also, barter
> > > is usually an option.  Usually hovers between 30-50 and one
> day this will
> > > go up :-)  This is the most difficult part of the job, time estimates
> > > and pricing.  Bah.  "Just give me money and I'll do stuff."
> > >
> > > Regards,
> > >
> > > Philip Olson
> > > http://www.cornado.com/
> > >
> > >
> > > > On Wed, Jan 31, 2001 at 03:25:27PM -0500, Shane McBride wrote:
> > > > I know this is not really a PHP question, but it should
> make for a good
> > > > thread. :)
> > > >
> > > > I was wondering what other PHP people charge to write PHP?
> I have just
> > > > been given a project for a fairly large customer, much larger than I
> > > > normally do work for. So I am VERY confused.concerned about
> how to price
> > > > it. Most of my other PHP projects have been done for small
> single owners
> > > > businesses, and the PHP has been pretty basic.
> > > >
> > > > Now that I can actually do what I am being asked without
> have to learn
> > > > it, I am stuck. I did a shopping cart for someone, but I
> didn't charge
> > > > them a REAL price because I didn't know how to do it with
> PHP. So, I of
> > > > course didn't charge the client for my learning curve.
> > > >
> > > > I know the price is very dependant upon the task. What I am doing is
> > > > creating a web-based front-end for a MySQL database. I'll
> need to create
> > > > the database tables, etc. The front-end is going to be
> rather dynamic
> > > > since the data content depends largely on the previous
> choices of the
> > > > end-user. One or two tables with 20-30 fields. 5-6 pages of html and
> > > > PHP.
> > > >
> > > > I'm just scouting this out, and am VERY confident with the
> contributors
> > > > to this list and their opinions.
> > > >
> > > > TIA,
> > > > Shane
> > >
> > >
> > > --
> > > 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 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]
>
>
>





I charge $50/hr. for any programming I do - if it's a small project.  For 
larger projects, I work out a budget with my client.

I'm in the process of releasing a new service to the web, though.  Swift 
eNetwork.  This project will allow my clients to register their website on 
the network and build their website without needing to do any programming 
(or without needing ME to do any programming, everything is dynamic) -- they 
choose their layouts, colors, etc. and put in their data and they're all 
set.  If they want to add to their website's functionality, they add some 
pre-designed, customizable plugins - and suddenly they have a fully-dynamic, 
professional website in minutes.

I read your post Josh...  I think you are a very talented programmer - and 
graphic artist.  I am lacking in the area of graphics and once I have 
established my network online I will be looking for someone to develop some 
more graphical appearing templates for my clients to use.  The concept is 
relatively simple -- all of the elements used on the page are in tables so 
as long as the graphical templates can work with tables, they should 
function perfectly.

Since the network isn't online, I can't show it to anyone.  But I added a 
page to a site where you can see some screenshots if you are interested to 
see my work.  Let me know what you think!!  And if anyone is interested in 
helping me with some of the templates, please let me know...maybe we can 
work something out together...

The release date is Valentine's Day...

http://www.geocities.com/rswfire/enetwork/

Rob
Swift International
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com





I hear ya' on those multi tallented skills you got...same here, but I on my
resume I've only put my programming skills...I just let them find out about
all that *other* stuff later...it makes for a good reason for a raise =)

-Jonathan

> -----Original Message-----
> From: Josh G [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, January 31, 2001 5:52 PM
> To: PHP User Group
> Subject: Re: [PHP] Pricing for PHP programming???
>
>
> I hear you. Another thing that's hard to find, is somebody who is a
> good programmer, and a good graphic designer. I don't really know
> any, apart from myself, and I've been just shy of being called a lying
> scumbag by a few HR companies over the years when they look at
> my resume ;-)
>
> This thread has really fired up my desire to go the states.... US$80
> an hour for php.... daaaaaaaaaaaamn, that's a shitload more than I
> make here, which is more like US$20/hr
>
> 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: "Jonathan Sharp" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Thursday, February 01, 2001 12:49 PM
> Subject: RE: [PHP] Pricing for PHP programming???
>
>
> > I find this an interesting topic...
> >
> > One thing that we've found when looking for additional PHP
> programmers to
> > add is that since PHP has exploded there are a lot of people out there
> > coding in PHP that don't have a background in programming or some of the
> > design considerations. We've looked at various places from
> techies.com to
> > guru.com and haven't found that many PHP gurus out there. So in terms of
> > skill level, what do you all see the going rate? I know I'm currently
> > underpaid at $25/hour and I do ALL the PHP programming, project
> management,
> > engineering, database theory etc...oh...and did I mention I do all the
> > network support too? (I'm taking my CCNA in June...) so yeah...we're a
> > starup what did you expect?! =)
> >
> > Comments?
> >
> > Disclaimer: I don't mean to offend anyone out there who codes
> in PHP. But
> > from the experience that I've had trying to find someone who can really
> code
> > clean, effecient stuff that plugs into the whole picture has been
> virtually
> > non-existent...(if you do, please call! We have a few openings!)
> >
> > Thanks,
> > -Jonathan Sharp
> >
> > Director of Technology - Imprev Inc.
> > Renwick Development Group - Flyerware
> > http://www.flyerware.com/
> > Phone: (425)688-9200
> > Cell: (425)766-1398
> >
> > -----Original Message-----
> > From: Philip Olson [mailto:[EMAIL PROTECTED]]
> > Sent: Wednesday, January 31, 2001 5:40 PM
> > To: Shane McBride
> > Cc: [EMAIL PROTECTED]
> > Subject: Re: [PHP] Pricing for PHP programming???
> >
> >
> >
> > Hey Shane,
> >
> > This is a tricky issue, here's me (USD):
> >
> >   $60/hr
> >   $30/hr if end result becomes open sourced (no strings)
> >
> > General discounts for features such as : fun,true non-profit,intelligent
> > employer,learning curve and it all lives on a sliding scale depending on
> > their ability to pay and my desire for work/money (time).  Also, barter
> > is usually an option.  Usually hovers between 30-50 and one day
> this will
> > go up :-)  This is the most difficult part of the job, time estimates
> > and pricing.  Bah.  "Just give me money and I'll do stuff."
> >
> > Regards,
> >
> > Philip Olson
> > http://www.cornado.com/
> >
> >
> > > On Wed, Jan 31, 2001 at 03:25:27PM -0500, Shane McBride wrote:
> > > I know this is not really a PHP question, but it should make
> for a good
> > > thread. :)
> > >
> > > I was wondering what other PHP people charge to write PHP? I have just
> > > been given a project for a fairly large customer, much larger than I
> > > normally do work for. So I am VERY confused.concerned about
> how to price
> > > it. Most of my other PHP projects have been done for small
> single owners
> > > businesses, and the PHP has been pretty basic.
> > >
> > > Now that I can actually do what I am being asked without have to learn
> > > it, I am stuck. I did a shopping cart for someone, but I didn't charge
> > > them a REAL price because I didn't know how to do it with
> PHP. So, I of
> > > course didn't charge the client for my learning curve.
> > >
> > > I know the price is very dependant upon the task. What I am doing is
> > > creating a web-based front-end for a MySQL database. I'll
> need to create
> > > the database tables, etc. The front-end is going to be rather dynamic
> > > since the data content depends largely on the previous choices of the
> > > end-user. One or two tables with 20-30 fields. 5-6 pages of html and
> > > PHP.
> > >
> > > I'm just scouting this out, and am VERY confident with the
> contributors
> > > to this list and their opinions.
> > >
> > > TIA,
> > > Shane
> >
> >
> > --
> > 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]
>
>
>
>






I have an engineering background with 10yrs consulting experience and have seen many 
different type of fee structures (fixed project rate, hourly, percentage, profit-share 
etc.)

The typical formula for determining rate is 2-3 times salary. The multiplier covers 
G&A + a little profit margin.

For example, a salaried employee getting $25/hr is equivalent to a consultant charging 
$50-75 or more an hour.  

There is a BIG difference between consultant, contract and employee::

- A true consultant is self sufficient, independant of the client and bears their own 
infrastructure costs (phone, office space/rent, software, computers & equipment, 
invoicing accounting, training etc.);

- Employee gets paid regardless;
- Employees are entitled to holidays, benifits and possibly overtime;
- Employees get training on paid company time;
- Employee assumes little or no liability for their actions (very important 
difference);
- Employee doesn't have to worry about all the "other" stuff.

- Contract is somewhere between consultant and employee (big grey area here).


Regards,

        - Scott








There is no fixed rate or specific formula, it all depends on the marketplace and 
proficiency.






> > This thread has really fired up my desire to go the states.... US$80
> > an hour for php.... daaaaaaaaaaaamn, that's a shitload more than I
> > make here, which is more like US$20/hr
> 
> Remember though, if you're on a salary you'll get less an hour for
> ANYTHING (not just PHP) but it'll at least be consistent...
> 
> Jason
> 
> --
> 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]
> 
> 


--
--------------------------------------
   Scott A. Gerhardt  P.Geo.
   Gerhardt Information Technologies
   [EMAIL PROTECTED]
--------------------------------------





Shane McBride wrote:
> 
> I know this is not really a PHP question, but it should make for a good thread. :)
> 
> I was wondering what other PHP people charge to write PHP? I have just been given a 
>project for a fairly large customer, much larger than I normally do work for. So I am 
>VERY confused.concerned about how to price it. Most of my other PHP projects have 
>been done for small single owners businesses, and the PHP has been pretty basic.
> 
> Now that I can actually do what I am being asked without have to learn it, I am 
>stuck. I did a shopping cart for someone, but I didn't charge them a REAL price 
>because I didn't know how to do it with PHP. So, I of course didn't charge the client 
>for my learning curve.
> 
> I know the price is very dependant upon the task. What I am doing is creating a 
>web-based front-end for a MySQL database. I'll need to create the database tables, 
>etc. The front-end is going to be rather dynamic since the data content depends 
>largely on the previous choices of the end-user. One or two tables with 20-30 fields. 
>5-6 pages of html and PHP.
> 
> I'm just scouting this out, and am VERY confident with the contributors to this list 
>and their opinions.
> 
> TIA,
> Shane

Just an observation from some people I know in the USA - they charge
whatever they can get away with.
How about honestly charging what you think you are worth ? 
Knowing how to use php means nothing - but if you know it well you will
be worth a lot.




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




nah, it's not that they want me to, it's that they don't believe i can :)
although my present employer is rather happy that i can draw and
code, he saves a salary that way ;-)

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: "Robin Vickery" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, February 01, 2001 3:43 AM
Subject: Re: [PHP] Pricing for PHP programming???


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





Is there a simple way to format a variable into an appropriate financial 
string...

5.0
5.4
4.346

I'd like all of the above to format as $XXX.XX


_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com





number_format($number,2);

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: "[ rswfire ]" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, February 01, 2001 12:33 PM
Subject: [PHP] Formatting/Financial


> Is there a simple way to format a variable into an appropriate financial 
> string...
> 
> 5.0
> 5.4
> 4.346
> 
> I'd like all of the above to format as $XXX.XX
> 
> 
> _________________________________________________________________
> Get your FREE download of MSN Explorer at http://explorer.msn.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]
> 





Hello, [!

Thursday, February 01, 2001, 06:33:53, you wrote:

r> Is there a simple way to format a variable into an appropriate financial 
r> string...
r> I'd like all of the above to format as $XXX.XX

   try to use
   
   $value = 5.0;
   $sval = sprintf("$%003.2f",$value);

   $sval will contain formatted value.


Best regards!
Andrew Golovin
PGP Fingertip 24FD A0CD 667C 1FC7 C2F7  A2EA 9742 D484 FD3C 598D
http://exper.ural.ru/ 






UltraDev Gang-

        I am working on getting support for PHP4 into Ultradev 4. I have some
working code that implements about 1/2 of UD's feature set in PHP (on
Windows). Ideally I'd like to see a server model for UD that fully supports
PHP. If you want to take a look at release 0.01, the link is at:

http://www.geocities.com/php4ud

There is also a reference panel for PHP in the queue at the Macromedia
Exchange. When it gets reviewed and placed on the exchange, I will post a
message here.

        "So how can I help?" I am so glad you asked. :) If you have any ideas on
how better to implement the generated code that fits with MM's basic design,
let me know. I am trying to make the conneciton stuff for with any db, not
just Mysql, so if you have any ideas or sample code, let me know. Also there
is a whole set of things left to implement on the web site, feel free to
tackle one of those. You can reach me at [EMAIL PROTECTED]

Happy coding!

Dan


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com





HI... I always have to work with databases in .txt file. But its very
slow... To find something in the text, i use exec(grep...)... to get all
the text i work with .. while(!eof)... Anyone know how to optimize this
search and how to optimize all the database use using .txt files?

Sorry for the english... I'm from Brazil...
Tks..

Scratch






Bom dia Vinicius:

Yo nao falo o portugues muito bem ... sabes espanol?

Si no puedes usar un database SQL, porque no pruebas un database DBA que
es un database 'flat file' mas o menos como un '.txt file' ... entonces
podrias tratar del data con los funciones DBA de PHP que seguramente son
mas faciles.

Busca mas informacion sobre DBA en el manual de PHP.

Mick

On Thu, 1 Feb 2001, Vinicius Garcia wrote:

> HI... I always have to work with databases in .txt file. But its very
> slow... To find something in the text, i use exec(grep...)... to get all
> the text i work with .. while(!eof)... Anyone know how to optimize this
> search and how to optimize all the database use using .txt files?
> 
> Sorry for the english... I'm from Brazil...
> Tks..
> 
> 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]
> 
> 





I recently downloaded the ArGoSoft mail server that
someone on this list once suggested when trying to use
the mail command on a window's system running php.

I have since installed it and it works fine, except
for the fact that my isp blocks connections to port 25
that will relay email to other servers. Tech support
says I can do it using any other port tho.

Is there a way to re-write the mail() function to do
this? Or does the port specs rest solely with the mail
server (which cannot be configured on which port to
send to)?

Help appreciated, suggestions welcome, better server
software links honored, and yes i did read the manual
on mail().

thank you

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




Hello

Is there a 'redo' loop control function?  All I can find are 'break' and 
'continue'.

Thanks

Lux





I am not sure whether this is related to PHP.  I'm using PHP and
Javascript to do my program.
I have some problem with my reloading parent window.

In my program, I have a delete button which will pop up a child window
once the user clicked the button.  In the child window will have two
option of delete buttons.
Once the user clicked either one button, i want the child window to be
close and at the same time the parent window will reload.  How should I
do this.
Please give some advise or tips to me.

thanks.




I have been working on a script and come to a brick wall which I can't break...

I am using Suse Linux 2.2 kernel, PHP4.04pl1 Mysql 3.22  Mod_ssl open_ssl - this is
running on an old 486 with 16Meg RAM.

I have a session object variable ($Items) which has as one of its elements 
($LineItems) an
array of objects each containing the order line details. This script is to insert the
records to process a dispatch into an invoice.
I lock (all the tables I need to lock) before going into a loop through all the
$Items->LineItems and then a whole raft of SQL inserts and updates using the same $SQL
variable to hold the SQL and $Result variable to hold the result in each case.

The problem is that I get a parser error when the sript within the foreach
($Items->LineItems as OrderLine) loop
 gets too big when I remove the last block of code the pasrser error which was 
occurring
at a line before the deleted code dissappears and the script works (as far as it goes).
Add in a few more lines within the loop and the parser error comes back but further up 
in
the code that was previously working ok - and has not been changed!!

The script is not huge line 343 -  385 is where the parser is falling over .

Has any one hit this snag. I can post the script if this pricks anyones interest!

TIA
Phil Daintree






Phil,

posting the scrpit would be good, it's hard to say anything without
having seen it.

Ben

Phil Daintree wrote:
> 
> I have been working on a script and come to a brick wall which I can't break...
> 
> I am using Suse Linux 2.2 kernel, PHP4.04pl1 Mysql 3.22  Mod_ssl open_ssl - this is
> running on an old 486 with 16Meg RAM.
> 
> I have a session object variable ($Items) which has as one of its elements 
>($LineItems) an
> array of objects each containing the order line details. This script is to insert the
> records to process a dispatch into an invoice.
> I lock (all the tables I need to lock) before going into a loop through all the
> $Items->LineItems and then a whole raft of SQL inserts and updates using the same 
>$SQL
> variable to hold the SQL and $Result variable to hold the result in each case.
> 
> The problem is that I get a parser error when the sript within the foreach
> ($Items->LineItems as OrderLine) loop
>  gets too big when I remove the last block of code the pasrser error which was 
>occurring
> at a line before the deleted code dissappears and the script works (as far as it 
>goes).
> Add in a few more lines within the loop and the parser error comes back but further 
>up in
> the code that was previously working ok - and has not been changed!!
> 
> The script is not huge line 343 -  385 is where the parser is falling over .
> 
> Has any one hit this snag. I can post the script if this pricks anyones interest!
> 
> TIA
> Phil Daintree
> 
> --
> 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]




Folks,
The title is my question, how do I assign strign value into variables? Say , is the 
syntax below correct?

if ($singleRooms==1) {
     $roomType ='Single Room';
}elseif ($singleRooms==2) {
    $roomType ='Double Room';
}else{
   $roomType='Room Type not declared';
  }
Jack
[EMAIL PROTECTED]
"There is nothing more rewarding than reaching the goal you set for yourself"




On Fri,  2 Feb 2001 04:03, [EMAIL PROTECTED] wrote:

> > Folks,
> The title is my question, how do I assign strign value into variables?
> Say , is the syntax below correct?
>
> if ($singleRooms==1) {
>      $roomType ='Single Room';
> }elseif ($singleRooms==2) {
>     
> }else{
>    $roomType='Room Type not declared';
>   }

Yup, the = is the assignment operator. You might like to take a look at 
manual/en/language.operators.php at your favourite mirror for more 
information on the various operators.

You could also do the above with a switch statement.

switch($singlerooms) {
case 1:
 $roomType ='Single Room';
 break;
case 2:
 $roomType ='Double Room';
 break;
......
}

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




> Does anyone have a function that tells you weather a variable holds a valid
> e-mail address or not?

It depends on what you mean by "valid email address".  For example, I can
enter "[EMAIL PROTECTED]" which looks valid, but doesn't exist.  You can
take things a step further and lookup the domain and make sure it
exists.  Even then, I can enter "[EMAIL PROTECTED]" which will pass the
lookup check.  You can go even further and send me an email message with a
"key" which I must enter in order to prove that the email address I gave
is valid.  Even so, it is easy to create a throw-away account at hotmail
or another free email provider.

Anyway, there is a class on phpclasses.upperdesign.com that does a good
job of checking an address.


Regards,

Sean Cazzell







Does anyone have, or know of a script which simulates what Apache gives out 
when it shows the entire contents of a directory ?

I find it very handy to use the directory listing of say graphics 
directories and the like, but I dont want others looking into them.

What I thought would be a good system is to have an index.php file which 
asks for a password. If the password is accepted, it shoots them off to a 
php script which displays the contents of the DIR just as apache would.

This way I can bar viewing of the directories contents, only viewable to 
the owners of the password.


Ive seen a couple of scripts which claim to show the directory listing, but 
none of them seem to work any good with a decent layout and amount of file 
info. So im looking for a script which can display the listing properly. 
Does one exist, or am I just relieving myself into the wind ?


Thanks

Chris

--
       Chris Aitken - Webmaster/Database Designer - IDEAL Internet
email: [EMAIL PROTECTED]  phone: +61 2 4628 8888  fax: +61 2 4628 8890
             --------------------------------------------

       Unix -- because a computer's a terrible thing to waste!





haven't seen one, but it'd take 10 minutes to write. if i had a php install
here at work I'd do it for you :)

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: "Chris Aitken" <[EMAIL PROTECTED]>
To: "PHP User Group" <[EMAIL PROTECTED]>
Sent: Thursday, February 01, 2001 4:03 PM
Subject: Re: [PHP] E-mail valid


>
>
> Does anyone have, or know of a script which simulates what Apache gives
out
> when it shows the entire contents of a directory ?
>
> I find it very handy to use the directory listing of say graphics
> directories and the like, but I dont want others looking into them.
>
> What I thought would be a good system is to have an index.php file which
> asks for a password. If the password is accepted, it shoots them off to a
> php script which displays the contents of the DIR just as apache would.
>
> This way I can bar viewing of the directories contents, only viewable to
> the owners of the password.
>
>
> Ive seen a couple of scripts which claim to show the directory listing,
but
> none of them seem to work any good with a decent layout and amount of file
> info. So im looking for a script which can display the listing properly.
> Does one exist, or am I just relieving myself into the wind ?
>
>
> Thanks
>
> Chris
>
> --
>        Chris Aitken - Webmaster/Database Designer - IDEAL Internet
> email: [EMAIL PROTECTED]  phone: +61 2 4628 8888  fax: +61 2 4628 8890
>              --------------------------------------------
>
>        Unix -- because a computer's a terrible thing to waste!
>
>
> --
> 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]
>







(Damn I hate it when I forget to change the subject)


Does anyone have, or know of a script which simulates what Apache gives out 
when it shows the entire contents of a directory ?

I find it very handy to use the directory listing of say graphics 
directories and the like, but I dont want others looking into them.

What I thought would be a good system is to have an index.php file which 
asks for a password. If the password is accepted, it shoots them off to a 
php script which displays the contents of the DIR just as apache would.

This way I can bar viewing of the directories contents, only viewable to 
the owners of the password.


Ive seen a couple of scripts which claim to show the directory listing, but 
none of them seem to work any good with a decent layout and amount of file 
info. So im looking for a script which can display the listing properly. 
Does one exist, or am I just relieving myself into the wind ?


Thanks

Chris

--
       Chris Aitken - Webmaster/Database Designer - IDEAL Internet
email: [EMAIL PROTECTED]  phone: +61 2 4628 8888  fax: +61 2 4628 8890
             --------------------------------------------

       Unix -- because a computer's a terrible thing to waste!





You might like to try WebExplorer, may do what you want.
http://suneworld.com/programs/

hth
Regards
Andrew Braund

> -----Original Message-----
> From: Chris Aitken [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, 1 February 2001 15:35
> To: PHP User Group
> Subject: [PHP] Directory Listing with PHP
> 
> 
> 
> 
> (Damn I hate it when I forget to change the subject)
> 
> 
> Does anyone have, or know of a script which simulates what Apache gives out 
> when it shows the entire contents of a directory ?
> 
> I find it very handy to use the directory listing of say graphics 
> directories and the like, but I dont want others looking into them.
> 
> What I thought would be a good system is to have an index.php file which 
> asks for a password. If the password is accepted, it shoots them off to a 
> php script which displays the contents of the DIR just as apache would.
> 
> This way I can bar viewing of the directories contents, only viewable to 
> the owners of the password.
> 
> 
> Ive seen a couple of scripts which claim to show the directory listing, but 
> none of them seem to work any good with a decent layout and amount of file 
> info. So im looking for a script which can display the listing properly. 
> Does one exist, or am I just relieving myself into the wind ?
> 
> 
> Thanks
> 
> Chris
> 
> --
>        Chris Aitken - Webmaster/Database Designer - IDEAL Internet
> email: [EMAIL PROTECTED]  phone: +61 2 4628 8888  fax: +61 2 4628 8890
>              --------------------------------------------
> 
>        Unix -- because a computer's a terrible thing to waste!





To connect to an AS400, you MUST HAVE THE DRDA package installed.
Then you just run the Unified ODBC as usual (which still don't use ODBC but
translate to DB2 CLI under the covers.)

Look for the DRDA stuff in the DB2 Connect area/CD-ROM.

There's stuff on phpbuilder.com about it too.

-Szii


At 01:33 PM 1/31/2001 -0500, Conover, Ryan wrote:
>I was wondering if anyone as successfully pulled info from a DB2 Database on
>As400. My enviroment is
>Win2K server/php4.0.4/ZendOptimizer/IIS5. I was wondering how I could
>directly query the AS400. Or would it be wiser to pull the info from the
>AS400 into MSSQL Server.  I was wondering how I would do either of these
>options.
>
>
>Ryan Conover
>
>-- 
>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]
>





Hi,

Im rather a novice at PHP, so I appologize if this question is rather
basic.  Also, to be sure, I have looked through the PHP site and archives
for answers to this question with no luck.  Sorry if it is repetative.

I am writing a script that will send me an email every time a 404 error is
returned for an http request.  So far I have the script working so that it
will email me and inform me of the URL of the page that has the offending
link by using the HTTP_REFERER environment variable.  I would also like to
find out what the requested page URL is.  I have checked phpinfo() for
info on other Apache enviro variables, but can't seem to find anything
that would work.  How can I do this?  Is it possible?

Thank you,

Michael






> I am writing a script that will send me an email every time a 404 
> error is returned for an http request.  So far I have the script 
> working so that it will email me and inform me of the URL of the 
> page that has the offending link by using the HTTP_REFERER environment 
> variable.  I would also like to find out what the requested page URL is. 
> I have checked phpinfo() for info on other Apache enviro variables, 
> but can't seem to find anything that would work. How can I do this? 
> Is it possible?

Sure - $REQUEST_URI is what you're looking for.

Example of its use: http://www.inww.com/typesomecrapinhere :)

Jason




HI, 

I am a new user of php, i will use it to develop a web site which need to connect to 
MSSQL, could any one tell me about what about the common issues i have to take care 
such as performance, memory leak and database connection, etc?

Regards,
Chris Choy
EZ-Finance (Brightex) Limited






 Maxim Maletsky
 Founder, Chief Developer

 PHPBeginner.com (Where PHP Begins)
 [EMAIL PROTECTED]
 www.phpbeginner.com





Thank you very much, I will look forward to this. This may be just what I
was looking for, a complete beginner's tutorial for PHP. Congrats and good
luck with the opening night.

Sincerely,
        Navid

-----Original Message-----
From: PHPBeginner.com [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 01, 2001 2:31 AM
To: PHP
Subject: [PHP] RE: test ... please ignore ...




 Maxim Maletsky
 Founder, Chief Developer

 PHPBeginner.com (Where PHP Begins)
 [EMAIL PROTECTED]
 www.phpbeginner.com






Thanks for you sweet words!

did not expect, though ...

We were about to open PHPBeginner.com today, but our local test servers went
to hell once we upgraded them to PHP4.0.4. Not because there's a bug or
something, but because of configurations.

We are still testing the site, and will open it , as says on the FrontPage
in 10 days. On February 11-th..

Cheers,
Maxim Maletsky

-----Original Message-----
From: Navid [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 01, 2001 6:02 PM
To: 'PHPBeginner.com'; 'PHP'
Subject: RE: [PHP] RE: test ... please ignore ...


Thank you very much, I will look forward to this. This may be just what I
was looking for, a complete beginner's tutorial for PHP. Congrats and good
luck with the opening night.

Sincerely,
        Navid

-----Original Message-----
From: PHPBeginner.com [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 01, 2001 2:31 AM
To: PHP
Subject: [PHP] RE: test ... please ignore ...




 Maxim Maletsky
 Founder, Chief Developer

 PHPBeginner.com (Where PHP Begins)
 [EMAIL PROTECTED]
 www.phpbeginner.com








Hello together,

if you currently use sessions and register objects inside of a session
it is necessary to include the class definition of such object in every
php page to be able to access the contents of such object.

This is problematic if you have a system where the main php page does
not know everything about the functions it is using. 

For example we have a lot of functions that do some specific tasks and
require to store an object inside the session. However, the main php
page (where the session_start() is in) doesn't know anything about it.

On the next page our function is only able to access the data that was
inside the object und the name of the class that is used by the object. 

So, theoretically it would be possible to load the class definition now
and make the object useable. 

Is there any mechanism we can use to take the, now existing, class
definition and the incomplete PHP Object to create a real, useable PHP
Object?


-- 
Till soon,
     Thomas Stinner
billiton internet services GmbH




Hello guys,

I have the following problem:

in my PHP.ini (which stays under c:\WINNT) I have

include_path    = "P:\includes; "                  ; UNIX: "/path1:/path2"
Windows: "\path1;\path2"
doc_root                =                                       ; the root of the php 
pages, used only if nonempty

under "P:\includes" are PHPLIB and some few scripts that I need to
auto_prepend under all the roots on my local server.



PHPLIB is being included properly, but, if I try to include a file within a
current directory like:

include ("header.inc");

I get the following error:

Warning: Failed opening 'header.inc' for inclusion
(include_path='P:\includes; ') in p:\phpbeginner\index.html on line 17

(NOTE: include ("$DOCUMENT_ROOT/header.inc"); will work perfectly )

I know that on Linux to fix the problem would be enough to add something
like this into PHP.INI

include_path    = ".: /full/path/to/includes: "                  ; UNIX:
"/path1:/path2"  Windows: "\path1;\path2"

How do I do this under Win2K ?

Anyone had this problem before?

Cheers,

 Maxim Maletsky
 Founder, Chief Developer

 PHPBeginner.com (Where PHP Begins)
 [EMAIL PROTECTED]
 www.phpbeginner.com






Hi all,

has anyone seen mailing list archiving software with a php frontend?

more detailed:

I am looking for software that sits listening on an email address and
will archive all mail that it receives (which in this case would be that
of a mailing list).

The archive should be accessible by a php interface.

I guess there must be some off-the-shelf solution to this (or at least
each of the components separately), but I have not seen it.

Thanks for your help,

Ben




Can anyone explain in detail how I can increase the upload_max_filesize to 5 meg 
instead of the default 2 meg?

Thanks,

    David




Sorry, that isn't very detailed but I appreciate your help. Where can I find
php.ini?


----- Original Message -----
From: Jonatan Bagge <[EMAIL PROTECTED]>
To: David Smith <[EMAIL PROTECTED]>
Sent: Thursday, February 01, 2001 6:41 AM
Subject: Re: [PHP] upload_max_filesize


> David Smith wrote:
>
> > Can anyone explain in detail how I can increase the upload_max_filesize
to 5 meg instead of the default 2 meg?
> >
> > Thanks,
> >
> >     David
>
> php.ini
>





Hello!

I wonder if anyone can tell me how I can use an another image as an
background in a new image?

David






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

$filename="http://195.92.38.87/cgi-win/homeview.dll?details1?src=1050&Proper
tyCode=1050003/SAPHI/14665/3";
$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




Reply via email to