Re: [PHP] php.ini

2013-10-09 Thread Jim Giner
On 10/8/2013 11:13 AM, Simon Schick wrote: Hi, Jim I suggest to read this page of the tutorial. It seems, that it solves the questions, you posted here: http://www.php.net/manual/en/configuration.file.per-user.php Please be aware, that the ini-file is not re-read on every request, but after a

Re: [PHP] php.ini

2013-10-09 Thread Jim Giner
re: changing ini settings. If my running script modifies an ini setting I currently believe that that changed setting will apply to that specific process and any others that run after that from that same folder (since i have an ini file in each folder currently). Correct? And if I do make

Re: [PHP] php.ini

2013-10-09 Thread Simon Schick
Hi, Jim I suggest to read this page of the tutorial. It seems, that it solves the questions, you posted here: http://www.php.net/manual/en/configuration.file.per-user.php Please be aware, that the ini-file is not re-read on every request, but after a defined time. Neither are all settings

Re: [PHP] php.ini

2013-10-09 Thread Jim Giner
On 10/9/2013 3:14 AM, Simon Schick wrote: On Tue, Oct 8, 2013 at 9:50 PM, Jim Giner jim.gi...@albanyhandball.comwrote: On 10/8/2013 2:42 PM, Simon Schick wrote: On Tue, Oct 8, 2013 at 5:25 PM, Jim Giner jim.gi...@albanyhandball.com* *wrote: re: changing ini settings. If my running

[PHP] php.ini

2013-10-08 Thread Jim Giner
Can someone give me an understanding of how the .ini settings are located and combined? I am under the impression that there is a full settings .ini file somewhere up high in my host's server tree and that any settings I create in .ini files in each of my domain folders are appended/updated

Re: [PHP] php.ini setting

2011-10-02 Thread Ashley Sheridan
On Sat, 2011-10-01 at 14:01 -0400, Mike Mackintosh wrote: On Oct 1, 2011, at 2:04 PM, Ashley Sheridan wrote: On Sat, 2011-10-01 at 12:55 -0400, Stephen wrote: On 11-10-01 11:57 AM, Jim Giner wrote: I'm trying to set magic quotes Off as my reading tells me that it's not good to

Re: [PHP] php.ini setting

2011-10-02 Thread Jim Giner
Spoke to quickly - still having issues. While the .ini file in each of my appl. folders has magic quotes set to Off, my scripts are still escaping my input - obviously following the server's .ini file settings. Waiting for my hosters to get back to me. -- PHP General Mailing List

[PHP] php.ini setting

2011-10-01 Thread Jim Giner
I'm trying to set magic quotes Off as my reading tells me that it's not good to have it defaulted to On. My ISP has this setting (from PHPINFO call): magic_quotes_gpc on From reading the php.net manual I found this line php_flag magic_quotes_gpc on which it says to place in the

Re: [PHP] php.ini setting

2011-10-01 Thread Stephen
On 11-10-01 11:57 AM, Jim Giner wrote: I'm trying to set magic quotes Off as my reading tells me that it's not good to have it defaulted to On. http://php.net/manual/en/security.magicquotes.disabling.php Stephen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] php.ini setting

2011-10-01 Thread Jim Giner
Stephen stephe...@rogers.com wrote in message news:4e874606.2030...@rogers.com... http://php.net/manual/en/security.magicquotes.disabling.php Stephen That tells me nothing new. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] php.ini setting

2011-10-01 Thread Ashley Sheridan
On Sat, 2011-10-01 at 12:55 -0400, Stephen wrote: On 11-10-01 11:57 AM, Jim Giner wrote: I'm trying to set magic quotes Off as my reading tells me that it's not good to have it defaulted to On. http://php.net/manual/en/security.magicquotes.disabling.php Stephen Stephen, that page

Re: [PHP] php.ini setting

2011-10-01 Thread Mike Mackintosh
On Oct 1, 2011, at 2:04 PM, Ashley Sheridan wrote: On Sat, 2011-10-01 at 12:55 -0400, Stephen wrote: On 11-10-01 11:57 AM, Jim Giner wrote: I'm trying to set magic quotes Off as my reading tells me that it's not good to have it defaulted to On.

Re: [PHP] php.ini setting

2011-10-01 Thread Jim Giner
Mike Mackintosh mike.mackint...@angrystatic.com wrote in message news:52ea6b9e-ef12-44d3-bd31-72984e5e5...@angrystatic.com... Have you tried: ini_set('magic_quotes_gpc', false);= I'm trying to set it directly and not have to incl in every script I write. -- PHP General Mailing List

