[PHP] mail() in windows (again!)

2003-11-13 Thread Joao Andrade
Hi, First of all, how can I send a message to this list as the first dealing with a subject, like a question (I guess this is called a thread)? Well, I wanted PHP to send an e-mail for me. I read in the documentation that the mail() functions uses the sendmail aplication. I've also

Re: [PHP] mail() in windows (again!)

2003-11-13 Thread Raditha Dissanayake
that the mail() functions uses the sendmail aplication. I've also heard this 'sendmail' won't work with windows (Windows rulez!(just to piss those linux guys off!)). If you were on linux you wouldn't have to send this mail. What you can do is to use your ISP's mail server. (which is most

[PHP] include/requires allowed in classes?

2003-11-13 Thread Ryan A
Hi, I have a database class that is working perfectly by itself, the only problem is it works fine when the login details to the database are in that file...but since i have other apps using that login info I want to have the login info in a seperate file an include it in this class...but when i

Re: [PHP] Remove HTML TAGS

2003-11-13 Thread Rodney Green
D. Jame wrote: HI, Is ther any way to remove HTML tags from Source File with PHP jame Maybe this will do what you want it to do: http://www.php.net/strip-tags -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] creating a POST response to pass arguments to another file

2003-11-13 Thread Damon Hill
Good day. This is probably a very simple and easy question and I apologize if it wastes the lists time. However, I have a flash movie that is accessing a PHP script. The PHP script is retrieving values from a database and then creating either a GET or POST response to pass the value BACK to

RE: [PHP] Calendar

2003-11-13 Thread Boaz Yahav
Check this out : http://www.weberdev.com/AdvancedSearch.php?searchtype=titlesort=titles earch=calendar Sincerely berber Visit http://www.weberdev.com/ http://www.weberblog.com/ Today!!! To see where PHP might take you tomorrow. Share your code : http://addexample.weberdev.com Search for PHP

[PHP] msession - giving me a hard time

2003-11-13 Thread Guillaume Dupuis
Hi, I need to keep the same session between several php servers, so I decided to go with msession. Apache(2.0.47), php(4.3.3) and msession(the latest downloaded last week) are all installed on both of my Linux servers (both RedHat 7.2). When I test them independently, all seems to work well,

Re: [PHP] X-Cart

2003-11-13 Thread zhuravlev alexander
On Thu, Nov 13, 2003 at 02:54:35PM -0300, Ing. Gustavo Edelstein wrote: Hi list members, Has anybody been working with the software X-Cart ? Yes, we are. Which question do you have? -- zhuravlev alexander -- PHP General Mailing

Re: [PHP] msession - giving me a hard time

2003-11-13 Thread Marek Kilimajer
Guillaume Dupuis wrote: Hi, I need to keep the same session between several php servers, so I decided to go with msession. Apache(2.0.47), php(4.3.3) and msession(the latest downloaded last week) are all installed on both of my Linux servers (both RedHat 7.2). When I test them independently, all

Re: [PHP] X-Cart

2003-11-13 Thread Ing. Gustavo Edelstein
Hi Alexander, Lets say i'll sell T-Shirts. They comes is differents sizes (S, M, L, XL...) and I've different stock amounts for each one of them and different price. When the user finds the desired T-Shirt (model, color, etc), the product.tpl must show different sizes and prices in order to be

[PHP] preg question

2003-11-13 Thread Jake McHenry
Hi all, I am trying to do a simple validation of an email address being submitted. I have the @ sign being validated, but I can't get the period to work.. Can someone help me out? Here's my code.. if ($_POST['Travel_Request_Email_Address'] != ) { if (preg_match_all(/(@)/,

Re: [PHP] ls as function.

2003-11-13 Thread John Nichel
Vincent M. wrote: That's what I wanted, (he wanted to execute ls without using php's exec function). So Glob is the function I was looking for, unfortunatly it has been available only since the 4.3.0 ! Anyway, if there is a wish, there is a way ;) Thanks. If the filesystems aren't what you're

Re: [PHP] Extracting Source code from Binary Files(.dll,.exe.,class)

2003-11-13 Thread Leif K-Brooks
Prashant Akerkar wrote: I have a Query. Is it Possible to extract the source code from .exe,(VB,'C',C++),.dll(VB,'C',C++) or .class(java) files. To some extent. All that's left intact by the compiler is the logic, not the exact source code. In theory, a utility to transform machine code

RE: [PHP] preg question

2003-11-13 Thread Jake McHenry
-Original Message- From: Jake McHenry [mailto:[EMAIL PROTECTED] Sent: Thursday, November 13, 2003 2:50 PM To: [EMAIL PROTECTED] Subject: [PHP] preg question Hi all, I am trying to do a simple validation of an email address being submitted. I have the @ sign being validated,

[PHP] next,key,current question

2003-11-13 Thread Sara Daugherty
I am having trouble with creating a list box. I am attaching the code. I am not sure the code in the for loop close to the end of the program is correct. If someone could take a look at it I would appreciate it. Thanks, Sara HTML HEAD TITLEMy Class Schedule/TITLE /HEAD BODY

[PHP] Multiple values in a form option field

2003-11-13 Thread Jeff McKeon
I have a php page that has a web form on it. I do a query to populate the options in a drop down box in the form. [code] select size=1 name=customer ?PHP while($query_data1=mysql_fetch_row($result1)){ echooption value='$query_data1[0]'$query_data1[1]/option; } ? [code]

Re: [PHP] preg question

2003-11-13 Thread John Nichel
Jake McHenry wrote: -Original Message- From: Jake McHenry [mailto:[EMAIL PROTECTED] Sent: Thursday, November 13, 2003 2:50 PM To: [EMAIL PROTECTED] Subject: [PHP] preg question Hi all, I am trying to do a simple validation of an email address being submitted. I have the @ sign being

Re: [PHP] msession - giving me a hard time

2003-11-13 Thread CPT John W. Holmes
From: Guillaume Dupuis [EMAIL PROTECTED] Now, I am testing the interaction of 2+ servers working together. From SERVERA I create and echo the my SID using echo session_start(); echo session_id();echo $SID;, and then I follow a link (within the same browser session) to SERVERB and then do the

RE: [PHP] preg question

2003-11-13 Thread Kevin Stone
The period is a modifier within the expression (see manual on pattern syntax link below). You need to escape it with a back slash: \. http://www.php.net/manual/en/pcre.pattern.syntax.php -- Kevin -Original Message- From: Jake McHenry [mailto:[EMAIL PROTECTED] Sent: Thursday,

RE: [PHP] next,key,current question

2003-11-13 Thread Chris Hubbard
Sara, Try this: $count = count ($Classes); for($i=0; $i$count; $i++){ $CurrentIndexValue = key($Classes); $CurrentContents = current($Classes); echo option value='$CurrentIndexValue'$CurrentContents/option; next($Classes); } instead of the for loop you're using.

Re: [PHP] X-Cart

2003-11-13 Thread zhuravlev alexander
On Thu, Nov 13, 2003 at 04:39:35PM -0300, Ing. Gustavo Edelstein wrote: Hi Alexander, Lets say i'll sell T-Shirts. They comes is differents sizes (S, M, L, XL...) and I've different stock amounts for each one of them and different price. When the user finds the desired T-Shirt (model, color,

RE: [PHP] preg question

2003-11-13 Thread Jake McHenry
What else would I need to check for? I'm tired.. Running on 2 pots of coffee.. All I can think of is the @ and at least one . After the @, then at least 2 characters after the last . I haven't had much experience with regular expresssions, all of the stuff I've done has been for my intranet, and

RE: [PHP] FDF quit work for Acrobat 6

2003-11-13 Thread Roedel, Mark
I don't see any substantial differences between your snippet and the one we're using. (In fact, the only real difference in output is that I've got an additional \n following the Root 1 0 R.) Our system has continued working with Acrobat 6, although we've noticed the newer reader has a tendency

Re: [PHP] msession - giving me a hard time

2003-11-13 Thread Chris Shiflett
--- CPT John W. Holmes [EMAIL PROTECTED] wrote: Now, I am testing the interaction of 2+ servers working together. From SERVERA I create and echo the my SID using echo session_start(); echo session_id();echo $SID;, and then I follow a link (within the same browser session) to SERVERB and

Re: [PHP] preg question

2003-11-13 Thread zhuravlev alexander
On Thu, Nov 13, 2003 at 03:17:14PM -0500, Jake McHenry wrote: What else would I need to check for? I'm tired.. Running on 2 pots of coffee.. All I can think of is the @ and at least one . After the @, then at least 2 characters after the last . I haven't had much experience with regular

Re: [PHP] sorting files by date

2003-11-13 Thread David T-G
Justin, et al -- ...and then Justin French said... % % On Wednesday, November 12, 2003, at 12:52 PM, David T-G wrote: % % OK. So what are you filming? :-) % % www.preshrunk.com -- they are sending me short video diary entries from % the road whilst on tour :) Very cool! ain't modern

RE: [PHP] Multiple values in a form option field

2003-11-13 Thread Pablo Gosse
On Thursday, November 13, Jeff wrote: [snip]What I now need to do is store not only the userID but the email address as well. Is there a way using a form to store 2 values using one drop down box? So basically I want to store the userID and the Email address to a variable in the form so that

Re: [PHP] X-Cart

2003-11-13 Thread Ing. Gustavo Edelstein
Thanks Alexander, I've already saw this demo, but what happens with the stock amount and the price for that size? How do I rest the amount bought from the right size and show the right price for that size ? Remember that i need to have different stock amounts and prices. Ing. Gustavo A. Edelstein

RE: [PHP] preg question

2003-11-13 Thread Jake McHenry
-Original Message- From: zhuravlev alexander [mailto:[EMAIL PROTECTED] Sent: Thursday, November 13, 2003 3:26 PM To: Jake McHenry Cc: 'John Nichel'; [EMAIL PROTECTED] Subject: Re: [PHP] preg question On Thu, Nov 13, 2003 at 03:17:14PM -0500, Jake McHenry wrote: What else

Re: [PHP] multiple table rows into an array, and creating a calendar

2003-11-13 Thread David T-G
Dave -- ...and then Dave G said... % ... % My problem is that I can't figure out how to compare the results % of the query to the dates on the calendar so that they display on the % right dates. OK. % I thought I should put those date in an array and then on each % date, search

RE: [PHP] Multiple values in a form option field

2003-11-13 Thread Daryl Meese
Hello, See Below. -Original Message- From: Jeff McKeon [mailto:[EMAIL PROTECTED] Sent: Thursday, November 13, 2003 2:05 PM To: [EMAIL PROTECTED] Subject: [PHP] Multiple values in a form option field I have a php page that has a web form on it. I do a query to populate the options in a

Re: [PHP] X-Cart

2003-11-13 Thread zhuravlev alexander
On Thu, Nov 13, 2003 at 05:28:49PM -0300, Ing. Gustavo Edelstein wrote: Thanks Alexander, I've already saw this demo, but what happens with the stock amount and the price for that size? How do I rest the amount bought from the right size and show the right price for that size ? Remember that i

RE: [PHP] Errors running PHP from command line

2003-11-13 Thread Jonathan Duncan
Thanks. Turns out I just needed to comment some things out of my php.ini. Jonathan Jake McHenry [EMAIL PROTECTED] said: -Original Message- From: Jonathan Duncan [mailto:[EMAIL PROTECTED] Sent: Friday, November 07, 2003 7:04 PM To: [EMAIL PROTECTED] Subject: [PHP] Errors

RE: [PHP] Multiple values in a form option field

2003-11-13 Thread Jeff McKeon
Thanks Pablo, I wound up with this... select size=1 name=customer option value='none:none'NONE/option ?PHP while($query_data1=mysql_fetch_row($result1)){ echooption value='$query_data1[0]:$query_data1[1]'

[PHP] Newbie scope revisited

2003-11-13 Thread Matthew Morvant
I posted a couple of days ago inquiring as to why some inhierited PHP code was not working. I determined that scope was the issue. The overwhelming response I got back pertained to register_globals. I have read up on register_globals and realize that it is not considered good practice to use it.

Re: [PHP] FDF quit work for Acrobat 6

2003-11-13 Thread Eric Wood
Roedel, Mark wrote: I don't see any substantial differences between your snippet and the one we're using. (In fact, the only real difference in output is that I've got an additional \n following the Root 1 0 R.) Our system has continued working with Acrobat 6, although we've noticed the

Re: [PHP] X-Cart

2003-11-13 Thread Ing. Gustavo Edelstein
Ok, but what about the different stock amounts for every size ? Ing. Gustavo A. Edelstein Tech. Mgr. Equiplus S.A. www.equiplus.com - Original Message - From: zhuravlev alexander [EMAIL PROTECTED] To: Ing. Gustavo Edelstein [EMAIL PROTECTED] Cc: zhuravlev alexander [EMAIL PROTECTED];

RE: [PHP] Newbie scope revisited

2003-11-13 Thread Jay Blanchard
[snip] I posted a couple of days ago inquiring as to why some inhierited PHP code was not working. I determined that scope was the issue. The overwhelming response I got back pertained to register_globals. I have read up on register_globals and realize that it is not considered good practice to

Re: [PHP] X-Cart

2003-11-13 Thread zhuravlev alexander
On Thu, Nov 13, 2003 at 06:12:28PM -0300, Ing. Gustavo Edelstein wrote: Ok, but what about the different stock amounts for every size ? M=+5 mean product cost + 5 dollars for middle sized t-shirt. just try ... -- zhuravlev alexander

[PHP] Passing POST variables w/out a FORM submit

2003-11-13 Thread Damon Hill
Good day! I am reposting this and writing it a little differently so that maybe it is a little clearer what I am attempting to accomplish. I have a flash movie which accesses a MySQL database to retrieve coordinates for a map containing lots for a given subdivision. However, the connection

Re: [PHP] X-Cart

2003-11-13 Thread Ing. Gustavo Edelstein
Yes, I've tried it and it's correct, but what about stock amounts ?? Ing. Gustavo A. Edelstein Tech. Mgr. Equiplus S.A. www.equiplus.com - Original Message - From: zhuravlev alexander [EMAIL PROTECTED] To: Ing. Gustavo Edelstein [EMAIL PROTECTED] Cc: zhuravlev alexander [EMAIL PROTECTED];

[PHP] sessions, SIDs, and php 4.3

2003-11-13 Thread David T-G
Hi, all -- We were using php 4.2.3 on our first server (FreeBSD-4.5) and apparently exploited, quite unknowingly, a bug. We also have register_globals on (we'll work more on that later). Then we added another server (FBSD 4.8 and php 4.3.4rc1) and tried our code and the page passwords didn't

RE: [PHP] Passing POST variables w/out a FORM submit

2003-11-13 Thread Jay Blanchard
[snip] I have a flash movie which accesses a MySQL database to retrieve coordinates for a map containing lots for a given subdivision.However, the connection between the flash movie and the database was not available when the project was handed over to me. The flash code can not be modified and it

[PHP] Re: Newbie scope revisited

2003-11-13 Thread Matthew Morvant
Matthew Morvant [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I posted a couple of days ago inquiring as to why some inhierited PHP code was not working. I determined that scope was the issue. The overwhelming response I got back pertained to register_globals. I have read up on

Re: [PHP] sessions, SIDs, and php 4.3

2003-11-13 Thread Chris Shiflett
--- David T-G [EMAIL PROTECTED] wrote: If I run http://test.locations.org/sessions/extracting.php with cookies on, then upon reload $_SESSION[pw] has a value, which is expected. If cookies are off, though, it does not, and I do not see the SID in the URL even after the click. So I click

Re: [PHP] Calling PHP functions from within javascript

2003-11-13 Thread Kim Steinhaug
scripting techniques and a hidden iframe Ahh... Nice one! This accually didnt come to mind at all for me, probably because this sort of scripting soon gets very complicated given that such applications are supposed to work flawlessy for the end user. And to many loading windows (hidden frames),

RE: [PHP] Re: Newbie scope revisited

2003-11-13 Thread Jay Blanchard
[snip] To clarify both places are the Local value and the Master value. An example of code that doesn't work follows [/snip] ??? I understand the code that doesn't work, but I believe that the php.ini settings are wrong. Place a php file in your web root (call it something like test.php)

Re: [PHP] Passing POST variables w/out a FORM submit

2003-11-13 Thread Chris Shiflett
--- Damon Hill [EMAIL PROTECTED] wrote: I am not privy to how to create the POST or GET response without a FORM. GET is easy, because you can just use fopen to open a remote URL just as if it were a local file, so long as this is set in your php.ini: allow_url_fopen = On As for POST, there

Re: [PHP] Multiple values in a form option field

2003-11-13 Thread David T-G
Jeff, et al -- ...and then Jeff McKeon said... % % I have a php page that has a web form on it. Yay! Yippee! That's great! Oh, that's not the substantive body of your note? :-) % % I do a query to populate the options in a drop down box in the form. % ... % So when the user selects an

Re: [PHP] sessions, SIDs, and php 4.3

2003-11-13 Thread David T-G
Chris, et al - ...and then Chris Shiflett said... % % --- David T-G [EMAIL PROTECTED] wrote: % % I specified the SID, and it finally works -- but I thought that PHP was % supposed to format my URLs the right way for me, and even moreso didn't % think that I needed the ? because the SID

Re: [PHP] X-Cart

2003-11-13 Thread zhuravlev alexander
On Thu, Nov 13, 2003 at 06:31:39PM -0300, Ing. Gustavo Edelstein wrote: Yes, I've tried it and it's correct, but what about stock amounts ?? To my mind you should make t-shirt of each color as individual product with corresponding stock amount.

[PHP] Re: Extracting Source code from Binary Files(.dll,.exe.,class)

2003-11-13 Thread Kim Steinhaug
I used to think this was a very much needed tool, but now I have a different opinion. Thank god reverse engineering isnt the easiest thing to do! Why else do we accually pay licenses for products like IonCube and Zend Encoder! They would be worthless if such software were available, not to think

Re: [PHP] sessions, SIDs, and php 4.3

2003-11-13 Thread Chris Shiflett
--- David T-G [EMAIL PROTECTED] wrote: % Check your php.ini and see if you can find this: % % session.use_trans_sid = 1 Yep. OK, well PHP should add the session identifier to the URL for every link on the first page. This is because PHP can't tell until the next request whether the browser

Re: [PHP] sessions, SIDs, and php 4.3

2003-11-13 Thread David T-G
Chris, et al -- ...and then Chris Shiflett said... % % --- David T-G [EMAIL PROTECTED] wrote: % % % % session.use_trans_sid = 1 % % Yep. % % OK, well PHP should add the session identifier to the URL for every link OK. % on the first page. This is because PHP can't tell until the next

[PHP] New problem - HELP!

2003-11-13 Thread Jake McHenry
I have a csv file I'm importing, very simple setup. I think I must be going blind from sitting infront of this puter for so long :-( I can't seem to see what I did wrong. Here's my stuff: Csv file: 01000170600010, 27362538462735,154154162549184 Basically, some lines have 2, some only have the

RE: [PHP] Passing POST variables w/out a FORM submit

2003-11-13 Thread Chris W. Parker
Chris Shiflett mailto:[EMAIL PROTECTED] on Thursday, November 13, 2003 1:41 PM said: http://shiflett.org/hacks/php/http_post Ok I don't think this can be used in conjuction with a redirect but I'd like to find out. Here is some code I wrote up quick (and didn't test). What I'd like to

Re: [PHP] sessions, SIDs, and php 4.3

2003-11-13 Thread Chris Shiflett
--- David T-G [EMAIL PROTECTED] wrote: BTW, the same URL with .phps will let you see the PHP source. Well, hopefully only because you have a duplicate file (or a link) by that name. :-) Also, I meant view source as in the HTML output, not the PHP. % PHP is doing the session.use_trans_sid

Re: [PHP] sessions, SIDs, and php 4.3

2003-11-13 Thread David T-G
Chris, et al -- ...and then Chris Shiflett said... % % --- David T-G [EMAIL PROTECTED] wrote: % BTW, the same URL with .phps will let you see the PHP source. % % Well, hopefully only because you have a duplicate file (or a link) by that % name. :-) Yep. Created just for this exercise :-) %

RE: [PHP] Passing POST variables w/out a FORM submit

2003-11-13 Thread Chris Shiflett
--- Chris W. Parker [EMAIL PROTECTED] wrote: Ok I don't think this can be used in conjuction with a redirect but I'd like to find out. Here is some code I wrote up quick (and didn't test). What I'd like to happen (as well as a million other people???) is I POST the data back to the previous

Re: [PHP] New problem - HELP!

2003-11-13 Thread David T-G
Jake -- ...and then Jake McHenry said... % % I have a csv file I'm importing, very simple setup. I think I must be % going blind from sitting infront of this puter for so long :-( I % can't seem to see what I did wrong. Here's my stuff: % % Csv file: % % 01000170600010, %

Re: [PHP] sessions, SIDs, and php 4.3

2003-11-13 Thread Chris Shiflett
--- David T-G [EMAIL PROTECTED] wrote: OK, but I know I have a problem and what I need is a solution :-) Yes, I understand. :-) If you look at the output of phpinfo() on this exact same script, is the local value of session.use_trans_sid still 1? Yep. See a previous list reply. OK, well

Re: [PHP] msession - giving me a hard time

2003-11-13 Thread Marek Kilimajer
Chris Shiflett wrote: Are SERVERA and SERVERB in the same cluster? I might be misunderstanding the situation here, but I thought this was the point of msession - to provide a seamless session data store among a cluster of servers without needing to store the session data in a database. I would

RE: [PHP] Passing POST variables w/out a FORM submit

2003-11-13 Thread Damon Hill
Ok, after looking over the code to do the POST manually on your website Chris, I think I haven't been clear on what needs to happen. I apologize. A web browser executes the following code: param name=movie value=flash/platMap.swf?svPath=http://..com/~damon/stvalerydown s/docs/ww

Re: [PHP] sessions, SIDs, and php 4.3

2003-11-13 Thread David T-G
Chris, et al -- ...and then Chris Shiflett said... % % --- David T-G [EMAIL PROTECTED] wrote: % OK, but I know I have a problem and what I need is a solution :-) % % Yes, I understand. :-) *grin* % % If you look at the output of phpinfo() on this exact same script, % is the local value

Re: [PHP] msession - giving me a hard time

2003-11-13 Thread Chris Shiflett
--- Marek Kilimajer [EMAIL PROTECTED] wrote: msession provides data storage, but you need a way to associate a session with browser, this is usualy done with cookies and GET and POST variables. Since cookies are send only to the originating domain, they are ruled out if you wont to pass the

Re: [PHP] sessions, SIDs, and php 4.3

2003-11-13 Thread David T-G
Chris, et al -- ...and then David T-G said... % % Let me go back over my code and see where I've screwed something up. That didn't take too long. I was using SCRIPT_URI instead of PHP_SELF. Ah. I guess PHP_SELF is my friend and none other. Good enough! So we have - use session_start()

RE: [PHP] Passing POST variables w/out a FORM submit

2003-11-13 Thread Chris W. Parker
Chris Shiflett mailto:[EMAIL PROTECTED] on Thursday, November 13, 2003 2:07 PM said: You are telling the browser to send a GET request to the URL $redirect. What the user sees in the browser is the response to this GET request, not the response to the POST request that you sent behind the

RE: [PHP] New problem - HELP!

2003-11-13 Thread Jake McHenry
-Original Message- From: David T-G [mailto:[EMAIL PROTECTED] Sent: Thursday, November 13, 2003 5:09 PM To: PHP General list Cc: Jake McHenry Subject: Re: [PHP] New problem - HELP! Jake -- ...and then Jake McHenry said... % % I have a csv file I'm importing, very simple

RE: [PHP] New problem - HELP! [SOLVED]

2003-11-13 Thread Jake McHenry
-Original Message- From: Jake McHenry [mailto:[EMAIL PROTECTED] Sent: Thursday, November 13, 2003 6:12 PM To: 'David T-G' Cc: [EMAIL PROTECTED] Subject: RE: [PHP] New problem - HELP! -Original Message- From: David T-G [mailto:[EMAIL PROTECTED] Sent: Thursday,

RE: [PHP] New problem - HELP!

2003-11-13 Thread Chris W. Parker
Jake McHenry mailto:[EMAIL PROTECTED] on Thursday, November 13, 2003 3:12 PM said: You asked is it empty or actually undefined...? I showed you the csv file, and the output of print_r... You tell me.. I don't know.. Lol :\ What you can do is try different comparisons for the if statement

[PHP] Re: Calling mail() in a loop

2003-11-13 Thread Manuel Lemos
Hello, On 11/13/2003 02:42 PM, Chris Bruce wrote: Hello all, this is my first post and I have found this list very resourceful for me so far. Here is my question: I have built a small system to allow my clients to send out permission emails to their customers from a MySQL db. It is testing

Re: [PHP] New problem - HELP! [SOLVED]

2003-11-13 Thread David T-G
Jake -- ...and then Jake McHenry said... % % -Original Message- % From: Jake McHenry [mailto:[EMAIL PROTECTED] ... % -Original Message- % From: David T-G [mailto:[EMAIL PROTECTED] ... % ...and then Jake McHenry said... ... % % % % Basically, some lines have 2, some

[PHP] Apache and Apache2 and Character Sets

2003-11-13 Thread Scott Carr
Does the version of Apache change the character sets PHP has available to it? I have a Win32 Apache2 running php. I switched to Apache to see if the code ran the same. I have a Template in a database with Copyright '©' in the Template. I replace these in PHP with the information I want. In

[PHP] Add PHP Module?

2003-11-13 Thread Ed.Lazor
I need to enable MCAL and Mcrypt support in PHP. Do I have to recompile or is there another option? Thanks, -Ed System Info: RedHat 9.0. Apache and PHP installed via RPM. PHP v4.2.2. Server API Apache 2.0 Filter

[PHP] greek in php-xml

2003-11-13 Thread pnp
Hi, I want to read some texts in greek from an xml file and all i get is weird symbols.. The Xml's encoding is utf-8 and so is the xmlparser that I create. Can anyone suggest anything? Thanx in advance, Panagiotis -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

[PHP] Why would this eregi() function not work?

2003-11-13 Thread Dave G
PHP Gurus, I have an eregi() function that I'm using to validate emails that users enter into a form. I pretty much took it directly from the book PHP and MySQL Web Development. It looks like this: (!eregi('[EMAIL PROTECTED]', $email) For the most part it's working fine. But

Re: [PHP] auto_prepend/append in htaccess....

2003-11-13 Thread Jonathan Villa
Anyone have any ideas on this? On Thu, 2003-11-13 at 11:32, Jonathan Villa wrote: I want to prepend a configuration file which is located outside of my document root into my scripts. I can use auto_prepend_file, but I'm not sure how do it with an htaccess file or a virtual host entry.. I

Re: [PHP] Why would this eregi() function not work?

2003-11-13 Thread John W. Holmes
Dave G wrote: PHP Gurus, I have an eregi() function that I'm using to validate emails that users enter into a form. I pretty much took it directly from the book PHP and MySQL Web Development. It looks like this: (!eregi('[EMAIL PROTECTED]', $email) 1. Special characters within brackets do

Re: [PHP] Why would this eregi() function not work?

2003-11-13 Thread David T-G
Dave -- ...and then Dave G said... % % PHP Gurus, % I have an eregi() function that I'm using to validate emails % that users enter into a form. I pretty much took it directly from the % book PHP and MySQL Web Development. It looks like this: % (!eregi('[EMAIL PROTECTED]', $email) 1)

RE: [PHP] Why would this eregi() function not work?

2003-11-13 Thread Dave G
2) Sure enough, you don't allow + extensions in yours. Neener neener :-) Is + a legal character in emails? 3) You might check out preg_match, which the manual says is often faster than ereg(). Will look into it. Thanks for the tip. 4) To include '-' in a range list, put it last in the

Re: [PHP] Why would this eregi() function not work?

2003-11-13 Thread David T-G
Dave -- ...and then Dave G said... % % 2) Sure enough, you don't allow + extensions in yours. % Neener neener :-) % % Is + a legal character in emails? Yep. IIRC sendmail and postfix use it for their extensions like qmail uses (by default) a - (but qmail can use whatever you want). See

<    1   2