doufei5537
doufei5537
2013-09-25 02:12

如何在phpfileuploader中设置另一个文件夹

已采纳

i downloaded phpfileuploader script from > http://phpfileuploader.com/

but when i set this code not worked

$uploader->SaveDirectory="http://localhost/phpfileuploader/savefiles/";

and when i change to :

$uploader->SaveDirectory="savefiles";

worked . i need use another url for set direcoty to save files and maybe when i set to for exmplae :

../ or ../../ or others notwork because htaccess rewrite url used .

please help me to how set another directory for example in another subdomain or another folders .

  • 点赞
  • 写回答
  • 关注问题
  • 收藏
  • 复制链接分享
  • 邀请回答

1条回答

  • dongzheng3113 dongzheng3113 8年前

    You should declare variable to store current hard path of your application on Server.Then you can use it

    点赞 评论 复制链接分享