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] /Fred

[PHP] form code for download - very powerful, object oriented

2001-03-12 Thread Jeffrey Greer
Hello, I've created some form code. It is not finished yet, but it is usable and powerful. I've looked at other form code, but none is object oriented. I've put this code up before it is finished so I can get some suggestions for future development. With this form class you can create your ow

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 http://php.net/manual/en/ref.session.php sessions with cookies - will tra

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 fo

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

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: in your ASP page? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROT

[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 php4/pear/pear.m4:1.

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

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 tags. I tried usin

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 PROT

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 Ge

[PHP-CVS] cvs: pear /PEAR .cvsignore INSTALL Makefile.in config.m4 pear.c php_pear.h

2001-03-12 Thread Stig Bakken
ssb Mon Mar 12 02:12:57 2001 EDT Added files: /pear/PEAR .cvsignore INSTALL Makefile.in config.m4 pear.c php_pear.h Log: * started converting the PEAR base class to C (currently only constructor and destructor is implemented) I

Re: [PHP] File Upload Size Limit Problem

2001-03-12 Thread Yasuo Ohgaki
If you have been changed your php.ini to accept larger uploaded files. Then there are many possibilities. If you explain what kind of environment you have and it's settings, someone might be able to help you. Regards, -- Yasuo Ohgaki ""Jeff Oien"" <[EMAIL PROTECTED]> wrote in message [EMAIL PRO

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

Re: [PHP] ASP vs PHP

2001-03-12 Thread Carsten Gehling
From: "Simon Garner" <[EMAIL PROTECTED]> Sent: Monday, March 12, 2001 10:45 AM > > 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: > > > > in your ASP page? Won't work I'm afraid. ASP expects all

Re: [PHP] newbie array question

2001-03-12 Thread Robin Vickery
> "S" == "stas" <[EMAIL PROTECTED]> writes: > Thanks, I know that, but I don't want to type out assignments > manually, as my list of my form values will grow. However, I solved > very simply like this: > $form_val_list = >"firstname,lastname,address,address2,city,state,zip,phone,ema

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

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

[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

Re: [PHP] Grab and print user IP address

2001-03-12 Thread mailing_list
> 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. HTH michi -- Sent through GMX FreeMail - http://www.gmx.net -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL

Re: [PHP] ASP vs PHP

2001-03-12 Thread Carsten Gehling
From: "Simon Garner" <[EMAIL PROTECTED]> Sent: Monday, March 12, 2001 11:37 AM > 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 VBSc

[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 = \"$member\

Re: [PHP] Grab and print user IP address

2001-03-12 Thread Dream
Thanks, michi Just a question, what means the tag ? 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, brow

Re: [PHP] Grab and print user IP address

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

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

[PHP-CVS] cvs: functable / update.all xslgen

2001-03-12 Thread Hartmut Holzgraefe
hholzgraMon Mar 12 04:22:35 2001 EDT Modified files: /functable update.all xslgen Log: apply HTMLSpecialChars to generate valid XML for version info rename output file from .xsl to .xml Index: functable/update.all diff -u functable/update.all:1.4

[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

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

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

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 P

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

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 unisubs

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

[PHP] PHP scripts

2001-03-12 Thread Alexandre Hautequest
Hi all. How do i use php to build "shell scripts"? Please send me the compiler-time options or the link to the page that instructs me to how to do this, i had look at phpbuilder.com as mentioned before, but didn't find anything related. Thanks. -- Alexandre Hautequest hquest at fesppr.br Fund

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

[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. http://www.u

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

[PHP] Print form variables in PHP

2001-03-12 Thread Dream
Any idea of how to get information from a form (not a form controlled by me, through GET method, i.e. info coming with the URL, like this http://www.xxx.com/xxx.cgi?result=1&age=23&name=john) and print it through php v.3? I don't know how to get the info (coming from an outside form) and pass it

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 input, and it just won't accept and display the value of $description. It's empty, and whe

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

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 PH

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

RE: [PHP] Pluralize a word for searching a database

2001-03-12 Thread Robert V. Zwink
In case anyone wonders, I ended up recompiling php with the pspell and aspell functions. These functions will return pluralized versions of words, along with possible spellings. I will probably try to customize the dictionary that comes with the programs, but other that that it appears to be wha

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

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

Re: [PHP] Good Free PHP Editor?

2001-03-12 Thread Harshdeep S Jawanda
Hi, 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 go

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 P

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

[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] Good Free Book...

2001-03-12 Thread stout
about PHP Editors? ;-\ -- 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] 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 link

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

[PHP] RE: Using selected fields

2001-03-12 Thread Tim Ward
> $sql = "SELECT * FROM $table_name > WHERE member = \"$member\" AND pw = \"$pw\" > "; presumably you then have something like ... $result = mysql_db_query($dbhandle, $sql); if (mysql_num_rows > 0) { $authorised = true; // ... now you can do $sql_fields =

Re: [PHP] syntax for session_register();

2001-03-12 Thread Sean B.
You were close: session_register("varname"); The key thing to remember is that it's the variable name WITHOUT the $. so... $variable = "Hello"; session_register("variable"); > > Hello, > > What is the correct syntax for registering a variable that's a part of an > array. I tried these variation

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 there's

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 PRO

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 Deve

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

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 real

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: "; echo "test

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

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 logge

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 effec

php-general@lists.php.net

2001-03-12 Thread Celestino Roberto Alejandro
Hello..i'm trying PHP&JAVA ..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: [EMA

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

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

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

[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 I keep getting the following error. the directory exists and is chmoded to 777, what am I doing wrong ? Warning: Unable to create '/www/workbox/htdocs/audio': Is a directory in /www/workbox/htdocs/upload.php on line 4 Jerry Lake- [EMAIL PROTECTED] Web Designer Euro

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

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/

[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, $array[

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

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

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 extr

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 article

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

[PHP] REDIRECT_SCRIPT_URL What/How'd I do this?

2001-03-12 Thread Paul Warner
OK, seems I have created some unintended results in PHP. A few weeks ago I was trying to split some common code out into an include file. I was running into problems with an image when the calling file was not in the root of the web directory and was experimenting with various ways to ensure tha

[PHP] getting client info

2001-03-12 Thread Mitchell Hagerty
I am using http://www.asphyxia.com/PHP_BD/PHPClientSniffer.phps to get info about the browsers connecting to me but I would also like to get the level of encryption they are capable of. Any thoughts on how to do this? tks mitch -- PHP General Mailing List (http://www.php.net/) To unsubscr

[PHP] Trouble setting up

2001-03-12 Thread Luis
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 having trouble is setting it up. I found a link how to set up php, mysql and apache. I ev

  1   2   3   >