[PHP] Re: [PHP-DEV] PHP 4.4.9RC1

2008-07-25 Thread Xuefer
On Tue, Jul 22, 2008 at 3:57 PM, Derick Rethans [EMAIL PROTECTED] wrote: Hello! I packed PHP 4.4.1RC9 today, which you can find here: http://downloads.php.net/derick/ 4.4.9RC1? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] [soap]about compress

2008-07-25 Thread 付兴林
I have an issue about soap. Is the data returned from servier compressed by gzip, When using soap in php5 to creat web service? Can we set for compress lever or not compress? _ 这里好多好玩的视频,用鼠标点到视频看看,有惊喜!

Re: [PHP] [soap]about compress

2008-07-25 Thread Thijs Lensselink
Quoting 付兴林 [EMAIL PROTECTED]: I have an issue about soap. Is the data returned from servier compressed by gzip, When using soap in php5 to creat web service? Can we set for compress lever or not compress? _

[PHP] Re: [PHP-DEV] PHP 4.4.9RC1

2008-07-25 Thread Derick Rethans
On Fri, 25 Jul 2008, Xuefer wrote: On Tue, Jul 22, 2008 at 3:57 PM, Derick Rethans [EMAIL PROTECTED] wrote: I packed PHP 4.4.1RC9 today, which you can find here: http://downloads.php.net/derick/ 4.4.9RC1? Uhm yes. regards, Derick -- HEAD before 5_3!: http://tinyurl.com/6d2esb

[PHP] Re: running base64 code from unknown source

