David Champion on Tue, 12 Jul 2005 14:07:41 -0500


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [ciapug] Re: Listing on PHP.net


Uh, is that Mark Pikes?

:p

FYI, most of you saw this on the cialug list, but the server was down for a while with a bad CPU fan. Fan got replaced, server is back up.

-dc

Chris Hettinger wrote:
Thanks for getting us listed Mark, appreciated.

-ch

Mike Parks wrote:

Greetings everyone,
I just looked and we are now listed on PHP.net calendar events. However, I see that I missed the cap error 'iowa' when I filled out the form. I have sent a message to the php.net webmaster to get this corrected.


Mike

----- Original Message ----- From: <ciapug-request@xxxxxxxxxx>
To: <ciapug@xxxxxxxxxx>
Sent: Monday, July 11, 2005 12:00 PM
Subject: ciapug Digest, Vol 3, Issue 3


Send ciapug mailing list submissions to
ciapug@xxxxxxxxxx

To subscribe or unsubscribe via the World Wide Web, visit
http://cialug.org/mailman/listinfo/ciapug
or, via email, send a message with subject or body 'help' to
ciapug-request@xxxxxxxxxx

You can reach the person managing the list at
ciapug-owner@xxxxxxxxxx

When replying, please edit your Subject line so it is more specific
than "Re: Contents of ciapug digest..."


Today's Topics:

  1. Re: uploading files with php (Mike Parks)
  2. Re: uploading files with php  (Mike Parks)
  3. Re: uploading files with php (Tony Bibbs)
  4. Re: uploading files with php (Scott Phillips)
  5. Re: uploading files with php (Bryan Baker)
  6. Re: uploading files with php (Scott Phillips)


----------------------------------------------------------------------

Message: 1
Date: Sun, 10 Jul 2005 16:11:55 -0500
From: "Mike Parks" <parksmike@xxxxxxx>
Subject: [ciapug] Re: uploading files with php
To: <ciapug@xxxxxxxxxx>
Message-ID: <000401c58594$00c7df40$0400a8c0@parksmike>
Content-Type: text/plain; format=flowed; charset="iso-8859-1";
reply-type=original

Scott
I had somethihng like that also? I look through some of my upload scripts to
see if I can remember what I did to fix?



----- Original Message ----- From: <ciapug-request@xxxxxxxxxx> To: <ciapug@xxxxxxxxxx> Sent: Sunday, July 10, 2005 12:00 PM Subject: ciapug Digest, Vol 3, Issue 2


Send ciapug mailing list submissions to
ciapug@xxxxxxxxxx

To subscribe or unsubscribe via the World Wide Web, visit
http://cialug.org/mailman/listinfo/ciapug
or, via email, send a message with subject or body 'help' to
ciapug-request@xxxxxxxxxx

You can reach the person managing the list at
ciapug-owner@xxxxxxxxxx

When replying, please edit your Subject line so it is more specific
than "Re: Contents of ciapug digest..."


Today's Topics:

  1. uploading files with php (Scott Phillips)
  2. Re: uploading files with php (Barry Von Ahsen)


----------------------------------------------------------------------

Message: 1
Date: Fri, 08 Jul 2005 15:48:09 -0500
From: Scott Phillips <scott.phillips@xxxxxxxxx>
Subject: [ciapug] uploading files with php
To: ciapug@xxxxxxxxxx
Message-ID: <5.2.0.9.0.20050708154126.0208b598@xxxxxxxxxxxxxx>
Content-Type: text/plain; format=flowed; charset=us-ascii

OK.. I've got a script that allows me to upload files to the server. gif,
jpg, txt, doc files all work perfectly. However, I get an error when
trying to open uploaded PDFs: File does not start with a '%PDF-'. There
are other PDFs accessible on the same server, so I don't *think* it's a
mime type problem. It must get corrupted when I upload it.


What's the deal?



Scott Phillips
Web Developer
Cowles Library, Drake University
(515) 271-2975



------------------------------

Message: 2
Date: Sat, 09 Jul 2005 14:48:21 -0500
From: Barry Von Ahsen <barry@xxxxxxxxxxxx>
Subject: Re: [ciapug] uploading files with php
To: ciapug@xxxxxxxxxx
Message-ID: <42D02A05.4060209@xxxxxxxxxxxx>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

I had this error with some ftp/scp/frontpage uploaded pdfs, and some
googling finally turned up that in your apache mime types file you have
to add
application/x-pdf .pdf

it should already have application/pdf

/etc/httpd/conf/apache-mime.types on a mdk 10.1 box

-barry


Scott Phillips wrote:

