Re: [PHP] RegExp help..

2001-03-12 Thread Fredrik Wahlberg
Try this: $ ereg("^([0-9]{2})[0-9]{2}([0-9]{2}).*", $var, $hits) if ($hits[1] == themonth $hits[2] == theyear) { do_the_stuff } What it does is that it puts the first two digitst into $hits[1], skips the two nextcoming digits and finally puts the next two numbers into $hits[2]

Re: [PHP] sharing variables

2001-03-12 Thread Tiki
Be careful. Only for PHP4. Alternatively, try PHPLIB. Works for me:) ""Chris Lee"" [EMAIL PROTECTED] wrote in message 98bfqi$asb$[EMAIL PROTECTED]">news:98bfqi$asb$[EMAIL PROTECTED]... sessions ?php /* http://php.net/manual/en/ref.session.php sessions with cookies -

Re: [PHP] Mailing List

2001-03-12 Thread Peter Sabaini
On Mon, Mar 12, 2001 at 11:59:37AM +1030, David Robley wrote: On Mon, 12 Mar 2001 11:54, Thomas Anderson wrote: Ok, I've tried time and time again to unsubscribe from php.net's mailing list unisubscribe instructions but it doesn't work. So how do I get off the list? The following is

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

2001-03-12 Thread Stig Bakken
ssb Mon Mar 12 01:33:21 2001 EDT Modified files: /php4/pear/DB common.php Log: * bugfix (thanks to Alexey Borzov) Index: php4/pear/DB/common.php diff -u php4/pear/DB/common.php:1.38 php4/pear/DB/common.php:1.39 --- php4/pear/DB/common.php:1.38

Re: [PHP] Good Free PHP Editor?

2001-03-12 Thread Simon Garner
From: "Andrew Halliday" [EMAIL PROTECTED] Does anyone know of a good PHP enabled editor that fits the following criteria:? (in order of importance) - Is free - Runs under Windows - Has colors (syntax highlighting) - Can edit multiple files (ie multi threaded) - Reports line numbers -

Re: [PHP] ASP vs PHP

2001-03-12 Thread Simon Garner
From: "Chris Anderson" [EMAIL PROTECTED] This is going to sound like heresy, but is there any way to use ASP and PHP in the same fle/page? Seperated of course. What if you put: !--#include virtual="path/to/file.php"-- in your ASP page? -- PHP General Mailing List

[PHP-CVS] cvs: php4 /pear pear.m4

2001-03-12 Thread Stig Bakken
ssb Mon Mar 12 01:54:26 2001 EDT Modified files: /php4/pear pear.m4 Log: HEADS UP: renamed config header file in "phpize"d extensions to "config.h" rather than "php_config.h". Index: php4/pear/pear.m4 diff -u php4/pear/pear.m4:1.7

[PHP] Grab and print user IP address

2001-03-12 Thread Dream
Hi! I need just a little script so I can get and print in browser the currently users IP address and if possible, browser type, etc. Thanks a lot! marc -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: [PHP] Problems with string replacement

2001-03-12 Thread Christian Reiniger
On Sunday 11 March 2001 23:44, you wrote: Well, I'm having problems again. This time with string replacement. I'd like people to be able to write notes on one of the site's I'm helping with, and would like them to be able to use Bold, Italic, Underline and a href tags. I tried using

Re: [PHP] New to navigation functions...

2001-03-12 Thread Yasuo Ohgaki
I cannot figure out what is your problem exactly. Could you explain what you want to do with on server side(PHP) and client side(JavaScript) again on the new thread? Regards, -- Yasuo Ohgaki ""Richard"" [EMAIL PROTECTED] wrote in message 98ev42$r6d$[EMAIL PROTECTED]">news:98ev42$r6d$[EMAIL

Re: [PHP] header

2001-03-12 Thread Christian Reiniger
On Monday 12 March 2001 08:33, you wrote: Hello! Why header under Windows do not work? Because you have some problem. That's all that can be said without telepathic skills. -- Christian Reiniger LGDC Webmaster (http://sunsite.dk/lgdc/) Error 032: Recursion error - see error 032 -- PHP

[PHP] Quotes in inputfields Reload

2001-03-12 Thread Jens Nedal
Hy everybody, Well here is the deal (Probably an easy one 8)) I have several inputfields and check if the are valid or have content. If an error occurs and the page reloads i simply echo the content of the fields back into the input fields, viola, wonderful. BUT if there are " eg. Quotes in

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