Re: [PHP] php.ini setting

2011-10-01 Thread Jim Giner
Solved. Had to have my host provider put a copy of php.ini in my public_html and then I made the magic quotes setting change. Interesting - running a phpinfo command still shows the setting as On becuase it returns the server's settigns, NOT my individual folder setting. -- PHP General

[PHP] php.ini session_auto.start = 1

2009-12-04 Thread scotdiddle
Hello All, In my previous LAMP position, I developed an intranet system from scratch, and chose to use session_auto.start = 1 for sessions. My new employer has auto-start turned off, and I have been tasked with re-writing the entire system. I would like to use auto-start, but during

[PHP] php.ini session_auto.start = 1

2009-12-04 Thread scotdiddle
Hello All, In my previous LAMP position, I developed an intranet system from scratch, and chose to use session_auto.start = 1 for sessions. My new employer has auto-start turned off, and I have been tasked with re-writing the entire system. I would like to use auto-start, but during

[PHP] php.ini session_auto.start = 1

2009-12-04 Thread scotdiddle
Hello All, In my previous LAMP position, I developed an intranet system from scratch, and chose to use session_auto.start = 1 for sessions. My new employer has auto-start turned off, and I have been tasked with re-writing the entire system. I would like to use auto-start, but during

Re: [PHP] php.ini in cgi vs php.ini in cli

2009-09-15 Thread Andres Gonzalez
Lars, Thank you for your response. The function that raised this error is from my own extension module. I was not aware of phpinfo() and your suggestion to run it helped me resolve this issue. Turns out my CGI version is NOT using cgi/php.ini but is using apache2/php.ini instead. Thanks

Re: [PHP] php.ini in cgi vs php.ini in cli

2009-09-15 Thread Lars Torben Wilson
On Tue, 15 Sep 2009 10:11:56 -0400 Andres Gonzalez and...@packetstorm.com wrote: Lars, Thank you for your response. The function that raised this error is from my own extension module. I was not aware of phpinfo() and your suggestion to run it helped me resolve this issue. Turns out my

[PHP] php.ini in cgi vs php.ini in cli

2009-09-14 Thread Andres Gonzalez
In the php configurations directories /etc/php5, there are 2 subdirectories, one for cgi and one for cli. There is a php.ini file in each of these directories. What would cause a difference of behavior in these 2 environments with the php.ini exactly the same in each directory?? I have a

Re: [PHP] php.ini in cgi vs php.ini in cli

2009-09-14 Thread Lars Torben Wilson
On Mon, 14 Sep 2009 18:21:11 -0400 Andres Gonzalez and...@packetstorm.com wrote: In the php configurations directories /etc/php5, there are 2 subdirectories, one for cgi and one for cli. There is a php.ini file in each of these directories. What would cause a difference of behavior in

[PHP] php.ini and cli

2009-07-13 Thread Ashley Sheridan
Hi All, Just a quick question. When I make changes in the php.ini, to take effect, I need to restart the Apache (or other web server) service. What happens with PHP CLI? Is the php.ini parsed each time the script is called, or is there something specific which needs resetting? The machine that

Re: [PHP] php.ini and cli

2009-07-13 Thread Eddie Drapkin
On Mon, Jul 13, 2009 at 4:48 AM, Ashley Sheridana...@ashleysheridan.co.uk wrote: Hi All, Just a quick question. When I make changes in the php.ini, to take effect, I need to restart the Apache (or other web server) service. What happens with PHP CLI? Is the php.ini parsed each time the script

Re: [PHP] php.ini and cli

2009-07-13 Thread Stuart
2009/7/13 Ashley Sheridan a...@ashleysheridan.co.uk: Just a quick question. When I make changes in the php.ini, to take effect, I need to restart the Apache (or other web server) service. What happens with PHP CLI? Is the php.ini parsed each time the script is called, or is there something

Re: [PHP] php.ini and cli

2009-07-13 Thread Ashley Sheridan
On Monday 13 July 2009 10:07:24 Stuart wrote: 2009/7/13 Ashley Sheridan a...@ashleysheridan.co.uk: Just a quick question. When I make changes in the php.ini, to take effect, I need to restart the Apache (or other web server) service. What happens with PHP CLI? Is the php.ini parsed each

