Re: [PHP] PHP hosting with multiple domains?

2006-02-03 Thread Paul Novitski
On Mon, January 30, 2006 11:34 am, [EMAIL PROTECTED] wrote: The thing I'm having trouble nailing down is one that might let me host multiple domains under a single hosting account and share bandwidth and HD space. Check out http://mediatemple.com They offer what they call alternate

[PHP] PHP 4.2.2 Float-Mysql addition problem

2006-02-03 Thread Barry
Hi List ^_^ PHP 4.2.2 Redhat 7.3 Mysql 3.23.54 Ok here is the problem: I try to summary float values from my database (mysql) in PHP. code: $sql = SELECT * FROM somwehere WHERE 1; $result = mysql_query($sql); while ($assoc = mysql_fetch_assoc($result)) { //adding values $sum = $sum

Re: [PHP] PHP 4.2.2 Float-Mysql addition problem

2006-02-03 Thread Andrei
When working with floats with php/mysql I had problems too... When summing amounts I had errors so my solution was using decimal (20, 10) type into mysql for storing amounts and when using sums in php I used bc functions. This way u get exact calculations (depending on bcscale() parameter.

[PHP] Till Drawers

2006-02-03 Thread Oli Howson
I'm interested in the possibility of connecting a computer running A PHP server to a till drawer and have the server able to open the drawer. Anyone know how this would work? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Till Drawers

2006-02-03 Thread Albert
Oli Howson wrote: I'm interested in the possibility of connecting a computer running A PHP server to a till drawer and have the server able to open the drawer. Anyone know how this would work? That all depends on how your till drawer opens. The easiest would be to write a command line

Re: [PHP] PHP 4.2.2 Float-Mysql addition problem

2006-02-03 Thread Barry
Andrei wrote: When working with floats with php/mysql I had problems too... When summing amounts I had errors so my solution was using decimal (20, 10) type into mysql for storing amounts and when using sums in php I used bc functions. This way u get exact calculations (depending on

Re: [PHP] Till Drawers

2006-02-03 Thread Angelo Zanetti
Albert wrote: Oli Howson wrote: I'm interested in the possibility of connecting a computer running A PHP server to a till drawer and have the server able to open the drawer. Anyone know how this would work? That all depends on how your till drawer opens. The easiest would be to write a

Re: [PHP] PHP 4.2.2 Float-Mysql addition problem

2006-02-03 Thread Barry
Barry wrote: Andrei wrote: When working with floats with php/mysql I had problems too... When summing amounts I had errors so my solution was using decimal (20, 10) type into mysql for storing amounts and when using sums in php I used bc functions. This way u get exact calculations

Re: [PHP] PHP 4.2.2 Float-Mysql addition problem

2006-02-03 Thread Andrei
Welcome, Please note that using bc function variables will be of type string. So a code working with numeric values like: $a = 1; if( $a ) { ... } it's ok but with bc functions: $a = 14.5; $b = -14.5; $c = bcadd( $a, $b ); if( $c ) { ... } will not work as expected ( if( 0 ) is

RE: [PHP] Re: php4 vs. php5

2006-02-03 Thread Jim Moseby
I'm wondering if you can outline, or direct me to a resource that explicitly notes the benefits of php5 over php4. The main benefit I see to PHP5 over PHP4 (and one that may not be covered in the migrating document at php.net) is that PHP4 is going away, and that migrating from PHP4 to

Re: [PHP] Re: [PHP-INSTALL] php4 vs. php5

2006-02-03 Thread Jochem Maas
Brad Kowalczyk wrote: Grae Wolfe - PHP wrote: Hey there... I am setting up a new test server for one of my clients to use, and I am curious if there is a reason to go with php4.xx over php5.xx, or the other way around. I would think that I would want to go with the newest one, but my

RE: [PHP] PHP 4.2.2 Float-Mysql addition problem

2006-02-03 Thread Ford, Mike
On 03 February 2006 13:14, Andrei wrote: Welcome, Please note that using bc function variables will be of type string. So a code working with numeric values like: $a = 1; if( $a ) { ... } it's ok but with bc functions: $a = 14.5; $b = -14.5; $c = bcadd( $a, $b ); if( $c )

Re: [PHP] PHP 4.2.2 Float-Mysql addition problem

2006-02-03 Thread Andrei
Er - yes. If you do conversion type you are correct. but in the example I showed I didn't... If you run the code bellow you will see... bcscale( 10 ); $a = 14.5; $b = -14.5; $c = bcadd( $a, $b ); if( $c ) { echo true: c = .$c.br; } else { echo false: c = .$c.br; } var_dump((bool) 0);

Re: [PHP] PHP 4.2.2 Float-Mysql addition problem

2006-02-03 Thread Andrei
Actually we'r talking about diffrent things... What I wanted to highlight is that results that should be normally seen as 0 or false for logic comparations when using bc functions are not processed as 0 or false actually and you should take care when using constructs like if( $var ) {

[PHP] [Off] Cheap SSL certificates?

2006-02-03 Thread Brian Dunning
I'm moving all my hosting to Rackspace, which means I'll need to buy all my own SSL certs. Does anyone have a favorite (cheap) source? I've found LiteSSL at $14.95/per. Thanks... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: [Off] Cheap SSL certificates?

2006-02-03 Thread Barry
Brian Dunning wrote: I'm moving all my hosting to Rackspace, which means I'll need to buy all my own SSL certs. Does anyone have a favorite (cheap) source? I've found LiteSSL at $14.95/per. Thanks... Problem is when you have cheap ssl certs they might pop up in browser on visit, when they

[PHP] Re: [Off] Cheap SSL certificates?

2006-02-03 Thread Kevin McBride
Brian Dunning wrote: I'm moving all my hosting to Rackspace, which means I'll need to buy all my own SSL certs. Does anyone have a favorite (cheap) source? I've found LiteSSL at $14.95/per. Thanks... I wouldn't consider cost of certificates, but rather, the reputation of the certification

Re: [PHP] Re: [Off] Cheap SSL certificates?

2006-02-03 Thread Kevin McBride
Jim Moseby wrote: Well said. If you're going to buy a $15 Cert from billy-joe-bob's CA and carwash, you might as well sign your own cert. Thats free... That might work in an intranet setting, but in an internet setting, you will get the security warnings. :) -- PHP General Mailing List

[PHP] Include after image or a way to reset header

2006-02-03 Thread tedd
Hi: This is probably an obvious question, but after you create an image, how can you include another php script? For example, if my code ends like so: header(Content-type: image/png); // Set display mode as PNG imagepng($im); // Display image imagedestroy($im); // Delete image from memory

RE: [PHP] Re: [Off] Cheap SSL certificates?

2006-02-03 Thread Jim Moseby
Jim Moseby wrote: Well said. If you're going to buy a $15 Cert from billy-joe-bob's CA and carwash, you might as well sign your own cert. Thats free... That might work in an intranet setting, but in an internet setting, you will get the security warnings. :) Yeah, but

Re: [PHP] Configure question

2006-02-03 Thread PHP
Hi, The php_flag is also ignored for those 2 options. I can't go either way, default on and turn off in a virtual host or default off and turn on. try using php_flag, php_admin_flag as some restrictions on which files it can be used in. David PHP wrote: Hi, I have php5 and apache2.2. In

Re: [PHP] Re: [Off] Cheap SSL certificates?

2006-02-03 Thread jason
Problem is when you have cheap ssl certs they might pop up in browser on visit, when they are not in the browser cert list though. I just know verisign, and truesign. but kinda expensive -- Smileys rule (cX.x)C --o(^_^o) Dance for me! ^(^_^)o (o^_^)o o(^_^)^ o(^_^o) I use GoDaddy

[PHP] Truncate words in multiple paragraphs

2006-02-03 Thread Verdon Vaillancourt
Hi :) I am using the following function (that I found in the user comments on php.net manual) for trimming the number of words accepted via a form field // Truncation is by word limit, not character limit. So if you limit // to 255, then it will cut off a text item to 255 words, not 255

