[PHP] Re: Empty session directory

2003-06-24 Thread Neil M
IVáN DíAz wrote: Hi everyone! I would like to know if I need to empty from time to time the directory where the session files are stored. I'm running windows nt4.0 and Apache. Thanks in advance. Hi Ivan That would probably be a good idea yes. On linux and unix based OS's sessions are usually

[PHP] Re: textarea new line

2003-01-23 Thread Neil M
Adi wrote: 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 brtextarea name='aria' cols='50' rows='2'$string/textarea; but i see a single line instead of: -line1 -line2 -line3 tx in advance for any help Hello For a

[PHP] Re: Removing the #!/usr... from cgi output?

2003-01-23 Thread Neil M
Colin McDonald wrote: Did you try it without that line at all? I'm pretty sure you can setup apache (you are using apache right?) to use /usr/.../bin/php for all files with the extension .php colin David Brannlund wrote: Example: #!/usr/local/bin/php ?php print foo; ? becomes

[PHP] Re: File upload problem

2003-01-23 Thread Neil M
John M wrote: Hello, I have the code below. It's a simple file upload. But it doesn't work. Before the line if(isset( $Submit )) is an echo which can I read. But after choosing a file and press a submit nothing happens. Why is if(isset( $Submit )) always false? Maybe my apache or php config is

[PHP] Re: problems compiling php-4.2.1 / solaris 2.6

2002-06-28 Thread Neil M
Neil M wrote: problems compiling php-4.2.1 / solaris 2.6 -- [root@sunnsr02] 240 /tmp cd /export/php-4.2.1 [root@sunnsr02] 241 /export/php-4.2.1 make Making all in Zend /bin/sh ../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I

[PHP] problems compiling php-4.2.1 / solaris 2.6

2002-06-26 Thread Neil M
problems compiling php-4.2.1 / solaris 2.6 -- [root@sunnsr02] 240 /tmp cd /export/php-4.2.1 [root@sunnsr02] 241 /export/php-4.2.1 make Making all in Zend /bin/sh ../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../main

[PHP] problem finding out original filename while using php to upload.

2001-12-16 Thread Neil M
, its image files i am uploading , how do i know what type of image the file was ? like .jpg , .png etc. Any help appreciatted , i am really stuck on this ;0) Thanks Neil M -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e