[PHP] php.ini directive include_path variables

2009-07-10 Thread J.P. Trosclair
I'm wondering if there is a way to dynamically set the absolute path of an include directory based on the document root of the site via htaccess or some other method other than in the scripts themselves within the site. Example of what I'm looking for: $doc_root/.htaccess: php_value

Re: [PHP] php.ini directive include_path variables

2009-07-10 Thread Daniel Brown
On Fri, Jul 10, 2009 at 16:56, J.P. Trosclairjptroscl...@judelawfirm.com wrote: I'm wondering if there is a way to dynamically set the absolute path of an include directory based on the document root of the site via htaccess or some other method other than in the scripts themselves within the

Re: [PHP] php.ini directive include_path variables

2009-07-10 Thread J.P. Trosclair
Daniel Brown wrote: Please check the archives and Google before posting here. This exact question was just discussed and answered within the last seven days. I don't recall the name of the thread (perhaps someone else could name it for me), but I believe the original poster was Govinda.

Re: [PHP] php.ini directive include_path variables

2009-07-10 Thread Daniel Brown
On Fri, Jul 10, 2009 at 17:24, J.P. Trosclairjptroscl...@judelawfirm.com wrote: I've spent the better part of this afternoon looking through google and the archives for different variations on terminology before resorting to subscribing and posting to this list. Will go back to digging based

Re: [PHP] php.ini directive include_path variables

2009-07-10 Thread Govinda
On Jul 10, 2009, at 3:16 PM, Daniel Brown wrote: On Fri, Jul 10, 2009 at 16:56, J.P. Trosclairjptroscl...@judelawfirm.com wrote: I'm wondering if there is a way to dynamically set the absolute path of an include directory based on the document root of the site via htaccess or some other

Re: [PHP] php.ini directive include_path variables

2009-07-10 Thread Daniel Brown
On Fri, Jul 10, 2009 at 17:28, Govindagovinda.webdnat...@gmail.com wrote: yes, look for posts with this subject line: Re: [PHP] best way to properly build an include path *regardless*  from where I am calling the include? (just don't ask me to explain everything that those good souls were

Re: [PHP] php.ini directive include_path variables

2009-07-10 Thread J.P. Trosclair
Govinda wrote: [PHP] best way to properly build an include path*regardless* Thanks, appreciated. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] php.ini not loaded?

2009-02-12 Thread Jan G.B.
2009/2/11 brian bri...@vt.edu: hi nathan thanks for the response... looks like the rx is where it should be. That doesn't sound like you're cocksure - check it again: ls -ld /apps /apps/local /apps/local/php5 /apps/local/php5/lib /apps/local/php5/lib/php.ini Everything readable (r-x) *for

[PHP] php.ini not loaded?

2009-02-11 Thread brian
with php.ini in /apps/local/php5/lib, readable by all: phpinfo says : configuration file path /apps/local/php5/lib phpinfo also says: loaded configuration file: (none) so i'm not getting anything from php.ini. can someone point me at the fix for this problem? thanks in advance b

Re: [PHP] php.ini not loaded?

2009-02-11 Thread Nathan Nobbe
On Wed, Feb 11, 2009 at 9:54 AM, brian brian.l...@vt.edu wrote: with php.ini in /apps/local/php5/lib, readable by all: phpinfo says : configuration file path /apps/local/php5/lib phpinfo also says: loaded configuration file: (none) so i'm not getting anything from php.ini. can

Re: [PHP] php.ini not loaded?

2009-02-11 Thread brian
hi nathan thanks for the response... it's webserver. so the phpinfo() result in the browser should be accurate. looks like the rx is where it should be. Nathan Nobbe wrote: On Wed, Feb 11, 2009 at 9:54 AM, brian brian.l...@vt.edu mailto:brian.l...@vt.edu wrote: with php.ini in

Re: [PHP] php.ini

2009-01-14 Thread Thodoris
hi php lovers, I have a debian lamp stack and I want to use php to send a form to my email server Do you mean that you need to send a mail directly from a web form? If that is the case check this out: http://www.w3schools.com/tags/tryit.asp?filename=tryhtml_form_mail Doesn't even need

Re: [PHP] php.ini

2009-01-14 Thread Stuart
2009/1/14 Thodoris t...@kinetix.gr: hi php lovers, I have a debian lamp stack and I want to use php to send a form to my email server Do you mean that you need to send a mail directly from a web form? If that is the case check this out:

[PHP] php.ini

2009-01-13 Thread gishaust
hi php lovers, I have a debian lamp stack and I want to use php to send a form to my email server that is on the same network. Someone suggested to me why don't i use php.ini mail function. But it says in the php.ini file for win 32 only. Does anyone know how I can get php to direct my

Re: [PHP] php.ini and pgsql extension issue

2008-08-07 Thread emassip
Got same problem exactly today w/ 5.2.6 with zip archive. Note that there has been many changes w/ pgsql extension in 5.2.6. It seems that extension file is corrupted, or that my piece of software (izarc) don't deal correctly with it. Looks also like daily snapshots of 5.2.6 are corrupted too.

[PHP] php.ini and pgsql extension issue

2008-08-03 Thread Alain Roger
Hi, i found and solved an interesting issue under PHP 5.2.6. when i use the standard installation file under windows XP (php-5.2.6-win32-installer.msi), i get several error message in apache error.log file, something like : PHP Warning: PHP Startup: Unable to load dynamic library

[PHP] php.ini and command line

2008-06-23 Thread Marten Lehmann
Hello, within a CGI-wrapped hosting environment, we are calling PHP as command line interpreter (not cli). This works fine, except one thing: Settings from parent php.inis are not inherited. This is very annoying. Lets say, there is a script /user/123/index.php and some libraries in

Re: [PHP] php.ini and command line

2008-06-23 Thread Wolf
Marten Lehmann [EMAIL PROTECTED] wrote: Hello, within a CGI-wrapped hosting environment, we are calling PHP as command line interpreter (not cli). This works fine, except one thing: Settings from parent php.inis are not inherited. This is very annoying. Lets say, there is a script

Re: [PHP] php.ini and command line

2008-06-23 Thread Wolf
Marten Lehmann [EMAIL PROTECTED] wrote: Hello, within a CGI-wrapped hosting environment, we are calling PHP as command line interpreter (not cli). This works fine, except one thing: Settings from parent php.inis are not inherited. This is very annoying. Lets say, there is a script

[PHP] php.ini

2008-05-09 Thread Michael Satterwhite
I'm trying to turn off magic quotes for a site. I've copied the php.ini from /etc/php5/apache2 to the web site directory. In this file, I've changed magic_quotes_gpc to read magic_quotes.gpc = Off When I run phpinfo() from this directory, it still shows magic quotes as being on. I'm

RES: [PHP] php.ini

2008-05-09 Thread Thiago Pojda
:[EMAIL PROTECTED] Enviada em: sexta-feira, 9 de maio de 2008 13:47 Para: php-general@lists.php.net Assunto: [PHP] php.ini I'm trying to turn off magic quotes for a site. I've copied the php.ini from /etc/php5/apache2 to the web site directory. In this file, I've changed magic_quotes_gpc to read

Re: [PHP] php.ini

2008-05-09 Thread André Medeiros
I'm not sure PHP5 would read php.ini from that directory. You should take in account that your hosting company may _NOT_ allow you to change certain parameters. That said, try visiting http://us2.php.net/configuration.changes and see how that works for you. Good luck On Fri, May 9, 2008 at 4:47

Re: [PHP] php.ini (typo in previous)

2008-05-09 Thread Michael Satterwhite
There was a typo in my previous message asking the question. I typed a . instead of _. It's corrected below: On Friday 09 May 2008 11:47:29 Michael Satterwhite wrote: I'm trying to turn off magic quotes for a site. I've copied the php.ini from /etc/php5/apache2 to the web site directory. In

Re: [PHP] php.ini

2008-05-09 Thread Wolf
Michael Satterwhite [EMAIL PROTECTED] wrote: I'm trying to turn off magic quotes for a site. I've copied the php.ini from /etc/php5/apache2 to the web site directory. In this file, I've changed magic_quotes_gpc to read magic_quotes.gpc = Off When I run phpinfo() from this

Re: [PHP] php.ini

2008-05-09 Thread Adam Richardson
And, at some hosts you have to change the settings in htaccess as opposed to php.ini. On Fri, May 9, 2008 at 12:53 PM, André Medeiros [EMAIL PROTECTED] wrote: I'm not sure PHP5 would read php.ini from that directory. You should take in account that your hosting company may _NOT_ allow you to

Re: RES: [PHP] php.ini