Re: [PHP] Re: [Off] Cheap SSL certificates?

2006-02-03 Thread Philip Hallstrom
Jim Moseby wrote: Well said. If you're going to buy a $15 Cert from billy-joe-bob's CA and carwash, you might as well sign your own cert. Thats free... That might work in an intranet setting, but in an internet setting, you will get the security warnings. :) Only once per user/browser

Re: [PHP] Re: php4 vs. php5

2006-02-03 Thread Rory Browne
On 2/3/06, Keith Proctor [EMAIL PROTECTED] wrote: I need to add two numbers together, unfortunately one of them is a string that starts with a character. I'd like to convert a string such as 'x5' to the number 5. Don't care about it's final type as that isn't the hard part. :) I can't find

[PHP] [PHP-INSTALL] Re: [PHP] Re: php4 vs. php5

2006-02-03 Thread Mark Galbreath
This is a no-brainer, really. From a security standpoint alone, PHP 5 is superior, but through in the OOP and there's no question. There are books written on the subject - do an amazon search. And don't forget eric's advice. mark Paul Novitski [EMAIL PROTECTED] 02-Feb-06 19:36 PM At

Re: [PHP] Truncate words in multiple paragraphs

2006-02-03 Thread John Meyer
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Verdon Vaillancourt wrote: Hi :) I am using the following function (that I found in the user comments on php.net manual) for trimming the number of words accepted via a form field // Truncation is by word limit, not character limit. So if you

