[PHP] RE: Odbc Vs Oracle

2001-01-31 Thread Nold, Mark
- Disclaimer: The information contained in this email is intended only for the use of the person(s) to whom it is addressed and may be confidential or contain legally privileged information. If you are no

RE: [PHP] Directory Listing with PHP

2001-01-31 Thread Andrew Braund
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

[PHP-CVS] cvs: php4 /ext/ingres_ii ii.c /ext/mysql php_mysql.c /ext/pgsql pgsql.c /ext/standard scanf.c

2001-01-31 Thread Andi Gutmans
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/

[PHP] Compiling PHP

2001-01-31 Thread php
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

Re: [PHP] .htpasswd?

2001-01-31 Thread david klein
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

[PHP] Is there a 'redo' loop control function?

2001-01-31 Thread John Luxford
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

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

2001-01-31 Thread Uwe Steinmann
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

Re: [PHP] HowTo: IBM DB2 w/PHP

2001-01-31 Thread [EMAIL PROTECTED]
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

[PHP] new mail() function

2001-01-31 Thread Police Trainee
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

Re: [PHP] one quick question: how do I assign atring value into variable?

2001-01-31 Thread David Robley
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

[PHP] Thankz

2001-01-31 Thread [ rswfire ]
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

[PHP-CVS] cvs: CVSROOT / avail cvsusers gen_acl_file.m4

2001-01-31 Thread Rasmus Lerdorf
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

Re: [PHP] copy() ??

2001-01-31 Thread James Smith
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,

[PHP-CVS] cvs: php4 /ext/mysql php_mysql.c php_mysql.h

2001-01-31 Thread Sean Bright
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

Re: [PHP] Zend Optimizer not working with @

2001-01-31 Thread Andi Gutmans
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

[PHP-CVS] cvs: CVSROOT / avail cvsusers gen_acl_file.m4

2001-01-31 Thread Rasmus Lerdorf
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

RE: [PHP] 404 error checker

2001-01-31 Thread Jason Murray
> 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

[PHP] one quick question: how do I assign atring value into variable?