2008-07-25 Thread Colin Guthrie
[EMAIL PROTECTED] wrote: Hi there, I may have come into trouble when i tried to use the code i saw on a tutorial (http://www.phpeasystep.com/phptu/28.html). I am just a newbie in PHP and exploring its functions. To be honest, unless you can think of a practical reason to fiddle around

[PHP] uploading big files with PHP

2008-07-25 Thread Angelo Zanetti
Hi all We are pitching to develop a website where the admin has to upload big video files but I'm not sure how this can be done as the file upload will most probably time out. How do current websites do it? Is there somehow a way to make use of FTP to transfer the files? Any links, help, advice

Re: [PHP] uploading big files with PHP

2008-07-25 Thread Raido
Hi, Maybe this is involved with it ? http://ee.php.net/manual/en/info.configuration.php#ini.max-input-time Angelo Zanetti wrote: Hi all We are pitching to develop a website where the admin has to upload big video files but I'm not sure how this can be done as the file upload will most

[PHP] URL Rewrite not working for me

2008-07-25 Thread Don Don
Hi all, I've set up a url rewrite code below. Options +FollowSymLinks RewriteEngine on RewriteRule profile/username/(.*) profile.php?username=$1 It only works when I type in this url http://www.example.com/profiles/profile/username/baller/ If i do not then the normal url

Re: [PHP] uploading big files with PHP

2008-07-25 Thread Thijs Lensselink
Quoting Angelo Zanetti [EMAIL PROTECTED]: Hi all We are pitching to develop a website where the admin has to upload big video files but I'm not sure how this can be done as the file upload will most probably time out. How do current websites do it? Is there somehow a way to make use of FTP to

Re: [PHP] Help with an error...

2008-07-25 Thread Payne
Jim Lucas wrote: Payne wrote: Jim Lucas wrote: So, to summarize everything said, with my own added notes. [EMAIL PROTECTED] wrote: Hi, I am currently working on a php script that will be called by cron. But I have an error that keeps coming up. Parse error: syntax error, unexpected

Re: [PHP] URL Rewrite not working for me

2008-07-25 Thread Per Jessen
Don Don wrote: Hi all, I've set up a url rewrite code below. Options +FollowSymLinks RewriteEngine on RewriteRule profile/username/(.*) profile.php?username=$1 It only works when I type in this url http://www.example.com/profiles/profile/username/baller/ If i do not then the

[PHP] Regular Expression help need

2008-07-25 Thread Shelley
Hi all, How can I make a string with (NOT amp;, gt;, lt; or quot;), , xml compatible? What is the expression to use? Thank you very much. -- Regards, Shelley

Re: [PHP] URL Rewrite not working for me

2008-07-25 Thread Don Don
Hi Per, changed the rewrite to this Options +FollowSymLinks RewriteEngine on RewriteRule profile/username/(.*) profile.php?username=$1 [r] but sill does not work the way i want. Entering this url http://example.com/profiles/profile.php?username=baller does not cnage to

Re: [PHP] Regular Expression help need

2008-07-25 Thread Richard Heyes
How can I make a string with (NOT amp;, gt;, lt; or quot;), , xml compatible? What is the expression to use? Not entirely sure what you're after (try posting some before and after snippets), but by the sounds of it you don't need a regular expression - strtr() will work for you. Or

Re: [PHP] URL Rewrite not working for me

2008-07-25 Thread Raman .
Hi!! For Internal redirection: RewriteRule profile/username/([^/]+) profile.php?username=$1 [PT] On Fri, Jul 25, 2008 at 3:00 AM, Don Don [EMAIL PROTECTED] wrote: Hi all, I've set up a url rewrite code below. Options +FollowSymLinks RewriteEngine on RewriteRule profile/username/(.*)

Re: [PHP] Regular Expression help need

2008-07-25 Thread Shelley
Hi Richard, Not exactly actually. What I mean is: Before: phi strongRichard/strong, good morninglt;/p After: phi strongRichard/stronggt;, amp; good morninglt;/p I hope it's clear now. On Fri, Jul 25, 2008 at 7:53 PM, Richard Heyes [EMAIL PROTECTED] wrote: How can I make a string with

RE: [PHP] uploading big files with PHP

2008-07-25 Thread Angelo Zanetti
-Original Message- From: Thijs Lensselink [mailto:[EMAIL PROTECTED] Sent: 25 July 2008 12:08 To: php-general@lists.php.net Subject: Re: [PHP] uploading big files with PHP Quoting Angelo Zanetti [EMAIL PROTECTED]: Hi all We are pitching to develop a website where the admin has to

Re: [PHP] uploading big files with PHP

2008-07-25 Thread Jason Pruim
On Jul 25, 2008, at 8:26 AM, Angelo Zanetti wrote: -Original Message- From: Thijs Lensselink [mailto:[EMAIL PROTECTED] Sent: 25 July 2008 12:08 To: php-general@lists.php.net Subject: Re: [PHP] uploading big files with PHP Quoting Angelo Zanetti [EMAIL PROTECTED]: Hi all We are

Re: [PHP] URL Rewrite not working for me

2008-07-25 Thread Per Jessen
Don Don wrote: Hi Per, changed the rewrite to this Options +FollowSymLinks RewriteEngine on RewriteRule profile/username/(.*) profile.php?username=$1 [r] but sill does not work the way i want. Entering this url http://example.com/profiles/profile.php?username=baller does not cnage

Re: [PHP] PHP Warning: imagettftext()

2008-07-25 Thread Lou Baccari
Hello, After reading Practical PHP Programing I came across a reference that said On Unix machines, you may find PHP searches in /usr/share/fonts/truetype. Well I find that my php script executes successfully when I placing my arial.ttf file into /usr/share/fonts/truetype directory. So I

RE: [PHP] uploading big files with PHP

2008-07-25 Thread Thijs Lensselink
Quoting Angelo Zanetti [EMAIL PROTECTED]: -Original Message- From: Thijs Lensselink [mailto:[EMAIL PROTECTED] Sent: 25 July 2008 12:08 To: php-general@lists.php.net Subject: Re: [PHP] uploading big files with PHP Quoting Angelo Zanetti [EMAIL PROTECTED]: Hi all We are pitching to

[PHP] Code works alone but not with other code.

2008-07-25 Thread Ed Curtis
I've got this chunk of code (included) that used to work fine in a script up until a couple of weeks ago. Nothing has changed in the php page at all, it just quit working. If I take this chunk of code and place it alone in a php script it works just fine, but only by itself. I don't understand

Re: [PHP] Code works alone but not with other code.

2008-07-25 Thread Wolf
Ed Curtis [EMAIL PROTECTED] wrote: I've got this chunk of code (included) that used to work fine in a script up until a couple of weeks ago. Nothing has changed in the php page at all, it just quit working. If I take this chunk of code and place it alone in a php script it works just

Re: [PHP] PHP Warning: imagettftext()

2008-07-25 Thread Lou Baccari
Sorry for the additional mail but I found the variable GDFONTPATH should be GD_FONTPATH, the example below works for me now. putenv('GD_FONTPATH=' . realpath('.')); Lou Baccari wrote: Hello, After reading Practical PHP Programing I came across a reference that said On Unix

Re: [PHP] storing and then displaying HTML for update

2008-07-25 Thread Daniel Brown
Ooh, top-posting and privately replying! You're going to jail, Rod! ;-P On Fri, Jul 25, 2008 at 10:05 AM, Rod Clay [EMAIL PROTECTED] wrote: Occasionally part of the HTML. Usually nothing. Right, but what I had hoped for was an sample of actual output, along with a sample of

Re: [PHP] PHP Warning: imagettftext()

2008-07-25 Thread Daniel Brown
On Mon, Jul 21, 2008 at 1:14 PM, Lou Baccari [EMAIL PROTECTED] wrote: Hello, I'm trying to move a site over to the V5 of CentOS and I having problems with php/gd/freetype. It looks like my older systems which is running php-4.3.8-1.1, gd-2.0.15-1, freetype-2.1.4-5 can execute the code

[PHP] Creating user groups in social application (e.g. facebook group)

2008-07-25 Thread Don Don
Hi All, Has anyone created or has tips for the creation of user groups in a app. e.g. a Facebook group ? I am trying to create groups in a social application where users on the site can join a group etc its just much like a facebook group. Any help will be appreciated. Ta. --

Re: [PHP] PHP Warning: imagettftext()

2008-07-25 Thread Lou Baccari
Thanks for the reply, I felt a little lonely since no one responded earlier. No one else that I've been in contact with have complained about date/time issues with my client and any emails. Yes I sent my first email on Monday, 7/21/08, and then I sent the last two messages today. The

Re: [PHP] Creating user groups in social application (e.g. facebook group)

2008-07-25 Thread Dan Shirah
Since I would assume a user could be a part of any number of groups, I would suggest that you just make a seperate table. Maybe with simple columns like this: //GROUP TABLE key group_id member_id join_date Then you can just compare it to your member table when someone tries to access a

Re: [PHP] PHP Warning: imagettftext()

2008-07-25 Thread Daniel Brown
On Fri, Jul 25, 2008 at 11:02 AM, Lou Baccari [EMAIL PROTECTED] wrote: Thanks for the reply, I felt a little lonely since no one responded earlier. No one else that I've been in contact with have complained about date/time issues with my client and any emails. Yes I sent my first email on

Re: [PHP] storing and then displaying HTML for update

2008-07-25 Thread Bastien Koert
On Fri, Jul 25, 2008 at 10:27 AM, Daniel Brown [EMAIL PROTECTED] wrote: Ooh, top-posting and privately replying! You're going to jail, Rod! ;-P On Fri, Jul 25, 2008 at 10:05 AM, Rod Clay [EMAIL PROTECTED] wrote: Occasionally part of the HTML. Usually nothing. Right, but what I

Re: [PHP] storing and then displaying HTML for update

2008-07-25 Thread Rod Clay
Daniel Brown wrote: Ooh, top-posting and privately replying! You're going to jail, Rod! ;-P On Fri, Jul 25, 2008 at 10:05 AM, Rod Clay [EMAIL PROTECTED] wrote: Occasionally part of the HTML. Usually nothing. Right, but what I had hoped for was an sample of actual output,

Re: [PHP] storing and then displaying HTML for update

2008-07-25 Thread Jason Pruim
On Jul 25, 2008, at 11:36 AM, Rod Clay wrote: Daniel Brown wrote: Ooh, top-posting and privately replying! You're going to jail, Rod! ;-P On Fri, Jul 25, 2008 at 10:05 AM, Rod Clay [EMAIL PROTECTED] wrote: Occasionally part of the HTML. Usually nothing. Right, but what I had

Re: [PHP] URL Rewrite not working for me

2008-07-25 Thread Daniel Brown
On Fri, Jul 25, 2008 at 6:00 AM, Don Don [EMAIL PROTECTED] wrote: Hi all, I've set up a url rewrite code below. Options +FollowSymLinks RewriteEngine on RewriteRule profile/username/(.*) profile.php?username=$1 It only works when I type in this url

Re: [PHP] Code beautifier

2008-07-25 Thread tedd
At 3:17 PM -0300 7/24/08, Thiago H. Pojda wrote: On Thu, Jul 24, 2008 at 3:14 PM, mike [EMAIL PROTECTED] wrote: On 7/24/08, Thiago H. Pojda [EMAIL PROTECTED] wrote: sadly, I still go and reformat other coworker's code anyway, heh. Yeah, I'm -that bad- That's why I looked for a tool like

Re: [PHP] Code beautifier

2008-07-25 Thread tedd
At 7:22 PM +0100 7/24/08, Stut wrote: On 24 Jul 2008, at 19:14, mike wrote: On 7/24/08, Thiago H. Pojda [EMAIL PROTECTED] wrote: That doesn't work when you get code from someone else that wasn't prudent enough ;) I figured that'd be the reply - it's not my code ... sadly, I still go and

Re: [PHP] Code beautifier

2008-07-25 Thread tedd
At 8:10 PM +0100 7/24/08, Richard Heyes wrote: (and anal retentive) when you code :) I am; the problem is no one lives up to my standards... :-) Anyone else find the two sentences above used together disturbing? Something about anal and up that doesn't sound good. :-) tedd -- ---

Re: [PHP] Code beautifier

2008-07-25 Thread Wolf
tedd [EMAIL PROTECTED] wrote: At 8:10 PM +0100 7/24/08, Richard Heyes wrote: (and anal retentive) when you code :) I am; the problem is no one lives up to my standards... :-) Anyone else find the two sentences above used together disturbing? Something about anal and up that