Re: [PHP] Truncate words in multiple paragraphs

2006-02-03 Thread Verdon Vaillancourt
On 3-Feb-06, at 12:25 PM, John Meyer wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Verdon Vaillancourt wrote: Hi :) I am using the following function (that I found in the user comments on php.net manual) for trimming the number of words accepted via a form field // Truncation is

Re: [PHP] Re: php4 vs. php5

2006-02-03 Thread Paul Novitski
On 2/3/06, Keith Proctor [EMAIL PROTECTED] wrote: I'd like to convert a string such as 'x5' to the number 5. At 09:10 AM 2/3/2006, Rory Browne wrote: preg_replace(/[^0-9]/, , $x) I would expect intval to work as well, but aparently not. Rory, the RegExp you suggest will strip decimal

Re: [PHP] Include after image or a way to reset header

2006-02-03 Thread Gerry Danen
Call the image rendering from another page and then let that page continue: caller.php: if ( $is_logged_in ) { echo p align=\center\img border=0 src='showimage.php?id=$get_picp=$from' alt=\Photo name: $get_pic\/p; if ( $get_name != ) echo p align=\center\$get_name/p; } showimage.php: ?php

Re: [PHP] [Off] Cheap SSL certificates?

2006-02-03 Thread John Nichel
Brian Dunning wrote: I'm moving all my hosting to Rackspace, which means I'll need to buy all my own SSL certs. Does anyone have a favorite (cheap) source? I've found LiteSSL at $14.95/per. Thanks... We've used FreeSSL (now RapidSSL) for two years now, and haven't had any complaints.

Re: [PHP] form get vars

2006-02-03 Thread Mike Smith
Change: select name=theme option name=blue value=blueblue/option to: select name=theme optionblue/option//You don't need the value=blue in this case Mike -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] getting error in connecting COM ..

2006-02-03 Thread ganu ullu
Hi I am getting error like that .. Fatal error: Uncaught exception 'com_exception' with message 'Error [0x80020003] Member not found. ' in c:\Inetpub\wwwroot\php\flix.php:14 Stack trace: #0 c:\Inetpub\wwwroot\php\flix.php(14): unknown() #1 {main} thrown in c:\Inetpub\wwwroot\php\flix.php on line

[PHP] Database question and PHP

2006-02-03 Thread Paul Goepfert
I have a MS Acess Database that goes along with my web page. I want to transfer the data to a MySQL database since there are php functions for the MySQL database. I do not have a MySQL database running on the system that I am developing the web page. However there is a MySQL database on the

RE: [PHP] Database question and PHP

2006-02-03 Thread Jim Moseby
I have a MS Acess Database that goes along with my web page. I want to transfer the data to a MySQL database since there are php functions for the MySQL database. I do not have a MySQL database running on the system that I am developing the web page. However there is a MySQL database on

Re: [PHP] Database question and PHP

2006-02-03 Thread Richard Lynch
On Fri, February 3, 2006 2:15 pm, Paul Goepfert wrote: I have a MS Acess Database that goes along with my web page. I want to transfer the data to a MySQL database since there are php functions for the MySQL database. I do not have a MySQL database running on the system that I am

Re: [PHP] getting error in connecting COM ..