OK.. I've got a script that allows me to upload files to the server.
gif, jpg, txt, doc files all work perfectly.  However, I get an error
when trying to open uploaded PDFs: File does not start with a '%PDF-'.
There are other PDFs accessible on the same server, so I don't *think*
it's a mime type problem.  It must get corrupted when I upload it.

What's the deal?



Scott Phillips
Web Developer
Cowles Library, Drake University
(515) 271-2975
_______________________________________________
ciapug mailing list
ciapug@xxxxxxxxxx
http://cialug.org/mailman/listinfo/ciapug





------------------------------

_______________________________________________
ciapug mailing list
ciapug@xxxxxxxxxx
http://cialug.org/mailman/listinfo/ciapug


End of ciapug Digest, Vol 3, Issue 2 ************************************





------------------------------

Message: 2
Date: Sun, 10 Jul 2005 20:20:11 -0500
From: "Mike Parks" <parksmike@xxxxxxx>
Subject: [ciapug] Re: uploading files with php
To: <ciapug@xxxxxxxxxx>
Message-ID: <000601c585b6$af7f8840$0400a8c0@parksmike>
Content-Type: text/plain; format=flowed; charset="iso-8859-1";
reply-type=original

Scott
What is your post_max_size set to? You may need to increase this as well
as the upload_max_filesize Default upload_max_filesize is 2Mand
post_max_size is 8M default. So you will want to make it at least that much
above the upload_max_filesize


Mike


----- Original Message ----- From: <ciapug-request@xxxxxxxxxx> To: <ciapug@xxxxxxxxxx> Sent: Sunday, July 10, 2005 12:00 PM Subject: ciapug Digest, Vol 3, Issue 2


Send ciapug mailing list submissions to
ciapug@xxxxxxxxxx

To subscribe or unsubscribe via the World Wide Web, visit
http://cialug.org/mailman/listinfo/ciapug
or, via email, send a message with subject or body 'help' to
ciapug-request@xxxxxxxxxx

You can reach the person managing the list at
ciapug-owner@xxxxxxxxxx

When replying, please edit your Subject line so it is more specific
than "Re: Contents of ciapug digest..."


Today's Topics:

  1. uploading files with php (Scott Phillips)
  2. Re: uploading files with php (Barry Von Ahsen)


----------------------------------------------------------------------

Message: 1
Date: Fri, 08 Jul 2005 15:48:09 -0500
From: Scott Phillips <scott.phillips@xxxxxxxxx>
Subject: [ciapug] uploading files with php
To: ciapug@xxxxxxxxxx
Message-ID: <5.2.0.9.0.20050708154126.0208b598@xxxxxxxxxxxxxx>
Content-Type: text/plain; format=flowed; charset=us-ascii

OK.. I've got a script that allows me to upload files to the server. gif,
jpg, txt, doc files all work perfectly. However, I get an error when
trying to open uploaded PDFs: File does not start with a '%PDF-'. There
are other PDFs accessible on the same server, so I don't *think* it's a
mime type problem. It must get corrupted when I upload it.


What's the deal?



Scott Phillips
Web Developer
Cowles Library, Drake University
(515) 271-2975



------------------------------

Message: 2
Date: Sat, 09 Jul 2005 14:48:21 -0500
From: Barry Von Ahsen <barry@xxxxxxxxxxxx>
Subject: Re: [ciapug] uploading files with php
To: ciapug@xxxxxxxxxx
Message-ID: <42D02A05.4060209@xxxxxxxxxxxx>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

I had this error with some ftp/scp/frontpage uploaded pdfs, and some
googling finally turned up that in your apache mime types file you have
to add
application/x-pdf .pdf

it should already have application/pdf

/etc/httpd/conf/apache-mime.types on a mdk 10.1 box

-barry


Scott Phillips wrote:

OK.. I've got a script that allows me to upload files to the server.
gif, jpg, txt, doc files all work perfectly.  However, I get an error
when trying to open uploaded PDFs: File does not start with a '%PDF-'.
There are other PDFs accessible on the same server, so I don't *think*
it's a mime type problem.  It must get corrupted when I upload it.

What's the deal?



Scott Phillips
Web Developer
Cowles Library, Drake University
(515) 271-2975
_______________________________________________
ciapug mailing list
ciapug@xxxxxxxxxx
http://cialug.org/mailman/listinfo/ciapug





------------------------------

_______________________________________________
ciapug mailing list
ciapug@xxxxxxxxxx
http://cialug.org/mailman/listinfo/ciapug


End of ciapug Digest, Vol 3, Issue 2 ************************************





------------------------------