2001-03-12 Thread Stanislav Malyshev
stasMon Mar 12 02:14:00 2001 EDT Modified files: /php4/ext/standard array.c Log: Prevent memory leak Index: php4/ext/standard/array.c diff -u php4/ext/standard/array.c:1.100 php4/ext/standard/array.c:1.101 --- php4/ext/standard/array.c:1.100 Mon

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

2001-03-12 Thread David Guerizec
davidg Mon Mar 12 02:19:37 2001 EDT Modified files: /php4/ext/midgard article.c Log: added NULL-check Index: php4/ext/midgard/article.c diff -u php4/ext/midgard/article.c:1.14 php4/ext/midgard/article.c:1.15 --- php4/ext/midgard/article.c:1.14 Fri

[PHP] Close persistent db-Connection

2001-03-12 Thread Carola Meyberg
I cannot find out how I can manually close a persistent Postgres Database Connection that has been established by pg_pconnect. I believe pg_close only closes non-persistent connections. Does anyone know how to do this? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail:

Re: [PHP] fscanf

2001-03-12 Thread Yasuo Ohgaki
"Kubol" [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... hello if this is really a silly problem dont blame me, i'm a newbie in php (but i'm experienced in c++ a bit :-) well, imagine i want to write a content of some text file word by word. example will be more

[PHP] Using selected fields

2001-03-12 Thread Tristan . Pretty
Hi there, Firstly a big thanks to those who pointed me in the direction of 'PHP-fast and easy web development'. it was/is a great book, and I have learnt loads on the past week. Anyhoo... I have a php page and included the line: $sql = "SELECT * FROM $table_name WHERE member =

Re: [PHP] Grab and print user IP address

2001-03-12 Thread Dream
Thanks, michi Just a question, what means the tag PRE? thanks! marc [EMAIL PROTECTED] escribió en el mensaje [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hi! I need just a little script so I can get and print in browser the currently users IP address and if possible, browser

Re: [PHP] Grab and print user IP address

2001-03-12 Thread mailing_list
Thanks, michi Just a question, what means the tag PRE? Commonly used for programing code! All between the tags is written AS IS!! try the below with and without pre: htmlbody pre My program BEGIN If event do something else dont do something fi END ; /pre

Re: [PHP] Good Free PHP Editor?

2001-03-12 Thread Aviv Revach
Hey! PHPEd is free: * Runs under Windows. * Has syntax highlighting. Supports: Html, Perl, Php, SQL, and regular text files. * Can edit multiple files * I'm quite sure it reports line numbers. * It has a very good search replace functionality. This is obviously what you need!! You can

Re: [PHP] Good Free PHP Editor?

2001-03-12 Thread Nick Davies
How about linux ones? I just tend to use vim or emacs but i'm sure there are some out there. On Sun, 11 Mar 2001, Aviv Revach wrote: Hey! PHPEd is free: * Runs under Windows. * Has syntax highlighting. Supports: Html, Perl, Php, SQL, and regular text files. * Can edit

Re: [PHP] Good Free PHP Editor?

2001-03-12 Thread Lucas Persona
Andrew Halliday wrote: Does anyone know of a good PHP enabled editor that fits the following criteria:? (in order of importance) - Is free - Runs under Windows - Has colors (syntax highlighting) - Can edit multiple files (ie multi threaded) - Reports line numbers - Has good search

[PHP] RE: printing data using javascript with php

2001-03-12 Thread Tim Ward
-Original Message- From: Nicole Lallande [mailto:[EMAIL PROTECTED]] Sent: 10 March 2001 00:12 To: [EMAIL PROTECTED] Subject: printing data using javascript with php Dear Gurus: I am trying to use javascript with my php code to output data onChange. I have read the

[PHP] (doubt)MCAL installation

2001-03-12 Thread Celestino Roberto Alejandro
How i can get further information about the installation of MCAL extension in a Solaris 2.7 environment? Roberto Celestino Universidad Nacional de la Matanza -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

Re: [PHP] Mailing List

2001-03-12 Thread Harshdeep S Jawanda
On Mon, Mar 12, 2001 at 11:59:37AM +1030, David Robley wrote: On Mon, 12 Mar 2001 11:54, Thomas Anderson wrote: Ok, I've tried time and time again to unsubscribe from php.net's mailing list unisubscribe instructions but it doesn't work. So how do I get off the list? I suppose you

Re: [PHP] Mailing List

2001-03-12 Thread Harshdeep S Jawanda
Hi, Harshdeep S Jawanda wrote: I suppose you must already have tried sending mail to [EMAIL PROTECTED] by now. I tried this address and it worked for me. -- Regards, Harshdeep Singh Jawanda. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For

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

2001-03-12 Thread Stig Bakken
ssb Mon Mar 12 04:50:44 2001 EDT Modified files: /php4/pear/DB oci8.php Log: * added "@" in front of all OCI* function calls Index: php4/pear/DB/oci8.php diff -u php4/pear/DB/oci8.php:1.19 php4/pear/DB/oci8.php:1.20 --- php4/pear/DB/oci8.php:1.19

Re: [PHP] Mailing List

2001-03-12 Thread Nick Davies
On Mon, 12 Mar 2001, Harshdeep S Jawanda wrote: Hi, Harshdeep S Jawanda wrote: I suppose you must already have tried sending mail to [EMAIL PROTECTED] by now. I tried this address and it worked for me. Obviously ;) -- Regards, Harshdeep Singh Jawanda. -- PHP