[PHP] Stumped I Tell You!

2008-07-25 Thread Jay Blanchard
$getEnd = select a.ACCOUNTID as CONTRACT, a.BALANCE/1 as BALANCE, b.STATUS, b.IMSI_ID as MDN, b.IMEI_ID as ESN, ; $getEnd .= b.EQUIP_ID as MIN, b.MKT, b.MARKET_NAME ; $getEnd .= FROM work.account_.$startDate. a ; $getEnd .= JOIN work.customer_.$startDate. b ; $getEnd .= ON ( b.CONTRACT_ID =

Re: [PHP] Code beautifier

2008-07-25 Thread Daniel Brown
On Fri, Jul 25, 2008 at 12:56 PM, tedd [EMAIL PROTECTED] wrote: At 8:10 PM +0100 7/24/08, Richard Heyes wrote: (and anal retentive) when you code :) I am; the problem is no one lives up to my standards... :-) Anyone else find the two sentences above used together disturbing? Something

Re: [PHP] Code beautifier

2008-07-25 Thread Wolf
Daniel Brown [EMAIL PROTECTED] wrote: On Fri, Jul 25, 2008 at 12:56 PM, tedd [EMAIL PROTECTED] wrote: At 8:10 PM +0100 7/24/08, Richard Heyes wrote: (and anal retentive) when you code :) I am; the problem is no one lives up to my standards... :-) Anyone else find the two

