[PHP] Re: textarea new line
I'd say $string="-line1\n -line2\n-line3" Newlines are \n, not n\ ... "Adi" <[EMAIL PROTECTED]> schreef in bericht 014b01c22424$5f999b00$9600a8c0@ady">news:014b01c22424$5f999b00$9600a8c0@ady... i want to add in textarea a string with new line tag in it. how to do that? my try: $string="-line1n\ -line2 n\-line3"; echo "$string"; but i see a single line instead of: -line1 -line2 -line3 tx in advance for any help -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] $_SESSION troubles
Hello hello, I have this strange thing with a sort of login procedure (still working it out, but it will work eventually) On the first page, you log in (username + password) Then we come to 'login.php' where I have this header 1 This works, I can use $loginname and $loginpw Somewhere on that page I have added a few buttons, and one of those buttons is functional (the others have to be written yet) But here I have this header: 1 The strange thing is that if I do (hey, it's just for testing what's happening): print("loginname = $loginname\n"); print("loginpw=$loginpw\n"); both loginname and loginpw contain the same information, which is the true information of $loginpw what am I doing wrong here? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: $_SESSION troubles
oww... should have added a few things as information... It's friday and one tends to forget such things then... I'm on Slackware 8.1, PHP 4.2.1, Apache 1.3.24 maybe that helps a bit... "Michiel Lange" <[EMAIL PROTECTED]> schreef in bericht [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hello hello, > > I have this strange thing with a sort of login procedure (still working it > out, but it will work eventually) > On the first page, you log in (username + password) > Then we come to 'login.php' where I have this header > 12 session_start(); > 3 $loginname=$_POST["loginname"]; > 4 $loginpw=$_POST["loginpw"]; > 5 session_register('loginname'); > 6 session_register('loginpw'); > 7 ?> > > This works, I can use $loginname and $loginpw > > Somewhere on that page I have added a few buttons, and one of those buttons > is functional (the others have to be written yet) > But here I have this header: > 12 session_start(); > 3 $loginname=$_SESSION['loginname']; > 4 $loginpw=$_SESSION['loginpw']; > 5 /*session_register('loginname'); > 6 session_register('loginpw'); -- commented out, it did not > add something seemingly */ > 7 ?> > > The strange thing is that if I do (hey, it's just for testing what's > happening): > print("loginname = $loginname\n"); > print("loginpw=$loginpw\n"); > > both loginname and loginpw contain the same information, which is the true > information of $loginpw > what am I doing wrong here? > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: PHP for AIX.5.1
That is because AIX 5.1 uses a linux kernel. That implies alot of changes for the architecture... However, I think you should be able to compile for 5.1, but you'll need the required libraries which have to be compiled and installed as well... which implies that you need the development stuff like gcc/gmake (I thought gmake was used, from the top of my head) "Scott Fletcher" <[EMAIL PROTECTED]> schreef in bericht [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Go to PHP website, http://www.php.net and at the top, you'll see the > download hyperlink. Click on that. Then use the tar.gz file under the > title, "Complete Source Code". This is what I use with AIX. If you use the > RPM to install other softwares, then you'll have to make sure the > ./configure option can find the files. It is a matter of using hte > environment variables and file paths. I had end up going back to AIX 4.3.3 > because AIX 5.x use alot of Operating System archecture change. > > FletchSOD > > "A Jeyaraj" <[EMAIL PROTECTED]> wrote in message > [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > Hi all, > > > > I like to know where i can get the > > PHP download for the AIX.5.1 > > > > Pl, let me know the information. > > > > Regards, > > Jey > > > > > > _ > > There is always a better job for you at Monsterindia.com. > > Go now http://monsterindia.rediff.com/jobs > > > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php