2001-01-31 Thread [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

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

2001-01-31 Thread Jonathan Sharp
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

[PHP-CVS] cvs: CVSROOT / avail cvsusers gen_acl_file.m4

2001-01-31 Thread Rasmus Lerdorf
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

[PHP] Re: New User of PHP

2001-01-31 Thread Chris Choy
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

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

2001-01-31 Thread scott
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.

Re: [PHP-CVS] cvs: php4 / php.ini-dist

2001-01-31 Thread Jon Parise
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

[PHP] passing data between pages?

2001-01-31 Thread Britton
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

Re: [PHP] Exit Function

2001-01-31 Thread Martin A. Marques
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:

Re: [PHP] Formatting/Financial

2001-01-31 Thread Andrew Golovin
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

[PHP] Dynamic Variable Creation from Forms

2001-01-31 Thread [ rswfire ]
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

[PHP-CVS] cvs: php4 / php.ini-dist

2001-01-31 Thread Jon Parise
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

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

2001-01-31 Thread Joe Stump
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

[PHP] 404 error checker

2001-01-31 Thread Institute for Social Ecology
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

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

2001-01-31 Thread Chad Day
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

Re: [PHP] Php database

2001-01-31 Thread Michael Hall
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

[PHP-CVS] cvs: CVSROOT / loginfo

2001-01-31 Thread Andrei Zmievski
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

[PHP] Strange Parser error

2001-01-31 Thread Phil Daintree
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

[PHP-CVS] cvs: CVSROOT / loginfo

2001-01-31 Thread Andrei Zmievski
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

Re: [PHP] Exit Function

2001-01-31 Thread Chris Lee
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

Re: [PHP] E-mail valid

2001-01-31 Thread Josh G
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

[PHP] Exit Function

2001-01-31 Thread Karl J. Stubsjoen
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

[PHP] Php database

2001-01-31 Thread Vinicius Garcia
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

[PHP] reload help!!!

2001-01-31 Thread Wen Ni Leong
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

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

2001-01-31 Thread Jason Murray
> 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

[PHP] Loading Files & Writing...

2001-01-31 Thread Videomoviehouse - Marcus Ouimet
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 (

[PHP] PHP4 Ultradev Extension availble!

2001-01-31 Thread Dan Radigan
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

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

2001-01-31 Thread [ rswfire ]
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

[PHP] Re: [PHP-DB] question ! show binary

2001-01-31 Thread James Smith
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

Re: [PHP] Exit Function

2001-01-31 Thread Steve Smith
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

[PHP] function list

2001-01-31 Thread Jerry Lake
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]

Re: [PHP] Dynamic Variable Creation from Forms

2001-01-31 Thread [ rswfire ]
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

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

2001-01-31 Thread Philip Olson
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

Re: [PHP] Dynamic Variable Creation from Forms

2001-01-31 Thread Josh G
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...

Re: [PHP] Exit Function

2001-01-31 Thread Josh G
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

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

2001-01-31 Thread Michael Kimsal
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

RE: [PHP] Dynamic Variable Creation from Forms

2001-01-31 Thread Jonathan Sharp
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

[PHP] .htpasswd?

2001-01-31 Thread James Smith
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

Re: [PHP] passing data between pages?

2001-01-31 Thread Josh G
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

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

2001-01-31 Thread Egon Schmid
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

Re: [PHP] What is "foo"?

2001-01-31 Thread Rouvas Stathis
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

[PHP] Re: [PHP-DB] newlines in boxes..

2001-01-31 Thread Xsarus Internetdiensten
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

RE: [PHP] Oracle failed to connect

2001-01-31 Thread Steve Haemelinck
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

[PHP-CVS] cvs: CVSROOT / gen_acl_file.m4

2001-01-31 Thread Andrei Zmievski
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

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

2001-01-31 Thread Chris Lee
$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

[PHP] Zend Optimizer not working with @

2001-01-31 Thread Chris Lee
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:

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

2001-01-31 Thread Robert Covell
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

Re: [PHP] Session Code debug help requested

2001-01-31 Thread Hardy Merrill
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

[PHP] Pricing for PHP programming???

2001-01-31 Thread Shane McBride
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

[PHP] Program execution

2001-01-31 Thread Czapáry Gábor
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?

RE: [PHP] Symbolic link fails when User Authentication comes in

2001-01-31 Thread david klein
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

RE: [PHP] File Download Completion

2001-01-31 Thread Boaz Yahav
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

RE: [PHP] gethostbyaddr timeout

2001-01-31 Thread Jon Snell
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

RE: [PHP] Symbolic link fails when User Authentication comes in

2001-01-31 Thread johnny 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

[PHP] RE: PHP4.04pl1 upgrade

2001-01-31 Thread Ayan R. Kayal
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

RE: [PHP] File Download Completion

2001-01-31 Thread Boaz Yahav
All of the examples on weberdev.com use a download script that should send the file like you describe. This used to work but now that I'm testing it, It seems that instead of the file name I get the script name.htm or something else. The only thing that has changed is that I upgraded to 4.0.4pl1

[PHP] Symbolic link fails when User Authentication comes in

2001-01-31 Thread david klein
I am using Apache user authentication, and it works fine. However, if there is a symbolic link inside a securied directory, the symbolic linked file will deny any access. For example, directory "/apps/apache/docs/test1" is a securied directory, and there is a symbolic linked file "file1.txt",

RE: [PHP] copy() ??

2001-01-31 Thread johnny p.
>From the fine manual: A file upload screen can be built by creating a special form which looks something like this: Example 19-1. File Upload Form Send this file: The _URL_ should point to a PHP file. The MAX_FILE_SIZE hidden field must precede the file input field and its value is the m

Re: [PHP] connecting to AS400 DB2

2001-01-31 Thread Larry Hotchkiss
Its my understanding that you use the odbc functions to access db/2 400. I also recall reading that the db2/400 functionality is true db2 functionality and does not use the generic odbc layer even though it is grouped in. Apparently its smart enough to know. Depending on where you got your

Re: [PHP] Php and forking

2001-01-31 Thread Chris Lee
This isnt exactly what your looking for, Im sure of it, but it works for me in the past. If you have a page that does something like email 1000 shareholders about a new press release, this takes some time. You dont need to sit here for 30min to wait for the page to finnish. send your web clie

Re: [PHP] What is "foo"?

2001-01-31 Thread Christian Reiniger
On Wednesday 31 January 2001 19:35, SED 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 Read http://www.tuxedo.org/~esr/jargon/html/entry/foo.html for a detailed explanation :) -- Christian Rein

Re: [PHP] What is "foo"?

2001-01-31 Thread Philip Olson
Check out : http://wombat.doc.ic.ac.uk/foldoc/foldoc.cgi?query=foo Within is a lengthy explanation of the word and its origin. Btw, it's just a word as is 'blah' and 'bar' and 'apple'. But 'foo' is a cult classic! Regards, Philip Olson http://www.cornado.com/ On Wed, 31 Jan 2001, SED wrote

Re: [PHP] What is "foo"?

2001-01-31 Thread Soeren Staun-Pedersen
> 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? (e.g. in PHP) It's just one of those words which stuck around. People like Leslie Lamport (LaTeX) and

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

2001-01-31 Thread Chuck Hagenbuch
chagenbuWed Jan 31 10:34:39 2001 EDT Modified files: /php4/pear HTTP.php Log: use $HTTP_SERVER_VARS, in case register_globals is Off, and use !empty() instead of just if () to avoid errors. Index: php4/pear/HTTP.php diff -u php4/pear/HTTP.php:1.5

[PHP] What is "foo"?

2001-01-31 Thread SED
Hi, 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? (e.g. in PHP) Regards, Sumarlidi Einar Dadason SED - Graphic Design

[PHP] connecting to AS400 DB2

2001-01-31 Thread Conover, Ryan
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

[PHP] imap (nntp) message tracking

2001-01-31 Thread Larry Hotchkiss
Can anyone recommend a good (eficient) way of tracking downloaded (read) messages from a nntp server? I would like to run a script to retrieve a couple news groups and archive them, but I am unsure as to the best method of tracking which messages I have. I will likely be storing messages i

Re: [PHP] gethostbyaddr timeout

2001-01-31 Thread Jon Jacob
Aaron Gould wrote: > > I'm at the end of my rope here... > > I have a 100,000+ line file containing IP addresses. For each line, I need > to run a "gethostbyaddr" command. However, some lines take a long time to > timeout. Is there a way I can decrease this timeout period to one or two > seco

[PHP] copy() ??

2001-01-31 Thread Fredrik Arild Takle
I'm trying to upload i file through a webpage... --> add.php3 --> do_add.php3 copy($userfile, "/imgs/artikler/test.jpg"); unlink($userfile); --> ERROR msg..: Warning: Unable to create '/imgs/artikler/test.jpg': No such file or directory in c:/programfiler/apache group/apache/htdocs/do_ad

Re: [PHP] File uploading?

2001-01-31 Thread James Smith
Here is the code i'm running for my file upload and it work correctly: // file with submit form // This is the file that you want to use as post // example is postfile.php // That will copy the file. here is the full function I have implemented with my page to store path into mysql. fun

RE: [PHP] Is correct ??

2001-01-31 Thread johnny p.
Ahh, date math... I spent 2 weeks trying to solve this once. I'm not exactly sure what you are trying to calculate here. If you want the number of days since the year 1601, no problem. I'm not sure where you get your 1461 from, tho... here's an algorthm I did in perl, which is fairly similar:

Re: [PHP] File uploading?

2001-01-31 Thread Ben
Lauri, supposing you name the file input tag "myfile" (like ), then $myfile contains the name of the temporary file on the server, while $myfile_name contains the filename on the client's system. See also http://www.php.net/manual/en/features.file-upload.php Drop me a line if you are still stu

RE: [PHP] Is correct ??

2001-01-31 Thread Boget, Chris
> > Anybody knows if this sourcecode is correct to calculate the > > numbers of days in certain date ? > Why are you going through all that effort? > $janOne = mktime( 0, 0, 0, 1, 1, date( "Y" )); > $myDate = mktime( 0, 0, 0, $m, $d, $y ); > $daysInYear = ( $myDate - $janOne ) / 86400; > That s

RE: [PHP] Is correct ??

2001-01-31 Thread Boget, Chris
> Anybody knows if this sourcecode is correct to calculate the > numbers of days in certain date ? Why are you going through all that effort? $janOne = mktime( 0, 0, 0, 1, 1, date( "Y" )); $myDate = mktime( 0, 0, 0, $m, $d, $y ); $daysInYear = ( $myDate - $janOne ) / 86400; That should do it

[PHP] Is correct ??

2001-01-31 Thread Miguel Loureiro
Hi, Anybody knows if this sourcecode is correct to calculate the numbers of days in certain date ? $m - month; $d - day, $y - year if($m<=2){ $y--; $m+=13; } else $m++; $nd = (1461 * $y / 4) + (153*$m/5) + $d; Because I use this code in a function and sometimes it your and others dont ...

[PHP] File uploading?

2001-01-31 Thread Lauri Vain
Hello everybody, I'm trying to do a file upload from the users computer via HTML file form element to a Linux server running Apache. The file is selected by the user from her or his computer, they hit the submit button and the file goes to /print/ folder (dir relative to uploading script on the

[PHP] gethostbyaddr timeout

2001-01-31 Thread Aaron Gould
I'm at the end of my rope here... I have a 100,000+ line file containing IP addresses. For each line, I need to run a "gethostbyaddr" command. However, some lines take a long time to timeout. Is there a way I can decrease this timeout period to one or two seconds? Thanks!! -- Aaron Gould Pro

RE: [PHP] sessions - max number of variables before things get bad?

2001-01-31 Thread Jon Snell
The number of variables you are using probably won't make much of an impact on performance. You may want to test doing it both ways, you can use the gettimeofday function to do function profiling, it will return the time with microsecond accuracy. I'm guessing one call to the database at the sta

[PHP-CVS] cvs: php4 /win32 php_modules.dsw

2001-01-31 Thread Daniel Beulshausen
dbeuWed Jan 31 09:12:12 2001 EDT Modified files: /php4/win32 php_modules.dsw Log: add iconv and ming Index: php4/win32/php_modules.dsw diff -u php4/win32/php_modules.dsw:1.35 php4/win32/php_modules.dsw:1.36 --- php4/win32/php_modules.dsw:1.35 Thu Jan 25

[PHP] Cobalt Raq Servers & PHP

2001-01-31 Thread Jamie Thompson
Has anyone had any experience using php on a Cobalt Raq4 server? any bugs or weird stuff i should know about? -- There are more than 1,000 chemicals in a cup of coffee. Of these, only 26 have been tested, and half caused cancer in rats.

[PHP-CVS] cvs: php4 /ext/ming ming.dsp php_ming.h

2001-01-31 Thread Daniel Beulshausen
dbeuWed Jan 31 09:05:01 2001 EDT Added files: /php4/ext/ming ming.dsp Modified files: /php4/ext/ming php_ming.h Log: nuke warning, and add dsp Index: php4/ext/ming/php_ming.h diff -u php4/ext/ming/php_ming.h:1.1 php4/ext/m

RE: [PHP] File Download Completion

2001-01-31 Thread Boaz Yahav
I thought of this log thing but we are talking about logs that can be hundreds of MB per day. I'm talking about logs of a very big portal, starting to analyze this is useless :) thanks berber -Original Message- From: Andy Woolley [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 31, 2

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

2001-01-31 Thread Daniel Beulshausen
dbeuWed Jan 31 09:00:10 2001 EDT Modified files: /php4/ext/pdf pdf.c Log: fix typo Index: php4/ext/pdf/pdf.c diff -u php4/ext/pdf/pdf.c:1.67 php4/ext/pdf/pdf.c:1.68 --- php4/ext/pdf/pdf.c:1.67 Fri Jan 26 10:52:37 2001 +++ php4/ext/pdf/pdf.c Wed J

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

2001-01-31 Thread Daniel Beulshausen
dbeuWed Jan 31 08:57:00 2001 EDT Added files: /php4/ext/iconv iconv.dsp Modified files: /php4/ext/iconv iconv.c Log: make iconv compile under win32 using libiconv # http://clisp.cons.org/~haible/packages-libiconv.html Inde

  1   2   >