Re: [PHP] Stumped I Tell You!

2008-07-25 Thread Daniel Brown
On Fri, Jul 25, 2008 at 1:55 PM, Jay Blanchard [EMAIL PROTECTED] wrote: [snip!] $endBal = mysql_fetch_array($dbEnd); echo mysql_num_rows($dbEnd); print_r($endBal); Nothing gets returned from those last statements. Am I missing something completely? Right here ?php // Code

Re: [PHP] Code beautifier

2008-07-25 Thread Daniel Brown
On Fri, Jul 25, 2008 at 2:04 PM, Wolf [EMAIL PROTECTED] wrote: True, but but and butt are two very distinct words... ;) I know Dan, it's that grammar thing.. Even using the Queen's English makes it a tush for the push. ;) Just reading that opening sentence aloud was fun. -- /Daniel

RE: [PHP] Stumped I Tell You!

2008-07-25 Thread Jay Blanchard
[snip] [snip!] $endBal = mysql_fetch_array($dbEnd); echo mysql_num_rows($dbEnd); print_r($endBal); Nothing gets returned from those last statements. Am I missing something completely? Right here ?php // Code before if(!$dbEnd = (mysql_query($getEnd, $dbc))){ echo

Re: [PHP] uploading big files with PHP

2008-07-25 Thread T Lensselink
Michael Kubler wrote: There are other ways to upload files. I know if you use Google Gears http://code.google.com/apis/gears/ (requires a plugin for your web browser), then you can easily have the file split up http://code.google.com/apis/gears/api_workerpool.html (client side) and sent in

