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
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
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:
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
I have a site that extracts HTML page code from a database and prints it
to the page being generated. A user has requested that I allow this text
to be dynamic. I can code process functions for the code that I pull
from the database, but it would be so much better if I could simply get
PHP to
Carlos Palomino wrote:
Hi,
I have been trying to write or find a pre-written script of a combo-box which would
allow one to select a category from one drop-down list, then be given related options
within a secondary list before clicking a submit button. Is there anyone who knows
where I can
tony yau wrote:
| Hi All
|
| Thanks for all your comments on my previous mail, very much
appreciated.
| I'm stuck again!
| I've created the following lookup table for m - m relationship
between
| a Group and a Contact table.
|
| CREATE TABLE Group_Contact(
| GroupID INT NOT NULL,
|
I'm using Apache and PHP4 under debian.
in /etc/php4/apache, I have the setting
error_reporting = E_ALL ~E_NOTICE
but I don't get any errors - even when I've clearly used an undefined
variable. What else might need to be set to get PHP to report errors for me?
--
PHP General
John Nichel wrote:
Michael Satterwhite wrote:
I'm using Apache and PHP4 under debian.
in /etc/php4/apache, I have the setting
error_reporting = E_ALL ~E_NOTICE
but I don't get any errors - even when I've clearly used an undefined
variable. What else might need to be set to get PHP
Philip Hallstrom wrote:
I'm using Apache and PHP4 under debian.
in /etc/php4/apache, I have the setting
error_reporting = E_ALL ~E_NOTICE
but I don't get any errors - even when I've clearly used an undefined
variable. What else might need to be set to get PHP to report errors
for me?
*HATE* it when I have a problem I can't put my finger on. The
important thing is that it is working, though.
I want to thank those who helped me out.
---Michael
Michael Satterwhite wrote:
I'm using Apache and PHP4 under debian.
in /etc/php4/apache, I have the setting
error_reporting
I have a site that is using a shared ssl certificate. When running on
the site, the host is of the form host.com. When running in ssl mode,
the domain is of the form host.certhost.com. ping shows that both
resolve to the same ip address.
Is there a way to create a cookie in the unsecured area
I have a site that generates a file to be streamed down. The relevant
code is:
--
header(Content-type: application/vnd.ms-excel);
header(Content-disposition: attachment; filename=$EXPORT_TIME.txt);
header(Content-disposition: attachment);
Prathaban Mookiah wrote:
Micheal,
I ran into this problem too. A easy workaround is to right click and choose
'save as' which worked for me.
I wish that would work. The URL is along the lines of
a href=easy.php?download=streamdltype=full - and it's this that gets
substituted for the
Jochem Maas wrote:
Michael Satterwhite wrote:
Prathaban Mookiah wrote:
Micheal,
I ran into this problem too. A easy workaround is to right click and
choose 'save as' which worked for me.
I wish that would work. The URL is along the lines of
a href=easy.php?download=streamdltype=full
15 matches
Mail list logo