[PHP] Re: htaccess question

2013-04-10 Thread James Moe
On 04/09/2013 11:07 AM, Al wrote:
 I know it's not a php question, but I can't readily find the answer
 elsewhere.
 
  Try http://www.apache.org/foundation/mailinglists.html.

-- 
James Moe
jmm-list at sohnen-moe dot com

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Setting allow_url_fopen

2012-05-26 Thread James Moe
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hello,
  php 5.2.2

  I have need of a remote procedure call the requires
allow_url_fopen to be enabled. The remote call works fine on my test
system which does have allow_url_fopen enabled.
  So I thought, This is a job for ini_set(). It did not work. :-(
  $oldval = ini_set(allow_url_fopen, 1);
  The remote call is made after the above statement. Clearly there is
more to it than I expected.
  What is the correct way to allow URL fopen on the fly?

- -- 
James Moe
moe dot james at sohnen-moe dot com
520.743.3936
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.18 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk/Ag00ACgkQzTcr8Prq0ZNpqACgsPg1UcmiXcxxWYhvl0XaUi7N
KDMAn29qcLCYdVDGWWYGTqZhToRtJRfA
=gnCT
-END PGP SIGNATURE-

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Re: XML enabled but not working

2011-09-16 Thread James Moe
On 09/15/2011 01:20 PM, Matthew Pounsett wrote:
 
 I seems to behaving issues with php5 on one particular server, and I haven't 
 been able to find the issue.  Basically, php says XML is enabled, but xml 
 functions are missing.
 
 php -i | grep XML support
 libXML support = active
 
  Perhaps you need to install libxml[2]?

-- 
James Moe
jmm-list at sohnen-moe dot com

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Top Posting

2011-07-05 Thread James Moe
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 07/05/2011 07:48 AM, Jim Giner wrote:
 And besides - I'm sure there are PLENTY of people here who despise scrolling
 thru endless repeated paragraphs from a long list of posts just to get the
 the latest contribution to the topic.:)

  I often do not bother to read posts from those how cannot trim all of
the irrelevant portions of a response. I have noticed that the response
is usually trivial and not worth scrolling to find.

 This newgroup may have its rules, but if bottom-posting was such a wise and
 preferred method, why do millions of business users subscribe to a product
 such as Outlook, that top-posts by default, to conduct their daily business
 via emails flying back and forth with the latest post at the beginning so
 that readers don't have to re-hash old news unless they want to?

  I suspect one reason top posting is popular is that responders do not
have to think about tidying up, just spit out a reply and move on. The
result is a message that grows in size with every reply containing every
useless bit since the thread began. It becomes quite a mess.

- -- 
James Moe
moe dot james at sohnen-moe dot com
520.743.3936
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.15 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk4TU/MACgkQzTcr8Prq0ZP2OwCfUj8Hw7cFkkYMey6EdknZ60/E
ahgAoJnaxil40kOqps1WhWF6lP6d/Ve5
=pedd
-END PGP SIGNATURE-

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Upload size limit stays at 8MB

2011-05-06 Thread James Moe
Hello,
  apache v2.2.15 (Linux/SUSE)
  phpv5.3.3
  linux  v2.6.34.7-0.7-desktop #1 SMP

  I updated /etc/php5/apache2/php.ini to change
upload_max_filesize = 2M
to
upload_max_filesize = 60M.
  php_info() shows the changed value; echo
ini_get(upload_max_filesize) shows the changed value. Yet when I
attempt an upload, I get this in the error log:

PHP Warning:  POST Content-Length of 39246714 bytes exceeds the limit of
8388608 bytes in Unknown on line 0, referer: http://www.sma.com/sma/upload/

  Hmm. Unknown on line 0? A bit vague.
  8MB max seems a bit less than the 60MB listed.
  Where else could PHP be getting settings info?


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Re: .htaccess question protect my php test environment

2003-10-25 Thread James Moe
Frank Tudor wrote:
I restart the server and then go to another computer and put in
the URL and no password box comes up.
  Add this to the [virtual]host's section:
directory /virtual_0/path/whatever
AllowOverride AuthConfig Options
/directory
and restart httpd.

--
jimoe at sohnen-moe dot com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[PHP] Re: New line characters and carriage returns

2003-10-25 Thread James Moe
Jonathan Villa wrote:
$msg .= From: [EMAIL PROTECTED]
Content-Type: text/plain\r\n
  PHP is retaining the implicit linefeed in the text so there is a 
blank line between From and Content-Type, the end-of-header indicator. 
(You must have a dos-ish system.)
  Change it to:
$msg .= From: [EMAIL PROTECTED] . Content-Type: text/plain\r\n;

$fileName = 'errors.'.date('dmY').'.log';

  The log files will sort a lot more sensibly if you use 'Ymd'.

--
jimoe at sohnen-moe dot com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php