Re: [PHP] Stumped I Tell You!

2008-07-25 Thread Daniel Brown
On Fri, Jul 25, 2008 at 2:36 PM, Jay Blanchard [EMAIL PROTECTED] wrote: I have several other queries running in this example and they all use the same run/error check routine with no issues. I'm sure you've already tried this, but did you copy the SQL query echo'd out and try it directly

RE: [PHP] Stumped I Tell You!

2008-07-25 Thread Jay Blanchard
[snip] I'm sure you've already tried this, but did you copy the SQL query echo'd out and try it directly with MySQL to make sure there are rows returned? [/snip] Yes. *slaps forehead soundly* I found that there was a missing greater than sign in a greater than or equal to requirement in an

Re: [PHP] Stumped I Tell You!

2008-07-25 Thread Daniel Brown
On Fri, Jul 25, 2008 at 3:07 PM, Jay Blanchard [EMAIL PROTECTED] wrote: *slaps forehead soundly* I found that there was a missing greater than sign in a greater than or equal to requirement in an earlier query. The most minuscule errors cause the greatest harm. By the way, I didn't

Re: [PHP] Stumped I Tell You!

2008-07-25 Thread David Giragosian
On 7/25/08, Daniel Brown [EMAIL PROTECTED] wrote: On Fri, Jul 25, 2008 at 3:07 PM, Jay Blanchard [EMAIL PROTECTED] wrote: *slaps forehead soundly* I found that there was a missing greater than sign in a greater than or equal to requirement in an earlier query. The most minuscule

Re: [PHP] Regular Expression help need

2008-07-25 Thread Micah Gersten
Are you trying to make it xml compatible or XHTML compatible? '' is not valid HTML or XHTML as it has special meaning. If you want it to adhere to the standard and display correctly, you must use 'amp;' Thank you, Micah Gersten onShore Networks Internal Developer http://www.onshore.com

RE: [PHP] Stumped I Tell You!

2008-07-25 Thread Jay Blanchard
[snip]By the way, I didn't mean to insinuate that your use of the if() condition was incorrect[/snip] No worries. [snip] Someone needs to whack me upside the head every so often. In my case, that might be a patentable invention.[/snip] I see you get whacked around the head here every so

Re: [PHP] Stumped I Tell You!

2008-07-25 Thread Daniel Brown
On Fri, Jul 25, 2008 at 3:41 PM, Jay Blanchard [EMAIL PROTECTED] wrote: I see you get whacked around the head here every so often...and if not here I am sure that your SO handles it as needed. Yeah, but she's in Virginia Beach for the week, so there's a slight chance the bruising will

Re: [PHP] URL Rewrite not working for me

2008-07-25 Thread Per Jessen
Daniel Brown wrote: Per's answer is probably exactly what you're looking for, Don. Keep in mind, though, that this isn't a PHP question. Future questions of this nature would be better suited for the Apache list. Couldn't agree more. You may find sometimes that asking a question on the

Re: [PHP] URL Rewrite not working for me

2008-07-25 Thread Daniel Brown
On Fri, Jul 25, 2008 at 3:59 PM, Per Jessen [EMAIL PROTECTED] wrote: However, Don's question was of the kind that is easily overlooked on the apache list, where topics tend to be a little less basic. I tend to think that basic apache/php questions are sometimes better asked here, even if

Re: [PHP] uploading big files with PHP

2008-07-25 Thread mike
On 7/25/08, T Lensselink [EMAIL PROTECTED] wrote: You are right on this. There are some other great methods for uploading. I just meant that in PHP there is not much more options. Of course in combination with other technologies you can do some pretty cool stuff. You could use some Java

[PHP] Double results??

2008-07-25 Thread Dan Shirah
Hello all, I am running the following query...I get the results I want, but for some reason I am getting every valid result twice? Any ideas? $name_query = SELECT caa44240002, caa44240003, caa44240004, caa442400018 FROM caa44240 WHERE caa442400018 = '$case_id'; if

Re: [PHP] Help with an error...

2008-07-25 Thread Philip Thompson
On Jul 24, 2008, at 12:40 PM, Micah Gersten wrote: You cannot have commands in the middle of a string. Technically you can. ?php $str = Hi, my name is . $this-getName(); // or $str = Hi, my name is $this-getName(); echo $str; ? ~Philip Try building a string first, or use output

