[PHP] upload_max_filesize

2006-01-24 Thread Daniel Lahey
A client has started experiencing problems with uploading files  
larger than the default 2M set in php.ini.  The problem only started  
occurring a few weeks or so ago, and I cannot figure out how to get  
around it.  I have a php.ini file in the /public_html folder that reads:


post_max_size 8388608
upload_max_filesize 8388608

I've also tried peppering the code with calls to ini_set 
('upload_max_filesize', '8388608');   In desparation, I've also tried  
a .htaccess file that reads:


IfModule mod_php5.c
php_value upload_max_filesize 8388608
/IfModule
IfModule mod_php4.c
php_value upload_max_filesize 8388608
/IfModule

Nothing seems to work.  This didn't used to be a problem.  I can  
upload files smaller than 2M just fine.  Any ideas?


TIA

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



Re: [PHP] Help Desk software

2005-12-21 Thread Daniel Lahey
I found one set of links that might prove helpful:  http:// 
www.helpdesk.com/software-helpdesk.htm  A lot of the software doubles  
as asset management software or comes bundled with such a module.   
There are a yitload of links on that page.  I'm only on the Bs.  Good  
luck.


On Dec 21, 2005, at 12:05 AM, [EMAIL PROTECTED] wrote:


Daniel Lahey said the following on 12/20/2005 10:28 PM:

Can anyone recommend some good Open-Source Help Desk software for
PHP?