Message: 3
Date: Mon, 11 Jul 2005 08:30:49 -0500
From: Tony Bibbs <tony@xxxxxxxxxxxxx>
Subject: Re: [ciapug] uploading files with php
To: ciapug@xxxxxxxxxx
Message-ID: <42D27489.3030706@xxxxxxxxxxxxx>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Not to side track you but you might consider using the below file:

http://cvs.geeklog.net/co.php/geeklog-1.3/system/classes/upload.class.php


It supports uploading images, resizing them on the fly, etc. It may be a bit too 'heavy' for your needs. Anyway, does extensive mime checking and can handle enforcement of file sizes, etc.

To see a sample of it in action go here:

http://cvs.geeklog.net/co.php/geeklog-1.3/public_html/admin/story.php

--Tony

Scott Phillips wrote:

OK.. I've got a script that allows me to upload files to the server.
gif, jpg, txt, doc files all work perfectly.  However, I get an error
when trying to open uploaded PDFs: File does not start with a '%PDF-'.
There are other PDFs accessible on the same server, so I don't *think*
it's a mime type problem.  It must get corrupted when I upload it.

What's the deal?



Scott Phillips
Web Developer
Cowles Library, Drake University
(515) 271-2975
_______________________________________________
ciapug mailing list
ciapug@xxxxxxxxxx
http://cialug.org/mailman/listinfo/ciapug




------------------------------

Message: 4
Date: Mon, 11 Jul 2005 08:42:32 -0500
From: Scott Phillips <scott.phillips@xxxxxxxxx>
Subject: Re: [ciapug] uploading files with php
To: barry@xxxxxxxxxxxx, ciapug@xxxxxxxxxx
Message-ID: <5.2.0.9.0.20050711083517.020a17c0@xxxxxxxxxxxxxx>
Content-Type: text/plain; format=flowed; charset=us-ascii


Well, this looks like it worked... kind of. IE opens it up, but FireFox
and Netscape display an open/save dialog box with the default application
being "AcroExch". What the heck is that? Can't find much useful info on
it. It works, but I prefer that the docs open in Reader straightaway like
everyone is used to. Do you have any more info on this?


