Jump to content
Larry Ullman's Book Forums

Search the Community

Showing results for tags 'output buffering'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Single Editions
    • Modern Javascript: Develop and Design
    • The Yii Book
    • Effortless Flex 4 Development
    • Building a Web Site with Ajax: Visual QuickProject
    • Ruby: Visual QuickStart Guide
    • C++ Programming: Visual QuickStart Guide
    • C Programming: Visual QuickStart Guide
    • Adobe AIR: Visual QuickPro Guide
  • PHP and MySQL for Dynamic Web Sites: Visual QuickPro Guide
    • PHP and MySQL for Dynamic Web Sites: Visual QuickPro Guide (5th Edition)
    • PHP and MySQL for Dynamic Web Sites: Visual QuickPro Guide (4th Edition)
    • PHP 6 and MySQL 5 for Dynamic Web Sites: Visual QuickPro Guide (3rd Edition)
    • PHP and MySQL for Dynamic Web Sites: Visual QuickPro Guide (2nd Edition)
    • PHP and MySQL for Dynamic Web Sites: Visual QuickPro Guide (1st Edition)
  • PHP for the Web: Visual QuickStart Guide
    • PHP for the Web: Visual QuickStart Guide (5th Edition)
    • PHP for the Web: Visual QuickStart Guide (4th Edition)
    • PHP for the Web: Visual QuickStart Guide (3rd Edition)
    • PHP for the World Wide Web: Visual QuickStart Guide (2nd Edition)
    • PHP for the World Wide Web: Visual QuickStart Guide (1st Edition)
  • Effortless E-commerce with PHP and MySQL
    • Effortless E-Commerce with PHP and MySQL (2nd Edition)
    • Effortless E-Commerce with PHP and MySQL
  • PHP Advanced: Visual QuickPro Guide
    • PHP Advanced and Object-Oriented Programming: Visual QuickPro Guide (3rd Edition)
    • PHP 5 Advanced: Visual QuickPro Guide (2nd Edition)
    • PHP Advanced: Visual QuickPro Guide
  • MySQL: Visual QuickStart Guide
    • MySQL: Visual QuickStart Guide (2nd Edition)
    • MySQL: Visual QuickStart Guide (1st Edition)
  • Other
    • Announcements
    • Newsletter, Blog, and Other Topics
    • Forum Issues
    • Social

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Found 2 results

  1. Hi All, I updated the PHP installed with Mac OSX Mavericks (10.9). The installed version was some flavor of 5.4, I believe. The updated version is 5.5.6. I wanted to turn off output buffering to instruct myself on what happens when it is off and when it is on. I tried to change output buffering like so (these are the grouped directives as given, with the fifth line as my own addition): ; output_buffering ; Default Value: Off ; Development Value: 4096 ; Production Value: 4096 output_buffering = Off I saved the directive, quit the terminal, and restarted Apache (almost a dozen times). The directive remained the same, but my_phpinfo.php will not change. It still says "output_buffering=4096". The my_phpinfo.php page in this version indicates the following path for the loaded configuration file: /usr/local/php5/lib/php.ini It also indicates the following path to a directory that contains additional .ini files: /usr/local/php5/php.d This directory contains the following .ini files: 10-extension_dir.ini 50-extension-pdo_pgsql.ini 50-extension-apcu.ini 50-extension-pgsql.ini 50-extension-curl.ini 50-extension-readline.ini 50-extension-gmp.ini 50-extension-redis.ini 50-extension-igbinary.ini 50-extension-solr.ini 50-extension-intl.ini 50-extension-ssh2.ini 50-extension-mcrypt.ini 50-extension-twig.ini 50-extension-memcache.ini 50-extension-uploadprogress.ini 50-extension-memcached.ini 50-extension-xdebug.ini 50-extension-mongo.ini 50-extension-xhprof.ini 50-extension-mssql.ini 50-extension-xsl.ini 50-extension-oauth.ini 99-liip-developer.ini 50-extension-pdo_dblib.ini When, for instance, I changed date.timezone in the main .ini file, my_phpinfo.php didn't update. I had to also change it in "99-liip-developer.ini", in order to overwrite "Zurich" with "America/Los_Angeles". Could it be that output_buffering is also a directive in one of the additional .ini files? I'm not being lazy. I don't mind going through those files one-by-one to see if it's in there so I can change it. But if someone knows beforehand that would help. Also, how can I tell if output_buffering is on, despite what may be indicated in my_phpinfo.php? Or is it that whatever is indicated in my_phpinfo.php is "always accurate", thereby precluding the need to test output_buffering? I appreciate your help. Roland
  2. Hello I have been working my way through your book and for some reason have come across a problem I can not fix in Chapter 11. This is a problem I encounter even if I use the code that you included, as a download, for both pages. My login.php comes up as expected, but when one types in the user name and password and then hits submit, nothing happens other than refreshing the page. Even if you do not type anything in, there are no errors. I tried making a second login page "login1.php" and a second loggedin page "loggedin1.php" and tried to run those as well and it keeps redirecting it back to the original login.php page. My php.ini file had the outbuffering turned off, and I just turned it on while trying to figure out what the problem is. The code seems fine. Please help me figure this out, I feel I can't continue forward until I get this. I am also sure the answer is something simple that I am overlooking, hehe. Thank you!
×
×
  • Create New...