[PHP] for loop problem

2002-03-20 Thread Kris Vose
I have a problem with a piece of code that uses the mail function in a for loop. It sends out mail to all the users in the database but it has a problem with attaching their specific name into the message. What happens is the first user in the database will get their name in the e-mail (Dear

Re: [PHP] Multipage form

2002-03-20 Thread Miguel Cruz
On Wed, 20 Mar 2002, David Johansen wrote: I was just wondering what was the best way to handle a multipage form. Would the best way be to keep passing the variables through the forms as hidden values or should I use sessions and store all the values as session variables? What's the best way

Re: [PHP] for loop problem

2002-03-20 Thread cal
Try this: If ($button != ) { $t = mysql_query(SELECT * from AddExisting); $number_of_customers = mysql_num_rows($t); for($i=0; $i$number_of_customers;$i++) { $r = mysql_fetch_array($t);

Re: [PHP] for loop problem

2002-03-20 Thread cal
Opps, last messages had the definition of $originalMessage in the wrong place. Try this: If ($button != ) { $t = mysql_query(SELECT * from AddExisting); $number_of_customers = mysql_num_rows($t); $originalMessage = $message; for($i=0;

Re: [PHP] HTMLnetscape issue

2002-03-20 Thread Jason Lotito
Try including a nbsp; in the cell tr td background=images/bottomcell_bg.gifnbsp;/td /tr - Original Message - From: Vlad Kulchitski [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, March 20, 2002 1:11 PM Subject: [PHP] HTMLnetscape issue Hi, Sorry for repeating

Re: [PHP] for loop problem

2002-03-20 Thread Miguel Cruz
On Wed, 20 Mar 2002, Kris Vose wrote: I have a problem with a piece of code that uses the mail function in a for loop. It sends out mail to all the users in the database but it has a problem with attaching their specific name into the message. What happens is the first user in the database

Re: [PHP] mysql update help needed

2002-03-20 Thread Miguel Cruz
On Wed, 20 Mar 2002, ROBERT MCPEAK wrote: $sql = UPDATE mytable SET img_url=$img_url,visitdate=$visitdate,img_group=$img_group,display=$display, caption=$caption where id = $id; You need to surround non-numeric values with 'single quotes'. $sql = update mytable set

Re: [PHP] TIMESTAMP and COMPARISON

2002-03-20 Thread Jason Wong
On Thursday 21 March 2002 03:53, chris allen wrote: Hello, I am looking for a standard way to compare to dates. I have a date/time stored in a field in a mysql table as date_added TIMESTAMP(14). (IE mmddhhmmss). I want to delete all records in this table if date_added is older

[PHP] cvs data PHP

2002-03-20 Thread Erik Price
I was wondering if there is a way to access CVS from a PHP script. Obviously there's some way to do it, SourceForge does it. What I'm wondering is how -- Somebody commits an XML file to CVS. Later, somebody else accesses the PHP script. The PHP script queries CVS for the latest version of

Re: [PHP] cvs data PHP

2002-03-20 Thread John S. Huggins
Look for CHORA on the net. It is a PHP thing that somehow accesses a CVS respository. I discovered it as part of phpGroupWare. It works well and should serve as a decent guide. On Wed, 20 Mar 2002, Erik Price wrote: -I was wondering if there is a way to access CVS from a PHP script.

[PHP] php code generator

2002-03-20 Thread W McCloud
We are trying to find a php code generator like Macromedia Ultradelv to develope a web base app. Can someone recommend a few. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] RE: php code generator

2002-03-20 Thread Jason Bell
you can find a fairly decent PHP extension for ultra dev at the below link. http://www.interakt.ro

Re: [PHP] HTML (to XML?) to PDF

2002-03-20 Thread Chris Boget
I need to take what is presented to the user (ie, the data less the HTML tags but maintaining the formatting) and turn it into a PDF file. I found the solution with HTMLDoc (http://www.easysw.com/htmldoc/) It was very easy to set up and use. I heartily recommend it for anyone who has the

[PHP] Re: Multipage form

2002-03-20 Thread Manuel Lemos
Hello, David Johansen wrote: I was just wondering what was the best way to handle a multipage form. Would the best way be to keep passing the variables through the forms as hidden values or should I use sessions and store all the values as session variables? What's the best way to handle

[PHP] [Newman] updating a mysql record if IP # is the same.

2002-03-20 Thread Philip J. Newman
What I'm trying to do: I have a log table called 'access'. When a user comes to my website there IP is logged, along with there DNS name. When they return with the same IP number the accessVIEW is updated +1 and the last number is assigned to them. Heres the Code: ?php requireconfig.php;

[PHP] sessions

2002-03-20 Thread Joshua E Minnie
I am kind of confused by an error I am getting when trying to destroy a session. Here is the error that I am receiving along with the code that is causing the problem. Warning: Cannot send session cache limiter - headers already sent (output started at /home/www/wildwebtech/cumc/default.php:9)

RE: [PHP] Multipage form

2002-03-20 Thread Kevin Stone
I find sessions to be the best solution in these situations. I like to compile the problem into a single multi-dimensional array of pages and form inputs such as.. $forms = array ( 'contact' = array ($company, $name, $email, $addr, $phone), 'creditcard' = array ($full_name, $num, $type,

RE: [PHP] sessions

2002-03-20 Thread Alastair Battrick
There must be some whitespace in the script before the opening ?php Lose that and the error should go with it. Alastair Battrick Senior Developer Lightwood Consultancy Ltd http://www.lightwood.net I am kind of confused by an error I am getting when trying to destroy a session. Here is the

[PHP] html form select list selected

2002-03-20 Thread ROBERT MCPEAK
I'd like to determine the selected option in a select list based on a passed variable. The code below won't work, but I can't figure out why. Any guesses? echo form; echo select name=\display\; echo option value=\true\; if ($display==false){echo

RE: [PHP] Sessions

2002-03-20 Thread Kevin Stone
on line 10? Curious, you don't even have 10 lines there. Do you have lines above the PHP tag ?. The ? Must start the first character on the first line of the page otherwise the browser will interpret it as either Content-type: text/plain or Content-type: text/html and give you a headers

[PHP] Fwd: html form select list selected

2002-03-20 Thread ROBERT MCPEAK
Whoops! Still won't work but that code should read: echo form; echo select name=\display\; echo option value=\true\; if ($display==true){echo selected;} echo Display; echo option value=\false\; if ($display==false){echo selected;}

RE: [PHP] Fwd: html form select list selected

2002-03-20 Thread Kevin Stone
The contents of $display are a string so you must have quotes aroud it in the comparison statement. if ($display == 'false') // should work. Alternatively you could do. select name=display option value=0True option value=1False /select Now the contents of $display is an integer which will can

Re: [PHP] why doesnt this work???

2002-03-20 Thread Joel Boonstra
Hello, I read a ton of replies to this already, and there was a lot of good advice. However, it should be worth noting (and I don't think anyone did already) that you have a misspelling in this code: snip $password = ; // . . . $query = select * from medlemmer where bruker =

RE: [PHP] Fwd: html form select list selected

2002-03-20 Thread ROBERT MCPEAK
Still doesn't work. What gives? Kevin Stone [EMAIL PROTECTED] 03/20/02 04:31PM The contents of $display are a string so you must have quotes aroud it in the comparison statement. if ($display == 'false') // should work. Alternatively you could do. select name=display option value=0True

[PHP] broken select solution

2002-03-20 Thread ROBERT MCPEAK
got it: ?php echo $displayBr; echo form; echo select name=\display\;

[PHP] Check Version - License verification

2002-03-20 Thread Dreamriver.com
Hi All, In appreciation of the fine contributions found on this list I thought I'd post remarks about a new system I'm trying that shows some promise. The system purpose is to enable a third party [an administrator] to check the software version for a php driven software application [which

RE: [PHP] something weird is going on...

2002-03-20 Thread Kevin Stone
Could be a browser cache issue. Open just the image in the browser (http://kulchitski.com/problem/images/bottomcell_bg.gif) and hit Ctrl+Refresh. Go back to the page and see if it doesn't show up. Attractive looking page by the way. :) -Kevin -Original Message- From: Vlad Kulchitski

Re: [PHP] mail()

2002-03-20 Thread bvr
Jennifer, The SMTP option in php.ini is for Windows only. On other platforms you should specify a delivery program (sendmail). If you still want to use an external server, there are classes available that send mail through an SMTP server without using mail(). bvr. Jennifer wrote:

Re: [PHP] Fwd: html form select list selected

2002-03-20 Thread Erik Price
On Wednesday, March 20, 2002, at 04:23 PM, ROBERT MCPEAK wrote: Whoops! Still won't work but that code should read: echo form; echo select name=\display\; echo option value=\true\; if ($display==true){echo selected;} echo Display; echo

RE: [PHP] [Newman] updating a mysql record if IP # is the same.

2002-03-20 Thread Kevin Stone
A number of problems. First and foremost you're extracting multiple rows from the database table are you not? Therefore you must increment through them in some way. I like to embed my mysql_fetch_xxx() functions in a while() loop. --- while ($row =

RE: [PHP] HTMLnetscape issue

2002-03-20 Thread heinisch
At 20.03.2002 13:38, you wrote: STILL DOESN'T WORK :( -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: 20 ÂÅÒÅÚÎÑ 2002 Ò. 13:29 To: [EMAIL PROTECTED] Subject: Re: [PHP] HTMLnetscape issue At 20.03.2002 13:11, you wrote: Hi, Sorry for repeating myself,

[PHP] PHP 4.2.0 Release Candidate 1

2002-03-20 Thread Derick Rethans
Hello, A release candidate for PHP 4.2.0 has just been packed. This build is used for testing the readiness of the release branch. By providing feedback to this build, we can make sure the actual release (planned for April, 22nd) has as few bugs as possible. This release candidate is NOT

[PHP] safemode access to /usr/local/lib/php ?

2002-03-20 Thread Kai Schaetzl
If I enable safemode I get an error each time a function in the PHP repository is used, something like: access for the file with UID xxx is not allowed to /usr/local/lib/php/PEAR.php with UID 0 It's clear why this happens but it doesn't make any sense to shut off access to this directory.

RE: [PHP] PHP 4.2.0 Release Candidate 1

2002-03-20 Thread Johnson, Kirk
Where can we read a description of what is in this release? TIA Kirk A release candidate for PHP 4.2.0 has just been packed. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Assignment operator proposal

2002-03-20 Thread Bogdan Stancescu
Hi all! I'd like to hear from a single one of you who isn't tired of code similar to ? if (!$whatever) { $whatever=something; } ? or else ? if ($whatever) { $somethingelse=$whatever; } ? How about a new asignment operator which would shut up all those Python enthusiasts -

Re: [PHP] Assignment operator proposal

2002-03-20 Thread Enrico Weigelt
On Thu, Mar 21, 2002 at 12:36:26AM +0200, Bogdan Stancescu wrote: Hi all! I'd like to hear from a single one of you who isn't tired of code similar to i'm solving this with some little knowledge of shortcuts evaluation ... ? if (!$whatever) { $whatever=something; } ?

[PHP] Forcing little endian with pack(d);

2002-03-20 Thread Mika Tuupola
http://www.php.net/manual/en/function.pack.php The manual page describes format string d as: d double (machine dependent size and representation). Is there an easy way of forcing the binary to be representated little endian even with hosts which are big

Re: [PHP] HTTP_Upload with PHP

2002-03-20 Thread Dreamriver.com
Hello, I also have been seeing file upload problems with version 4.1.2. It seems that the (phpinfo()) default settings of: upload_tmp_dir = no value no value ... are not in agreement with [online documentation] the anticipated temporary upload folder named /tmp. $upload_tmp_dir = /tmp

RE: [PHP] Assignment operator proposal

2002-03-20 Thread Kevin Stone
There seems to be a parse error in your code. The words Python and enthusiast can not exist together in the same substr. This will result in the LMAO error you've been receiving. :) -Kevin -Original Message- From: Bogdan Stancescu [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 20,

Re: [PHP] Assignment operator proposal

2002-03-20 Thread heinisch
At 21.03.2002 00:36, you wrote: Hi all! I'd like to hear from a single one of you who isn't tired of code similar to ? if (!$whatever) { $whatever=something; } ? or else ? if ($whatever) { $somethingelse=$whatever; } ? How about a new asignment operator which would shut up

Re: [PHP] Again, and Again, and AGAIN!

2002-03-20 Thread Dr. Shim
That's fine. I already got it going (somebody helped me). Thanks for that tip anyhow. Mike Gohlke [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Are you hitting enter while in one of the fields or clicking the submit button. I've seen versions of IE that would

Re: [PHP] something weird is going on...

2002-03-20 Thread heinisch
At 20.03.2002 16:28, you wrote: Sorry bringing Netscape issue up again but I seem to have found something... snip And to illustrate the problem, here's the file: http://kulchitski.com/problem/ Hi Val, for me it looks OK, no fault to see. (NS405,451,475) I´d suggest, that you enclose your width

Re: [PHP] Assignment operator proposal

2002-03-20 Thread Egon Schmid
From: Enrico Weigelt [EMAIL PROTECTED] On Thu, Mar 21, 2002 at 12:36:26AM +0200, Bogdan Stancescu wrote: Hi all! I'd like to hear from a single one of you who isn't tired of code similar to i'm solving this with some little knowledge of shortcuts evaluation ... ? if (!$whatever)

[PHP] refreshing form

2002-03-20 Thread Mantas Kriauciunas
Hey [EMAIL PROTECTED], I am doing small simple voting script for my site..and i don't want to refresh whole site how should i refresh only the form? i can't find info anywhere... so i am trying over hare..i am new so i dunno what is this cong about. and i am using DB for my voting poll

[PHP] Phpfx, what is it?

2002-03-20 Thread Chuck \PUP\ Payne
Hi, I was sourgeforge.net looking at the PHP stuff, I saw something call phpfx, but it not clear what it is or what it does. Has anyone mess with it? Also I am looking for a php program that was written so that you can do a BBS, I wanted to use Ultimate Bulletin Board, but they no longer

Re: [PHP] Phpfx, what is it?

2002-03-20 Thread Ashley M. Kirchner
Chuck \PUP\ Payne wrote: Also I am looking for a php program that was written so that you can do a BBS, I wanted to use Ultimate Bulletin Board, but they no longer support the freeware verision, you have to pay almost $500 for it. The verision I have the date is not Y2K, so the dates come

Re: [PHP] Phpfx, what is it?

2002-03-20 Thread Thalis A. Kalfigopoulos
On Wed, 20 Mar 2002, Ashley M. Kirchner wrote: Chuck \PUP\ Payne wrote: Also I am looking for a php program that was written so that you can do a BBS, I wanted to use Ultimate Bulletin Board, but they no longer support the freeware verision, you have to pay almost $500 for it. The

[PHP] [newman] This don't work, if else if

2002-03-20 Thread Philip J. Newman
Can anyone tell me why this isn't working? What its ment to do is add an IP number to the database. if the IP is all ready in the database then it would update a counter. ?php $proxy_ip=getenv('REMOTE_ADDR'); $proxy_dns=gethostbyaddr($proxy_ip); $add_date=date (d/F/Y @ h:i:s A); $sql =

[PHP] I won NETSCAPE BATTLE!!!

2002-03-20 Thread Vlad Kulchitski
Hi everyone! I am so happy tonight because it worked! All I had to do is to convert the image to JPEG and it worked! I think it would be useful to know it in the future. Have a good one, Vlad Kulchitski.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

[PHP] Saving files back to server

2002-03-20 Thread Adam . Whitehead
Hi All I have a rather interesting thought for a website I'm currently working on. I imagine this is not going to be possible, but here goes: - Visitors can go to a page http://www.whatever.com, log in, and get a list of files in their home directory. - They click a link for a document (for

Re: [PHP] Saving files back to server

2002-03-20 Thread Miguel Cruz
On Thu, 21 Mar 2002 [EMAIL PROTECTED] wrote: It can be accomplished using HTTP PUT to a script which receives it and then copies it back to its relevant location (in the users home directory). However, the difficult part would be to cause Microsoft Word to trigger the upload whenever a user

Re: [PHP] Phpfx, what is it?

2002-03-20 Thread Jeff Lewis
You can also give YaBB SE a shot http://www.yabb.info - Original Message - From: Chuck PUP Payne [EMAIL PROTECTED] To: PHP General [EMAIL PROTECTED] Sent: Wednesday, March 20, 2002 7:11 PM Subject: [PHP] Phpfx, what is it? Hi, I was sourgeforge.net looking at the PHP stuff, I saw

Re: [PHP] Phpfx, what is it?

2002-03-20 Thread Ilia A.
You can also try FUDforum (http://fud.prohost.org/forum/) Ilia On March 20, 2002 07:11 pm, Chuck \PUP\ Payne wrote: Hi, I was sourgeforge.net looking at the PHP stuff, I saw something call phpfx, but it not clear what it is or what it does. Has anyone mess with it? Also I am looking for a

[PHP] Oracle ORA_ functions and blobs / clobs

2002-03-20 Thread Bradley Goldsmith
Hi All, Is it possible to store/fetch blobs/clobs with the oracle (ORA not OCI8) functions? Cheers, Brad -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Phpfx, what is it?

2002-03-20 Thread Chuck \PUP\ Payne
Thanks I have four PHP WebPortals or what I use to calling BBS, but I still don't have a clue about phpfx. Oh, well. Nor on a good site that shows how to add color to my php code. I am sorry that I am still usig I grew in the dark ages of 8-bit computers when Atari 800 and Apple IIE where king.

[PHP] Perl NewsGroup?

2002-03-20 Thread David Duong
This may be the worst place to put this but here goes: Does anyone know of a Perl NewsGroup? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: I need help building The CGI Open Source Foundry (COSF)

2002-03-20 Thread David Duong
Does anyone have a PHP project that you need more help on? David Duong [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... The objective of this foundry is to develop scripts that will be usefull to anyone. We will be producing scripts from scratch when we have

[PHP] Re: Phpfx, what is it?

2002-03-20 Thread Philip Hallstrom
Dont' know about phpfx, but there's www.phorum.org for a bulletin board system... On Wed, 20 Mar 2002, Chuck PUP Payne wrote: Hi, I was sourgeforge.net looking at the PHP stuff, I saw something call phpfx, but it not clear what it is or what it does. Has anyone mess with it? Also I am

[PHP] Re: Hi can we write a form inside td element of a table?

2002-03-20 Thread Gaylen Fraley
This is an HTML question and not a php question. The answer is yes. TDinput type=text/td -- Gaylen PHP KISGB v4.0.2 Guest Book http://www.gaylenandmargie.com/phpwebsite/ Balaji Ankem [EMAIL PROTECTED] wrote in message 000201c1c98c$dd246980$[EMAIL PROTECTED]">news:000201c1c98c$dd246980$[EMAIL

[PHP] Re: Making a simple borderless pop up window with a Close button

2002-03-20 Thread Gaylen Fraley
As noted before and on their website, it only works in IE. -- Gaylen PHP KISGB v4.0.2 Guest Book http://www.gaylenandmargie.com/phpwebsite/ Qartis [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... If you want a popup window that lacks a border entirely, check out

Re: [PHP] Re: Making a simple borderless pop up window with a Close button

2002-03-20 Thread Jason Bell
Actually, it sort of works for other browsers. It just isn't as cool the window that is opened on netscape is just a normal bordered popup window, with no toolbars. - Original Message - From: Gaylen Fraley [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, March 20, 2002 6:32

Re: [PHP] page expired message

2002-03-20 Thread DRaGoNLz
try using GET Method instead of POST. It solves the problem, however, the parameters that you pass through will be shown in the address bar. If someone know a way to avoid that page with POST, please let me know too! - Original Message - From: Gonzalez, Zara E [EMAIL PROTECTED] To:

RE: [PHP] Re: Phpfx, what is it?

2002-03-20 Thread Matthew Walker
A quick search on google told me this: phpfx is a website with the goal of providing free and quality open source php scripts Matthew Walker Ecommerce Project Manager Mountain Top Herbs -Original Message- From: Philip Hallstrom [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 20,

Re: [PHP] Re: Delete Confirmation

2002-03-20 Thread Daniel Negron/KBE
Actually I have that working fine. I was just looking to add to the code a confirmation box of some sort. either typing in YES or clicking a YES NO BOX. Thanks for your post. **DAN**

[PHP] table not refreshing after update.

2002-03-20 Thread Daniel Negron/KBE
Hi All, I am having an issue where I can update an entry, then when I go back to view the updates they do not show up. But if I go and look at the actual database the update has been made. Even after refreshing and clearing the cache, the entry still shows no change. Now he is something also

[PHP] Re: [newman] This don't work, if else if

2002-03-20 Thread David Robley
In article 001001c1d070$76ef8dd0$0401a8c0@philip, [EMAIL PROTECTED] says... Can anyone tell me why this isn't working? What its ment to do is add an IP number to the database. if the IP is all ready in the database then it would update a counter. ?php $proxy_ip=getenv('REMOTE_ADDR');

RE: [PHP] Creating a global variable for all PHP pages?

2002-03-20 Thread Lance Lovette
Take a look at this PHP extension and see if it will help solve your problem. It doesn't work on Windows yet though... http://pwee.sourceforge.net Lance -Original Message- From: Warrick Wilson [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 21, 2002 2:49 PM To: [EMAIL PROTECTED]

RE: [PHP] Creating a global variable for all PHP pages?

2002-03-20 Thread Martin Towell
what about a common include file? -Original Message- From: Lance Lovette [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 21, 2002 4:00 PM To: Warrick Wilson; [EMAIL PROTECTED] Subject: RE: [PHP] Creating a global variable for all PHP pages? Take a look at this PHP extension and see if

Re: [PHP] why doesnt this work???

2002-03-20 Thread Tom Rogers
Hi Try this: $query = select * from medlemmer where bruker = '$bruker' and passord ='$passord'; $result = mssql_query( $query ); while($line = mssql_fetch_row($result)): if( $line[bruker] == $bruker $line[password] == $passord) echo hei $bruker.; else echo FEIL; endwhile; Tom

[PHP] Newbie needs help

2002-03-20 Thread C. Cormier - Ormetal Inc.
Hi everybody, I am having a problem with GET variables. Basically I have not found a way to clear them so they are reset to if the user reload the page. Here is the speudo code: ?php session_start(); If ($Faction==Add to Data) { Add_to_data(); } html... form...method=POST

RE: [PHP] Creating a global variable for all PHP pages?

2002-03-20 Thread Lance Lovette
The short answer - efficiency. The FAQ has a more elaborate explanation. -Original Message- From: Martin Towell [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 21, 2002 12:14 AM To: 'Lance Lovette'; Warrick Wilson; [EMAIL PROTECTED] Subject: RE: [PHP] Creating a global variable for all

[PHP] User's IP Address

2002-03-20 Thread Maris Kalnins
Hi! Is there any possibility to get PHP page viewer's ip address.. for example $addr=some_function_that_returns_viewer's_address() or something like that? Thanks, Maris -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] User's IP Address

2002-03-20 Thread Miguel Cruz
On Thu, 21 Mar 2002, Maris Kalnins wrote: Is there any possibility to get PHP page viewer's ip address.. for example $addr=some_function_that_returns_viewer's_address() $REMOTE_ADDR You might want to play with phpinfo() - it tells you a lot. miguel -- PHP General Mailing List

[PHP] Returning mutliple matches of a regex with preg_match()

2002-03-20 Thread Stefen Lars
Hello all I have been scratching my head for the last two days about this regular expression problem. I would be really VERY happy if someone could help me! I have the following text in the file 'text.htm', for example: -- BLOCKQUOTEP Cow, Cow, Cow, Cow, Cow Cow, Cow, Cow, Cow, Cow Cow, Cow,

RE: [PHP] Returning mutliple matches of a regex with preg_match()

2002-03-20 Thread Niklas Lampén
preg_match_all(); Niklas -Original Message- From: Stefen Lars [mailto:[EMAIL PROTECTED]] Sent: 21. maaliskuuta 2002 7:28 To: [EMAIL PROTECTED] Subject: [PHP] Returning mutliple matches of a regex with preg_match() Hello all I have been scratching my head for the last two days about

Re: [PHP] Returning mutliple matches of a regex with preg_match()

2002-03-20 Thread Andrey Hristov
use preg_match_all(); the var_dump($matches); to see what happened. Best regards, Andrey Hristov - Original Message - From: Stefen Lars [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, March 21, 2002 7:27 AM Subject: [PHP] Returning mutliple matches of a regex with

[PHP] Form Value Validation

2002-03-20 Thread David Johansen
I was wondering if there was a way to do validation of the values in forms. I know that I could just check it all after it's been submitted with a post, but is there any way to do it as they're entering the data or when they click the button right before it sends the data? Thanks, Dave -- PHP

Re: [PHP] Form Value Validation

2002-03-20 Thread Miguel Cruz
On Thu, 21 Mar 2002, David Johansen wrote: I was wondering if there was a way to do validation of the values in forms. I know that I could just check it all after it's been submitted with a post, but is there any way to do it as they're entering the data or when they click the button right

[PHP] Apache

2002-03-20 Thread jtjohnston
Anyone know of a good apache group? I want to hide the structure of a directory when there is no idex.html present g J -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

<    1   2