Re: [PHP] A simple question, however it's urgent

2010-05-17 Thread Al
On 5/17/2010 8:53 AM, Andre Polykanine wrote: Ash, Magic quotes are disabled: http://gviragon.org/study/php.php Any ideas? Thanks a lot! Your code should work for something as simple as this, almost regardless of the php setup. Change your $what=array("\r\n", "\n", "\r"); $with=array(""

Re: [PHP] A simple question, however it's urgent

2010-05-17 Thread Ashley Sheridan
On Mon, 2010-05-17 at 15:26 +0300, Andre Polykanine wrote: > Hello everyone, > Just can't imagine what happens. There is the simplest function in the > world: > > function LineBreaks ($str) { > $what=array("\r\n", "\n", "\r"); > $with=array(""); > $str=str_replace($what, $with, $str); > return $s

Re: [PHP] A simple question

2004-11-13 Thread Chuck PUP Payne
Ugh, from what I read now I have to re-write all my forms. No fun. Thanks guys, I was hoping it was something simple. I would like to ask one thing, here is a simple code that I was using can someone explain to what need to be change to work with 4.3.4 so that I can work on my other pages ";

Re: [PHP] A simple question

2004-11-13 Thread Curt Zirzow
* Thus wrote Chuck PUP Payne: > Hey, > > I have just upgrade my box and my forms are no longer passing information > into the database. I did a simple echo test and sure enough nothing. I was > using Apache 1.3 with php 4.1 I am now using Apache 2 with php 4.3.4, I > thinking there is something th

Re: [PHP] A simple question

2004-11-13 Thread Chuck PUP Payne
If I was still on 4.1 I would understand, but I am on 4.3.4 now I will read it but I think it will there is something that turn on in the php.ini. Payne On 11/13/04 9:13 PM, "Brad Bonkoski" <[EMAIL PROTECTED]> wrote: > Read this.. > http://www.php.net/release_4_1_0.php > > (Especially the

Re: [PHP] A simple question

2004-11-13 Thread Brad Bonkoski
Read this.. http://www.php.net/release_4_1_0.php (Especially the part about global variables...) - Original Message - From: "Chuck PUP Payne" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, November 13, 2004 9:02 PM Subject: [PHP] A simple question Hey, I have just upgrade my

RE: [PHP] A simple question please.

2003-01-22 Thread Clarkson, Nick
If the start of EVERY page is the same you could make your php include file as follows; "; echo ""; echo ""; ?> Obviously padding it out a bit ;o) Then at the top of every page put; Similarly you coud do a footer for every page. You can basically put it where you like as long as the HTML m

Re: [PHP] A simple question please.

2003-01-22 Thread Henry
it doesn't matter before or after as I know - Original Message - From: "Denis L. Menezes" <[EMAIL PROTECTED]> To: "PHP general list" <[EMAIL PROTECTED]> Sent: Wednesday, January 22, 2003 11:21 PM Subject: [PHP] A simple question please. Hello friends. I need to add a part of html (the

Re: [PHP] a simple question

2001-07-17 Thread Rasmus Lerdorf
$variable = << Hi, > > Can anyone tell me please what is the equivelant of this statement from > perl, in PHP? > > $variable = qq~a value with any "quotes" which doesnt need \'\'s~; > > i use it to get away with all the s\lashes behind quotes. can anyone tell me > how to do that in php? > > Regard

Re: [PHP] a (simple) question?

2001-04-27 Thread Michael Kimsal
You can only do one file in each box - get a yahoo mail account and see how they handle file uploading. Ivan Porro wrote: > Hi, > > anyone know a simple way to realize multiple-upload at once (something > like Msoft CTRL-multiple selection when browsing and uniqe Upload > button). I've found on