2006-02-03 Thread Richard Lynch
On Fri, February 3, 2006 2:06 pm, ganu ullu wrote: Hi I am getting error like that .. Fatal error: Uncaught exception 'com_exception' with message 'Error [0x80020003] Member not found. ' in c:\Inetpub\wwwroot\php\flix.php:14 Stack trace: #0 c:\Inetpub\wwwroot\php\flix.php(14): unknown() #1

Re: [PHP] form get vars

2006-02-03 Thread Richard Lynch
Do View Source in your browser, and see what the ACTION url is... On Fri, February 3, 2006 11:54 am, Jason Gerfen wrote: I am having a problem and I am not sure how to resolve it. I have a simple drop down list form which contains colors and a menu which contains links. I have two get

[PHP] xml to array

2006-02-03 Thread Brian V Bonini
AD_DATA SESSION_INFO FIRST_NAMEJoe/FIRST_NAME LAST_NAMEShmoe/LAST_NAME TEST_KEY foofoo/foo barbar/bar /TEST_KEY OPTIONS 0DNR/0 1OPT/1 2FOO/2 3BAR/3 4CWS/4 5AVS/5 /OPTIONS HEIGHT72/HEIGHT WEIGHT96Kg/WEIGHT /SESSION_INFO PAA logCount0/logCount etc... $xml_data = $xml; $parser =

Re: [PHP] Truncate words in multiple paragraphs

2006-02-03 Thread Richard Lynch
On Fri, February 3, 2006 10:54 am, Verdon Vaillancourt wrote: I am using the following function (that I found in the user comments on php.net manual) for trimming the number of words accepted via a form field // Truncation is by word limit, not character limit. So if you limit // to 255,

Re: [PHP] Truncate words in multiple paragraphs

2006-02-03 Thread Richard Lynch
This would work if you replace the br / with br -- Otherwise, it's too likely to break up br / in the trim_text function and then you end up with: start of string ... almost 255 words, blah blah blahbr On Fri, February 3, 2006 11:25 am, John Meyer wrote: -BEGIN PGP SIGNED MESSAGE-

Re: [PHP] Re: [PHP-INSTALL] php4 vs. php5

2006-02-03 Thread Brad Kowalczyk
Jochem Maas wrote: Brad Kowalczyk wrote: Grae Wolfe - PHP wrote: Hey there... I am setting up a new test server for one of my clients to use, and I am curious if there is a reason to go with php4.xx over php5.xx, or the other way around. I would think that I would want to go with the

Re: [PHP] xml to array

2006-02-03 Thread Richard Lynch
I've got my money on the XML spec REQUIRING an alphabetic start to tagnames, and subsequent characters can be alphanumeric... In other words, it doesn't work because 0 is not a valid XML tag. You'll have to find and read the XML spec to be 100% certain. http://info.com/XML+specification If I'm

Re: [PHP] Include after image or a way to reset header

2006-02-03 Thread Richard Lynch
On Fri, February 3, 2006 10:15 am, tedd wrote: This is probably an obvious question, but after you create an image, how can you include another php script? Your image is a single, atomic, non-divisible, non-extensible, object. You should have one URL for the image:

Re: [PHP] Truncate words in multiple paragraphs

2006-02-03 Thread Verdon Vaillancourt
Hi Richard, I quickly realized this and fooled with a few variations. Also have to take into account that the br or the br / get counted as 1 or 2 words respectively, and so the trim can end up in the wrong place. I've tried fiddling with counting the number of br's in the string and adding

Re: [PHP] Re: [Off] Cheap SSL certificates?

2006-02-03 Thread Richard Lynch
On Fri, February 3, 2006 9:40 am, Barry wrote: Brian Dunning wrote: I'm moving all my hosting to Rackspace, which means I'll need to buy all my own SSL certs. Does anyone have a favorite (cheap) source? I've found LiteSSL at $14.95/per. Thanks... Problem is when you have cheap ssl certs

Re: [PHP] Re: [Off] Cheap SSL certificates?

2006-02-03 Thread John Nichel
Richard Lynch wrote: On Fri, February 3, 2006 9:40 am, Barry wrote: Brian Dunning wrote: I'm moving all my hosting to Rackspace, which means I'll need to buy all my own SSL certs. Does anyone have a favorite (cheap) source? I've found LiteSSL at $14.95/per. Thanks... Problem is when you

Re: [PHP] PHP 4.2.2 Float-Mysql addition problem

