[PHP] PHP forms

2001-01-31 Thread Victor Hamutenya
Hi, my name is Victor from Namibia, I do web development with PHP, I hapenned to find your email address on one of the PHP sites on the Net, as one of the contributors on the PHP notes. Can you please, if it is possible, tell me how to write in a form field with PHP script. Like in

RE: [PHP] Editor

2001-01-31 Thread Kritsapon Pukahuta
It's not free.. check at editplus.com -Original Message- From: Christian Sakshaug [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 30, 2001 6:47 PM To: Maxim Maletsky Cc: [EMAIL PROTECTED] Subject: RE: [PHP] Editor EditPlus.com ($?) Free I think... -Original

Re[2]: [PHP] session question

2001-01-31 Thread Max A. Derkachev
Hello Teodor, Wednesday, January 31, 2001, 10:49:34 AM, you wrote: TC Hi Mark! TC On Wed, 31 Jan 2001, Mark Green wrote: How about this: session_start(); session_register($funky_session_var); $funky_session_var ++; print $funky_session_var; TC the order doesn't matter (as it did in

Re: [PHP] Function by reference?

2001-01-31 Thread Max A. Derkachev
Hello Niklas, Wednesday, January 31, 2001, 7:02:49 PM, you wrote: NS $tmpParsing=eregi_replace("href=(\")([^*]*)(\")","href=\"\\1\"",$this-dataToBeParsed); NS where I want \\1 to be fed into urlencode() I was thinking somewhere along the lines NS $func=urlencode; It won't work. You can not

[PHP] test, please ignore

2001-01-31 Thread Patrick L.
testing -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

RE: [PHP] Naughty Word Catcher

2001-01-31 Thread O.Cook
-Original Message- From: Maxim Maletsky [mailto:[EMAIL PROTECTED]] Sent: 31 January 2001 06:58 To: Maxim Maletsky; 'Chris Aitken'; [EMAIL PROTECTED] Subject: RE: [PHP] Naughty Word Catcher header("Location: insert_stuff.php?comment=$text"); ... so having seen where they get

[PHP] Want to learn PHP

2001-01-31 Thread Patrick L.
I've been struggling with perl, till someone said why not give PHP a shot. Where do I start? Aside from manuals, are there any online courses/tutorials which will get me going? TIA Patrick L. www.choozart.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail:

Re: [PHP] Function by reference?

