Re: [PHP] Re: str_replace around a character??

2011-07-13 Thread Florian Lemaitre
Le 13/07/2011 16:59, Shawn McKenzie a écrit : On 07/13/2011 02:54 AM, Karl DeSaulniers wrote: Hello All, I am needing some assistance. I am trying to add some Cc and Bcc to a mail script I have. On the form I have instructions for each to be separated by a comma + a space. In an all perfect worl

Re: [PHP] Re: str_replace() problem in PHP5 - RESOLVED

2004-08-05 Thread Jon Bertsch
Justin, We are using apache 1.3.31 ( From the original post "production server to php5.0.0 running on apache 1.3.31 on SUSE9.1") Jon Bertsch -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: str_replace() problem in PHP5 - RESOLVED

2004-08-05 Thread Justin Patrin
On Thu, 05 Aug 2004 07:21:35 -0700, Jon Bertsch <[EMAIL PROTECTED]> wrote: > Curt and Justin, > > Thanks for the ideas. I resolved this by removing the str_replace() call > from within a function that I was calling and running it in-line in the > code. Since the html string was less than 500 char

RE: [PHP] Re: str_replace

2003-03-17 Thread Ford, Mike [LSS]
> -Original Message- > From: Sebastian [mailto:[EMAIL PROTECTED] > Sent: 15 March 2003 06:23 > > > doesn't work but also doesn't give any errors, I will try to > explain what I > am trying to do: > > I am trying to remove the header and footer to create a > "printer friendly > page" wi

Re: [PHP] Re: str_replace

2003-03-15 Thread Sebastian
Thank you, that seems to work fairly well :) cheers, - Sebastian - Original Message - From: "Ernest E Vogelsinger" | At 07:23 15.03.2003, Sebastian said: | [snip] | >doesn't work but also doesn't give any errors, I will try to explain what I | >am

Re: [PHP] Re: str_replace

2003-03-15 Thread Jason Sheets
You could put logic in your header and footer file not to display output if $_GET['action'] == 'print'. Jason On Fri, 2003-03-14 at 23:23, Sebastian wrote: > doesn't work but also doesn't give any errors, I will try to explain what I > am trying to do: > > I am trying to remove the header and foo

Re: [PHP] Re: str_replace

2003-03-15 Thread Ernest E Vogelsinger
At 07:23 15.03.2003, Sebastian said: [snip] >doesn't work but also doesn't give any errors, I will try to explain what I >am trying to do: > >I am trying to remove the header and footer to create a "printer friendly >page" with just the content, here's what m

Re: [PHP] Re: str_replace

2003-03-14 Thread Hugh Danaher
- From: "Sebastian" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Friday, March 14, 2003 10:23 PM Subject: Re: [PHP] Re: str_replace > doesn't work but also doesn't give any errors, I will try to explain what I > am tryi

Re: [PHP] Re: str_replace

2003-03-14 Thread Sebastian
doesn't work but also doesn't give any errors, I will try to explain what I am trying to do: I am trying to remove the header and footer to create a "printer friendly page" with just the content, here's what my pages look like, I need to remove header and footer when they visit: file.php?action=pr

Re: [PHP] Re: str_replace an include

2003-01-21 Thread Fernando Lemes
try: $aux = $replace->feedLinks(); $read = str_replace('

Re: [PHP] Re: str_replace an include

2003-01-21 Thread jesse
ns (HiTCHO) Open Source Consulting e-mail: [EMAIL PROTECTED] -Original Message- From: jesse [mailto:[EMAIL PROTECTED]] Sent: Wednesday, 22 January 2003 2:12 AM To: [EMAIL PROTECTED] Subject: Re: [PHP] Re: str_replace an include Timothy Hitchens ) wrote: Where are you getting $read fr

RE: [PHP] Re: str_replace an include

2003-01-21 Thread Timothy Hitchens \(HiTCHO\)
3 2:12 AM > To: [EMAIL PROTECTED] > Subject: Re: [PHP] Re: str_replace an include > > > > > Timothy Hitchens ) wrote: > > Where are you getting $read from?? > > > > That should be $replace = new mainReplace(); // notice the brackets > > $read is the co

Re: [PHP] Re: str_replace an include

2003-01-21 Thread jesse
Timothy Hitchens ) wrote: Where are you getting $read from?? That should be $replace = new mainReplace(); // notice the brackets $read is the contents of the file that I'm reading. I actually do have $replace = new mainReplace(); in my code, I just forgot the brackets in my last message;)

RE: [PHP] Re: str_replace an include

2003-01-21 Thread Timothy Hitchens \(HiTCHO\)
Where are you getting $read from?? That should be $replace = new mainReplace(); // notice the brackets Timothy Hitchens (HiTCHO) Open Source Consulting e-mail: [EMAIL PROTECTED] > -Original Message- > From: jesse [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, 22 January 2003 1:38 AM > T

Re: [PHP] Re: str_replace question

2002-09-01 Thread olinux
something like this should do foreach ($reserved_words as $key => $value) { $reserved_words_bold[$key] = ''.$value.''; } $string = str_replace($reserved_words, $reserved_words_bold,$string); olinux --- Gregor J <[EMAIL PROTECTED]> wrote: > Same as with ".$reserved_words.", i get Array > :)