Mike, I checked and the max size looks fine at this point. (The documents
in question are only ~900K anyway. I don't expect anything larger.)


Thanks for your help!


At 02:48 PM 7/9/2005 -0500, you wrote:

I had this error with some ftp/scp/frontpage uploaded pdfs, and some
googling finally turned up that in your apache mime types file you have to add
application/x-pdf .pdf


it should already have application/pdf

/etc/httpd/conf/apache-mime.types on a mdk 10.1 box

-barry


Scott Phillips wrote:

OK.. I've got a script that allows me to upload files to the server.
gif, jpg, txt, doc files all work perfectly.  However, I get an error
when trying to open uploaded PDFs: File does not start with a '%PDF-'.
There are other PDFs accessible on the same server, so I don't *think*
it's a mime type problem.  It must get corrupted when I upload it.
What's the deal?

Scott Phillips
Web Developer
Cowles Library, Drake University
(515) 271-2975
_______________________________________________
ciapug mailing list
ciapug@xxxxxxxxxx
http://cialug.org/mailman/listinfo/ciapug



_______________________________________________ ciapug mailing list ciapug@xxxxxxxxxx http://cialug.org/mailman/listinfo/ciapug





------------------------------

Message: 5
Date: Mon, 11 Jul 2005 09:31:45 -0500
From: Bryan Baker <bbaker@xxxxxxxxxxx>
Subject: Re: [ciapug] uploading files with php
To: ciapug@xxxxxxxxxx
Message-ID: <d72a5154cae167a068ef35cd96f62cad@xxxxxxxxxxx>
Content-Type: text/plain; charset=US-ASCII; format=flowed

Sounds like maybe your (Moz based) browser's got an inconvenient mime
type mapping.
Check in Edit->Pref's->Helper Applications and look for
application/x-pdf.
AcroExch I think is an old name for Acrobat or maybe the plugin.

On Jul 11, 2005, at 8:42 AM, Scott Phillips wrote:

Well, this looks like it worked... kind of.  IE opens it up, but
FireFox and Netscape display an open/save dialog box with the default
application being "AcroExch".  What the heck is that?  Can't find much
useful info on it.  It works, but I prefer that the docs open in
Reader straightaway like everyone is used to.  Do you have any more
info on this?

Mike, I checked and the max size looks fine at this point.  (The
documents in question are only ~900K anyway.  I don't expect anything
larger.)

Thanks for your help!


At 02:48 PM 7/9/2005 -0500, you wrote:

I had this error with some ftp/scp/frontpage uploaded pdfs, and some
googling finally turned up that in your apache mime types file you
have to add
application/x-pdf       .pdf

it should already have application/pdf

/etc/httpd/conf/apache-mime.types on a mdk 10.1 box

-barry


Scott Phillips wrote:

OK.. I've got a script that allows me to upload files to the server.
gif, jpg, txt, doc files all work perfectly.  However, I get an
error when trying to open uploaded PDFs: File does not start with a
'%PDF-'.
There are other PDFs accessible on the same server, so I don't
*think* it's a mime type problem.  It must get corrupted when I
upload it.
What's the deal?

Scott Phillips
Web Developer
Cowles Library, Drake University
(515) 271-2975
_______________________________________________
ciapug mailing list
ciapug@xxxxxxxxxx
http://cialug.org/mailman/listinfo/ciapug



_______________________________________________ ciapug mailing list ciapug@xxxxxxxxxx http://cialug.org/mailman/listinfo/ciapug



_______________________________________________ ciapug mailing list ciapug@xxxxxxxxxx http://cialug.org/mailman/listinfo/ciapug


--
Bryan Baker
Technology Advocate
Iowa Legal Aid
Suite 230
1111 9th Street
Des Moines, Ia 50314-2527

(515) 243-2151 (x1635)

http://www.iowalegalaid.org
bbaker@xxxxxxxxxxx



------------------------------

Message: 6
Date: Mon, 11 Jul 2005 10:20:20 -0500
From: Scott Phillips <scott.phillips@xxxxxxxxx>
Subject: Re: [ciapug] uploading files with php
To: ciapug@xxxxxxxxxx
Message-ID: <5.2.0.9.0.20050711101241.0207eab0@xxxxxxxxxxxxxx>
Content-Type: text/plain; format=flowed; charset=us-ascii


Nope, no special mappings in there at all. Checked on a few different
machines, with the same results. Mac/Safari does not open it at all with
an error "Could not create file"... whatever that means.


Also, I get the same results whether I upload the pdf with php or Dreamweaver.

Any more suggestions, I'd be grateful!  Thanks!


At 09:31 AM 7/11/2005 -0500, you wrote:

Sounds like maybe your (Moz based) browser's got an inconvenient mime type
mapping.
Check in Edit->Pref's->Helper Applications and look for application/x-pdf.
AcroExch I think is an old name for Acrobat or maybe the plugin.


On Jul 11, 2005, at 8:42 AM, Scott Phillips wrote:

Well, this looks like it worked... kind of. IE opens it up, but FireFox
and Netscape display an open/save dialog box with the default application
being "AcroExch". What the heck is that? Can't find much useful info on
it. It works, but I prefer that the docs open in Reader straightaway
like everyone is used to. Do you have any more info on this?


Mike, I checked and the max size looks fine at this point. (The
documents in question are only ~900K anyway. I don't expect anything larger.)


Thanks for your help!


At 02:48 PM 7/9/2005 -0500, you wrote:

I had this error with some ftp/scp/frontpage uploaded pdfs, and some
googling finally turned up that in your apache mime types file you have to add
application/x-pdf .pdf


it should already have application/pdf

/etc/httpd/conf/apache-mime.types on a mdk 10.1 box

-barry


Scott Phillips wrote:

OK.. I've got a script that allows me to upload files to the server.
gif, jpg, txt, doc files all work perfectly. However, I get an error
when trying to open uploaded PDFs: File does not start with a '%PDF-'.
There are other PDFs accessible on the same server, so I don't *think*
it's a mime type problem. It must get corrupted when I upload it.
What's the deal?


Scott Phillips
Web Developer
Cowles Library, Drake University
(515) 271-2975
_______________________________________________
ciapug mailing list
ciapug@xxxxxxxxxx
http://cialug.org/mailman/listinfo/ciapug



_______________________________________________ ciapug mailing list ciapug@xxxxxxxxxx http://cialug.org/mailman/listinfo/ciapug



_______________________________________________ ciapug mailing list ciapug@xxxxxxxxxx http://cialug.org/mailman/listinfo/ciapug

--
Bryan Baker
Technology Advocate
Iowa Legal Aid
Suite 230
1111 9th Street
Des Moines, Ia 50314-2527

(515) 243-2151 (x1635)

http://www.iowalegalaid.org
bbaker@xxxxxxxxxxx

_______________________________________________
ciapug mailing list
ciapug@xxxxxxxxxx
http://cialug.org/mailman/listinfo/ciapug





------------------------------

_______________________________________________
ciapug mailing list
ciapug@xxxxxxxxxx
http://cialug.org/mailman/listinfo/ciapug


End of ciapug Digest, Vol 3, Issue 3
************************************


_______________________________________________
ciapug mailing list
ciapug@xxxxxxxxxx
http://cialug.org/mailman/listinfo/ciapug