Re: [PHP] Help with an error...

2008-07-25 Thread Philip Thompson
Ooop! Didn't read the whole thread before I sent this. Disregard what I said earlier 'cuz others ripped before I did. ;) ~Phil On Jul 25, 2008, at 3:59 PM, Philip Thompson wrote: On Jul 24, 2008, at 12:40 PM, Micah Gersten wrote: You cannot have commands in the middle of a string.

Re: [PHP] Help with an error...

2008-07-25 Thread Micah Gersten
Philip Thompson wrote: On Jul 24, 2008, at 12:40 PM, Micah Gersten wrote: You cannot have commands in the middle of a string. Technically you can. ?php $str = Hi, my name is . $this-getName(); This is correct, but is not in the middle of the string. // or $str = Hi, my name is

Re: [PHP] Code beautifier

2008-07-25 Thread Børge Holen
On Friday 25 July 2008 20:10:30 Daniel Brown wrote: On Fri, Jul 25, 2008 at 2:04 PM, Wolf [EMAIL PROTECTED] wrote: True, but but and butt are two very distinct words... ;) I know Dan, it's that grammar thing.. Even using the Queen's English makes it a tush for the push. ;) Just

[PHP] Since APC is no longer supported on Windows, can anyone else make php_apc.dll for the newest 5.2.6 non-thread-safe?

2008-07-25 Thread steve
Since APC is no longer supported on Windows, I can't download it from php.net. Can anyone else make php_apc.dll for the newest 5.2.6 non-thread-safe windows version? Many thanks in advance... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Code beautifier

2008-07-25 Thread tedd
At 1:59 PM -0400 7/25/08, Daniel Brown wrote: On Fri, Jul 25, 2008 at 12:56 PM, tedd [EMAIL PROTECTED] wrote: At 8:10 PM +0100 7/24/08, Richard Heyes wrote: (and anal retentive) when you code :) I am; the problem is no one lives up to my standards... :-) Anyone else find the two

Re: [PHP] Code beautifier

2008-07-25 Thread Daniel Brown
On Fri, Jul 25, 2008 at 6:29 PM, tedd [EMAIL PROTECTED] wrote: At 1:59 PM -0400 7/25/08, Daniel Brown wrote: On Fri, Jul 25, 2008 at 12:56 PM, tedd [EMAIL PROTECTED] wrote: At 8:10 PM +0100 7/24/08, Richard Heyes wrote: (and anal retentive) when you code :) I am; the problem is no one

Re: [PHP] Double results??

2008-07-25 Thread Bastien Koert
On Fri, Jul 25, 2008 at 4:55 PM, Dan Shirah [EMAIL PROTECTED] wrote: Hello all, I am running the following query...I get the results I want, but for some reason I am getting every valid result twice? Any ideas? $name_query = SELECT caa44240002, caa44240003, caa44240004, caa442400018

Re: [PHP] Code beautifier

2008-07-25 Thread tedd
At 6:47 PM -0400 7/25/08, Daniel Brown wrote: On Fri, Jul 25, 2008 at 6:29 PM, tedd [EMAIL PROTECTED] wrote: But, there's nothing wrong with starting a sentence with but. There, I even started AND ended with one. Correct, as I said, in Reader's Digest English. In proper grammar, it's

Re: [PHP] Code beautifier

2008-07-25 Thread mike
On 7/25/08, tedd [EMAIL PROTECTED] wrote: I do it all the time. In fact, I enjoy doing it (no I don't want to do it for anyone else). What I find interesting/entertaining is reducing the amount of code down to what's actually necessary and then reorganizing the code to make routines more

Re: [PHP] Code beautifier

2008-07-25 Thread Daniel Brown
On Fri, Jul 25, 2008 at 10:02 PM, tedd [EMAIL PROTECTED] wrote: [snip=1920's_anecdote] So in the end, these were the things I remember being taught by English teachers. They taught me well -- but, nothing about writing. :-) That's one thing about being a teacher in an official capacity:

Re: [PHP] Regular Expression help need

2008-07-25 Thread Shelley
Ok, let me tell you what i want to achieve. I want to transfer users' blog onto mobile phone, so I should convert characters such as , , (but not amp;, or gt;, or lt;, etc) into xml compatible ones, gt;, lt; amp;. Maybe there is some problem in my expression? Waiting for your response... On