2001-01-31 Thread Wico de Leeuw
At 11:35 31-1-01 +0300, Max A. Derkachev wrote: Hello Niklas, Wednesday, January 31, 2001, 7:02:49 PM, you wrote: NS $tmpParsing=eregi_replace("href=(\")([^*]*)(\")","href=\"\\1\"",$this-dataToBeParsed); Take a look @ Preg_Replace with the e modifier, i think you are looking for that (php4

Re: [PHP] php and forms question

2001-01-31 Thread Michael Hall
Chip: Sessions aren't my forte, but I can't see where you're registering your session variables. You need to do more than simply use 'session_start' if using sessions ... perhaps you're doing this on another page, but if not you'll need to register variables using 'session_register'. You'll also

Re: [PHP] Want to learn PHP

2001-01-31 Thread Tshering Norbu
I am also new to PHP. I think www.wdvl.com has good resources. NOBBY - Original Message - From: Patrick L. [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, January 31, 2001 2:55 PM Subject: [PHP] Want to learn PHP I've been struggling with perl, till someone said why not

Re: [PHP] Want to learn PHP

2001-01-31 Thread Michael Hall
There are quite a few tutorials at www.devshed.com/Server_Side/PHP. Also some at www.webmonkey.com/programming/php/index.html. PHP is definitely quicker and easier to learn than Perl, and provided you want to do web programming it will do just about everything Perl can do. Mick On Wed, 31

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

2001-01-31 Thread Harald Radi
phanto Wed Jan 31 01:30:13 2001 EDT Modified files: /php4/ext/com conversion.c Log: added currency, date, IUnknown and NULL datatypes Index: php4/ext/com/conversion.c diff -u php4/ext/com/conversion.c:1.3 php4/ext/com/conversion.c:1.4 ---

[PHP] wrong math php3

2001-01-31 Thread D.Bucher
Using PHP Version 3.0.18, Apache Version: Apache/1.3.14 on a Linux RH6.2. when i try to do mathematic function eg 4,5*4,5 sometimes iget the result 16 and sometimes the result 20,25. After restarting apache it works for lets say 2-3 hours. Then it comes again. Does anybody had same or similar

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

2001-01-31 Thread Antonio S. Martins Jr.
On Tue, 30 Jan 2001, Karl J. Stubsjoen wrote: We have succesfully installed the IBM DB2 RDMS on our Linux box and have successfully made a connection to our AS400. All through command line though. What are the versions of your AS400 and DB2 for Linux? I had tryied to connect on an AS400

[PHP] round

2001-01-31 Thread AJDIN BRANDIC
Hi Lets say $foo=20.12345 In php4 you can use : $foo=$round($foo,2); to get $foo=20.12 What can I use in php3 to get the same result. $foo=$round($foo); gives me $foo=20 Not what I realy want??? Thanks Ajdin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail:

Re: [PHP] PHP forms

2001-01-31 Thread Johannes Janson
e.g. input type=password name=memberid !!NOW!! value=?php echo "whatever"; ? Johannes "Victor Hamutenya" [EMAIL PROTECTED] schrieb im Newsbeitrag [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hi, my name is Victor from Namibia, I do web development with PHP, I hapenned to find your email

[PHP] str_replace

2001-01-31 Thread Augusto Cesar Castoldi
In the begin of my site, I have the following code: ? $buffer = str_replace("%99", $total, $buffer); ? And somewhere on html tag I write %99. I pretend to replace the %99 with $total. Why it doesn't work? When I publish my site appears the %99 on screen, and not the $total. thanks, Augusto

[PHP] Function by reference

2001-01-31 Thread Niklas Saers
Hi all. I was wondering, can a reference be a function as well? Reason is, I've got to do a little manipulating. I want to do a $tmpParsing=eregi_replace("href=(\")([^*]*)(\")","href=\"\\1\"",$this-dataToBeParsed); where I want \\1 to be fed into urlencode() I was thinking somewhere along

RE: [PHP] verify that email exist ?

2001-01-31 Thread kaab kaoutar
Hi! What do u fill exaclty ? only the local user and localhost ? do i have to chenge the srever_name,host,username and user ? if i fill it bu kaab_k as local user and hotmail.com as hotmail.com! should it work in ur environment ? thanks ! From: "Brian V Bonini" [EMAIL PROTECTED] Reply-To:

[PHP] Bcc email does not work

2001-01-31 Thread kaab kaoutar
Hi! Have u ever tried to send many emails using Bcc? It does not work for me ! Thanks _ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. Return-Path: [EMAIL PROTECTED] Received: (qmail 19528

Re: [PHP] Read Vs. Include

2001-01-31 Thread Daniel Grace
On Tuesday, January 30, 2001 at 3:04 PM, Alexandar Skwar wrote: So sprach Daniel Grace am Thu, Jan 25, 2001 at 07:18:52PM -0800: readfile($filename); Why not include? Because include will execute any PHP code in the included file and readfile will not, it just dumps the entire file to the

[PHP] REGULAR EXPRESSION

2001-01-31 Thread kaab kaoutar
Hi! I 'd like to have an input that contains only a to Z and space and ëàéêêàäïüöûâç- nothing else like numbers or whatever and also does not start with space ! till now with ur help i get the following : (!ereg("[a-zA-Z[:space:]ëàéêêàäïüöûâç-]", $name)) but it accepts numbers , i tried

[PHP] Odbc Vs Oracle

2001-01-31 Thread kaab kaoutar
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. -- PHP General

[PHP] php changing passwd from unixusers?

2001-01-31 Thread Geert Houben - HICT
Hi, Is it possible using a php -based website to change passwords from unixusers? Php runs at my system under user: www how can I let it execute: passwd and change a password? Nice regards, Geert Houben -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL

Re: [PHP] File Download Completion

2001-01-31 Thread Daniel Grace
"Boaz Yahav" [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Is it possible to find out if a client finished to DL a file? Suppose i put a link to a file and people start to DL the file. Some people can stop the DL in the middle. I need to know how many people

[PHP] Oracle8 OciLogon !

2001-01-31 Thread kaab kaoutar
Hi! i use oracle and i always get this error: call to undefined function ocilogon()! Thanks _ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] SQL question

2001-01-31 Thread Daniel Grace
"John LYC" [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... hi all, does mysql support this? select * from tablename where id in (select id from table2 where cond) thanks No. MySQL does not support so-called sub-selects. Here's an easy workaround in PHP:

Re: [PHP] where to get musql for windows NT

2001-01-31 Thread Augusto Cesar Castoldi
http://www.mysql.com/downloads/index.html On Wed, 31 Jan 2001, kaab kaoutar wrote: Hi! where can i get mysql for NT? thanks _ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. -- PHP

Re: [PHP] File Download Completion

2001-01-31 Thread Andy Woolley
Hi Berber, The only way I've figured this at the moment is to use the web server access logs. They will tell you how many bytes were transfered, if it matches the file size then transmission was potentialy succesful. I'm trying to think of a better way using PHP and maybe JavaScript but at the

[PHP] PHPub: A Zend IDE/DEBUGGER Alternative

2001-01-31 Thread Ralph Guzman
I am glad to see others working on alternatives to the highly cost Zend products. I came across PHPub, a PHP IDE/Debugger which I've never seen mentioned on this list. Even though it is still not ready for final release, it's seems pretty stable. Great Features. One of it's cool features is a

[PHP] Php and forking

2001-01-31 Thread Nicklas af Ekenstam
Hi! Is there some way (perhaps using a multi threaded httpd?) that I can get php to fork processes? I.e. I'd like to have a script which prints something to the clients web browser and terminates that http connection, but keeps going in the background doing other processing not related to the

[PHP] RegEx and URLs

2001-01-31 Thread Joe Sheble (Wizaerd)
Either I missed the answer on the mailing list, or it was accidentally skipped, so I'll re-ask... I have a bit of text ( a TEXT field in mySQL ) and there may or may not be URLs in this text. (These URLs are defined as anything starting with http://, mailto:, or www.). Some of these URLs

[PHP] cURL telnet

2001-01-31 Thread Montgomery-Recht, Evan
Does anyone have any experience using cURL with Telnet in PHP. thanks, evan -- 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] print correct values for variables inside variebles ..

2001-01-31 Thread hsmith
I've posted a similar question .. and got hat one resolved .. but now I'ms trugling with this one .. I have a page called edit .. that I pass a variable called $page like this edit.php3?page=index what I'm trying is something like this .. function blah($page){ $query="select * from

Re: [PHP] expressions

2001-01-31 Thread CC Zona
[re-arranging quotes to bottom posting] In article 9556pp$sna$[EMAIL PROTECTED], [EMAIL PROTECTED] ("Jeff Warrington") wrote: hi, im trying to fix this couple of hours but i couldnt find the mistake... can somebody look at it... first i want to check the $co_area for 3 digital ... it

[PHP] neat html output

2001-01-31 Thread Mark
I'd like my html output to be neatly written, including newlines is helpful but does anyone know of a better way to output newlines than appending ."\n"; to every echo statement. -Mark -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: [PHP] neat html output

2001-01-31 Thread Joe Sheble (Wizaerd)
Write yourself a function that handles it yourself and include it in every page... something such as: function println( $cTextToPrint ) { print( $cTextToPrint . "BR" ); } then in your pages just use println() everywhere... At 08:29 AM 1/31/01 -0600, Mark wrote: I'd like my html

Re: [PHP] neat html output

2001-01-31 Thread Joe Sheble (Wizaerd)
oops, that function declaration should look like: function println( $cTextToPrint ) { print( $cTextToPrint . chr(13) ); } At 07:40 AM 1/31/01 -0700, Joe Sheble (Wizaerd) wrote: Write yourself a function that handles it yourself and include it in every page... something such as:

[PHP] Unable to fork???

2001-01-31 Thread Daniel Williams
I continue to get following error when trying to execute external program: "Warning: Unable to fork..." Anyone know what this means? or how to fix it? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: [PHP] where to get musql for windows NT

2001-01-31 Thread Michael Kimsal
mysql.com kaab kaoutar wrote: Hi! where can i get mysql for NT? thanks _ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

[PHP] Can you do this

2001-01-31 Thread Boget, Chris
Academic curiosity - You can do the following: echo "3 - 2 = " . ( bcsub( 3, 2 )); and PHP evaluates the expression in parenthesis (in this case a function) before it evaluates the echo statement and what gets printed out is: 3 - 2 = 1 Now, say I have a function where one of the arguments

[PHP-CVS] cvs: php4 / RELEASE_PROCESS

2001-01-31 Thread James Moore
jmoore Wed Jan 31 05:58:20 2001 EDT Added files: /php4 RELEASE_PROCESS Log: Adding readme for release process, this needs to live somewhere and here seems as good a place as any. -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe,

Re: [PHP] neat html output

2001-01-31 Thread php3
Addressed to: "Mark" [EMAIL PROTECTED] [EMAIL PROTECTED] ** Reply to note from "Mark" [EMAIL PROTECTED] Wed, 31 Jan 2001 08:29:57 -0600 I'd like my html output to be neatly written, including newlines is helpful but does anyone know of a better way to output newlines than

Re: [PHP] php jsp

2001-01-31 Thread Shashank Tripathi
Hi George, Why should it be a problem? You could easily set this up as a module top Apache (since you did not mention which web server you use, I am assuming you use Apache). For an example of how to use PHP as a module, please take a look at: http://shanx.com/php/install_win32.txt For JSP,

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

2001-01-31 Thread Karl J. Stubsjoen
We are running AS400 4.4 and PHP4, not sure what version of Linux we are running. - Original Message - From: "Antonio S. Martins Jr." [EMAIL PROTECTED] To: "Karl J. Stubsjoen" [EMAIL PROTECTED] Cc: "PHP Mailing List" [EMAIL PROTECTED] Sent: Wednesday, January 31, 2001 3:23 AM Subject:

Re: [PHP] Want to learn PHP

2001-01-31 Thread php3
Addressed to: "Patrick L." [EMAIL PROTECTED] [EMAIL PROTECTED] ** Reply to note from "Patrick L." [EMAIL PROTECTED] Wed, 31 Jan 2001 00:55:47 -0800 I've been struggling with perl, till someone said why not give PHP a shot. Where do I start? Aside from manuals, are there any

[PHP-CVS] cvs: php4 /ext/mnogosearch README config.m4 php_mnogo.c php_mnogo.h setup.stub test.php

2001-01-31 Thread Sergey Kartashoff
gluke Wed Jan 31 06:04:30 2001 EDT Modified files: /php4/ext/mnogosearch README config.m4 php_mnogo.c php_mnogo.h setup.stub test.php Log: Added search cache and track query features. @-Added search cache and track query

Re: [PHP] neat html output

2001-01-31 Thread Toby Miller
Mark, The closest way that I know of to accomplish this is to print them more like you would HTML. So in other words, you can do this: ?php print ' html head title$title/title /head body $content /body /html '; ? or like this: html head title?php print $title ?/title /head body ?php print

[PHP] Loading extensions

2001-01-31 Thread Shimon Dekel
Hi , I was running PHP 4 on NT 4 SP6 with IIS4 with no problems. Yesterday I have upgraded to PHP 4.0.5. Now if I have any "extension=" line in php.ini not disable (i.e. not having a semicolon (;) in front the first php page being called pops up a message on the server screen with the message

RE: [PHP] Uppdating a frame from another frame using PHP

2001-01-31 Thread Ryan Gaul
What about something like this javascript: parent.basket_right.location=page You can encapsulate it in a function like this: script language="Javascript 1.2" function refresh_frame(page,frame_name) { parent.frame_name.location=page; } /script

Re: [PHP] ID value

2001-01-31 Thread Piotr Duszynski
$sql = "INSERT INTO songs (id,name,url) VALUES ('','Foobar','test.php?id=id)"; The id is autoincrement so obviously left blank, yet I'd like to put it into the url where id is. How do I go about dragging back the id even though it is being created (I suppose) while the statement is

Re: [PHP] Killing session cookies, caches and everything.

2001-01-31 Thread Angel Behar
Try doing SetCookie(SESS_ID, ''); as well. I try it but doesn't work either... If someone fix this please help, I'm very worried right now. Thanks again. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

[PHP] Session Code debug help requested

2001-01-31 Thread Matthew Mundy
Hello all. Sorry, I know sessions come up a lot. I am attempting to use sessions for login tracking. The session starts fine, sends the cookie fine(login as the session name), registers login as a session var, then location should switch to index. all my files except login include() a file

Re: [PHP] Can you do this

2001-01-31 Thread Christian Reiniger
On Wednesday 31 January 2001 16:03, Boget, Chris wrote: Now, say I have a function where one of the arguments is passed by reference and is modified within the function. I can call this function on one line myFunc( $modifiedVariable ); and print out the value (if any) of $modifiedVariable

RE: [PHP] Can you do this

2001-01-31 Thread Boget, Chris
What about using normal pass-by-value and returning the result? function MyFunc ($SomeVal) { $SomeVal += 42; return $SomeVal; } echo MyFunc ($StrangeVal); I'm already using the return value for something else. Anyway - functions that get their parameters by reference and modify

Re: [PHP] str_replace

2001-01-31 Thread Jason Murray
Augusto Cesar Castoldi wrote: In the begin of my site, I have the following code: ? $buffer = str_replace("%99", $total, $buffer); ? And somewhere on html tag I write %99. I pretend to replace the %99 with $total. Why it doesn't work? When I publish my site appears the %99 on screen,

Re: [PHP] str_replace

2001-01-31 Thread Philip Olson
Because you must replace it after $total and $buffer are defined, not before. This works : ?php $total = 'foo'; $buffer = 'blah blah %99 blah blah'; $buffer = str_replace('%99', $total, $buffer); print $buffer; ? This does not work : ?php $buffer =

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,

[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

[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

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

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

Re: [PHP] File uploading?

2001-01-31 Thread Ben
Lauri, supposing you name the file input tag "myfile" (like INPUT NAME="file" TYPE="myfile"), 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

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

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 form name="postfile" method="post" action="./postfile.php" enctype="multipart/form-data" input type="hidden" name="MAX_FILE_SIZE" value="1000" input type="file" name="name of var" size="x" input

[PHP] copy() ??

2001-01-31 Thread Fredrik Arild Takle
I'm trying to upload i file through a webpage... -- add.php3 FORM method="post" action="do_add.php3" input type="file" size=40 name="userfile" INPUT type="submit" name="pub" value="Publiser" /form -- do_add.php3 copy($userfile, "/imgs/artikler/test.jpg"); unlink($userfile); -- ERROR msg..:

[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

[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

[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

[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

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

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

[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

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

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. ? //-email.php-

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

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 FORM ENCTYPE="multipart/form-data" ACTION="_URL_" METHOD=POST INPUT TYPE="hidden" name="MAX_FILE_SIZE" value="1000" Send this file: INPUT

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. Directory /apps/apache/docs/test1 Options Indexes FollowSymLinks /Directory johnny p. -Original Message- From: david klein [mailto:[EMAIL

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

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;

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 in Date:

[PHP] Program execution

2001-01-31 Thread Czapry Gbor
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?

[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

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

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(+$),

[PHP] Zend Optimizer not working with @

2001-01-31 Thread Chris Lee
? echo @$test; ? 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

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

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

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

2001-01-31 Thread Xsarus Internetdiensten
He! It's very simple! When you've a textarea name="text"/textarea, 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

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

Re: [PHP] passing data between pages?

2001-01-31 Thread Josh G
easy - http://www.yourserver.com/path/to/yourfile.php?v1=foov2=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

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

[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

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

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

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

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

  1   2   >