I want to be able to use a value in the path when using an fopen command...something like this, except I cannot get it to work:
$fp = fopen ("../$pubdate/FrontNEWS.incl", "w");
if($fp)
{
fwrite($fp,'<link rel=stylesheet href=../main2.css type=text/css>');
fwrite($fp,'<table width=164 border=0 cellspacing=5 cellpadding=0 align=right>');
fwrite($fp,'<tr>');
etc
etc
etc
}
else
{
die('Could not open file.');
}