Web Design Forums
Web Design Forums Forums Register Why Register? About WDF FAQ Members Feedback WDF Store
Welcome! Please register or log in: Forgot your password? Why register?
You are here: Web Design Forums » Today at WDF RSS
Today's Featured Posts
Posts selected by moderators as being high in quality
No posts were hand-selected for today, but here are some popular recent discussions.
Hello everyone, i hope my spelling isnt to bad to understand.

Ok lets start, Ive made a basic form in dreamweaver CS3, Then i had a go at codeing a php script that when someone enters the infomation posted on the form it goes into my domain/sever Email account, the info they have entered shows, all correct ect..

now i want them to beable to send me files, Images. but my coding wont work..
what ive done here is added the image tags there, for the php script. and also on my forms in dreamweaver HTML file format i added the File Field and called the tag image1 - then image2 - then image3... but when it comes into my email it does this. Item image1: /tmp/phpPRkkIb
Item image2: /tmp/phpPRkkIb
Item image3: /tmp/phpPRkkIb

ive hiden my email.. so that would change...

HELP ive been trying for hours n hours


<?php

/* Subject and Email Variables */

    
$emailSubject 'contacts';
    
$webMaster 'Hidenemail@Email';
   
/* Gathering Data Variables */

    
$itemnameField $_POST['itemname'] ;
    
$disField $_POST['dis'] ;    
    
$priceField $_POST['price'] ;  
    
$postField $_POST['post'] ; 
    
$locationField $_POST['location'] ; 
    
$emailField $_POST['email'] ; 
    
$phoneField $_POST['phone'] ; 
    
$image1Field $_POST['image1'] ; 
    
$image2Field $_POST['image2'] ; 
    
$image3Field $_POST['image3'] ; 
    
$agreeField $_POST['agree'] ;  
    
    
$body = <<<EOD
<br><hr><br>
Item name: $itemname <br>
Item Dis: $dis <br>
Item Price: $price <br>
Item post price: $post <b>
Item location: $location <b>
Item email: $email <b>
Item number: $phone <b>
Item image1: $image1 <b>
Item image2: $image2 <b>
Item imagr3: $image3 <b>
Item location: $location <b>
Yes i agree: $agree <b>


EOD;

    
$headers "From: $email\r\n";
    
$headers .= "Content-type: text/html\r\n";
    
$success mail $webMaster$emailSubject$body$headers ) ;



/* Results rendered as HTML */

    
$theResults = <<<EOD
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Thanks </title>
<style type="text/css">
<!--
.style2 {
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 12px;
    color: #666666;
}
.style3 {
    color: #990000
}
.style4 {color: #333333}
-->
</style>
</head>

<body>
<div>
  <div align="left" class="style2">
    <h2 class="style3">THANK YOU FOR <span class="style4">CONTACTING US</span></h2>
  </div>
</div>
<p>&nbsp;</p>
<div>
  <div align="left" class="style2">Thank you for your interest! Your email will be answered very soon!</div>
</div>
<br />
<br />
<div>
  <div align="left" class="style2"><a href="home.html" class="style3">Return back &gt;&gt;</a></div>
</div>
<p>&nbsp;</p>
</body>
</html>

EOD;
echo 
"$theResults" ;


?>
Ok - here's my site I just started today: www.mercfire.kh3.us/governist
It's fine in IE8, but in FF it's messed up. What code below do I need to change to allow for universal browser support? Firefox and IE are my main concerns right now, Safari & chrome are pluses.
.wrapper{
  width:95%;
  border:1px solid #404040;
  margin-left: auto;
  margin-right: auto;}
.header{
  width:100%;
  text-align:center;}
.logo{
  width:100%;
  text-align:left;}
.news{
  margin:1%;
  width:35%;
  border:1px solid #000;
  text-align:left;
  padding:5px;
  float:right;}
.menu{
  width:100%;}
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"[url="http://www.w3.org/TR/html4/strict.dtd"]http://www.w3.org/TR/html4/strict.dtd[/url]">
<html>
 <head>
  <title>Governist</title>
  <meta name="copyright" content="2009, Governist.  All rights reserved.">
  <meta name="keywords" content="Governist, free, game, business, simulation, online, country, countries, politics" />
 <meta name="description" content="Play Governist, a revoultionary new online game." /> 
 
 
  <link rel="stylesheet" href="css/default.css" type="text/css" media="screen" />
 
 </head>
<body>
<div class="wrapper">
 <div class="header">
    <div class="logo">
    <img src="images/logo.png" />
  <div class="news">
    <? include("includes/text/news.txt"); ?>
    </div>
    </div>
 
  </div>
 <div class="menu">
   <? include("menu.html"); ?>
  </div>
</div>
</body>
</html>

Combatibality and security are my two bad points.
Im using the php mail() function

mail($send_email, $subject, "Forma de Contacto para Sitio de Web\n"
."Nombre Completo: ".$fullname."\n"
."Email: ".$email."\n"
."Teléfono: ".$phone."\n"
."Título: ".$title."\n"
."Empresa: ".$company."\n"
."Dirección: ".$address."\n"
."Ciudad: ".$city."\n"
."Estado o Provincia: ".$state."\n"
."Código Postal: ".$zip."\n"
."País: ".$country."\n"
."Método de contacto preferido: ".$contactmethod."\n"
."Favor de añadirme a su lista de email para recibir su boletín informativo: ".$signup."\n"
."Intereses, Preguntas o Comentarios: ".$message, $headers_clients);

Some of the characters are being replaced in the text feilds with english but should be in spanish when the form is sent
Is there a way to specify what language the mail() function uses?
I've dabbled in HTML in the past and I've played with quite a few content management systems such as wordpress, joomla, e107, and a few more. I want to step up my web design skills and stop depending on CMS for all of my sites. What I'd like to build is a site kind of like this one.

http://www.thefatlute.com

I think a site like this would be great practice, fairly simple design and incorporates a database. Can anyone tell me the best way to start something like this?

Actually if anyone could help me out with creating a basic database and being able to add to it and query it using an html or php page I think I could figure the rest out with trial and error.
Hi,
I've inserted a graphic into my web page with Dreamweaver and I would like to superimpose 3 transparent mp3 audio buttons (evenly from left to right) so visitors can click and hear what they see.
How do I do that?
It's been suggested to create a table and set the table background to the image. I tried that but did not get very far.
Replies for a Dreamweaver beginner would be much appreciated.
regards
GB
On my website, my blog is embedded within an iFrame. But as the blog posts increase, I would like the length of the iframe to increase (WITHOUT a scroll bar!). Is there a code for this?

(sorry - not sure if this should have been posted in css or javascript)
Hi,

I have this Bing search site I'm working on that is having problems here:

http://www.searchsites.ms11.net/index2.htm

When you do a search, the Bing search pop up is being blocked by the YouTube video player. This only seems to occur on Windows based PC's. I've tested it in FireFox, internet Explorer and Chrome. The pop up displays under the video player in all three browsers making quite sure it is a Windows issue.


On my iMac the search pop up displays correctly over the video player.

Is there a hack or anything to fix this?

Beyond that, I was originally trying to add a Google Custom search Box to the site...But I wanted to add my own button on the same line and directly right of the search box...If anyone could show me exactly how to do that I would be willing to switch back to a Google Custom Search Box. Thank you;.
Hello,
I would like to display newsfeeds for a specific keyword or subject on a commercial website, but when I checked google or yahoo terms of service for news feeds, they dont allow to display their feeds on commercial websites. Does anyone have good suggestion? By the way, although free is preferred, I can still pay a little for this, if it is a good service.
Hi, I am new to this stuff. I created an animation on adobe flash, and I am trying to successfully put it on my website (with the program dreamweaver), but when I import the flash, the internet preview just shows a blank white rectangle. I don't know what I am doing wrong. Any ideas?
Thanks.
Hi all,
I use some self written PHP scripts on my website, however I have just realised that if a user then clicks the back button from their browser, they go back to the tracking script, which forwards them straight back to where they came from!
Is there a way around this?
Simple example at http://www.pocketpcsoft.net, click the large FREEWARE in the tag cloud, and it calls http://www.pocketpcsoft.net/php/free....php?type=free which then redirects the user to http://www.pocketpcsoft.net/php/freeware.php
If the user then clicks BACK they end up at http://www.pocketpcsoft.net/php/free....php?type=free which then redirects the user once again to http://www.pocketpcsoft.net/php/freeware.php
the relevant snippet of freetrackcloud.php is as follows
 
$type = $_GET['type'];
$result=mysql_query( "UPDATE clickcloud SET count=count+1 WHERE name='$type'", $db);
mysql_close($db);
?>
<html>
<head>
<title><?=$type?></title>
</head>
<body>
<script>window.location.href="/php/freeware.php"</script>
</body>
</html>
Welcome to Web Design Forums!
What is Web Design Forums?
Web Design Forums is dedicated to helping its users of the web design community of all skill levels with their problems. With supportive members, a friendly environment, and posts without bias, WDF goes above and beyond achieving this goal. Learn more.
Before Posting
Note that some forums have their own additional rules.
Before you participate in discussions at Web Design Forums, you must read and agree to the forum rules.
Today at WDF
Web Design Forums
About WDF
WebDesignForums.net is owned and operated by Transio, LLC - a Miami, FL web design and software development company.
Recent Unanswered Questions
Lightbox Problem
in Web Design Discussion by jj1
July 3 '09, 05:24 AM
Image Rotation
in Web Design Discussion by Hitch - CP
July 1 '09, 08:43 AM
Hover Delay?
in Javascript, AJAX, and JSON by alsnchns
June 29 '09, 12:09 PM
"Site of the Month" Contest
Vote for your favorite entry in this month's contest! Voting is over at the end of the month.
Last Month's Winner medlington won with 50% of the vote with the entry: Sing Aloud

View the Hall of Fame for more information about this and past winners.
Your Reputation
Register at Web Design Forums and make quality posts to earn reputation!
Statistics
Members: 19,406 (see who's online)
Newest Member: KenRock
Posts: 175,081
Threads: 28,113
View moderating team
Happy Birthday
Today's Birthdays: malecon (40), caleb (30), demcdon (23), steve7376 (33), design (31), SpinA (21). Is it your birthday? Set your birthday while registering.