php-general Digest 12 Mar 2001 13:32:45 -0000 Issue 562

2001-03-12 Thread php-general-digest-help
php-general Digest 12 Mar 2001 13:32:45 - Issue 562 Topics (messages 43423 through 43463): ASP vs PHP 43423 by: Chris Anderson 43427 by: Michael Kimsal 43428 by: Rick St Jean 43434 by: Steve Edberg 43440 by: Simon Garner 43447 by: Carsten

Re: [PHP] Mailing List

2001-03-12 Thread Jens Nedal
Seems that such "blasphemy" as unsubscribing is not allowed ;) Dear heathen, once you sold your soul to PHP you have to payback lifelong, dont forget that! No escape ;) Contacting the Admin should do the thing i guess. regards, Jens Nedal on 12.03.2001 13:49 Uhr, Harshdeep S Jawanda at [EMAIL

[PHP] (doubt)PHP console run

2001-03-12 Thread Celestino Roberto Alejandro
Hello..friend... ..i have a doubt? how i can do for run php in console mode, or better say, that run script in my shell not in a browser... ..and, you give me a hand an i get the arm, how i can get the argument of the line of command?exist ARGV or ARGC? Roberto Celestino El sitio, "Tu portal en

Re: [PHP] Mailing List

2001-03-12 Thread Peter Sabaini
On Mon, Mar 12, 2001 at 06:19:04PM +0530, Harshdeep S Jawanda wrote: On Mon, Mar 12, 2001 at 11:59:37AM +1030, David Robley wrote: On Mon, 12 Mar 2001 11:54, Thomas Anderson wrote: Ok, I've tried time and time again to unsubscribe from php.net's mailing list unisubscribe

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

2001-03-12 Thread Alexander Feldman
sasha Mon Mar 12 05:57:53 2001 EDT Modified files: /php4/ext/gdgd.c Log: A small fix to make the function imageloadfont portable. Index: php4/ext/gd/gd.c diff -u php4/ext/gd/gd.c:1.117 php4/ext/gd/gd.c:1.118 --- php4/ext/gd/gd.c:1.117 Sun Feb

RE: [PHP] Advanced PHP

2001-03-12 Thread Brinkman, Theodore
Actually, the egg did. Eggs existed LONG before land animals, much less chickens. Besides, the first chicken hatched from an egg laid by an almost-chicken. - Theo -Original Message- From: Jerry Lake [mailto:[EMAIL PROTECTED]] Sent: Friday, March 09, 2001 6:38 PM To: [EMAIL

RE: [PHP] Good Free PHP Editor?

2001-03-12 Thread Boget, Chris
Ive been using editpad up till now but my code is starting to get so large that ill need syntax highlighting soon... HomeSite is great. www.allaire.com - not totally free I'm afraid, but there is an eval version. - runs under Windows yes - supports syntax highlighting for lots of

[PHP] Re: [PHP-DB] newbie: MySQL importing data from a variable

2001-03-12 Thread Miles Thompson
No problem. Initialize the counter before your loop, like so: $counter = 1; In the loop, print out the value of the counter and increment it by 1: echo $counter++; The "++" added to counter instructs PHP to increase the value by 1 AFTER the operation and is a shorthand way of saying

Re: [PHP] Good Free PHP Editor?

2001-03-12 Thread Kevin Cawthorne
Edit Plus - every time !!! www.editplus.com I love it - syntax highlighting and great auto-indent features! Kevin -- 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

[PHP-CVS] cvs: php4 / NEWS

2001-03-12 Thread Alexander Feldman
sasha Mon Mar 12 06:07:36 2001 EDT Modified files: /php4 NEWS Log: Added NEWS. Index: php4/NEWS diff -u php4/NEWS:1.609 php4/NEWS:1.610 --- php4/NEWS:1.609 Sun Mar 11 02:08:27 2001 +++ php4/NEWS Mon Mar 12 06:07:36 2001 @@ -2,6 +2,8 @@

RE: [PHP] Good Free PHP Editor?

2001-03-12 Thread Doug Brewer
As long as you are stretching the discussion to shareware, I highly recommend UltraEdit. This is the most feature-loaded extensible text editor I've ever seen. The $30 registration was more than worth it. It has add-on support for syntax highlighting for 100+ languages including PHP.

[PHP] javascript question

2001-03-12 Thread Miguel Loureiro
Hello all, I have a small problem, when using IE4.0 the property, in javascript, document.name_form_nameRadio[n].DISABLED it woks fine, but in Netscape 4.6 it dont. Anyone can give an ideia or an url for more information. I know that this isn't a php question, sorry. T.Y. all Miguel

Re: [PHP] Best way to pass SQL TEXT field via a link

2001-03-12 Thread The Arting Starvist
I'm passing the ID in the url, as recommended, and then having other problems that may or may not really be pertinent to this list: 1) The mySQL text data ($description) won't populate my form. I'm using textarea input, and it just won't accept and display the value of $description. It's

[PHP] content-type problem with file uploads

2001-03-12 Thread James Tremain
I've been successfully uploading graphic files to a directory on my php server for more than a year. Suddenly, it no longer works, and after a lot of probing, I'm at a loss to determine why. I run PHP4.0.4pl1-3 as an Apache module on RedHat7. Files upload as expected, but PHP no longer provides

RE: [PHP] Print form variables in PHP

2001-03-12 Thread Jon Haworth
If the ACTION attribute of the form points to your PHP script, the variables should automagically appear, i.e. $result would be "1", $age would be "23", and $name would be "john". Failing that you could investigate the explode() function. However, if the form isn't controlled by you, how come is

Re: [PHP] content-type problem with file uploads

2001-03-12 Thread Nick Davies
Content-type = not Content-Type = ... On Mon, 12 Mar 2001, James Tremain wrote: I've been successfully uploading graphic files to a directory on my php server for more than a year. Suddenly, it no longer works, and after a lot of probing, I'm at a loss to determine why. I run

Re: [PHP] fscanf

2001-03-12 Thread Kubol
01-03-13 05:00:01, "Yasuo Ohgaki" [EMAIL PROTECTED] wrote: I think fscanf() is line oriented in C, isn't it? (I haven't used fscanf() for a long time, I'm not 100% sure w/o reference.) no, i'm sure in c fscanf reads the next string available, not first string in next line Your $buffer should

[PHP] PHP Book

2001-03-12 Thread Tristan . Pretty
Hi there, I got this book from php.net is it the one you're after? who knows. I just tried mailing it to you, but it was a huge 9Mb and my Firewall stops mails after 5Mb What I have done for you is put it up on line at my site. Click here to get it, but remember it is 9Mb in size, have you got

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

2001-03-12 Thread Sean Bright
elixer Mon Mar 12 07:14:38 2001 EDT Modified files: /php4/ext/mysql php_mysql.c Log: Fixed prototype. Index: php4/ext/mysql/php_mysql.c diff -u php4/ext/mysql/php_mysql.c:1.72 php4/ext/mysql/php_mysql.c:1.73 --- php4/ext/mysql/php_mysql.c:1.72 Sun

Re: [PHP] PHP Book

2001-03-12 Thread Tristan . Pretty
My god, you ever have one of those days??? I missed out an R... the correct address is... http://www.beertastic.co.uk/phpman.pdf I am sorry, lets try again eh? Tris... Could not resolve nameserver. Original Message On 3/12/01, 8:44:32 AM, [EMAIL PROTECTED] wrote regarding [PHP] PHP

Re: [PHP] Good Free PHP Editor?

2001-03-12 Thread Data Driven Design
It sounds like you just described Homesite. - Original Message - From: Harshdeep S Jawanda [EMAIL PROTECTED] To: Andrew Halliday [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Monday, March 12, 2001 7:54 AM Subject: Re: [PHP] Good Free PHP Editor? Hi, Andrew Halliday wrote: Does

[PHP] Re: Good Free PHP Editor?

2001-03-12 Thread The Arting Starvist
I recently downloaded a newer EditPad Lite version that offers highlighting and other nice improvements over the "classic" EditPad. m -Original Message- From: Andrew Halliday [EMAIL PROTECTED] To: [EMAIL PROTECTED] [EMAIL PROTECTED] Date: Monday, March 12, 2001 12:04 AM Subject: Good

[PHP] PHP Book

2001-03-12 Thread Marcelo Pereira
Hi all, I am new at PHP and I realize that the pdf format of the PHP Book by Bruce Momjian at http://www.php.net has been removed from there and now there is only the html format (I guess I arrived very late to get the pdf format). Has anybody downloaded the pdf file of this book when the

Re: [PHP] Functional Programming Style?

2001-03-12 Thread Ted Goranson
Beyond that. Anything to suggest? The requirement is for a peer-peer agent-based situation-theoretic backward-chainer with quasirealtime browser feedback. A functional paradigm is indicated, with monads and all that. All the rest of the site is PHP-driven, so it could make sense to do as much

[PHP] syntax for session_register();

2001-03-12 Thread stas
Hello, What is the correct syntax for registering a variable that's a part of an array. I tried these variations (i'm doing this in a loop): session_register('$form_val[$val]'); session_register($form_val[$val]); This registers _something_, but not what I need. Thanks for any help! stas

RE: [PHP] Advanced PHP

2001-03-12 Thread PHPBeginner.com
If I am not wrong, there are over 5.000 subscribers to this list, while it only sends 200-300 emails a day. (I took this data from my own 80.000-emails mailbox, so don't judge my previsions) The "big boys", or better say these who do not write because of being busy but always read because

RE: [PHP] Re: Good Free PHP Editor?

2001-03-12 Thread PHPBeginner.com
Have you tried EditPlus? www.editplus.com they are especially good for search, replace function and highlighting is also very easy to use, you can even define your own functions to highlight. Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL

RE: [PHP] Quotes in inputfields Reload

2001-03-12 Thread PHPBeginner.com
hi Jens, PHP automatically escape the dangerous characters from the user input on form submissions. there are several ways to escape that back : stripslashes() urlencode() htmlentities() read about these, they will soon become your solutions. Sincerely, Maxim Maletsky Founder, Chief

RE: [PHP] header

2001-03-12 Thread PHPBeginner.com
Nick, headers work on Windows just as they do on Linux. Can you give us a piece of code so we can give you a hand with your problem? Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED] www.phpbeginner.com -Original Message-

RE: [PHP] Variable dynamique

2001-03-12 Thread PHPBeginner.com
do this: ${$var.$num} But, as I can only guess you are not very familiar with arrays, they usually better for most of your needs. I think this is what you have to learn instead. www.php.net/arrays Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins)

Re: [PHP] ASP vs PHP

2001-03-12 Thread Michael Kimsal
Carsten Gehling wrote: Are you sure? The #include is an SSI directive, not ASP. It should create a separate internal HTTP request for the included file. I know for sure that for example you can include a JScript ASP page inside a VBScript ASP page like this - although I realise

Re: [PHP] syntax for session_register();

2001-03-12 Thread stas
Sean, as I said, I'm trying to accomplish this in a loop, and the variable is in array. To use your approach I would have to get rid of the loop and type out the code manually. This purpose of this is to create persistant form values in case form validation fails. Here's my code: ?php

[PHP] Graphic plugins?

2001-03-12 Thread Todd Cary
Is there a plugin for browsers that will give the user the ability to Zoom, rotate, and do other graphic functions with images? Todd -- Todd Cary Ariste Software [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: [PHP] Testing for session without setting cookies

2001-03-12 Thread Simon Woods
Hi all, Comments in the message below ... Yasuo Ohgaki wrote: "Simon Woods" [EMAIL PROTECTED] wrote in message Hi All, Sorry if I am asking a vfaq but I was unable to find anything in the archives. I am using PHP4 with session handling to track users which have logged in to my

Re: [PHP] sending SMS messages via PHP

2001-03-12 Thread Steven WC
Hi, This may soon depend on what Cellco you are sending from/to in the UK. They used to pass on messages between themselves for no cost but I understand that they are going to change over to charging each other per message. This may effect their own free email gateways but it certainly will

[PHP] (roberto)PHPJVA

2001-03-12 Thread Celestino Roberto Alejandro
Hello..i'm trying PHPJAVA ..we can in my .java file import javax.swing classes, and the how i can do that runnin it with php, don't say the Error...of javax.swinng...etc..can't loaded...! thanks... Roberto Celestino -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail:

[PHP] From beginner

2001-03-12 Thread Lembit Pirn
Hi there, I'm real beginner in php and tried to use sockets. I copied an example from manual (Simple TCP/IP client) and connected to my socket server. If I understadn manual correctly, then function read ($socket, $out, $len) is supposed to read buffer with length $len or break out with chr(0)

FW: [PHP] Classes and Kernel CPU Load?

2001-03-12 Thread Krznaric Michael
-Original Message- From: Krznaric Michael Sent: Monday, March 12, 2001 12:29 PM To: 'Jens Kisters' Subject: RE: [PHP] Classes and Kernel CPU Load? I don't know much about OS design, but I may want to check out how long the context switches are taking. That could be an issue? Mike

Re: [PHP-CVS] cvs: php4 /pear pear.m4

2001-03-12 Thread Andi Gutmans
What is the reason for this? Shouldn't we keep it the way it works within the PHP tree? Some modules include php_config.h or do you also have that in PEAR? Andi At 09:54 AM 3/12/2001 +, Stig Bakken wrote: ssb Mon Mar 12 01:54:26 2001 EDT Modified files: /php4/pear

[PHP] Linux / PHP and passwords -( md5 function)

2001-03-12 Thread neil
Hello all I am trying to generate a MD5 string equal to a known passwords MD5 string , with no luck in order to make a new password file i have tried use php's : $value = md5($string); and $value = crypt($string,$salt); the passwds in my systems /etc/shadow all start with $1 which i believe

Re: [PHP] Re: Good Free PHP Editor?

2001-03-12 Thread Ryan Christensen
I'd definitely agree with that.. I've been using EditPlus for quite a while now, and have no complaints.. ""PHPBeginner.com"" [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Have you tried EditPlus? www.editplus.com they are especially good for search, replace

[PHP] PHPLib Phorum

2001-03-12 Thread Matt Williams
Hi Does anyone know if anyone has built phorum or any other BB with PHPLib authentication?? I was wondering if I could save myself a lot of time.. TIA M@ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

[PHP] search a text file

2001-03-12 Thread Peter Benoit
I've got a bit of a task where I need to poll a text file for several lines of text which is buried deep within the file. These lines change each day, but the text surrounding them do not. Is it possible to extract these lines of information based on the text surrounding them? -- PHP General

[PHP] upload file problems

2001-03-12 Thread Jerry Lake
Using this code snip ?php if (is_uploaded_file($userfile)) { echo $userfile; copy($userfile, "/www/workbox/htdocs/audio"); } else { echo "Possible file upload attack: filename '$userfile'."; } ? /snip I keep getting the following error. the directory exists and is chmoded to

[PHP] Have you ever seen this?

2001-03-12 Thread Dhaval Desai
Hi! I know this is in no way related to Php but I am writing this mail coz I didn't know where to ask this question and I am sure there are a lot of Web Developers and Programmers who can help me out. Well There are some versions of some sites in two languages and both of them work equally well

[PHP] HTTP_POST_VARS

2001-03-12 Thread stas
Hello, Is it that correct that only non-empty variables get inserted into HTTP_POST_VARS? I am trying to do server side form validations, and this represents a bit of difficulty in terms of notifying a user about which fields are missing values.

Re: FW: [PHP] Classes and Kernel CPU Load?

2001-03-12 Thread Christian Reiniger
On Monday 12 March 2001 18:28, you wrote: I don't know much about OS design, but I may want to check out how long the context switches are taking. That could be an issue? Definitely not under Solaris :) -- Christian Reiniger LGDC Webmaster (http://sunsite.dk/lgdc/) Install once, run

Re: [PHP] Linux / PHP and passwords -( md5 function)

2001-03-12 Thread Christian Reiniger
On Monday 12 March 2001 18:31, you wrote: I am trying to generate a MD5 string equal to a known passwords MD5 string , with no luck in order to make a new password file i have tried use php's : $value = md5($string); and $value = crypt($string,$salt); the passwds in my systems /etc/shadow

[PHP] Kick one of these darn elements out of my array, I aint having it!

2001-03-12 Thread Brandon Orther
Hello, I want to take one element out of an array, is there a way to remove an element and have the array resorted so there isn't a blank spot where I remove the elements? Here is an example if the above text made no sense. Example: $array = Array("1", "2", "3", "4"); So: $array[0] = 1,

Re: [PHP] Kick one of these darn elements out of my array, I ainthaving it!

2001-03-12 Thread Thomas Deliduka
On 3/12/2001 1:38 PM this was written: I want to take one element out of an array, is there a way to remove an element and have the array resorted so there isn't a blank spot where I remove the elements? Here is an example if the above text made no sense. Example: $array = Array("1", "2",

Re: [PHP] Have you ever seen this?

2001-03-12 Thread Christian Reiniger
On Monday 12 March 2001 19:21, you wrote: Well There are some versions of some sites in two languages and both of them work equally well even If your system doesn't have fonts. It uses some kindaa server font management I gues.. Has anyone of you all out there worked on some site like

Re: [PHP] search a text file

2001-03-12 Thread CC Zona
In article [EMAIL PROTECTED], [EMAIL PROTECTED] (Peter Benoit) wrote: I've got a bit of a task where I need to poll a text file for several lines of text which is buried deep within the file. These lines change each day, but the text surrounding them do not. Is it possible to extract

RE: [PHP] search a text file

2001-03-12 Thread Peter Benoit
OK, I'm a little new to this, else I would have known that. Any examples out there I could use/modify? thanks, pete -Original Message- From: CC Zona [mailto:[EMAIL PROTECTED]] Sent: Monday, March 12, 2001 2:16 PM To: [EMAIL PROTECTED] Subject: Re: [PHP] search a text file In

[PHP] Escape slashes?

2001-03-12 Thread Tanya Brethour
Hi! I am trying to do some fileuploading.. but I am running into a problem with escaping spaces. Basically, I have this directory that includes spaces and I need to be able to change the spaces to "\ " so for example.. my directory is: Fun Documents I need to change it to: Fun\ Documents

[PHP] Re: Trouble setting up

2001-03-12 Thread Tanya Brethour
Did you copy the php library over? And second.. are you actually going directly to the php script OR.. is it named index.php and you are only going to the directory? -Tanya On Mon, 12 Mar 2001, Luis wrote: Hello all I new to the php . I was wondering if anyone could help me out with a

Re: [PHP] Trouble setting up

2001-03-12 Thread Tanya Brethour
err not the library.. but php.ini -Tanya On Mon, 12 Mar 2001, Luis wrote: Hello all I new to the php . I was wondering if anyone could help me out with a little problem that I'm having. I download the new version of php. I installed mysql , apache (new version) and php. What i'm

[PHP] Get next record

2001-03-12 Thread WreckRman2
How can one get the next record to compare two fields... I want to check if the date of the first record matches the date of the next record with the least amount of code... David Smith Indy Web Design http://www.indywebdesign.com -- PHP General Mailing List

RE: [PHP] Get next record

2001-03-12 Thread Boget, Chris
How can one get the next record to compare two fields... I want to check if the date of the first record matches the date of the next record with the least amount of code... You are going to have to work with row pointers. If you are using mySQL, look at the function:

Re: [PHP] Get next record

2001-03-12 Thread Tanya Brethour
Umm if you are talking about records in the sense of a table.. you could do something like "SELECT record_id,record_date FROM table" and then go through the array and compare the dates. You only do one query from the database and then you know which records match by hanging onto their

[PHP] Re: Trouble setting up

2001-03-12 Thread Luis
Tanya Brethour wrote: Did you copy the php library over? And second.. are you actually going directly to the php script OR.. is it named index.php and you are only going to the directory? -Tanya On Mon, 12 Mar 2001, Luis wrote: Hello all I new to the php . I was wondering if

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

2001-03-12 Thread Colin Viebrock
cmv Mon Mar 12 11:30:56 2001 EDT Added files: /php4/pear/Net Dig.php Log: A nice friendly OO interface to dig Index: php4/pear/Net/Dig.php +++ php4/pear/Net/Dig.php ?php // //

[PHP] what are the steps to recompile PHP?

2001-03-12 Thread colin olkowski
if one wants to recompile php (to add support for something that was missed during the first compile) is there a step I need to complete that will remove the earlier version of php, or do i just recompile over the old php and not worry about it? thanks colin olkowski - [EMAIL PROTECTED] cell

Re: [PHP] what are the steps to recompile PHP?

2001-03-12 Thread Tanya Brethour
I would assume that you need to 1) make sure you install it in the same place :) 2) if you already compiled a Apache binary you need to copy the new binary over.. or do another make install. I would just follow the steps you did when you first installed it.. and it should overwrite everything

