Okie. I need TWO more things for my father’s new site to go online!
What permissions are necessary to accept file uploads? Is the path
relative to the website or its physical spot on the file system? eg. my
/public_html/foo/bar translates to
/home/a-e/coinman/public_html/foo/bar on JD’s box. In PHP’s COPY()
function do I specify the first (/public_html/foo/bar/file.blah) or the
second (/home/a-e/coinman/public_html/foo/bar/file.blah)? And what
permissions are necessary to accomidate this to the file structure?
And, FWIW, only people who have been “authenticated” can upload files.
As a corellary, the error I get when I try to upload files now is:
Warning: Unable to create
‘/home/a-e/coinman/public_html/foo/bar/file.doc’: Permission denied in
/home/a-e/coinman/public_html/somephpfile.php on line 45 Could not copy
file: /tmp/php8mZFs9 to /home/a-e/coinman/public_html/foo/bar/file.doc
JD, can you please recompile PHP to allow GD functions to work
(Specifically with PNG!)? Pretty please?
>Okie. I need TWO more things for my father’s new site to go online! > >1) What permissions are necessary to accept file uploads? Is the path > relative to the website or its physical spot on the file system? >
Use the full path, and the directory your copying to has to be writeable
by the user nobody.
> >2) JD, can you please recompile PHP to allow GD functions to work > (Specifically with PNG!)? Pretty please? >
And cURL, and zlib, and pdf, and enable PEAR, and while your at it
upgrade to PHP 4.0.6… shoot might as well thow the (free) Zend
optomizer in as well.
“John R. Marshall” <john@jrmstudios.com> wrote in message news:3B4707DA.6070209@jrmstudios.com… > Sean S. wrote: > > >Okie. I need TWO more things for my father’s new site to go online! > > > >1) What permissions are necessary to accept file uploads? Is the path > > relative to the website or its physical spot on the file system? > > > Use the full path, and the directory your copying to has to be writeable > by the user nobody.
So that’d be what…? chmod ???
> > > > >2) JD, can you please recompile PHP to allow GD functions to work > > (Specifically with PNG!)? Pretty please? > > > And cURL, and zlib, and pdf, and enable PEAR, and while your at it > upgrade to PHP 4.0.6… shoot might as well thow the (free) Zend > optomizer in as well.
Ohh yeah, forgot about zlib support.
By the way, JD, what’s up with the “hidden” .shtml files??
> By the way, JD, what’s up with the “hidden” .shtml files??
independence: {/home/a-e/coinman/public_html} % mkdir test independence:
{/home/a-e/coinman/public_html} % cd test independence:
{/home/a-e/coinman/public_html/test} % ls -l total 0 independence:
{/home/a-e/coinman/public_html/test} % touch z.shtml independence:
{/home/a-e/coinman/public_html/test} % ls -l total 0 independence:
{/home/a-e/coinman/public_html/test} %
“Sean S.” <noemail@here.blargh> wrote in message news:9i8afe$fjp$1@constitution.worldwebserver.com… > > > By the way, JD, what’s up with the “hidden” .shtml files?? > > independence: {/home/a-e/coinman/public_html} % mkdir test independence: > {/home/a-e/coinman/public_html} % cd test independence: > {/home/a-e/coinman/public_html/test} % ls -l total 0 independence: > {/home/a-e/coinman/public_html/test} % touch z.shtml independence: > {/home/a-e/coinman/public_html/test} % ls -l total 0 independence: > {/home/a-e/coinman/public_html/test} %
> “John R. Marshall” <john@jrmstudios.com> wrote in message > news:3B4707DA.6070209@jrmstudios.com… > > Sean S. wrote: > > > > >Okie. I need TWO more things for my father’s new site to go online! > > > > > >1) What permissions are necessary to accept file uploads? Is the path > > > relative to the website or its physical spot on the file system? > > > > > Use the full path, and the directory your copying to has to be > > writeable by the user nobody. > > So that’d be what…? chmod ???
Well you can chmod to 666, or grab one of those scripts that run as nobody
and do a 644 on it.
> Ohh yeah, forgot about zlib support.
Oh and enable xml:) > > By the way, JD, what’s up with the “hidden” .shtml files??
Are you on independence? Everything with a file extension that starts with
an s is hidden like .sql or .shtml or .shit