2008-05-09 Thread Michael Satterwhite
On Friday 09 May 2008 11:56:32 Thiago Pojda wrote: phpinfo() should also tell you what php.ini is loaded. Did you check that? I hadn't thought to, but I just did. As expected, it's reading it from /etc/php5/apache2. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] php.ini

2008-05-09 Thread Michael Satterwhite
On Friday 09 May 2008 11:59:25 Wolf wrote: When making changes to Apache configuration read files, you have to RESTART APACHE before those changes take effect. However you can use php's ini_set () function to set a number of settings on the fly that can be changed per page change. As this

Re: [PHP] php.ini

2008-05-09 Thread Nathan Nobbe
On Fri, May 9, 2008 at 12:02 PM, Michael Satterwhite [EMAIL PROTECTED] wrote: I do know that on bluehost, they actually encourage people to use their own php.ini file in their web directory ... and users certainly don't have the authority to restart apache. That said - just for grins, I

Re: [PHP] php.ini

2008-05-09 Thread Janet Valade
Nathan Nobbe wrote: On Fri, May 9, 2008 at 12:02 PM, Michael Satterwhite [EMAIL PROTECTED] wrote: I do know that on bluehost, they actually encourage people to use their own php.ini file in their web directory ... and users certainly don't have the authority to restart apache. That said -

Fwd: [PHP] php.ini

2008-05-09 Thread Nathan Nobbe
bouncing back to the list.. -- Forwarded message -- From: Michael Satterwhite [EMAIL PROTECTED] Date: Fri, May 9, 2008 at 3:09 PM Subject: Re: [PHP] php.ini To: Nathan Nobbe [EMAIL PROTECTED] On Friday 09 May 2008 13:43:27 you wrote: On Fri, May 9, 2008 at 12:02 PM, Michael

Re: [PHP] php.ini in php5.2.1

2007-12-30 Thread Richard Lynch
make install should install one, but may be putting it in some place that it's not expected. If you are using some kind of package manager like apt-get or RedHat rpms or whatever, you are in duck soup for where some package-maker THINKS they should put the php.ini file, and where their binary

Re: [PHP] php.ini in php5.2.1

2007-12-29 Thread jekillen
On Dec 28, 2007, at 10:40 PM, Jochem Maas wrote: jekillen schreef: Hello; I have not had the necessity to deal with php.ini files for some time. Now, because I switch from Sendmail to Postfix on one system I need to adjust the sendmail path variable. are you sure you need to change it?

[PHP] php.ini in php5.2.1

2007-12-28 Thread jekillen
Hello; I have not had the necessity to deal with php.ini files for some time. Now, because I switch from Sendmail to Postfix on one system I need to adjust the sendmail path variable. I cannot find a php.ini file in the specified location. That is not a problem because I can use ini_set(). What

Re: [PHP] php.ini in php5.2.1

2007-12-28 Thread Jochem Maas
jekillen schreef: Hello; I have not had the necessity to deal with php.ini files for some time. Now, because I switch from Sendmail to Postfix on one system I need to adjust the sendmail path variable. are you sure you need to change it? doesn't postfix come with some kind of compatibility

Re: [PHP] php.ini include_path and symlinks

2007-11-07 Thread Ravi Menon
Are you using a compile cache like eaccelerator or APC etc? Sometimes it's the cache that doesn't realize things have changed. I use a symlink switcher for version releases also and I always flush the eaccelerator directory when I do that. Yes we use APC ( with apc.stat on ). This was the

[PHP] php.ini include_path and symlinks

2007-11-06 Thread Ravi Menon
Hi, We run php 5.2.0 + apache 2.2. with apc turned on ( apc.stat also on ). Earlier we did not use the php.ini include_path setting. We relied on some symlinks for our common code so that require_once works correctly. This worked fine and during code releases we flipped the main 'release'

Re: [PHP] php.ini include_path and symlinks

2007-11-06 Thread Robert Cummings
On Tue, 2007-11-06 at 18:35 -0800, Ravi Menon wrote: Hi, We run php 5.2.0 + apache 2.2. with apc turned on ( apc.stat also on ). Earlier we did not use the php.ini include_path setting. We relied on some symlinks for our common code so that require_once works correctly. This worked fine

Re: [PHP] php.ini of PHP 5.2.3

2007-08-14 Thread Alain Roger
So what should i do ? On 8/13/07, Richard Lynch [EMAIL PROTECTED] wrote: OpenSSL has a secondary dependency on libeay or whatever it is. PHP might *think* it has OpenSSL, but until OpenSSL can also load in the libeay thingie, it ain't gonna work. It can be confusing, especially when the