[PHP] Need to download files in IE

2001-03-12 Thread James R. Edgar
I am trying to set my script up so that when a person clicks on the link, that the page will prompt for a download w/ the filename in the File Name field in the Save As prompt. I can get this to work in Netscapse but when I try to do it with Internet Explorer I encounter problems. It either says

[PHP] SOS !

2001-03-12 Thread Nicolas MERLET
Please help me ! My problem is that I can't load PHP scripts (.php extension) with my personal server. My OS is Windows 95B (but MSIE 5 update), and I use PWS for Win 95 (not 4.0 for Win 98). My PHP version is: 4.0.4pl1 for Win32 I've already done this instructions, I've found in the manual:

Re: [PHP] SOS !

2001-03-12 Thread Phil Driscoll
A few people seem to have this PWS problem - and the only cure seems to be to reinstall PWS. The symptoms seem to be something like PWS is ignoring the scriptmap directive and no end of fiddling around with the registry will make it behave. You could always ditch PWS and use Xitami if you have a

Re: [PHP] getting client info

2001-03-12 Thread Tanya Brethour
I am not sure if there is a way to do this. The only thing you could do is determine level of encryption by browser version. This might work in some cases.. but obviously if they have an old browser version (whose encryption level is low by default) and they install like an encryption_pack (IE

[PHP] In my attempt to read from a text file...

2001-03-12 Thread Peter Benoit
I'm trying preg_match with no success. I'd like to search inside the text file for my name, then pull all the info from that point till the next name which is Fred. The text file would be called names.txt So I'm trying to preg_match("Peter",names.txt,$myname) then do the same for Fred, and

Re: [PHP] Need to download files in IE

2001-03-12 Thread Pierre-Yves Lemaire
Hello, I do that with this piece of code. ( This will close the window, so open a new one and put this code inside) header("Content-disposition: attachment; filename=\"$fileName\""); header("Content-type: application-download"); header("Pragma: no-cache"); header("Expires: 0");

Re: [PHP] search a text file

2001-03-12 Thread CC Zona
[quotes returned to bottom-posting, for clarity] In article [EMAIL PROTECTED], [EMAIL PROTECTED] (Peter Benoit) wrote: In article [EMAIL PROTECTED], [EMAIL PROTECTED] (Peter Benoit) wrote: I've got a bit of a task where I need to poll a text file for several lines of text which is

[PHP-CVS] cvs: php4 /pear Makefile.in

2001-03-12 Thread Colin Viebrock
cmv Mon Mar 12 11:35:28 2001 EDT Modified files: /php4/pear Makefile.in Log: Forgot to add it here Index: php4/pear/Makefile.in diff -u php4/pear/Makefile.in:1.72 php4/pear/Makefile.in:1.73 --- php4/pear/Makefile.in:1.72 Thu Mar 1 23:52:56 2001 +++

Re: [PHP] Good Free PHP Editor?

2001-03-12 Thread Simon Garner
From: "Boget, Chris" [EMAIL PROTECTED] HomeSite is great. www.allaire.com - not totally free I'm afraid, but there is an eval version. - runs under Windows yes - supports syntax highlighting for lots of languages including HTML, PHP, Perl, SQL, ASP (VB/JS). - can edit multiple

  1   2   >