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 th

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 (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 /e

[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 gue

Re: [PHP] Stream download problem

2006-06-21 Thread Michael Satterwhite
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 is possible for you to change the w

Re: [PHP] Stream download problem

2006-06-20 Thread Michael Satterwhite
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 For complete information on this you want to have a look at http://support. microsoft.com/defau

[PHP] Stream download problem

2006-06-20 Thread Michael Satterwhite
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

[PHP] Cookies & https

2006-05-22 Thread Michael Satterwhite
I have a site that is using a shared ssl certificate. When running on the site, the host is of the form . When running in ssl mode, the domain is of the form ..com. ping shows that both resolve to the same ip address. Is there a way to create a cookie in the unsecured area and have it availab

Re: [PHP] Error checking - Fixed

2005-05-23 Thread Michael Satterwhite
work. I *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

Re: [PHP] Error checking

2005-05-23 Thread Michael Satterwhite
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?

Re: [PHP] Error checking

2005-05-23 Thread Michael Satterwhite
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 t

[PHP] Error checking

2005-05-23 Thread Michael Satterwhite
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 Maili

Re: [PHP] novice: table design FOREIGN key

2005-05-19 Thread Michael Satterwhite
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, | Co

Re: [PHP] Basic PHP/HTML code question

2005-05-18 Thread Michael Satterwhite
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 fin

[PHP] Reprocessing text

2005-05-18 Thread Michael Satterwhite
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 proce