Re: [PHP] php.ini of PHP 5.2.3

2007-08-14 Thread Richard Lynch
*IF* this is the actual problem, then find the libeay.ddl thingie and put it next to the openssl.dll thingie. On Tue, August 14, 2007 11:42 am, Alain Roger wrote: So what should i do ? On 8/13/07, Richard Lynch [EMAIL PROTECTED] wrote: OpenSSL has a secondary dependency on libeay or whatever

Re: [PHP] php.ini of PHP 5.2.3

2007-08-13 Thread Richard Lynch
OpenSSL has a secondary dependency on libeay or whatever it is. PHP might *think* it has OpenSSL, but until OpenSSL can also load in the libeay thingie, it ain't gonna work. It can be confusing, especially when the error log shows something about openssl but doesn't say what openssl is missing,

[PHP] php.ini of PHP 5.2.3

2007-08-11 Thread Alain Roger
Hi, I have a stupid problem. At work i installed the PHP 5.2.1 and it works fine. i uncomment extension = php_opensll and i see that extension is activated because phpinfo show me information about such extension. However, at homw i've just installed PHP 5.2.3 and i did the same as at work but

Re: [PHP] php.ini of PHP 5.2.3

2007-08-11 Thread Stut
Alain Roger wrote: I have a stupid problem. At work i installed the PHP 5.2.1 and it works fine. i uncomment extension = php_opensll and i see that extension is activated because phpinfo show me information about such extension. However, at homw i've just installed PHP 5.2.3 and i did the same

Re: [PHP] php.ini of PHP 5.2.3

2007-08-11 Thread Alain Roger
I've discovered that when i type php -m, openssl is already loaded as module. It seems that PHP 5.2.3 was compiled with --with-openssl command. So, why modules with which ones PHP has been compiled do not appear in the phpinfo() report ? thanks a lot, Al. On 8/11/07, Stut [EMAIL PROTECTED]

RE: [PHP] php.ini and .htaccess not working for php parameters

2006-11-09 Thread Ford, Mike
On 08 November 2006 23:04, James Tu wrote: Sorry...it was my own sillyness. After confirming that the .htaccess file was indeed setting the include_path directory, it turns out that the class file was renamed and PHP could not find it. I'm surprised that PHP doesn't complain that it

[PHP] php.ini

2006-11-09 Thread Alain Roger
Hi, everytime i install PHP, my php.ini must be installed in C:\windows\ folder. How can i do to force system to read php.ini file from C:\PHP\ folder only ? thanks. Alain

Re: [PHP] php.ini

