Re: [PHP] Help with references?

2005-01-28 Thread Jochem Maas
Jon wrote: This script only outputs the top level. i.e. that script has syntax errors. ... $arFiles = array( array['file1']( array( ['path] = array( [0] = 'folder1', [1] = 'subfolder1' [2] = 'file1.ext' ), ['length'] = 5464, ['size'] = 8765 ),

[PHP] PHP displaying images

2005-01-28 Thread Ian Johnson
Hello I am trying to use GD to create and manipulate images but the statement: header (Content-type: image/jpg); generates the error message: The image http://localhost/gdtst2.php; cannot be displayed, because it contains errors. There is no error message in the ../httpd/error_log

Re: [PHP] Creating a webpage from an HTML form via PHP

2005-01-28 Thread Richard Lynch
Mike Milligan wrote: Richard - I tried something like that in the past. Just for Sgiggles I tried it again. Still doesn't work. It does go through the fwrite() process, but it doesn't write the $joined contents, or $joined is being reset to NULL after the first submit button is clicked.

Re: [PHP] PHP displaying images

2005-01-28 Thread Richard Lynch
Ian Johnson wrote: I am trying to use GD to create and manipulate images but the statement: header (Content-type: image/jpg); generates the error message: The image http://localhost/gdtst2.php; cannot be displayed, because it contains errors. contains errors here

[PHP] Problems displaying images with PHP-GD

2005-01-28 Thread Ian Johnson
Hello I am trying to use GD to create and manipulate images but the statement: header (Content-type: image/jpg); generates the error message: The image http://localhost/gdtst2.php; cannot be displayed, because it contains errors. There is no error message in the

Re: [PHP] PHP displaying images

2005-01-28 Thread Jason Wong
On Saturday 29 January 2005 10:13, Ian Johnson wrote: There is no error message in the ../httpd/error_log file. That looks like the Apache error log file, which is most likely not what you want to be looking at. You want the PHP error log, see settings in php.ini, and check phpinfo(). --

Re: [PHP] PHP displaying images

2005-01-28 Thread Ian Johnson
This does the same for png as well. No errors are generated when header () is commented out or other content-types are specified Ian Johnson On Fri, 2005-01-28 at 20:45 -0800, Richard Lynch wrote: Ian Johnson wrote: I am trying to use GD to create and manipulate images but the statement:

Re: [PHP] Help with references?

2005-01-28 Thread Jon
Here is one that does not throw an error but does not produce the desired results class dir { var $name; var $subdirs; var $files; var $num; var $prio; function dir($name,$num,$prio) { $this-name = $name; $this-num = $num; $this-prio = $prio; $this-files = array();

Re: [PHP] PHP displaying images

2005-01-28 Thread Ian Johnson
Jason Wong wrote: On Saturday 29 January 2005 10:13, Ian Johnson wrote: There is no error message in the ../httpd/error_log file. That looks like the Apache error log file, which is most likely not what you want to be looking at. You want the PHP error log, see settings in php.ini, and check

[PHP] Trying to compile PECL fileinfo on Windows

2005-01-28 Thread Chris
Hi, Are there any places that might have instructions on compiling PECL extensions on Windows? I tried going the pear install package route, but fileinfo is not considered stable yet. Chris -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Help with references? again

2005-01-28 Thread Jon
OK, THIS one doesn't throw a syntax error ;) class dir { var $name; var $subdirs; var $files; var $num; var $prio; function dir($name,$num,$prio) { $this-name = $name; $this-num = $num; $this-prio = $prio; $this-files = array(); $this-subdirs = array(); }

Re: [PHP] PHP displaying images

2005-01-28 Thread Jason Wong
On Saturday 29 January 2005 13:42, Ian Johnson wrote: My php is configured to write error messages to the http error_log and not to display errors. OK. In this case the error is displayed and not logged. If you're referring to this ... The image http://localhost/gdtst2.php; cannot be

<    1   2