I have been asked to look in toprogramming a PHP system for someone, and
while I have been programming for a while this will be the first time
it will be for someone other then a friend. Just wanted to get some
ideas on how much you charge for program PHP/Mysql. Any ideas on how
to charge would be
timothy johnson wrote:
I have been asked to look in toprogramming a PHP system for someone, and
while I have been programming for a while this will be the first time
it will be for someone other then a friend. Just wanted to get some
ideas on how much you charge for program PHP/Mysql. Any ideas
Jasper Bryant-Greene wrote:
timothy johnson wrote:
I have been asked to look in toprogramming a PHP system for someone, and
while I have been programming for a while this will be the first time
it will be for someone other then a friend. Just wanted to get some
ideas on how much you charge
Evert | Rooftop wrote:
Jasper Bryant-Greene wrote:
I'm in New Zealand and charge NZ$50/hour as a base rate for PHP web
development. I don't know what that is in your currency, try
www.xe.com/ucc to find out.
That's almost probably as cheap as india.
True, but markets are different in
Jasper Bryant-Greene wrote:
Evert | Rooftop wrote:
Jasper Bryant-Greene wrote:
I'm in New Zealand and charge NZ$50/hour as a base rate for PHP web
development. I don't know what that is in your currency, try
www.xe.com/ucc to find out.
That's almost probably as cheap as india.
True,
On Thu, Jul 21, 2005 at 11:22:25AM +0530, balwant singh wrote:
Have anybody tried PHP AJAX, may please share your experience. also
pls. suggest good link of tutorial on this.
I haven't tried it myself, but this looks rather good, article on how to
implement Google Suggest in PHP:
Yeah, AJAX is really going to change the way web applications are made...
I've messed around with the tutorials with it...
I've also seen it referred to as XMLHttpRequest .. I think the AJAX class
transforms your PHP functions into javascript... seems like the class is
just made to for people
Sebastian Mendel wrote:
Hi,
how can i check if a method is called statically when called from inside
another object? (without debug_bactrace())
class foo
{
function bar()
{
if ( isset( $this ) )
{
return 'not static';
}
return
Is there any way for me to use php to make my windows xp pc connect to
the internet, either by starting the windows dialer or by some other
means? The windows machine uses a standard 56k dialup to connect to the
internet.
Thanks
Steve
--
PHP General Mailing List (http://www.php.net/)
To
timothy johnson wrote:
I have been asked to look in toprogramming a PHP system for someone, and
while I have been programming for a while this will be the first time
it will be for someone other then a friend. Just wanted to get some
ideas on how much you charge for program PHP/Mysql. Any
Hi
It may posible with .Net and COM functions, I think.
see : http://www.php.net/manual/en/ref.com.php
Best Regards
-Cafer
Prş, 2005-07-21 tarihinde 12:10 +0200 saatinde, Steven yazdı:
Is there any way for me to use php to make my windows xp pc connect to
the internet, either by starting
On Thu, 2005-07-21 at 12:10 +0200, Steven wrote:
Is there any way for me to use php to make my windows xp pc connect to
the internet, either by starting the windows dialer or by some other
means? The windows machine uses a standard 56k dialup to connect to the
internet.
Thanks
Steve
On 20 July 2005 23:40, Surendra Singhi wrote:
Hello,
(1)
When I try this code:
?php
$var_global = stuff;
function f1() {
global $var_global;
This is equivalent to creating a $var_global which is local to the function,
and making it be a reference to the global
On Thu, 2005-07-21 at 12:10 +0200, Steven wrote:
Is there any way for me to use php to make my windows xp pc connect to
the internet, either by starting the windows dialer or by some other
means? The windows machine uses a standard 56k dialup to connect to the
internet.
Thanks
Steve
Steven wrote:
Is there any way for me to use php to make my windows xp pc connect to
the internet, either by starting the windows dialer or by some other
means? The windows machine uses a standard 56k dialup to connect to
the internet.
Thanks
Steve
If you have your machine already set-up
Hello Mark
An alternative (and more user-friendly) approach is to have the form's
action as itself (i.e. the form on contact.php submits to contact.php). You
can then identify which fields are incomplete and highlight them in the
form. This will make it easier for users to see what they have done
Christopher J. Umina wrote:
I currently have a script which streams data out of a MySQL database,
and prints the content headers correctly, however, when I use the
following line:
header(Content-Disposition: attachment; filename=\. $filename .\);
it prompts the user to download the file each
I'm creating a psuedo mail/message app for users to send messages to
one another. For this, I've created a parent class,
class.members.php, and an extended class, class.mail.php. The problem
I'm having is when I make page which calls the classes members and
memberMail creates an infite loop;
We had a webcast on PHP and Ajax a while back--the recordings are still
available for free at http://blogs.phparch.com/mt/index.php?p=49.
Also you may want to try looking for Ajax here: http://beeblex.com/ajax
(it's a new search engine I just put online, so I thought I'd take the
opportunity for
Whenever I switch the encoding of a page to
UTF-8, the characters ñ, ë, ì, û, á, etc.,
automatically changes to question marks. I've
originally set the encoding of a page to ISO-8859-1 using header () function.
header ('Content-Type: text/html; charset=ISO-8859-1');
Does anybody know how to
Started playing with it about two months and have now integrated it
into my project. Makes things a lot easier and much more dynamic. No
more round trips to the server just to mark an action as completed or
other simple things that normally required a refresh. You can do
dynamic lookups
On 7/21/05 8:32 AM, Regine Velasquez [EMAIL PROTECTED] wrote:
Whenever I switch the encoding of a page to
UTF-8, the characters ñ, ë, ì, û, á, etc.,
automatically changes to question marks. I've
originally set the encoding of a page to ISO-8859-1 using header () function.
header
Jasper,
I would have thought php would have called the destructors on each of the
classes in a LIFO fashion, but if it doesn't, just use unset() as a
workaround, where you can remove the classes in the order you want.
C.
-Original Message-
From: Jasper Bryant-Greene [mailto:[EMAIL
Please help,
I need the body of this email to be sent as HTML and have the attachment go
with it (a pdf from my HD) but it doesn't want to send.
R.
?php
include ('connect.php');
global $mail_to, $mail_cc, $mail_bcc, $mail_from,
Hi
I have a page which generates 'edit' links (used to edit user details). The
code snippet on the 'list_user.php' page is;
---
$print_rows .=tr class=\stdtablecells\ \n.
td{$details['name']}/td \n.
td{$details['mail']}/td
Hi
I have a page which generates 'edit' links (used to edit user details). The
code snippet on the 'list_user.php' page is;
---
$print_rows .=tr class=\stdtablecells\ \n.
td{$details['name']}/td \n.
td{$details['mail']}/td
I've been tinkering with AJAX for a few weeks now. I've used it in a
simple user registration system form. Instead of submitting a desired
username and waiting for a round trip to the server to verify that
the username is not already in use, I used AJAX to perform the DB
query in the
Try http://phpmailer.sourceforge.net/
Works awesomelly great. I've been using it for quite some time now, and
I don't want to look at mail() again :)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Im using mysql with PHP4, whats the best way to insert as many as 20
records at one time from a form?
Currently im just assigning each one a variable but that is messy and
takes ages, is their a way to loop over the array of form data then
maybe do the same to enter it into a database?
Im using mysql with PHP4, whats the best way to insert as many as 20
records at one time from a form?
Currently im just assigning each one a variable but that is messy and
takes ages, is their a way to loop over the array of form data then
maybe do the same to enter it into a database?
Cookies will not become visible until the next loading of a page. Assign
the data to a variable at the same time it is assigned to a cookie and call
the variable to make the data visible on the first page.
Cookies must be deleted with the same parameters as they were set with.
Check you new data
Thanks for your reply, your example demonstrates what i was doing but
does that do a MySQL query for every piece of data?
So 20 form values would be 20 db queries, would that not consume a lot
of resources?
Is their another way?
Thanks,
James
Jim Moseby wrote:
Im using mysql with PHP4,
Jim Moseby wrote:
Im using mysql with PHP4, whats the best way to insert as
many as 20
records at one time from a form?
Currently im just assigning each one a variable but that is
messy and
takes ages, is their a way to loop over the array of form data then
maybe do the same to
On Thursday 21 July 2005 15:02, Jim Moseby typed:
As far as I know, there is no way to insert 20 unique rows of data into a
MySQL table without executing 20 queries. Maybe someone else here does(?).
Perhaps drop a note over on the MySQL list, since this is really more an
SQL question than
Hi
You may try sending multiple query with one mysql_query() function call
via seperating by ;.
Regards.
-Cafer
Prş, 2005-07-21 tarihinde 10:02 -0400 saatinde, Jim Moseby yazdı:
Jim Moseby wrote:
Im using mysql with PHP4, whats the best way to insert as
many as 20
records at one
On Thursday 21 July 2005 15:02, Jim Moseby typed:
As far as I know, there is no way to insert 20 unique rows
of data into a
MySQL table without executing 20 queries. Maybe someone
else here does(?).
Perhaps drop a note over on the MySQL list, since this is
really more an
SQL
* JamesBenson [EMAIL PROTECTED] :
Thanks for your reply, your example demonstrates what i was doing but
does that do a MySQL query for every piece of data?
So 20 form values would be 20 db queries, would that not consume a lot
of resources?
Not necessarily. If you use a prepared statement
On Thursday 21 July 2005 15:23, Jim Moseby typed:
Yes, MySQL supports an extended insert syntax of insert into
foo (...) values
(...), (...), (...).
Interesting! Consulting the manual, I see that you are correct. So the OP
would do something like:
$sql=insert into foo values ;
Thanks for all your help, ive got it working as i needed, my db query is
built like this, works but probably not the best way of doing it:-
$sqlStart = INSERT INTO `tester` (;
$sqlMiddle = ) VALUES (;
$sqlEnd = );
$keys = array();
$values = array();
foreach($formData as
I am attaching a PDF document to an email, this part works great, however to
get this to work it prevents the text in the body of the message to be
displayed, what am I doing wrong?
Here is the code:
$filename = confirmation.pdf;
if(!($fp = fopen($filename, r))):
$error =
SOMEONE ANSWERED THIS FOR YOU
I've attached some comments inline.
Ade Smith wrote:
I am attaching a PDF document to an email, this part works great,
however to
get this to work it prevents the text in the body of the message to be
displayed, what am I doing wrong? Here is the code
Unfortunately their suggestion did not work.
-Original Message-
From: Jay Blanchard [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 21, 2005 11:28 AM
To: PHP - General
Subject: RE: [PHP] Attaching a pdf in email (no body text displays)
SOMEONE ANSWERED THIS FOR YOU
I've attached
[snip]
Unfortunately their suggestion did not work.
[/snip]
Then, instead of just reposting your original message, let us know that
it didn't work.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
[snip]
Then, instead of just reposting your original message, let us know that
it didn't work.
[/snip]
Forgot to say that there is a tutorial on http://www.zend.com by
Coggershall telling how to do e-mail with attachements.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe,
cant u use the exec() function to call system commands...
Steven wrote:
Is there any way for me to use php to make my windows xp pc connect to
the internet, either by starting the windows dialer or by some other
means? The windows machine uses a standard 56k dialup to connect to
the
I wrote this question then found out where the problem was, so this
is just for the archives...
==
I've compiled PHP 5.0.4 successfully on OS X 10.4.2, but I'm getting
a weird problem with iconv. I specified it in my configure line:
--with-iconv
and it seems to pick it up ok
Ford, Mike [EMAIL PROTECTED] writes:
On 20 July 2005 23:40, Surendra Singhi wrote:
Thanks, for explaining it.
(1)
When I try this code:
?php
$var_global = stuff;
function f1() {
global $var_global;
This is equivalent to creating a $var_global which is local to the
I have been asked to look in toprogramming a PHP system for someone, and
while I have been programming for a while this will be the first time
it will be for someone other then a friend. Just wanted to get some
ideas on how much you charge for program PHP/Mysql. Any ideas on how
to charge would
Personally I use the MimeMail class, that works a treat,
http://www.phpguru.org/static/mime.mail.html
Their are two versions, one php4 one php5, or install via pear.
JB
Ade Smith wrote:
I am attaching a PDF document to an email, this part works great, however to
get this to work it
Ade Smith wrote:
I am attaching a PDF document to an email, this part works great, however to
get this to work it prevents the text in the body of the message to be
displayed, what am I doing wrong?
Here is the code:
$filename = confirmation.pdf;
if(!($fp = fopen($filename, r))):
sorry, i think i misunderstood his problem. I didn't get the replies to
his original post until after I sent mine
jzf
Joseph wrote:
Ade Smith wrote:
I am attaching a PDF document to an email, this part works great,
however to
get this to work it prevents the text in the body of the
Heya guys,
I've ran into a problem that I just can't seem to get around. Basically I am
storing file contents in a compressed format (gzcompress -at 9) in my
database -- why -- basically to affect a search of said content using
keywords retrieved via an input source (it could be any, doesn't
Hi, ive got two hard questions for you guys.
1. I'm trying to load an extension dynamically using DL():
if(!extension_loaded('gtk')){ dl('php_gtk.'.PHP_SHLIB_SUFFIX); }
The problem with this is that i can't load the extension correctly since
the software is running from a USBKEY.
Still playing around.. if I remove the gzuncompress function.. it works
perfectly. hmm.. it looks something like this
$resultRecords = 2-dimensional set of associative records from database
query (i use the pear db class)
foreach ($resultRecords as $record)
{
$fileContent = gzuncompress
Sean Coates wrote:
how can i check if a method is called statically when called from inside
another object? (without debug_bactrace())
plug
type=ownhttp://blog.phpdoc.info/archives/4-Schizophrenic-Methods.html/plug
Short answer:
$isStatic = !(isset($this) get_class($this) ==
Ahh I think I got it.. max field size reached
Christian Calloway [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Heya guys,
I've ran into a problem that I just can't seem to get around. Basically I
am storing file contents in a compressed format (gzcompress -at 9) in my
database
Hello, all -
I've been looking around for a function that would tell me if a $value
in a $key=$value array was empty, and I could not find one. So I
decided to make my own. Even if I am re-inventing the wheel, I thought
that the practice might be good for me.
However, my function doesn't
From: Dan Trainor [mailto:[EMAIL PROTECTED]
Hello, all -
I've been looking around for a function that would tell me if a $value
in a $key=$value array was empty, and I could not find one. So I
decided to make my own. Even if I am re-inventing the wheel,
I thought that the practice
Mike Johnson wrote:
From: Dan Trainor [mailto:[EMAIL PROTECTED]
Hello, all -
I've been looking around for a function that would tell me if a $value
in a $key=$value array was empty, and I could not find one. So I
decided to make my own. Even if I am re-inventing the wheel,
I thought that
Hey,
I have a site where I am using session_start() at the beginning of each
page. The session id is passed transparently from the first page but
after that it dissapears from the links and I lose all my session variables.
Is there something elementary I'm missing? This is my first stab at
Dan Trainor wrote:
Mike Johnson wrote:
From: Dan Trainor [mailto:[EMAIL PROTECTED]
Hello, all -
I've been looking around for a function that would tell me if a $value
in a $key=$value array was empty, and I could not find one. So I
decided to make my own. Even if I am re-inventing the
Shaw, Chris - Accenture wrote:
Jasper,
I would have thought php would have called the destructors on each of the
classes in a LIFO fashion, but if it doesn't, just use unset() as a
workaround, where you can remove the classes in the order you want.
I should add that this behaviour seems to
Hi all,
I need to manage some records with dates. mmdd
I'm putting select options breaking the three up in numeric pull
downs. no problem gathering and storing the data in my mysql db as
integers then posting them for existing records etc. i know their is a
datetime datatype but it doesnt
Dan Trainor mailto:[EMAIL PROTECTED]
on Thursday, July 21, 2005 2:03 PM said:
I never see hi even if an array is set as such:
$vars = array(one,two,three,four,five);
That's because your function always returns true. If it finds a missing
value it returns true. If it doesn't find a
Hi guys,
i tried to add curl support to my php-4.3.11, and now with new
php-4.4.0, and i can't finish ./configure.
i run debian woody with some backports (curl and libcurl are one of them).
command line:
./configure --with-apxs=/usr/local/apache/bin/apxs --with-curl
[and other --with]
here is
Chris W. Parker wrote:
Dan Trainor mailto:[EMAIL PROTECTED]
on Thursday, July 21, 2005 2:03 PM said:
I never see hi even if an array is set as such:
$vars = array(one,two,three,four,five);
That's because your function always returns true. If it finds a missing
value it returns
Hi all,
I need to manage some records with dates. mmdd
I'm putting select options breaking the three up in numeric pull
downs. no problem gathering and storing the data in my mysql db as
integers then posting them for existing records etc. i know their is a
datetime datatype but it doesnt
Hi all,
I need to manage some records with dates. mmdd
I'm putting select options breaking the three up in numeric pull
downs. no problem gathering and storing the data in my mysql db as
integers then posting them for existing records etc. i know their is a
datetime datatype but it
The biggest gotcha that I have ran into concerning sessions is this:
If your client's browser is I.E. and the domain is named with
_(underscores), -(dashes), etc. I.E. discards the session and starts a
new one. I don't know if this is fixed under SP2.
Example: a domain name
Hi- how can I find the character postion in a string right before the first
case change? Is there a function out there that already does this? E.g.
passing the string WebApplication to this function would return the number
2. Thanks for any input.
David
--
PHP General Mailing List
Hi- how can I find the character postion in a string right before the first
case change? Is there a function out there that already does this? E.g.
passing the string WebApplication to this function would return the number
2. Thanks for any input.
I can't think of a function that does this,
On Thu, 2005-07-21 at 18:30, Philip Hallstrom wrote:
Hi- how can I find the character postion in a string right before the first
case change? Is there a function out there that already does this? E.g.
passing the string WebApplication to this function would return the number
2. Thanks
That'll work- didn't realize you can compare strings like that in PHP-
thanks guys.
David
-Original Message-
From: Robert Cummings [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 21, 2005 3:38 PM
To: Philip Hallstrom
Cc: David Yee; PHP-General
Subject: Re: [PHP] Detecting case change?
Jim Moseby wrote:
Hi all,
I need to manage some records with dates. mmdd
I'm putting select options breaking the three up in numeric pull
[snip]
For instance, what would you have to do to get the day of the week for a day
66 days prior to the stored date? If your date was stored in a
Hi,
is there a way to have a more torough checking of PHP code before executing?
I can't remember the number of times when I try to read a variable which
hasn't assigned a value yet. This increases as projects are getting
bigger and more files are used.
I know that due it's loosely typed
I find a lot of this AJAX stuff a bit of a hype. Lots of people have
been using similar things long before it became AJAX. And it really
isn't as complicated as a lot of people make it out to be. Here is a
simple example from one of my apps. First the Javascript:
function
thanks all. i just made the changes and its working smooth. i remember
having a bunch of drama trying to use DATE data type...oh well, i just
needed something to get me off my butt haha thanks again
On 7/21/05, Philip Hallstrom [EMAIL PROTECTED] wrote:
Hi all,
I need to manage some records
Markus Fischer wrote:
Hi,
is there a way to have a more torough checking of PHP code before
executing?
I can't remember the number of times when I try to read a variable which
hasn't assigned a value yet. This increases as projects are getting
bigger and more files are used.
I know
Hey Rasmus,
Well said! Thanks for the example to... I am sure I am going to refer to it
more than a few times... The AJAX/XMLHttpRequest was more an ephiphony for
me than anything else Since the only references I have that are related
to PHP or any other server side scripting languages is
I' looking for free PHP/MySQL Affiliate Tracking
[Management] program. Would appreciate any advice/idea
fd.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Thu, July 21, 2005 3:50 pm, Rasmus Lerdorf said:
I find a lot of this AJAX stuff a bit of a hype. Lots of people have
been using similar things long before it became AJAX. And it really
Call me silly, but...
Didn't a LOT of us move a bunch of code to PHP instead of JS because JS
was so
On Thu, July 21, 2005 3:50 pm, Markus Fischer said:
is there a way to have a more torough checking of PHP code before
executing?
Use E_ALL if you aren't already.
Most people aren't because the default is E_ALL ~ E_NOTICE, which is a Big
Mistake for a default, imnsho.
--
Like Music?
On Thu, July 21, 2005 2:21 pm, Programmer said:
The biggest gotcha that I have ran into concerning sessions is this:
If your client's browser is I.E. and the domain is named with
_(underscores), -(dashes), etc. I.E. discards the session and starts a
new one. I don't know if this is fixed
On Thu, July 21, 2005 12:17 pm, Mathieu Dumoulin said:
2. Further more, i can't seem to find a way to know from which path or
drive my usbkey is operating. There is maybe something i missed
somewhere that's why im asking. Anyone ever found something about the
CLI current run path in $_ENV or
On Thu, July 21, 2005 6:52 am, JamesBenson said:
Thanks for your reply, your example demonstrates what i was doing but
does that do a MySQL query for every piece of data?
So 20 form values would be 20 db queries, would that not consume a lot
of resources?
Is their another way?
Test it on
On Thu, July 21, 2005 4:55 am, Chris Shiflett said:
Christopher J. Umina wrote:
I currently have a script which streams data out of a MySQL database,
and prints the content headers correctly, however, when I use the
following line:
header(Content-Disposition: attachment; filename=\.
I now encounter a problem with flow control of my program with PHP. This is
very crucial to the design of a pretty big project. This is what I want to
do in the program:
?php
do_A();
header(Location: .$result_of_do_A);
do_B();
?
Since it takes do_B() quite a while to finish, so I want the
http://ca.php.net/manual/en/function.register-shutdown-function.php
Cheers,
Rob.
On Thu, 2005-07-21 at 23:40, Liang ZHONG wrote:
I now encounter a problem with flow control of my program with PHP. This is
very crucial to the design of a pretty big project. This is what I want to
do in the
On 7/21/05, Tom Cruickshank [EMAIL PROTECTED] wrote:
Hello,
My apologizes in advance if this is the wrong mailing list.
I have a php module in apache which is missing ftp functionality
(--enable-ftp was not used as an argument on compile time). However,
recompiling php at this time does not
On Thu, July 21, 2005 8:40 pm, Liang ZHONG said:
I now encounter a problem with flow control of my program with PHP. This
is
very crucial to the design of a pretty big project. This is what I want to
do in the program:
?php
do_A();
header(Location: .$result_of_do_A);
Depending on the
On Friday 22 July 2005 02:46, Richard Lynch wrote:
If you NEED it to work, JS is simply not the right way to go, even with
today's landscape.
I think that depends on whether you have a closed environment, such as an
intranet, or an open environment like a public web server. In the public
On Wed, July 20, 2005 5:22 pm, John Hinton said:
I don't get it... I have been upping my memory limit for PHP. 32megs
now... and am making calls to a database on a different server. I see
the loads run up on the other server as it cruches the numbers.. and PHP
is in the process of creating a
On Wed, July 20, 2005 3:39 pm, Surendra Singhi said:
Hello,
(1)
When I try this code:
?php
$var_global = stuff;
function f1() {
global $var_global;
$var_local = array(1,2);
$var_global = $var_local;
}
f1();
print_r($var_global);
?
I get the
Hello,
I have a question on how to get Server side system specific
information via PHP, or just general direction on how to parse some
of the information found in /proc
For example, I want to be able to display the system uptime.. number
of users logged in, and load average.
In the
94 matches
Mail list logo