Glenn Sieb said:
IMHO the best is RT, which is Perl and Mason.
(http://www.bestpractical.com/rt)

There are some nice PHP ones out there, but I don't have any
experience
with them:

ruQueue: http://freshmeat.net/projects/ruqueue/
Hesk: http://www.phpjunkyard.com/free-helpdesk-software.php
Help Desk Software: http://www.helpdeskreloaded.com/

I'm sure there are more..


At the risk of hijacking this thread, I was hoping to see, in the
answers to Daniel's question, software that handled software/hardware
itinerary and problem history .. so support, but for a closed group of
users, rather like a medical history for each machine and user. Anyone
know of anything like that?

J


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



[PHP] Help Desk software

2005-12-20 Thread Daniel Lahey
Can anyone recommend some good Open-Source Help Desk software for  
PHP?  (I know this is a little off-topic, but I'm having a hard time  
finding decent Open Source software.)


TIA

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



[PHP] Getting values from the Javascript namespace

2005-03-27 Thread Daniel Lahey
Is there any way to get values from the Javascript namespace into PHP?  
I want to use a value passed into a Javascript function in a query 
within some PHP code in the function which is used to dynamically 
populate a select's options.

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


[PHP] getid3

2005-01-27 Thread Daniel Lahey
I found a really great utility for getting info on music files that I 
thought I'd share.  Here's the info:

/
/// getID3() by James Heinrich [EMAIL PROTECTED]   //
//  available at http://getid3.sourceforge.net //
//or http://www.getid3.org///
/
Very cool stuff.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: [PHP] php editor

2005-01-17 Thread Daniel Lahey
I use Dreamweaver and I absolutely love it.  It's a bit pricey, though. 
 In the latest newsletter from Apple Developer Connection, there is a 
notice about skEdit, which is only $20.  It looks pretty nice, though I 
haven't tried it.  Eclipse is very good, too, and it's free (phpEclipse 
is an extension for Eclipse).  Not terribly easy to get set up, though. 
 At least, I found it to be so.  Here's the URL for skEdit:  
http://www.skti.org/skEdit.php

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


[PHP] Using SSL

2005-01-02 Thread Daniel Lahey
I've posted about this before, and I guess I'm just thick, but I'm just 
not getting it.

I need to implement secure transactions for a client, but I just can't 
figure out how to open a page with an https prefix.  The server has 
mod-ssl and OpenSSL compiled into it:

Apache/1.3.33 (Unix) mod_auth_passthrough/1.8 mod_log_bytes/1.2 
mod_bwlimited/1.4 PHP/4.3.9 FrontPage/5.0.2.2635 mod_ssl/2.8.22 
OpenSSL/0.9.7a PHP-CGI/0.1b

Here's the PHP config:
'./configure' '--with-apxs=/usr/local/apache/bin/apxs' '--with-xml' 
'--enable-bcmath' '--enable-calendar' '--with-curl' '--with-dom' 
'--with-dom-xslt' '--with-dom-exslt' '--enable-exif' '--enable-ftp' 
'--with-gd' '--with-jpeg-dir=/usr/local' '--with-png-dir=/usr' 
'--with-xpm-dir=/usr/X11R6' '--with-gettext' '--with-imap' 
'--with-imap-ssl' '--with-kerberos' '--enable-mbstring' 
'--enable-mbstr-enc-trans' '--enable-mbregex' '--with-mcrypt' 
'--with-mhash' '--with-ming=../ming-0.2a' '--enable-magic-quotes' 
'--with-mysql' '--with-openssl' '--enable-discard-path' '--with-pear' 
'--with-pspell' '--enable-sockets' '--enable-track-vars' '--with-ttf' 
'--with-freetype-dir=/usr' '--enable-gd-native-ttf' 
'--enable-versioning' '--enable-wddx' '--with-xmlrpc' '--with-zlib'

I'm unable to open any pages with an https prefix, .html or .php.  I 
get the message:

The requested URL /index.html was not found on this server.
(or whatever page I try to open other than index.html)  This is in 
Firefox.

If I try it locally, I get Connection refused when attempting to 
contact localhost.  This is in Firefox.  If I try to open a page on 
the server in Safari, I get redirected to http://www.netidentity.com/  
Huh?  If I try it locally in Safari, I get 'Safari can't connect to the 
server.  Safari can't open the page https://localhost/ because it 
cannot connect to the server localhost.'  (I get the standard Apache 
default page as http://localhost/).

From everything I've read and been told, all that should be necessary 
is to compile ssl into the server and PHP and add the https prefix.  
Aargh.

Should I be consulting an Apache mail list?  Try to get a gig bagging 
groceries?  Any advice as to where to find information about using SSL 
would be HUGELY appreciated.  TIA

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


[PHP] Using SSL

2004-12-13 Thread Daniel Lahey
Can anyone point me to a good source of information for how to use SSL 
with PHP?  I know it's not quite on-topic, but perhaps someone could 
point me at a good source of info?  TIA

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


Re: [PHP] Question for the PHP consultants out there.

2004-11-12 Thread Daniel Lahey
What web based software project management tool do you use to keep 
track of projects, project tasks, customer requests, and bug reports?
You might try Ace Project:  http://www.aceproject.com/
An error is the more dangerous in proportion to the degree of truth 
which it contains. - Henri Frederic Amiel


[PHP] Re: Advice on imagecreatefromsrc_type

2004-11-04 Thread Daniel Lahey
I find it hard to believe that your choice of browser affects the 
operation of
PHP.
Where is this report?
I may have been mistaken about the report:  Windows versions of PHP 
prior to PHP 4.3.0 do not support accessing remote files via this 
function, even if allow_url_fopen is enabled.  (Found at 
http://us2.php.net/manual/en/function.imagecreatefromjpeg.php)  The 
server is running Linux, so it's not Windows PHP, it's the client (IE).

I find it hard to believe, too.  The error is (as I recall) call to 
undefined function () in source at line with no function name 
given, just the empty parentheses.  It doesn't happen in Firefox, 
Mozilla, or Netscape.

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


[PHP] Advice on imagecreatefromsrc_type

2004-11-03 Thread Daniel Lahey
I've encountered the same bug that others have in regards to failure of 
the imagecreatefromjpeg(), imagecreatefrompng(), and 
imagecreatefromgif() functions when running under IE.  I found a report 
stating that the functions don't work in IE for PHP versions prior to 
4.3.0, however this is occurring in 4.3.8 (Win2k Server on one box and 
XP on another).  Any suggestions as to how to work around this?  Mine 
was:

a 
href=http://www.spreadfirefox.com/?q=affiliatesamp;id=0amp;t=1;Get 
Firefox!/a

This is not acceptable to the client, however.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[PHP] move_uploaded_file() problem

2004-10-08 Thread Daniel Lahey
I'm seeing a very strange problem with move_uploaded_file(...).  I'm
uploading jpegs and the transfer appears to go a little too quickly,
and when I look at the directory listing, the files are about twice the
size that they should be.  When we view the file in the browser, the
images are either mangled or appear incomplete.  Sometimes the bits
seem to be scrambled and other times it appears that only the first 1/4
or so of the image is complete.  I can ftp the files to the same folder
and they are uploaded without any problem.  Another odd thing is that
the permissions on the files are set to -rw--- and owned by apache.
   I can do a chmod on them to get them readable, but chown doesn't
appear to work to change ownership.
I'm using a multipart/form-data form with a MAX_FILE_SIZE of 1MB, which
should be plenty.
We're using PHP 4.2.2, Apache 2.0.40, and Red Hat Linux 9 (Shrike).
Has anyone encountered such a thing before?  We're going to upgrade PHP
from 4.2.2, but I wasn't able to find any documented bugs with that
version relating to this issue.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[PHP] Regular expression help

2004-08-25 Thread Daniel Lahey
I'm trying to figure out how to formulate a regular expression that 
will get me everything following a pound sign (#) up to the first space 
or { character.  (I'm trying to parse the ids out of a style sheet.)  
Can anyone point me in the right direction?  I've been searching on the 
web for hours and reading everything I can find on regular expressions, 
but I just can't wrap my brain around it.  Thanks.

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