# A php problem

**URL:** <https://forum.kirupa.com/t/a-php-problem/191980>\
**Category:** Uncategorized\
**Created:** [June 24, 2006, 6:17pm UTC](https://forum.kirupa.com/t/a-php-problem/191980 "2006-06-24T18:17:52Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![hyacinth](https://avatars.discourse-cdn.com/v4/letter/h/779978/32.png) [@hyacinth](https://forum.kirupa.com/u/hyacinth)\
**Post date:** [June 24, 2006, 6:17pm UTC](https://forum.kirupa.com/t/a-php-problem/191980/1 "2006-06-24T18:17:52Z")

</div>

this is a php problem.

$uploadDir = this/is/url/;

imagejpeg($thumb, “\*\*_$uploadDir_\*\*thumbs/”.$image\_info[i\_id].".".jpg);

I want to make a path: this/is/url/thumbs , but i cannot just use: \*\*\*$uploadDir\*\*\*thumbs/  
how to solve this problem???
