开发者

Local Path? How to find that

Having a problem with a script I downloaded.

the codes says to enter the local path..

I'm not really sure how to figure out the local path. I'm not using a server on my computer so I don't if the local path would look like the example in the code.

<?
$localpath = "/home/xxxxxx/public_html/ddps"; //L开发者_JS百科ocal Path Where You Installed The Script

$sitepath = "http://www.halogamertags.com/ddps"; //WWW Path To Script

I get this as the error in the browser.

Warning: move_uploaded_file(/home/xxxxxx/public_html/ddps/downloads/Andrew Ferrara.docx) [function.move-uploaded-file]: failed to open stream: No such file or directory in /home/halogam1/public_html/ddps/doupload.php on line 7

Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move '/tmp/phpExSwrS' to '/home/xxxxxx/public_html/ddps/downloads/Andrew Ferrara.docx' in /home/halogam1/public_html/ddps/doupload.php on line 7


$localpath = "/home/halogam1/public_html/ddps/";


Local path is to where the script is located. Normally can be seen as:

 ddps (relative call to folder)

Same as:

 /home/domain/public_html/ddps

on both local and web servers. Other wise it will look something like:

 c:\users\me\ddps (On Windows)
      OR
 MAC_OS:Desktop:ddps (On Mac)
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