2006-02-03 Thread Richard Lynch
It's possible that MySQL has larger range of floats than PHP. Then when your numbers come in, PHP ends up making them be things like: 'NaN' (not a number) or '6.02e+23' or ... There are a LOT of ways to represent floats in such a way that you can confuse the heck out of PHP and MySQL between

Re: [PHP] multisession download

2006-02-03 Thread Richard Lynch
Put the path of the file you want in the URL? And make *SURE* you do not let that turn into things like: /etc/passwd More info here: http://phpsec.org On Fri, February 3, 2006 1:54 am, Shu Hung (Koala) wrote: Hello, I have a little strange question. Let say if I have a file

Re: [PHP] variables in PHP

2006-02-03 Thread Richard Lynch
Source code. On Fri, February 3, 2006 12:43 am, suresh kumar wrote: hi, In my project i assigned name of the text field as 'loginform'.but i got error msg like 'Undefined variable' then i changed the name as 'hiddenfield' but same error.any one having idea reply me.

Re: [PHP] Truncate words in multiple paragraphs

2006-02-03 Thread Richard Lynch
Just do this: $string = str_replace(\n, br, $string); $string = trim_text($string); $string = str_replace(br, \n, $string); Actually br could be any sequence of non-whitespace characters unlikely to be in the text in the first place. On Fri, February 3, 2006 3:29 pm, Verdon Vaillancourt wrote:

Re: [PHP] Re: [Off] Cheap SSL certificates?

2006-02-03 Thread Richard Lynch
On Fri, February 3, 2006 9:54 am, Kevin McBride wrote: All in all, be cautious in selecting a certification authority to issue you a certificate. Remember that it's sometimes better paying more for a certificate from a truly trustworthy CA. And in the real world, where browsers just blindly

Re: [PHP] Re: [Off] Cheap SSL certificates?

2006-02-03 Thread Richard Lynch
On Fri, February 3, 2006 11:06 am, Philip Hallstrom wrote: it permanently. With IE you have to ask that they download your root certificate (click click, installed) I've never gotten that to work, actually... It always keeps asking me over and over to install the cert and I do, and next time

Re: [PHP] Till Drawers

2006-02-03 Thread Richard Lynch
On Fri, February 3, 2006 5:25 am, Oli Howson wrote: I'm interested in the possibility of connecting a computer running A PHP server to a till drawer and have the server able to open the drawer. Anyone know how this would work? I think there's a PHP extension to poke codes out the COM ports of

Re: [PHP] Ajax+ PHP Map

2006-02-03 Thread Richard Lynch
I'm betting that Yahoo and Google both can map to just the County level, if you just don't send them street addresses as inputs... You'll need to find a canonical list of every county in every state, but I'm guessing that's a simple search: http://info.com/state+county+complete+list+official On

Re: [PHP] Truncate words in multiple paragraphs

2006-02-03 Thread Verdon Vaillancourt
On 3-Feb-06, at 4:19 PM, Richard Lynch wrote: On Fri, February 3, 2006 10:54 am, Verdon Vaillancourt wrote: I am using the following function (that I found in the user comments on php.net manual) for trimming the number of words accepted via a form field // Truncation is by word limit, not

Re: [PHP] Re: [Off] Cheap SSL certificates?

2006-02-03 Thread Philip Hallstrom
On Fri, February 3, 2006 11:06 am, Philip Hallstrom wrote: it permanently. With IE you have to ask that they download your root certificate (click click, installed) I've never gotten that to work, actually... It always keeps asking me over and over to install the cert and I do, and next time

RE: [PHP] Truncate words in multiple paragraphs

2006-02-03 Thread php-mail
/) To unsubscribe, visit: http://www.php.net/unsub.php -- Like Music? http://l-i-e.com/artists.htm -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php __ NOD32 1.1393 (20060203) Information __ This message was checked by NOD32 antivirus

Re: [PHP] Re: [Off] Cheap SSL certificates?

2006-02-03 Thread Richard Lynch
On Fri, February 3, 2006 4:07 pm, Philip Hallstrom wrote: On Fri, February 3, 2006 11:06 am, Philip Hallstrom wrote: it permanently. With IE you have to ask that they download your root certificate (click click, installed) I've never gotten that to work, actually... It always keeps asking

Re: [PHP] Truncate words in multiple paragraphs

