Here are instructions that worked for me, although the PHP compilation tends
to be a bit finicky about which version/type of 'make' you use...
assumes apache_1.3.14.tar is in /var/apache
# cd /var/apache
# tar -xvf apache_1.3.14.tar
# cd apache_1.3.14
# ./configure --prefix=/var/apache
assumes p
Add the FollowSymLinks to your httpd.conf file for that directory. I
don't recommend doing this, tho, since it *is* a security hole.
Options Indexes FollowSymLinks
johnny p.
> -Original Message-
> From: david klein [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, January 31, 20
Your best bet would be to do this in another language such as perl or c
where you can build a multithreaded application to look these up. Along the
same note you can also split the file into a number of parts and run
multiple instances of the same script. Afaik, the only way to decrease the
time
Seems like your theory doesn't stand the reality test :)
This is the script which for some reason works with Netscape but not with IE
(it used to) :
ignore_user_abort(0);
$filename="test.gz";
$file="/home/examples/" . $filename;
header("Content-Disposition: attachment; filename=$filen
Johnny,
It works, but how could this create a security hole? Could you please
expalin a little bit more?
Thanks,
David
>From: "johnny p." <[EMAIL PROTECTED]>
>To: "david klein" <[EMAIL PROTECTED]>, <[EMAIL PROTECTED]>
>Subject: RE: [PHP] Symbolic link fails when User Authentication comes
Hi!
This happens only when I use php as a module:
When I'd like to run a command with exec or system function I got always this message
and the program never executes:
Warning: Unable to fork [the command's name what I'd like to run] in filename on line
XY
What' the matter?
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
Matt, I'm not sure I understand your situation, but here's how
I use sessions:
1. at the start of every PHP script, do "session_start();"
2. after session_start(), for every session variable you
want to register, do "session_register("var_name");"
3. from that point forward, to give th
This is a very good question and deal with it everytime I bid a project.
Rule of thumb:
Ask for what you are worth, if you don't you will wish you did.
I have successfully bid on project with hourly rates ranging from $85 -
$125. The $$$ range changes based on project needs(db work(+$),
e-comme
This works without Zend Optimizer installed, as soon as I turn on Zend I get
'undifined variable'. Why doesn't the @ turn this warning off when Zend
installed?
--
Chris Lee
Mediawaveonline.com
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail:
$3000 - $10,000 cdn month depending on the work. Some projects will take a
month, but can be done while working on three other projects, other require
dedicated time, this is more costly.
The more projects you do the greater your own list of libraries you develop
become, this makees the work easi
Can you connect to the DB with sql plus !!!
-Original Message-
From: kaab kaoutar [mailto:[EMAIL PROTECTED]]
Sent: woensdag 31 januari 2001 13:36
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject:[PHP] Oracle failed to connect
Hi!
I'm using orcale8 and as long a
And don't forget "goo". "foo" and "goo" go together:-)
-Stathis.
Soeren Staun-Pedersen wrote:
>
> > Probably some of you are laughing while reading this :) But I have seen the
> > word "foo" used so many time (in programming) from different resources for
> > different reasons. Has it any meaning
andrei Wed Jan 31 12:46:46 2001 EDT
Modified files:
/CVSROOTgen_acl_file.m4
Log:
More QA folks.
Index: CVSROOT/gen_acl_file.m4
diff -u CVSROOT/gen_acl_file.m4:1.66 CVSROOT/gen_acl_file.m4:1.67
--- CVSROOT/gen_acl_file.m4:1.66Wed Jan 31 06:23:10
He!
It's very simple! When you've a , and want
per example to insert it into the database, use the PHP function nl2br() at
the moment after select and print the data.
So, it will be:
- first insert the $text into the database
- SELECT text FROM XXX et. etc.
- $text = nl2br($text); (PHP inserts
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
eschmid Wed Jan 31 15:35:37 2001 EDT
Modified files:
/php4/ext/mysql php_mysql.c
Log:
Only two lines are allowed here.
Index: php4/ext/mysql/php_mysql.c
diff -u php4/ext/mysql/php_mysql.c:1.67 php4/ext/mysql/php_mysql.c:1.68
--- php4/ext/mysql/php_mysql.c:1
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 s
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 o
Is there a way that when a user signs up for a
user/pass on a site, to automatically update the
.htpasswd on the site? Right now I'm running a Win2k
Pro, with Apache installed and MySQL/PHP.
Thanks,
James
__
Get personalized email addresses fro
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 sayin
by the way,
if ($foo = $bar)
will return true simply if $bar is not null, i think you want
if ($foo == $bar)
thought I'd point that out, cause if you don't know return that nasty
one would probably bite you on the ass next :)
Gfunk - http://www.gfunk007.com/
I sense much bee
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...
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
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:
mysql_db_query($db, "SELECT * FROM table");
while ($row = mysql_fetch_array($result))
{
echo "";
}
This will c
Is there somewhere I can get a list
of all the php functions and a brief
description, instead of the full manual
like a cheat sheet of sorts
Jerry Lake
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
On Wed, 31 Jan 2001, Karl J. Stubsjoen wrote:
> What is the way to exit a function? For example:
>
> function FooBar() {
>
> if ($foo = $bar)
> Exit_this_Function;
>
> ## otherwise execute the rest of this function
> }
Use "return". If you want your function to retu
The way you have it now, ur just storing the path to
the gif. from the form field, use
then in the insert area use:
$result = mysql_query("insert into (filename) VALUES
('$file')")
James
--- Yui Hiroaki <[EMAIL PROTECTED]> wrote:
> HI!
>
> I am using PHP in mySQL. I create table in datab
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 bui
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
I have a javascript to edit an html page thatI have written and have
been searching for a way to load a file into a text box and write the
contents to a file on the server when done in PHP. Is this possible? Any
direction is appreciated. Thanks in advance.
--
PHP General Mailing List (
> This thread has really fired up my desire to go the states US$80
> an hour for php dmn, 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 con
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
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 en
What is the way to exit a function? For example:
function FooBar() {
if ($foo = $bar)
Exit_this_Function;
## otherwise execute the rest of this function
}
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-m
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
function some($foo, $bar)
{
if ($foo != $bar)
return ;
...
}
--
Chris Lee
Mediawaveonline.com
[EMAIL PROTECTED]
""Karl J. Stubsjoen"" <[EMAIL PROTECTED]> wrote in message
004701c08bd5$eecbc340$0afc020a@kstubsjoen">news:004701c08bd5$eecbc340$0afc020a@kstubsjoen...
> What is
andrei Wed Jan 31 20:58:05 2001 EDT
Modified files:
/CVSROOTloginfo
Log:
Index: CVSROOT/loginfo
diff -u CVSROOT/loginfo:1.37 CVSROOT/loginfo:1.38
--- CVSROOT/loginfo:1.37Wed Jan 31 20:57:32 2001
+++ CVSROOT/loginfo Wed Jan 31 20:58:04 2001
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
ar
andrei Wed Jan 31 20:57:33 2001 EDT
Modified files:
/CVSROOTloginfo
Log:
Index: CVSROOT/loginfo
diff -u CVSROOT/loginfo:1.36 CVSROOT/loginfo:1.37
--- CVSROOT/loginfo:1.36Sun Jan 21 18:12:50 2001
+++ CVSROOT/loginfo Wed Jan 31 20:57:32 2001
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 fa
I charge a rate of $80 an hour or so, and haven't had any problems.
Chad
-Original Message-
From: Chris Lee [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 31, 2001 3:38 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] Pricing for PHP programming???
$3000 - $10,000 cdn month depending o
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
r
My normal rate is $80/hr (accross the board). I have friends that get up in the
low $100's an hour. Depending on the customer, project and tax form (W2 or 1099)
I slide the rate up or down.
--Joe
On Wed, Jan 31, 2001 at 03:25:27PM -0500, Shane McBride wrote:
> I know this is not really a PHP que
jon Wed Jan 31 22:29:41 2001 EDT
Modified files:
/php4 php.ini-dist
Log:
Massive reformatting.
Index: php4/php.ini-dist
diff -u php4/php.ini-dist:1.66 php4/php.ini-dist:1.67
--- php4/php.ini-dist:1.66 Mon Jan 22 11:15:31 2001
+++ php4/php.ini
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 "";
}
PART II
I need to make reference to these dynamically cr
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 contai
El Mié 31 Ene 2001 19:34, Karl J. Stubsjoen escribió:
> What is the way to exit a function? For example:
>
> function FooBar() {
>
> if ($foo = $bar)
> Exit_this_Function;
>
> ## otherwise execute the rest of this function
> }
return is what you want.
--
System Administration:
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
On Thu, Feb 01, 2001 at 06:29:41AM -, Jon Parise wrote:
> jon Wed Jan 31 22:29:41 2001 EDT
>
> Modified files:
> /php4 php.ini-dist
> Log:
> Massive reformatting.
Before anyone says something, I know that I should have reformatted
the php.ini-optimi
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.
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
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 PR
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
> 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 woul
Chris,
Thanks for the report. This will be fixed in the next version of the Zend
Optimizer.
Andi
At 12:32 PM 1/31/2001 -0800, Chris Lee wrote:
> echo @$test;
>?>
>
>This works without Zend Optimizer installed, as soon as I turn on Zend I get
>'undifined variable'. Why doesn't the @ turn th
rasmus Wed Jan 31 23:22:50 2001 EDT
Modified files:
/CVSROOTavail cvsusers gen_acl_file.m4
Log:
A couple of new accounts
Index: CVSROOT/avail
diff -u CVSROOT/avail:1.67 CVSROOT/avail:1.68
--- CVSROOT/avail:1.67 Wed Jan 31 12:47:48 2001
+++ CVSROOT/ava
yes, put the whole path in the quotes, ie:
copy($userfile_name,
"C:/full/path/to/imgs/artiker/$userfile");
Hope that works
--- Fredrik Arild Takle <[EMAIL PROTECTED]> wrote:
> I'm trying to upload i file through a webpage...
>
> --> add.php3
>
>
>
>
>
>
> --> do_add.php3
> copy($userfile,
The $$ thing works. You're right, I wasn't thinking it through...
_
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
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='Ro
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 s
Install the DB2 Application Development package on the client. Let it
create
an instance. It's just a stub instance, so it's not a real Database
Instance.
Compile (on the client) PHP using --with-ibm-db2=/usr/local/IBMdb2
Use the Unified ODBC calls (they really call the DB2 CLI underneath the
co
rasmus Wed Jan 31 23:27:13 2001 EDT
Modified files:
/CVSROOTavail cvsusers gen_acl_file.m4
Log:
CVS account for Hellekin
Index: CVSROOT/avail
diff -u CVSROOT/avail:1.68 CVSROOT/avail:1.69
--- CVSROOT/avail:1.68 Wed Jan 31 23:22:49 2001
+++ CVSROOT/avai
Hello
Is there a 'redo' loop control function? All I can find are 'break' and
'continue'.
Thanks
Lux
--
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: [E
Hi
I am trying to install GD support with jpeg and it appears not to find
libjpeg
but I can see this.
Any ideas on what I am doing wrong.
Many Thanks
Tony
tar -zxvf /home/HOTspecial/src/php-4_0_3pl1_tar.tar
cd /home/HOTspecial/src/php-4.0.3pl1
./configure --with-mysql=/usr/local/mysql \
--wit
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
elixer Wed Jan 31 14:04:30 2001 EDT
Modified files:
/php4/ext/mysql php_mysql.c php_mysql.h
Log:
Added the mysql_get_*_info() functions.
# If anyone knows of a version of mysql lower then 3.20.32 that implements
# all 3 of these functions, please change t
rasmus Wed Jan 31 23:30:16 2001 EDT
Modified files:
/CVSROOTavail cvsusers gen_acl_file.m4
Log:
CVS account for Rainer Schaaf
Index: CVSROOT/avail
diff -u CVSROOT/avail:1.69 CVSROOT/avail:1.70
--- CVSROOT/avail:1.69 Wed Jan 31 23:27:13 2001
+++ CVSROOT
steinm Wed Jan 31 23:07:09 2001 EDT
Modified files:
/php4/ext/pdf pdf.c
Log:
some modification from Rainer Schaaf
* fixed prototype for pdf_new()
* MINFO: included Revision of pdf.c, removed info about CJK + in-memory, this is
standard wi
-
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 no
andiWed Jan 31 13:53:30 2001 EDT
Modified files:
/php4/ext/ingres_ii ii.c
/php4/ext/mysql php_mysql.c
/php4/ext/pgsql pgsql.c
/php4/ext/standard scanf.c
Log:
- Change unset() functions to null(). unset() is legacy
Index: php4/ext/
Yes, you can, just write a script to call "htpasswd -b yourUserFile userID
passwd".
:)
David
>From: James Smith <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED], [EMAIL PROTECTED]
>Subject: [PHP] .htpasswd?
>Date: Wed, 31 Jan 2001 13:21:35 -0800 (PST)
>
>Is there a way that when a user signs up for
101 - 172 of 172 matches
Mail list logo