# Absolute Directory

**URL:** <https://forum.kirupa.com/t/absolute-directory/27056>\
**Category:** programming\
**Created:** [July 29, 2003, 7:28pm UTC](https://forum.kirupa.com/t/absolute-directory/27056 "2003-07-29T19:28:19Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![BullDog\_Flash](https://avatars.discourse-cdn.com/v4/letter/b/d07c76/32.png) [@BullDog\_Flash](https://forum.kirupa.com/u/BullDog_Flash)\
**Post date:** [July 29, 2003, 7:28pm UTC](https://forum.kirupa.com/t/absolute-directory/27056/1 "2003-07-29T19:28:19Z")

</div>

hello everyone I  
am having trouble with this script here.

```php
<?
//the absolute location of where you want to upload it
//the directory must be chmoded 777
//jpgimage is the name from the top
copy($swf, "/home2/public_html/cherrywrapper/portal
                          thumbs/$swf");
unlink($swf);
?> 

 

```

i am not sure how to Get my absolute Directory to work right

```php
copy($swf, "/home2/public_html/cherrywrapper/portal

```

thats is it there I think am not to sure.

What would mine be if

I ant it to upload to the portal folder.

Host Name = [haphaz.com](http://haphaz.com)  
website name = [www.cherrywrapper.com](http://www.cherrywrapper.com)

Can Any One help[