2006-02-03 Thread tedd
Hi :) I am using the following function (that I found in the user comments on php.net manual) for trimming the number of words accepted via a form field // Truncation is by word limit, not character limit. So if you limit // to 255, then it will cut off a text item to 255 words, not 255

[PHP] Re: PHP Newsletter

2006-02-03 Thread James Benson
Jedidiah wrote: I send out a daily email to an email list. I have only been doing this for about a week, and realized today that each one of them so far has had at least one mysterious exclamation point somewhere in the email. This is sometimes in the middle of the word or sentence, but

RE: [PHP] Truncate words in multiple paragraphs

2006-02-03 Thread php-mail
-- http://sperling.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php __ NOD32 1.1393 (20060203) Information __ This message was checked by NOD32 antivirus system. http

Re: [PHP] Passing Credentials

2006-02-03 Thread Richard Lynch
On Mon, January 30, 2006 12:43 pm, News1 wrote: I would prefer to have to log into my server and from there have these credentials passed along to the web cameras. http://php.net/curl -- Like Music? http://l-i-e.com/artists.htm -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] Till Drawers

2006-02-03 Thread Kevin Waterson
This one time, at band camp, Oli Howson [EMAIL PROTECTED] wrote: I'm interested in the possibility of connecting a computer running A PHP server to a till drawer and have the server able to open the drawer. Anyone know how this would work? -- PHP General Mailing List

Re: [PHP] Other than default grey button

2006-02-03 Thread Richard Lynch
Use a TYPE=IMAGE but have the SRC=../images/button.php?text=Move Then have PHP generate the button to have whatever text comes in from $_GET['text'] http://php.net/gd On Mon, January 30, 2006 8:11 am, Jevos, Peter wrote: Hi all I'd like to ask you one ( probably ) simple question. I'm using

Re: [PHP] Regular expression

2006-02-03 Thread Richard Lynch
$last_comma = strrpos($string, ,); $string = substr($string, 0, $last_comma) . ' and ' . substr($string, $last_comma); I probably have a one-off error in there somewhere, or swapped the order of args in strrpos, but you get the idea. http://php.net/strrpos On Mon, January 30, 2006 8:09 am, Barry

RE: [PHP] Regular expression

2006-02-03 Thread php-mail
(http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- Like Music? http://l-i-e.com/artists.htm -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php __ NOD32 1.1393 (20060203) Information

Re: [PHP] pcntl_fork?

2006-02-03 Thread Richard Lynch
On Mon, January 30, 2006 5:33 am, Peter Hoskin wrote: I have written a script to parse a large amount of XML data and insert it into SQL... deals with approx 80,000 rows each time I run it. I cannot successfully complete this script without running out of memory. Is pcntl_fork suitable to

Re: [PHP] Re: [Off] Cheap SSL certificates?

2006-02-03 Thread Kevin McBride
Richard Lynch wrote: And in the real world, where browsers just blindly chase down CAs and the basic Security Model is you pay us $200, and we make sure you are who you say you are, and then we trust you what real difference does it make? Users can remove untrustworthy CA certs from their

[PHP] REGEX query

2006-02-03 Thread phplists
Hi, I'm still trying to get to grips with REGEX and have hit a hurdle with the following: I have this bit of text: (\(EX\) RV-6 ) I want to remove the '\(EX\)' part of it so leaving just: ( RV-6 ) Any suggestions would be most appreciated. Thanks Alexis -- PHP General Mailing List

Re: [PHP] REGEX query

2006-02-03 Thread David Tulloh
I assume that the text inside can change around a fair bit. If the string is of a fixed with or simple format you can just use substr() and friends, it's simpler and faster. That said, there is really two approaches that I can see with this string. You can match on the spaces to extract the

Re: [PHP] Re: [Off] Cheap SSL certificates?

2006-02-03 Thread Rory Browne
It appears that you never applied for a certificate before, or applied for certs from CAs that don't verify information. Identification is extremerly important when it comes to knowing whether or not to trust the given public key. Repeating your point doesn't make it more valid. I'm not

Re: [PHP] Re: [Off] Cheap SSL certificates?

2006-02-03 Thread Kevin McBride
Rory Browne wrote: I operate my own web/e-mail server No offense, but so what? Do you think that makes you different from most people here, many of whom administrate web, email, database, dns, etc? You're on a technical list, and people who admin servers are the norm rather than the