Koozali.org: home of the SME Server
Legacy Forums => Experienced User Forum => Topic started by: Mike on April 06, 2003, 03:10:47 AM
-
wrote a form in php to upload files to specific directory, given 777 rights.
use php copy function.
this form works perfectly on other servers (a MacOSX and a BSD), not under my e-smith !
thx for any help.
-
Any error messages returned etc?
Regards,
Luke
-
I have a similar problem with file uploads in PHProjekt.
I tried the PHProject 4.0 ZIP from the web-site (TAR is lacking file structure), and the RPM found at some other place. Nether allowed for uplaods.
Any help on this would be GREATLY appreciated.
-
Try this link.....
Br
Damjan
Author: Jon Blakely (jon.blakely_AT_clear.net.nz)
Date: 02-26-02 21:53
Bill, I notice you have PHProjekt installed in an ibay. Have you disabled the PHP sandbox security that was introduced in SME 5.1.2. This security feature does not allow a PHP script in an ibay to access files outside of the ibay e.g your /tmp directory.
To disable this feature read
http://www.e-smith.org/bboard//read.php?f=3&i=11473&t=11473
JonMarvin wrote:
>
> I have a similar problem with file uploads in PHProjekt.
>
> I tried the PHProject 4.0 ZIP from the web-site (TAR is
> lacking file structure), and the RPM found at some other
> place. Nether allowed for uplaods.
>
> Any help on this would be GREATLY appreciated.
-
damjan wrote:
>
> Try this link.....
>
> Br
> Damjan
>
> Author: Jon Blakely (jon.blakely_AT_clear.net.nz)
> Date: 02-26-02 21:53
>
> Bill, I notice you have PHProjekt installed in an ibay. Have
> you disabled the PHP sandbox security that was introduced in
> SME 5.1.2. This security feature does not allow a PHP script
> in an ibay to access files outside of the ibay e.g your /tmp
> directory.
>
> To disable this feature read
>
> http://www.e-smith.org/bboard//read.php?f=3&i=11473&t=11473
>
> JonMarvin wrote:
> >
> > I have a similar problem with file uploads in PHProjekt.
> >
> > I tried the PHProject 4.0 ZIP from the web-site (TAR is
> > lacking file structure), and the RPM found at some other
> > place. Nether allowed for uplaods.
> >
> > Any help on this would be GREATLY appreciated.
These scripts use copy to transfer the files from the /tmp directory to the ibay. If you replace copy by move_uploaded_file it works without disabling the security feature.
Han
-
I have this problem with version 6.03 beta of e-smith and phproject 4.1, can you tell me which file uses the word copy so I can change it, I assume it is in phprojekt?
Ken
Or should I perhaps be Han wrote:
> > Bill, I notice you have PHProjekt installed in an ibay.
> Have
> > you disabled the PHP sandbox security that was introduced
> in
> > SME 5.1.2. This security feature does not allow a PHP
> script
> > in an ibay to access files outside of the ibay e.g your
> /tmp
> > directory.
> >
> > To disable this feature read
> >
> >
> http://www.e-smith.org/bboard//read.php?f=3&i=11473&t=11473
> >
> > JonMarvin wrote:
> > >
> > > I have a similar problem with file uploads in PHProjekt.
> > >
> > > I tried the PHProject 4.0 ZIP from the web-site (TAR is
> > > lacking file structure), and the RPM found at some other
> > > place. Nether allowed for uplaods.
> > >
> > > Any help on this would be GREATLY appreciated.
>
> These scripts use copy to transfer the files from the /tmp
> directory to the ibay. If you replace copy by
> move_uploaded_file it works without disabling the security
> feature.
>
> Han
-
I have this problem with version 6.03 beta of e-smith and phproject 4.1, can you tell me which file uses the word copy so I can change it, I assume it is in phprojekt?
Ken
Or should I perhaps be Han wrote:
> > Bill, I notice you have PHProjekt installed in an ibay.
> Have
> > you disabled the PHP sandbox security that was introduced
> in
> > SME 5.1.2. This security feature does not allow a PHP
> script
> > in an ibay to access files outside of the ibay e.g your
> /tmp
> > directory.
> >
> > To disable this feature read
> >
> >
> http://www.e-smith.org/bboard//read.php?f=3&i=11473&t=11473
> >
> > JonMarvin wrote:
> > >
> > > I have a similar problem with file uploads in PHProjekt.
> > >
> > > I tried the PHProject 4.0 ZIP from the web-site (TAR is
> > > lacking file structure), and the RPM found at some other
> > > place. Nether allowed for uplaods.
> > >
> > > Any help on this would be GREATLY appreciated.
>
> These scripts use copy to transfer the files from the /tmp
> directory to the ibay. If you replace copy by
> move_uploaded_file it works without disabling the security
> feature.
>
> Han