2006-11-09 Thread Jürgen Wind
PHP is not supposed to look for php.ini in PATH. (from http://bugs.php.net/bug.php?id=39432) zerof wrote: Alain Roger escreveu: Hi, everytime i install PHP, my php.ini must be installed in C:\windows\ folder. How can i do to force system to read php.ini file from C:\PHP\ folder only

[PHP] php.ini and .htaccess not working for php parameters

2006-11-08 Thread James Tu
I've setup a few directories under my dev server's webroot...one for each project. Under each project directory, I put php.ini files to set parameters such as include_path. For some reason they are not taking effect. Do I have to enable them somehow? phpinfo() tells me that Server API is

Re: [PHP] php.ini and .htaccess not working for php parameters

2006-11-08 Thread James Tu
Sorry...it was my own sillyness. After confirming that the .htaccess file was indeed setting the include_path directory, it turns out that the class file was renamed and PHP could not find it. I'm surprised that PHP doesn't complain that it couldn't find the file...then I started to

Re: [PHP] php.ini ini_set

2006-11-01 Thread Ed Lazor
I think that's what he's trying, but he's missing the fact that he needs to include the actual From: that you've specified. In other words, I think he's doing: mail([EMAIL PROTECTED], Subject, Body, [EMAIL PROTECTED]); instead of: mail([EMAIL PROTECTED], Subject, Body, From:[EMAIL

RE: [PHP] php.ini ini_set

2006-11-01 Thread Richard Lynch
On Tue, October 31, 2006 8:59 pm, Beauford wrote: That doesn't work. Here is what I have. mail($email,$subject,$body,$from); Which is (senders address, the subject, the body of the message, and the from address) The from address is taken from this, and I added the -f in front of it.

[PHP] php.ini ini_set

2006-10-31 Thread Beauford
I am working on a website for a friend that is being hosted by a third party (which uses Linux) and I don't have access to the php.ini or any other system files. The problem I am having is this. When an email is sent from the website and the user receives it, it says it is from [EMAIL PROTECTED]

Re: [PHP] php.ini ini_set

2006-10-31 Thread Chris
Beauford wrote: I am working on a website for a friend that is being hosted by a third party (which uses Linux) and I don't have access to the php.ini or any other system files. The problem I am having is this. When an email is sent from the website and the user receives it, it says it is from

RE: [PHP] php.ini ini_set

2006-10-31 Thread Beauford
Can you be more specific. I only see 4 parameters and none of them apply. -Original Message- From: Chris [mailto:[EMAIL PROTECTED] Sent: October 31, 2006 9:13 PM To: Beauford Cc: PHP Subject: Re: [PHP] php.ini ini_set Beauford wrote: I am working on a website for a friend

Re: [PHP] php.ini ini_set

2006-10-31 Thread Chris
Beauford wrote: Can you be more specific. I only see 4 parameters and none of them apply. Oops sent you to the wrong page. http://www.php.net/manual/en/function.mail.php There are 5 parameters: bool mail ( string to, string subject, string message [, string additional_headers [, string

RE: [PHP] php.ini ini_set

2006-10-31 Thread Beauford
it comes from: Nobody [EMAIL PROTECTED]; on behalf of; Registrar [EMAIL PROTECTED] Thanks -Original Message- From: Chris [mailto:[EMAIL PROTECTED] Sent: October 31, 2006 9:38 PM To: Beauford Cc: 'PHP' Subject: Re: [PHP] php.ini ini_set Beauford wrote: Can you be more specific. I only see 4

FW: [PHP] php.ini ini_set

2006-10-31 Thread Beauford
To: Beauford Cc: 'PHP' Subject: Re: [PHP] php.ini ini_set Beauford wrote: Can you be more specific. I only see 4 parameters and none of them apply. Oops sent you to the wrong page. http://www.php.net/manual/en/function.mail.php There are 5 parameters: bool mail ( string to, string subject

Re: [PHP] php.ini ini_set

2006-10-31 Thread Chris
Beauford wrote: That doesn't work. Here is what I have. mail($email,$subject,$body,$from); Which is (senders address, the subject, the body of the message, and the from address) The from address is taken from this, and I added the -f in front of it. define(regaddress, [EMAIL PROTECTED]);

Re: [PHP] php.ini ini_set

2006-10-31 Thread M.Sokolewicz
Why can't you just add a From: Registrar [EMAIL PROTECTED] header? =/ - tul Chris wrote: Beauford wrote: That doesn't work. Here is what I have. mail($email,$subject,$body,$from); Which is (senders address, the subject, the body of the message, and the from address) The from address is

[PHP] php.ini version changed, code broke

2006-02-08 Thread [EMAIL PROTECTED]
Hello all from a newbie. We have a Nitix server (from Net Integration Technologies, Inc.) that hosts various web site. Recently they released a software upgrade, and in the release notes was this warning: A number of PHP options (in the php.ini file) were changed, either to improve security or

Re: [PHP] php.ini version changed, code broke

2006-02-08 Thread Duncan Hill
On Wednesday 08 February 2006 16:16, [EMAIL PROTECTED] wrote: What displays???  Just ttt of course.  What exactly could have changed to make this simple script fail? register_globals probably http://uk.php.net/register_globals -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

RE: [PHP] php.ini version changed, code broke

2006-02-08 Thread Jay Blanchard
[snip] What displays??? Just ttt of course. What exactly could have changed to make this simple script fail? [/snip] register_globals in the php.ini has been set to 'off' -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] php.ini version changed, code broke

2006-02-08 Thread Gerry Danen
You should use $_POST... On 2/8/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hello all from a newbie. We have a Nitix server (from Net Integration Technologies, Inc.) that hosts various web site. Recently they released a software upgrade, and in the release notes was this warning: A

[PHP] php.ini magic quotes

2005-09-30 Thread Jay Blanchard
Everyday I scratch my head. In php.ini in the C:\WINNT it is said; ; Magic quotes for incoming GET/POST/Cookie data. magic_quotes_gpc = Off ; Magic quotes for runtime-generated data, e.g. data from SQL, from exec(), etc. magic_quotes_runtime = Off In phpinfo() it is said;

Re: [PHP] php.ini magic quotes

2005-09-30 Thread Jochem Maas
Jay Blanchard wrote: Everyday I scratch my head. In php.ini in the C:\WINNT it is said; ; Magic quotes for incoming GET/POST/Cookie data. magic_quotes_gpc = Off ; Magic quotes for runtime-generated data, e.g. data from SQL, from exec(), etc. magic_quotes_runtime = Off In phpinfo()

[PHP] php.ini and php.config Tutorial?

2005-09-08 Thread Vizion
Hi Background: I am installing php with apache2 and ssl, mysql-server-5.0.11 on one of my Freebsd 5.3. servers. I propose to run a forum (currently investigating phpbb but would like to consider others) and am also looking for suitable blog and wiki applications. I am more of a system

Re: [PHP] php.ini and php.config Tutorial?

2005-09-08 Thread Vizion
On Thursday 08 September 2005 08:34, the author Vizion contributed to the dialogue on- [PHP] php.ini and php.config Tutorial?: Hi Background: I am installing php with apache2 and ssl, mysql-server-5.0.11 on one of my Freebsd 5.3. servers. I propose to run a forum (currently investigating

Re: [PHP] php.ini and php.config Tutorial?

2005-09-08 Thread Rory Browne
Hi David I know that quite a lot of online docs can be daunting for new users, but you should not underestimate the quality of the php documentation. On 9/8/05, Vizion [EMAIL PROTECTED] wrote: Hi Background: I am installing php with apache2 and ssl, mysql-server-5.0.11 on one of my Freebsd

Re: [PHP] php.ini and php.config Tutorial?

2005-09-08 Thread Vizion
On Thursday 08 September 2005 09:49, the author Rory Browne contributed to the dialogue on- Re: [PHP] php.ini and php.config Tutorial?: Hi David I know that quite a lot of online docs can be daunting for new users, but you should not underestimate the quality of the php documentation. Sure

[PHP] php.ini uploads

2005-05-06 Thread Jon Aston
this has got to be something easy but I was uploading to a folder on a windows PC c:\upload but I updated php and forgot to backup my ini file. I have tried with quotes without quotes as well as a relational address to the folder in my ini file and I cannot get any uploads into the folder. this

Re: [PHP] php.ini uploads

2005-05-06 Thread bala chandar
On 5/6/05, Jon Aston [EMAIL PROTECTED] wrote: this has got to be something easy but I was uploading to a folder on a windows PC c:\upload but I updated php and forgot to backup my ini file. I have tried with quotes without quotes as well as a relational address to the folder in my ini file

RE: [PHP] php.ini file

2005-03-22 Thread Kim Madsen
-Original Message- From: Burhan Khalid [mailto:[EMAIL PROTECTED] Sent: Monday, March 21, 2005 2:05 PM Hopefully not! Files in /tmp are deleted in most *NIX variants, this is a _bad_ idea and the name of the folder pretty much tell You so... Default path is /usr/local/lib

RE: [PHP] php.ini file

2005-03-21 Thread Kim Madsen
-Original Message- From: Burhan Khalid [mailto:[EMAIL PROTECTED] Sent: Monday, March 21, 2005 8:57 AM Check the output of phpinfo(); to see where it is expecting the file to be. Works only if the installation is completed and PHP is running ;-) Use your system wide /tmp folder. I

Re: [PHP] php.ini file

2005-03-21 Thread Burhan Khalid
Kim Madsen wrote: -Original Message- From: Burhan Khalid [mailto:[EMAIL PROTECTED] Sent: Monday, March 21, 2005 8:57 AM Check the output of phpinfo(); to see where it is expecting the file to be. Works only if the installation is completed and PHP is running ;-) Use your system wide

[PHP] php.ini file

2005-03-20 Thread Ruel Cima
hi, i'm experimenting with php on mandrake 10 and i'm not sure about a few things. first, where should the php.ini file go? i mean in which folder. next, i need to upload files to a database and i dont know what folder to specify as the temp folder under the file uploads section in the php.ini

RE: [PHP] php.ini file

2005-03-20 Thread Kim Madsen
-Original Message- From: Ruel Cima [mailto:[EMAIL PROTECTED] Sent: Monday, March 21, 2005 9:12 AM i'm experimenting with php on mandrake 10 and i'm not sure about a few things. first, where should the php.ini file go? If You compile PHP there´s a parameter to use:

  1   2   3   >