[PHP] Facing some problem with mySQL Installation
I know I should not ask this question - but as I am not getting prompt reply from mysql mailing list posting it here too - Just in case anybody knows about it I am trying to install the mySQL on our remote server thr putty (SSH). Following are the set of commands given by me, I have downloaded mysql-3.23 for BSDi. 1)put into /usr/home/mysql-src directory and given following 2 commands going into shell>cd /usr/home/mysql-src shell>gunzip mysql-.tar.gz shell>tar xvf mysql-.tar This is creating the directory mysql- 2)Config - shell>cd /usr/home/mysql-src/mysql- shell>./configure -basedir=/usr/home/mysql -with-low-memory This command is giving me problem - saying - at the end shell>Starting mysqld daemon with database from /usr/home/mysql-src/mysql-/data rm /tmp/mysql.sock - Operation not permitted mysqld end Can anybody help me in this matter - What is the meaning of it ? Thanks in advance and regards Manisha -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: Sessions don't work?
>From the PHP docs... = Hello visitor, you have seen this page times.; is necessary to preserve the session id # in the case that the user has disabled cookies ?> To continue, click here -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] mail() function
1) read the manual 2) make sure you have sendmail installed 3) make sure sendmail is working 4) look at php.ini it has it all in there you just have to uncomment it and maybe change the location for sendmail > -Original Message- > From: wm [mailto:[EMAIL PROTECTED]] > Sent: Thursday, 25 July 2002 3:55 PM > To: [EMAIL PROTECTED] > Subject: [PHP] mail() function > > > hi all, > > what has to be configured, and how, on a bsd server to allow the mail() > function to work in php? using sendmail? > > thanks, > > wm > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] mail() function
hi all, what has to be configured, and how, on a bsd server to allow the mail() function to work in php? using sendmail? thanks, wm -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] install issues on Solaris
hi there, some of you may remember my post from yesterday ( titled install to unix ... hastles ) as I said in that one I was using Solaris 9 ( the newest ver of the Solaris OS ) i have since gone back to Solaris 8 and am having the same problem when I go to do the "make" looking through the ./configure output i discovered it can find "unix.h" but when I do the make (and inparticular when it goes through the Zend Makefile ) it cannot find it.. any one got any clues or suggestions? ( Solaris does come with an old ver (4.0.6 I think) on a companion CD but I wanna try and figure this one out as it's a newer ver of php (4.2.1) ) any help would be apreciated... I can attach soft copies of both the make and the configure screen outputs for any that are interested... Cheers Peter "the only dumb question is the one that wasn't asked" -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Php and Apache
On Wed, 24 Jul 2002, Varsha Agarwal wrote: >Hi, >I have istalled php from the red hat cd at the time i >installed red hat itself. I downloaded apache and >installed it. Can anyone tell me how to configure php >on apache server? I mean what do I do next to run php >scripts? I am totally new to all this. Please help. >-Varsha If you installed php from redhat CD, then why not apache. The Apache rpm in redhat 7.3 comes as precompiled support for Dynamic shared object so there is no need for doing anything except install your Apache and Php from rpms as it is. Then keep your php files in /var/www/html/ or whatever you configured for Directive in Apache. If you don't have apache you can download it from redhat site. --- S.Murali Krishnan Internet: [EMAIL PROTECTED] --- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Newman's PHP sessions management.
session_name() JF on 25/07/02 2:41 PM, Philip J. Newman ([EMAIL PROTECTED]) wrote: > One question. > > When i start a new session i get the veriable PHPSESSID=what ever added to > links that I want PHPSESSID to be called sid. How can i do this? > > --- > Philip J. Newman. > PhilipNZ.com Design Solutions > http://www.philipnz.com/ > [EMAIL PROTECTED] > > Mob: +64 (25) 6144012. > Tele: +64 (25) 6144012. > > Personal Site: > Philip J. Newman > Internet Developer > http://www.philipsdomain.com/ > [EMAIL PROTECTED] > > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] newline problem
A new line is NOT a or in HTML. Assuming this output is for HTML (browser) purposes, the browser will ignore newlines. second linethird line'; // works for HTML ?> Will print... this is first line second line third line ... to the browser. If you have a $string with \n's in it, you can convert these to 's with the function nl2br(): 's for HTML output $string_html = nl2br($string); // newlines done with hitting return will work in email and txt files $string = 'this is first line second line third line'; // convert \n's to 's for HTML output $string_html = nl2br($string); ?> Think about it -- this HTML... something something something ... will output somethingsomethingsomething to the browser, because browsers ignore newlines, tabs, and other whitespace in text. On the other hand, this HTML... something something something ... would achieve three separate lines, so you need to do the same thing when echoing. HTH Justin French on 25/07/02 2:11 PM, Wormy . ([EMAIL PROTECTED]) wrote: > Dear all, > this sounds like a silly problem but i really dunno how to fix it! > > In the php manual on php.net said we can use an embedded newline just > by writing the string on different line by pressing "enter" key. This > doesn't work for me. Another thing is \n also work. For example: > > echo ' You can also have embedded newlines in strings, > like this way.'; > echo 'I am trying to include at this point: \n a newline'; > ?> > > the output i get is: > "You can also have embedded newlines in strings, like this way.I am trying > to include at this point: \n a newline" > > Am I doing anything wrong? Thanks! > > Ser Yee > > _ > Join the worlds largest e-mail service with MSN Hotmail. > http://www.hotmail.com > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Password Generator Script
Credits are with the file. Cheers! Rick "Finish each day and be done with it. You have done what you could; some blunders and absurdities have crept in; forget them as soon as you can. Tomorrow is a new day; you shall begin it serenely and with too high a spirit to be encumbered with your old nonsense." - Ralph Waldo Emerson > From: Monty <[EMAIL PROTECTED]> > Date: Thu, 25 Jul 2002 00:49:17 -0400 > To: [EMAIL PROTECTED] > Subject: [PHP] Password Generator Script > > Can anyone recommend where I could find a decent script that automatically > generates passwords? I don't care if they are readable or just random > letters, numbers. > > Thanks! > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > QÛ<