Page 1 of 1

I always have problems and I am retarded

Posted: 20 Nov 2006, 21:31
by Strosek
As you see i have a image here. the problem and i can never remember how the hell I fix it but it says just upload the the folder called "upload" I choose to re name it to Gallary. the problem is when you get to www.yourwebpage.com/upload dream weaver does not take that. It always ask for a specific file you can not just link to a folder you have to link to a file so how in the hell do i do that in DW 8.0? Here is a pic

http://www.strosek.biz/image%20vue.jpg

Posted: 21 Nov 2006, 20:07
by Strosek
anyone? good god these forums are DEAD

Posted: 22 Nov 2006, 03:31
by Christopher
Not sure on this, you might try posting this in the HTML and FLASH integration forum on this site.

As well, this forum isn't that old, only been up for a month or two. So you may find help is a little slow at the moment. Hope this helps!

Posted: 22 Nov 2006, 04:02
by mjau-mjau
To be honest, Im not quite sure what you are trying to do ...

When you are creating links in dreamweaver, you will often be able to link to files directly if your entire site is local. If you need to do it that way, you would have to link to the filename "index.php".

Preferably, I would just edit the link manually in the input field for that link... Write "http://www.yoursite.com/uploadlocation/".

Posted: 22 Nov 2006, 19:43
by Strosek
if i type it in the link that is.

i get a 404 eror if i link to the index.php file i get this

<php>get('path'));
$startheading=($Config->get('startheading'));
if($startheading == 'foldername'){
$mytitle = $path;
} else {
$mytitle = $startheading;
}
$bgcol=($Config->get('bgcol'));
if (isset($_GET['bgcol'])) $bgcol=$_GET['bgcol'];
if (!isset($bgcol)) $bgcol='FFFFFF';
$textcol=($Config->get('textcol'));

$vars=$Config->listKeys();
$varstr = '';

?>

<DOCTYPE>
<html>
<head>
<title><mytitle></title>
<meta>
<script></script>
<script></script>
<style>
<!--
body, html, div {
height: 100%;
overflow: hidden;
}
body {
background-color: #<bgcol>;
margin: 0px;
padding: 0px;
}
-->
</style>
</head>

<body>

<div id="slideshow">
www.photo.gallery slideshow module
</div>
<script>
var so = new SWFObject("slideshow.swf", "slideshow", "100%", "100%", "7", "#<bgcol>");
so.addVariable("globalpath", "<globalpath>");
so.addVariable("textcol", "<textcol>");
so.addVariable("configfile", "<config>");
<php>
so.write("slideshow");
</script>

</body>
</html>

Posted: 22 Nov 2006, 19:47
by Strosek
<php>get('startheading'));
$bgcol=($Config->get('bgcol'));
if (isset($_GET['bgcol'])) $bgcol=$_GET['bgcol'];
if (!isset($bgcol)) $bgcol='FFFFFF';
$textcol=($Config->get('textcol'));

$vars=$Config->listKeys();
$varstr = '';

?>

<DOCTYPE>
<html>
<head>
<title><startheading></title>
<meta>
<script></script>
<style>
<!--
body, html, div {
height: 100%;
overflow: hidden;
}
body {
background-color: #<bgcol>;
margin: 0px;
padding: 0px;
}
-->
</style>
</head>

<body>

<div id="imagevue">
www.photo.gallery imagevue gallery module
</div>
<script>
var so = new SWFObject("imagevue.swf", "imagevue", "100%", "100%", "6", "#<bgcol>");
so.addVariable("globalpath", "<globalpath>");
so.addVariable("textcol", "<textcol>");
so.addVariable("configfile", "<config>");
<php>
so.write("imagevue");
</script>

</body>
</html>

Posted: 22 Nov 2006, 23:02
by Strosek
here is a video

http://www.strosek.biz/image%20vue.divx

take the .txt off the end of the divx file no idea why its doing that either

Posted: 23 Nov 2006, 08:29
by rp
It looks like your Webserver is not parsing PHP Code. Is PHP installed on that webserver? If yes your hostingprovider needs to change settings to have .php files parsed. You can also try to rename extension to .php4, .php3 or .phtml.

Posted: 23 Nov 2006, 08:48
by rp
just realized: you try to run imagevue local(?) than you need to have a webserver and PHP installed as well on your mac, hope this helps.

Check out XAMPP for Mac OS X:
http://www.apachefriends.org/en/xampp-macosx.html

Posted: 23 Nov 2006, 12:42
by Strosek
thats it RP. you are right. i had to link to index.php and test it on the server not my mac

I really wish he would say that in the instru. that you may have to link to the index.php and test it on your web server not your mac/pc

Thank you for the help