FireFox! The PHP Forum Loans and Credit
Panama Web Design for Hire Free Insurance Quotes!
Web Hosting Advertise Here $10 a Month Designer Children
Never Pay Taxes Again HGH Domain name registration
Web Hosting and Dedicated Servers Insurance Affordable web-hosting


HomeWatched TopicsRegisterSearchDirectory
FAQMemberlistUsergroupsLog inStoresItemsBank
Google

Reply to topic Page 1 of 1
A strange string problem
Message  

Reply with quote
Post A strange string problem 
Hello,
   I meet a strange problem when I write the following code.

$uploaddir = 'c:/pic/'.$IDStr;
mkdir($uploaddir);
echo $uploaddir;
$uploadfile1 = $uploaddir . basename($_FILES['pic1']['name']);
$uploadfile2 = $uploaddir . basename($_FILES['pic2']['name']);
$uploadfile3 = $uploaddir . basename($_FILES['pic3']['name']);
echo '<pre>';
echo $uploadfile1;

For example:
The uploaddir shows "c:/pic/6

but the uploadfile1 shows only c:/pic/test.jpg can don't contain the '6'.  Where does the 6 go ?  Thanks.


_________________
Robert Chu
View user's profile Send private message

Reply with quote
Post  
What is the actual error you're getting with this file?

View user's profile Send private message
Display posts from previous:
Reply to topic Page 1 of 1
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
  



Google

FireFox! The PHP Forum Loans and Credit
Panama Web Design for Hire Free Insurance Quotes!
Web Hosting Advertise Here $10 a Month Designer Children
Never Pay Taxes Again HGH Domain name registration
Web Hosting and Dedicated Servers Insurance Affordable web-hosting


Web Design by PlatinumShore.com & Web Hosting by TradeWebHosting.com