Reply to Re: Help! Basic code problem

Your name:

Reply:


Posted by Sanders Kaufman on 08/11/07 12:53

Big Moxy wrote:

>>> error_reporting(E_ALL);
>>> $uploaddir = "d:\domains\test.com\wwwroot\casper\uploads\";
>>> $uploadfile = $uploaddir . basename($_FILES["userfile"]["name"]);


Your problem is in how you're using the backslash. In order to use a
back-slash in a string, you have to use TWO, not just one.
Like this:

$uploaddir = "d:\\domains\\test.com\\wwwroot\\casper\\uploads\\";

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация