Jump to content

Search the Community

Showing results for tags 'HTML'.

More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


  • W3Schools
    • General
    • Suggestions
    • Critiques
  • HTML Forums
    • CSS
  • Browser Scripting
    • JavaScript
    • VBScript
  • Server Scripting
    • Web Servers
    • Version Control
    • SQL
    • ASP
    • PHP
    • .NET
    • ColdFusion
    • Java/JSP/J2EE
    • CGI
  • XML Forums
    • XML
    • Schema
    • Web Services
  • Multimedia
    • Multimedia
    • FLASH

Find results in...

Find results that contain...

Date Created

  • Start


Last Updated

  • Start


Filter by number of...


  • Start





Website URL








Found 777 results

  1. In the HTML tutorials, all images were added from a web location (img src="url"/>), when creating my new site, how do i add the images which are on my computer. Do I have to upload the images to a FTP location on the web first and then create the web pages? OR Should i create everything under one folder on my computer and then upload the entire folder to the web host?
  2. I have been looking around and reading up on this and this is the simplest way I have been able to find so far... It still has not worked for me and there has to be a better way. Anyone? ***************<li><span><span><span><span>Boby</span></span></span></span></li> li { background: url(boby.jpg) center no-repeat; }li span { background: url(corner_top_right.gif) top right no-repeat; display: block; }li span span { background: url(corner_bottom_right.gif) bottom right no-repeat; }li span span span { background: url(corner_bottom_left.gif) bottom left no-repeat; }li span span span span { background: url(corner_top_left.gif) top left no-repeat; padding: 0.5em; }***************
  3. Hi guys! I have turned to this forum beacuse I am tired of serching on the web, this problem is already fuzzing my brain. Well lets start from the beginning. I am building an HTML application, with javascript and xml. My XML file is as below: <cadastro> <instrumento> <diareg>2011/11/25</diareg> <id>0107006</id> <idsetor>1</idsetor> <idgrupo>7</idgrupo> <idsequencia>006</idsequencia> <nome>Escala Graduada de Aço</nome> <modelo>Mecanico</modelo> <fabricante>Stanley</fabricante> <nserie>--</nserie> <capacidademin>0.0</capacidademin> <capacidademax>600.0</capacidademax> <resolucao>0.5</resolucao> <unidade>mm</unidade> <complemento>Escala com duas graduações em milímetro e polegada</complemento> <estado>conforme</estado> <tipocalibra>ci</tipocalibra> <procedimento>IT-FLB-53-CQ-037</procedimento> <proxdiacalib>2012/8/21</proxdiacalib> <periodocalib>365</periodocalib> <ficha> <dia>2011/11/25</dia> <certificado>CQ225/11</certificado> <hiperlink>N/A</hiperlink> <diacalib>2011/8/22</diacalib> <erromin>0.0</erromin> <erromax>0.05</erromax> <erromed>0.025</erromed> <incerteza>0.01</incerteza> <situacao>calibrado</situacao> <historico>Disponível para o uso</historico> <status>Conforme</status> <valor>0</valor> </ficha> </instrumento> <instrumento> <diareg>2011/11/25</diareg> <id>0113025</id> <idsetor>1</idsetor> <idgrupo>13</idgrupo> <idsequencia>025</idsequencia> <nome>Micrômetro Externo</nome> <modelo>Mecanico</modelo> <fabricante>Mitutoyo</fabricante> <nserie>86437051</nserie> <capacidademin>0.0</capacidademin> <capacidademax>25.0</capacidademax> <resolucao>0.01</resolucao> <unidade>mm</unidade> <complemento>Micrometro para medição de canal do Zeta.</complemento> <estado>conforme</estado> <tipocalibra>ci</tipocalibra> <procedimento>IT-FLB-53-CQ-037</procedimento> <proxdiacalib>2012/1/16</proxdiacalib> <periodocalib>60</periodocalib> <ficha> <dia>2011/11/25</dia> <certificado>CQ330/11</certificado> <hiperlink>N/A</hiperlink> <diacalib>2011/11/17</diacalib> <erromin>0.1</erromin> <erromax>0.1</erromax> <erromed>0.1</erromed> <incerteza>0.01</incerteza> <situacao>calibrado</situacao> <historico>Disponível para o CQ</historico> <status>Conforme</status> <valor>0</valor> </ficha> </instrumento></cadastro> I`m using this xml file as a simple database for my application, were I control info about instruments as caliper, micrometer, scales, and a lot of measuring equipment.Well as you can see i have "Cadastro" as my root element, "Instrumento" or instrument is the element that holds the info of the equipment.For my problem i have to query on the xml three elements from "instrumento", they are: <idsetor></idsetor>: this one holds the sector which the equipment belongs to. (its a number)<idgrupo></idgrupo>: this oneindicates the group of the equipment like(Digital caliper, Pressure Gauge,...) (its a number) <idsequencia></idsequencia>: this one indicates the sequential number of the equipment by order of arrival and registry (caliper 001, caliper 002, ...,caliper NNN) the <id></id> is a combination formed by the 3 elements above.Well during the registry I input two variables the sector and the group but the sequential number should be generated automaticaly obeying the sequence of the already registered equipments. my logic is request all the instruments with the same <idsetor> and <idgrupo> and after select from this set, the one with the highest <idsequencia>, and then: idsequencia = idsequencia + 1; Now reading about Xpath in the internet I got to this two Xpaths: 1 - "cadastro/instrumento[idsetor=+IDSETORaux+" and idgrupo="+IDGRUPOaux+]/idsequencia"2 - "/cadastro/instrumento/idsequencia[not(/cadastro/instrumento/idsequencia>.)]" The first returns all the <idsequencia> of all the instruments that have the same idsetor and idgrupo, pointed by the variables IDSETORaux and IDGRUPOaux respectively. The second returns te highest <idsequencia> of all the registered elements. Well I have been playing with this two xpaths, combining them in diferent ways but no success. Now i turn to you and ask, can you help me please???
  4. Bunnycorn


    So, here's my question. I can make columns, I can edit the size, I can do all that stuff, but I can't get it to go actively down the page or get it to go into the background, if you need my source or anything please just ask. Also; although I doubt you'll be able to help me on this; is there any way to edit an actual in use source? Or even get a fresh one? I'm doing it for a school project and the one who's supposed to be getting the site is incredibly slow, and I don't have money to buy my own, nor would I spend that money to buy my own. I shall attach a copy of my source, incase you need to see it for whatever reason. Oh god...htm
  5. My php contact form wont send the emails to my account?This is my contact from page<table width="400" border="0" align="center" cellpadding="3" cellspacing="1"><tr><td><h2><strong>Contact Form </strong></h2></td></tr></table><table width="400" border="0" align="center" cellpadding="0" cellspacing="1"><tr><td><form name="form1" method="post" action="send_contact.php"><table width="100%" border="0" cellspacing="1" cellpadding="3"><tr><td width="16%">Subject</td><td width="2%">:</td><td width="82%"><input name="subject" type="text" id="subject" size="50"></td></tr><tr><td>Detail</td><td>:</td><td><textarea name="detail" cols="50" rows="4" id="detail"></textarea></td></tr><tr><td>Name</td><td>:</td><td><input name="name" type="text" id="name" size="50"></td></tr><tr><td>Email</td><td>:</td><td><input name="customer_mail" type="text" id="customer_mail" size="50"></td></tr><tr><td> </td><td> </td><td><input type="submit" name="Submit" value="Submit"> <input type="reset" name="Submit2" value="Reset"></td></tr></table></form></td></tr></table><p> </p></form>This is my php code for the contact form<?php// Contact subject$subject ="$subject"; // Details$message="$detail";// Mail of sender$mail_from="$customer_mail"; // From $header="from: $name <$mail_from>";// Enter your email address$to ='gareth.joynt@go.edgehill.ac.uk';$send_contact=mail($to,$subject,$messa…// Check, if message sent to your email // display message "We've recived your information"if($send_contact){echo "We've recived your contact information";}else {echo "ERROR";}?>Please help thanks
  6. Forgive me I am very new to HTML... Can anyone work out what is wrong with this code, in red and bold - currently the rollovers do not work. The images are both saved in the same folder and both the image names are correct - Any ideas? <html><head><title>My Party Planner</title><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"></head><body bgcolor="#aacde9" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0"><style type="text/css">table{border-bottom: 2px solid #6600CC}</style><table id="Table_01" width="1200" height="200" border="0" cellpadding="0" cellspacing="0"> <tr> <td rowspan="2"><a href="index.html"><img src="logo.gif " width="253" height="200" border="0" alt=""></a></td> <td colspan="15"> <img src="mypartyplannertext.jpg" width="947" height="156" alt=""></td> </tr> <tr> <td><a href="index.html" onMouseOver="homerollover.gif" onMouseOut="home.gif"><img src="home.gif" width="87" height="44" border="0" alt=""></a></td> <td> <img src="blank7.jpg" width="16" height="44" alt=""></td> <td><a href="venues.html"><img src="venues.gif" width="83" height="44" border="0" alt=""></a></td> <td> <img src="blank10.jpg" width="15" height="44" alt=""></td> <td><a href="catering.html"><img src="catering.gif" width="99" height="44" border="0" alt=""></a></td> <td> <img src="blank5.jpg" width="14" height="44" alt=""></td> <td><a href=entertainment.html"><img src="entertainment.gif" width="127" height="44" border="0" alt=""></a></td> <td> <img src="blank4.jpg" width="14" height="44" alt=""></td> <td> <img src="file:///C|/Users/Cat/Documents/Web Page/Web Page Images/images/images/navigationbar_11.gif" width="1" height="44" alt=""></td> <td><a href="decoratiions.html"><img src="decorativetouch.gif" width="113" height="44" border="0" alt=""></a></td> <td> <img src="blank3.jpg" width="14" height="44" alt=""></td> <td> <img src="about.gif" width="85" height="44" alt=""></td> <td> <img src="blank3.gif" width="14" height="44" alt=""></td> <td> <img src="contact.gif" width="114" height="44" alt=""></td> <td> <img src="blank1.jpg" width="151" height="44" alt=""></td> </tr></table></body></html> Many Thanks in AdvanceCatherine
  7. i need help moving my search bar on my website to the left. i don't know anything about HTML but I'm learning i just cant figure this out can someone please help? i added a picture of what my site looks like maybe it could help. i don't even know where to start looking please help! i want to get my site up and running before my trial is over. My HTML: <!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><title></title><!--DYNAMIC PAGE-SPECIFIC META TAGS WILL BE PLACED HEREDO NOT ADD YOUR OWN META TAGS, ONLY PUT CSS/JAVSCRIPT INCLUDES IN YOUR HEAD TAG--><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /><link href="/v/vspfiles/templates/104/css/Imports.css" rel="stylesheet" type="text/css" /><script type="text/javascript" src="/v/vspfiles/templates/104/js/v_custom.js"></script></head> <body id="body"><div id="header"> <div class="site_tools"> <div id="display_homepage_title" class="colors_homepage_title"><img src="/clear1x1.gif" style="height: 26px; width: 350px;" border="0" /></div> <div id="search_box"> <label id="search_label">Search:</label> <div id="display_search"> <form action="Config_FullStoreURLSearchResults.asp" method="get" name="SearchBoxForm"> <table cellspacing="0" cellpadding="0" border="0"> <tr> <td valign="middle"><input type="text" maxlength="20" value="" name="Search" onfocus="if (this.value == 'Search') {this.value = '';}" onblur="if (this.value == '') {this.value = 'Search';}" /></td> <td valign="middle"> <img border="0" onclick="document.forms['SearchBoxForm'].submit();" src="/v/vspfiles/templates/104/images/template/btn_go.gif" style="cursor: pointer;" alt="Search"/></td> </tr> </table> </form> </div> </div> </div> <div id="top_nav"> <ul> <li><a href="Config_FullStoreURLaboutus.asp">About Us</a></li> <li><a href="Config_FullStoreURLshoppingcart.asp">View Cart</a></li> <li><a href="Config_FullStoreURLmyaccount.asp">My Account</a></li> <li><a href="Config_FullStoreURLhelp.asp">Help / FAQ</a></li> </ul> </div> <div class="clear"></div> <div id="display_menu_3" class="topmenu"></div></div> <div id="content"> <table border="0" cellspacing="0" cellpadding="0"> <tr> <td valign="top" id="left_nav" width="160"> <div id="main_nav"> <div id="first_nav" class="nav_section"> <h3 style="color: Menu1_Title_TextColor; background-color: Menu1_Title_BgColor;">Menu1_Title</h3> <div id="display_menu_1" class="left_menu"></div> </div> <div id="second_nav" class="nav_section"> <h3 style="color: Menu2_Title_TextColor; background-color: Menu2_Title_BgColor;">Menu2_Title</h3> <div id="display_menu_2" class="left_menu"></div> </div> <div id="fourth_nav" class="nav_section"> <h3 style="color: Menu4_Title_TextColor; background-color: Menu4_Title_BgColor;">Menu4_Title</h3> <div id="display_menu_4" class="left_menu"></div> </div> <div id="fifth_nav" class="nav_section"> <h3 style="color: Menu5_Title_TextColor; background-color: Menu5_Title_BgColor;">Menu5_Title</h3> <div id="display_menu_5" class="left_menu"></div> </div> </div> <div id="display_promotions_999"> <p>Nav Promotions</p> <br /><br /><br /> </div> </td> <td id="content_area" valign="top" ></td> </tr> </table></div> <div id="footer"> <div id="footer_top"> <ul> <li><a href="Config_FullStoreURLaboutus.asp" > Company Info</a></li> <li><a href="Config_FullStoreURLterms.asp" > Terms of Use</a></li> <li><a href="Config_FullStoreURLaffiliate_info.asp">Become an Affiliate</a></li> <li><a href="Config_FullStoreURLpindex.asp" > Product Index</a></li> <li><a href="Config_FullStoreURLcindex.asp" > Category Index</a></li> <li class="last"><a href="Config_FullStoreURLhelp.asp" > Help</a></li> </ul> </div> <div id="footer_bottom"> <p><a href="Config_FullStoreURLterms.asp" >Copyright © <script type="text/javascript">document.write((new Date()).getFullYear());</script> Config_CompanyNameLegal. All Rights Reserved.</a> <!-- =========================================================================================== VOLUSION LINK - BEGIN =========================================================================================== Customer has agreed per Volusion?s Terms of Service (http://www.volusion....onthtomonth.asp) to maintain a text hyperlink to "http://www.volusion.com" in the footer of the website. The link must be standard html, contain no javascript, and be approved by Volusion. Removing this link breaches the Volusion agreement. --> Shopping Cart Powered by <a href="http://www.volusion.com" target="_blank">Volusion</a>.</p> <!-- =========================================================================================== VOLUSION LINK - END =========================================================================================== --> </div> </div></body></html> My CSS: /* ############################### BEGIN FIXES ############################### *//* admin box */.qe_toolbar_ovr{z-index:9999 !important;}/* quick edit toolbar color fix */.qe_toolbar_ovr td{color:#000;}.qe_toolbar_ovr td a{color:#000 !important;} /* --- Color Fixes for Black Templates W09 --- */.description{color: #000 !important;}.product_name{color: #000 !important;}.quantity{color: #000 !important;}.price{color: #000 !important;}#table_checkout_cart0, #table_checkout_cart2, #table_checkout_cart3 {background-color:transparent !important;}#span_Shopping_Cart_UnEditable td {color: #ffffff ! important;}#font_checkout_cart a {color: #ffffff ! important;}#font_checkout_cart a:hover {color: #ffffff ! important; text-decoration: underline ! important;}/* winter09 */.next_page_img{width:auto !important; height:auto !important;}.previous_page_img{width:auto !important; height:auto !important;}.soft_add_content_area span, .quantity{color:#000;}.soft_add_wrapper {z-index:999;}/* ############################### END FIXES ############################### */ body{ text-align:center; margin:0; padding:0; font-size:12px; background:#000 url(../images/Template/body_background.gif) repeat-x top left; font-family: Arial, Tahoma, helvetica, sans-serif; margin: 15px;} #body .clear{clear:both;} #body a{ text-decoration:none;}#body li.last{ margin:0; padding:0; border:none;}#body a:hover{ text-decoration:underline;}#header{ width:984px; height:160px; padding:0; margin:0px auto; text-align:left; background:url(../images/template/header_bg.jpg) no-repeat left top;}#header .site_tools{ float:left; padding-top:40px; width:595px;}#header div#display_homepage_title{ float:left; width:355px; margin:0; padding:0; height:58px; text-align:left; font-size:1em;} #header div#display_homepage_title a{ text-indent:-9999px; display:block; width:100%; height:100%; text-align:left;}#header div#display_homepage_title a#homepage_title{ margin:0; padding:0; text-indent:0; display:block; width:100%; height:100%; font-size:2.2em; background:transparent; text-align:left;} #top_nav { margin:0; padding:0; width:375px; height:19px; background:url(../images/Template/top_nav_menu.gif) no-repeat 0 0; text-align:left; float:right;} #top_nav ul{ margin:0; padding:0; list-style:none; width:100%; padding-left:2em;} #top_nav ul li { display:inline;} #top_nav ul li a{ color:#FFFFFF; padding-right:3em; text-transform:uppercase; font-family: Arial, verdana, sans serif; font-size:10px; } #top_nav ul li a:hover{ color:#B9CED5; text-decoration:none;} div#search_box{ float:right; padding:10; text-align:left; width:200px; height:19px; margin:0;}#search_box label{ color:#939393; text-transform:uppercase; font-family:Arial, Helvetica, sans-serif; font-weight:normal; font-size:12px; display:block; }#display_search{ margin:0; padding:0;}#display_search form{ padding:0; margin:0;}#display_search table td{ vertical-align:middle; height:19px; margin:0; padding:0;}#display_search input{ margin:0; padding:3px; vertical-align:middle; width:160px; border:1px solid #353535; font-size:10px;} #display_search img{ margin:0; padding:0; display:block;} #header .topmenu{ margin:28px 0 0 28px; height: 20px;} #content{ padding:0; margin:0; text-align:left; width:984px; margin:0px auto; background:#000 url(../images/Template/content_background.gif) repeat-y right top;} #content > *{ text-align:left;} #left_nav{ margin:0; padding:0; background:#000 url(../images/template/left_nav_tile.gif) repeat-y left top; height:100%; width:197px; } #left_nav h3{ margin:0; padding:0; color:#fff; font-size:12px; font-family:"Trebuchet MS"; background:url(../images/Template/left_nav_title.png) no-repeat right top; text-transform:uppercase; text-align:left; font-weight:bold; height:19px; vertical-align:middle; line-height:19px; padding-left:2.5em; margin-right:.5em; margin-bottom:1.5em;} #left_nav #main_nav{ margin:0; padding:0; padding-top:1em; background:url(../images/template/left_nav_top_background.gif) no-repeat left top;} #left_nav #main_nav div.nav_section{ width:197px; padding:0; margin:0;} #display_promotions_999{ padding-left:2em; text-align:center; width:162px; margin-bottom:2em;} #content #content_area{ margin:0; padding:0em; padding-right:.2em; padding-bottom:3em; padding-left:10px; text-align:left; width:762px;} #content #content_area table{ text-align:left;}#footer{ margin:0; padding:0; text-align:left; width:984px; height:50px; position:relative; margin:0px auto; font-size:.8em; color:#fff; margin-bottom:.2em; font-family:Arial, Helvetica, sans-serif; background:url(../images/template/footer_background.gif) no-repeat left top;} #footer_top{ background:transparent none repeat scroll 0%; color:#FFFFFF; font-size:10px; font-weight:normal; left:1em; position:absolute; text-align:center; top:1.65em; width:547px;} #footer_top ul{ list-style:none; margin:0; padding:0; text-align:left; margin-left:2em;} #footer_top ul li{ border-right:1px solid #6F6F6F; display:inline; font-size:1.1em; font-weight:normal; margin-right:0.5em; padding-right:0.5em; text-align:left;} #footer_top ul li a{ color:#fff; font-weight: normal;} #footer_bottom{ margin:0; padding:0; color:#fff; position:absolute; text-align:right; font-size:10px; font-weight:normal; top:1.65em; right:1em;}#footer_bottom p{ margin:0; padding:0; color:#6d6d6d;} #footer #footer_bottom a{ color:#6d6d6d ;}#footer a{ color:#fff; font-weight:normal;} .dropdown_select{ margin-bottom:1em;}.dropdown_select select{ width:145px; margin:0; padding:0; margin-left:.5em; font-size:9px; border:1px solid #ccc;}
  8. I wrote a simple HTML web page on my home computer. It appeared fine as both a .txt and .html. But when I transferred (FTP via FileZilla or Core) it to the webhost (GoDaddy) the text was changed and the webpage contained symbols and Chinese characters. http://www.scottyproductions.org/Blog.html. Main site: www.Scottyproductions.org. I finally was able to upload the web pages directly throught the GoDaddey FTP so they are now working/displaying the text properly. I can't figure out why my script changes when it is uploaded to the webhost by FiliZilla or CORE FTP but not by GoDaddy. When you open the "View" Source" from the website, there are many characters which were not in the original script. GoDaddy says that their server is working properly. I have re-downloaded the current FileZilla program; and this also happens when I use Core FTP. I have deleted the file on the server and overwritten and re-transferred the one from my computer (with normal script) but this has not helped. When the HTML page or TXT file appear on the server they contain unusual character. Any idea why or how it can be corrected. It has now been uploaded and works fine so the web pages are OK.
  9. So I am at the part of my website where I need to decide how to display individual products being sold on the website. I want to display the picture, a description, and link it to a paypal account where the individual product can be sold. But I am unsure how to do it. I could do it with HTML easily, but I am wondering if I should use PHP or another programming langauge so I dont have to create 1 page per product, so I dont have to create 50 additional pages. Im thinking that I would have to create a template page using HTML or PHP and then use the programming language to fill in the description and images according to which link (product) they click. How would I do this exactly? I dont have a ton of experience with PHP, am I way over my head? And would PHP would well with PayPal? again, would that be a huge project?
  10. Hi, I am busy testing out a lightbox form that I'm working on and I've got all to work except the "success" or "thank you" page.Basically I want the user to fill in the online form and when the they are click 'submit', the "thank you" message or page resolves in the same lightbox that the form was in. Go to www.testing123.co.za/test.htm and click on that link you see saying "AJAX SuperBox".The lightbox is opening up an HTML page within in the test.htm page (basically acting like an iFrame?).When I click submit, the page resolves to the success.htm page (which it should) but not in the lightbox frame. I don't want visitors to leave the test.htm page. My headers at the bottom of my process php form shows as: '; $headers = "From: $from\r\nBCC:{$bcc}\r\n"; $headers .= "Content-type: text/html\r\n"; $success = mail($to, $subject, $sBodyNew, $headers); header('Location: http://www.testing123.co.za/success.htm'); ?> I assume the Location url above needs code added to it so that it works within the lightbox? Or is there an easier way to do this? Thanks guys!
  11. In a page I have, I have 2 links. each link relates to add or just view. Link 1) is where a user adds an entry. and link 2 is where you can view the entry. look at the code blow: <a href="{SITE_ROOT}blog/addentry.php?bid={BID}" style="margin-left:100px;text-decoration:none">Add Entry</a><a href="{SITE_ROOT}blog/viewentry.php?bid={BID}" style="margin-left:100px;text-decoration:none">View Entries</a> The 1st link. I don't just want any one adding a new entry to this persons blog. I only want the user who made the blog to be a allowed to add to his/her blog. So how can I hide the 1st link from every one other then the user who created the blog.
  12. i want to make it so that what you put in an HTML forum when sent will add to a separate HTML page with the input from the forum inserted into code. For example, on a forum in typeit.html you type "My Name" into the name text box and "This Is My Message" into the message box. You clock submit and it sends it to the PHP page which sends <b>My Name</b><br><p>This Is My message</p><br> to a separate HTML page called mytxt.htmlNote that was an example and what the names of pages and forums are above are different in reality.I already have a code to simple print the text as it is but i don't know how to make code with PHP.Here is the code that I have so far: in photo_main.html <form action="upload_file.php" method="post"enctype="multipart/form-data"><input type="file" name="file" id="file" /> <br />Title:<INPUT TYPE="text" NAME="fname"><br>Description:<INPUT TYPE="text" NAME="age"><br>Photo Album:<INPUT TYPE="text" NAME="alb"><br><input type="submit" name="submit" value="Submit" /></form> in upload_file.php <?php if ($_FILES["file"]["error"] > 0) { echo "Return Code: " . $_FILES["file"]["error"] . "<br />"; } else { echo "Upload: " . $_FILES["file"]["name"] . "<br />"; echo "Type: " . $_FILES["file"]["type"] . "<br />"; echo "Size: " . ($_FILES["file"]["size"] / 1024) . " Kb<br />"; echo "Temp file: " . $_FILES["file"]["tmp_name"] . "<br />"; if (file_exists("images/" . $_FILES["file"]["name"])) { echo $_FILES["file"]["name"] . " already exists. "; } else { move_uploaded_file($_FILES["file"]["tmp_name"], "images/" . $_FILES["file"]["name"]); echo "Stored in: " . "images/" . $_FILES["file"]["name"]; $a_str = array($_POST["fname"],$_POST["age"],$_POST["alb"],$_FILES["file"]["name"]); $contents = implode(PHP_EOL, $a_str); $contents .= PHP_EOL . PHP_EOL; file_put_contents("photos.txt", $contents, FILE_APPEND); print("|$contents|"); } }?> I want to make it so that instead of text going to a txt file I want code going to an HTML file so that i don't have to keep manually putting in uploaded photos. I am going to use an iframe to put in the HTML to a page. If there is a better way than an iframe that would be great too. I hope I was not confusing.
  13. Hi. After a lot of studying I've learned how to create valid xml schemas and data files, and I've been able to display some of that data on a web page but not all of it. For example, if there are multiple <city> nodes under a <state> node, I've been able to display all of the state nodes in the file using "for-each select" and "value-of select", but only the first city in each state; none of the other cities. How do I display multiple items at a subordinate level like cities in a state? Thanks.
  14. Hi, I operate a website - www.afilmcanon.com - on the squarespace operating system. There's an html formatting option. At the moment, I've formatted my entries so that the text is justified on both the right and left sides. However, I am wondering if there is an html code that distributes the text so that it is not only justified on both side, but ends at the very end of the bottom line, ie provides a symmetrical block of text. I've checked a few html code sites, but to no avail so far. Kind regards,Billy
  15. Hi all, I'd like to display a page of HTML after a short delay. My first approach, which works, was to enclose the HTML markup inside a document.write() function and call that function from setTimeout(), e.g. something like this: t1 = setTimeout("writePage()", 10000);...function writePage() {document.write("<h1>Hello World!</h1>");} But this can get quite complicated with a longer page with styling, as I'll have to escape all quote marks with a backslash, and also add line-continuation characters. And it really gets hairy if I want to include a navbar with its own document.write() functions within the HTML that's already nested within a document.write(). Is there a better way? Is there some way to implement a simple wait(n) function that just waits for n milliseconds before proceeding?
  16. hello there w3teachers and friends. I have some question. I believe that I actually have wrote like a several tens of thousand line of script. But, just a few weeks ago, I met some script that changed a bit of my belief. Well, simply let me make turn the question into some example: case 1: <?phpif($foo == "foo"){echo "<span>some statement is running</span>";}?> case 2:<?phpif($foo != "foo"){?><span>theres no running statement</span><?php}?> okay, the example script that has changed my belief is the second case. So, my question is:1. which example do you thing is good for practice 2. I can see that sometimes, the second case is easier, but sometimes may burden since I need to write <?php echo ;?> to instill some php in it. Thanks a lot and give a comment!!
  17. I want to make it so that when you hit the submit button, the text in the text box is added onto a separate html document. Don't explain how, just give me a code example and some basics on it.
  18. Hi, I have an HTML table of variable size (it is actualy a grid on the server) and I have a problem to print it in IE 8. When a page break occures the content is cut off in the middle of the row. I tried to use javascript to calculate the position of the tr tag relative to page length and then set the pageBreakBefore attribute, but this is not my favorite solution. Firefox seems to handle printing automatically, without any css or jscript required, but I nedd it to work in IE too. I would appriciate any kind of help. Tnx in advance
  19. gatormancl

    Ie 9 Bug?

    for some reason there is a gray line which randomly appears on the left of all my content. This is only limited to IE 9. I don't know why this is occuring and ive never run into this problem. To see what im talking about, visit this link http://w.greenlabelgraphics.com in IE 9, switch to dev tools and view in IE 8, or 7, or view in diff browser such as Safari, FF, Chrome... Any help would be appreciated, thanks a lot in advance.
  20. Ive been working with HTML since the 7th grade so I know how it works for the most part. I can look at any html script and tell what does what and how to edit it, but never tried learning how to actually write it from scratch, until now. I want to start making websites asap and looking through the html course i notice that i know/understand most of whats in the basic (except for some vocabulary and name of parts). I am still taking my time through it to make sure I don't miss anything. My question is, how much of the language am I supposed to memorize and know at the top of my head?Should i take the time to memorize every little thing before continuing (like this http://w3schools.com/tags/default.asp) or should I go through the whole course, learn the basics, and look back only when i need to, and eventually i'll end up memorizing most of it?
  21. na_da

    Html Forms

    Apologies if this is in the wrong section! I am sorting out a site that has a t&c section before the user enters the website, basically people need to accept the terms and conditions of the site - then enter their email address, when the user hits submit the email they enter needs to be sent to my email address, and then the page redirects to the home pageI have basically got it in essence the only thing i cant seem to make it do is send the email address they enter to my email address - this is the code I have so far:<----------form method="post" onsubmit="this['redirect'].value = this['redirect'].value + '?EMAIL=' + this['email'].value;" action="/?page_id=4"><div align="left"><font face="Verdana, Arial, Helvetica, sans-serif"> Email:<input type="text" size="20" name="email"><input type="submit" name="submit" class="home-sections" value="Accept"><input type="hidden" value="/?page_id=4=" name="redirect"><input type="hidden" value="myemail@myemail.com" name="mailto"><br></font> </div></form-----------> If anyone can help on point me in the right direction I would really appreciate it.
  22. At this address: http://into.net23.net/ beyond the index page lies just one other file, an .html page, on that page is a string of characters. This is a website created to test security for a website at a different address, it is my hope to keep paid content there using this format, without using any genuine security. I have tried all i know to find the page, download the entire website. nothing has yielded this page yet. Can anyone find this page and tell me what this string of characters is please? Or is it genuinely secure?
  23. Nandish Roy


    Hi All, I'm working on XML and got a new project for voice XML..... So can someone help me how to connect XML to voice XML... I mean, XML doc to voice xml.... or any link so that I can learn abt Vice XML. Thank you.
  24. Is it possible to take all the pages from a website and make a spreadsheet out of the URLs and titles instead of having to manually go through the site and do it?
  25. hello newbie here.. i got a big issue whit a eclipsephp i recently installed at his latest version and the problem is that it dont have CSS or HTML codes, i cant call , ID's , Class, Browse whit Ctrl + Space, even if a call it for a external file i it dont show me whit Crtl + Spaces the this that i need, and many code more when i need it like Dreamweave ... in Dreamweaver you have all dose option whit Crtl + Space they told me that you have a way to install plugins Css and Html on EclipsePHP how and where i do that ?
  • Create New...