516 Posted Topics
Re: That's funny, coming from YouTube. Especially since YouTube was built on copyright infringing material. | |
Re: Try this[code=php] <?php putenv("TZ=GMT"); $gmt= date("d-m-Y h:i A"); echo "<input type='text' value='$gmt' />"; ?> [/code] | |
Re: You'll need some type of ftp (file transfer protocol) software. This will allow you to move your files from your local machine to the server that the site is hosted on. Most web editors like Dreamweaver and FrontPage already have ftp included. Otherwise, there are many free ones like Filezilla … | |
Re: It's the nesting order of the elements. For instance: [code=css] p .red { color:red }[/code] would apply a style to elements nested in p tags with the class="red" like below: [code=html]<p>The following span is <span class="red">red</span></p>[/code] It would display as: The following span is [COLOR="Red"]red[/COLOR] Also, [code=css] .class1 p {color:green} … | |
Re: You can use POST array or you can write the data to a db or file that both can share. | |
Re: li-list item; ul- unordered list; They are used to create a list in html. Read more at [url]http://www.w3schools.com/TAGS/tag_li.asp[/url] | |
Re: It's just a bunch of divs nested together with an external CSS file. You should be able to view the source code and see how it is done. You'll also want to look at the css file to see how the elements have been styled. It's all there. | |
Re: I'm sure there is similar open source software to Flash but it will probably not have near the capabilities. You could try to run Flash on Linux through [URL="http://www.winehq.org/"]WINE[/URL]. | |
Re: Yes, it will require some client side JavaScript, but not much: [code=html]<input type="button" value="Play" onclick="this.value='Playing...'" />[/code] Is this what you were needing? | |
Re: Just do this if you want to assign it to the body: [code=php]<style type="text/css"> body{ background-image:url('<?php echo $profpic ;?>'); } </style>[/code] Note: This should go in the head of the document. | |
Re: Your links contain two forward slashes instead of one ie:.com// instead of .com/ | |
Re: The html on the page has been put together poorly. JavaScript before the doctype... Validate a page with [URL="http://validator.w3.org/check?uri=http%3A%2F%2Fwww.nhrmc.org%2Fbody.cfm%3Fid%3D2890&charset=(detect+automatically)&doctype=Inline&group=0"]W3C[/URL] and see for yourself. The page mentioned contains 147 errors. You can't expect this site to work consistently in all browsers. Either mandate IE7 as the required browser or contact the … | |
Re: When using heredoc, you must open and close the variable with the same identifier. [code=php]$body = <<<em <br><hr><br> name: $name <br> surname: $surname <br> email: $email <br> telephone: $telephone <br> comments: $comments <br> EOD;[/code] should be: [code=php] $body = <<<EOD <br><hr><br> name: $name <br> surname: $surname <br> email: $email <br> … | |
Re: You could just reduce width and height like suggested, however the client will still have to download the full sized image into the cache then resize it. Users are impatient and if the images are more than a couple 100kb, they may just leave before the pics are finished downloading. … | |
Re: Just use > instead of GREATER THAN. Since xCount is numeric, you also won't need quotes around it. So I think: [code=php]$sql = "SELECT * FROM `textads` WHERE `expos` > xCount ORDER BY RAND() LIMIT 3"; [/code] should work. | |
Re: Are you getting a "Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by" warning at the beginning of the script? If so you may have BOM characters added to the script. Some WYSIWYG editors will add extra BOM characters before the beginning of the script causing an … | |
Re: Read [URL="http://www.search-this.com/2007/03/12/no-margin-for-error/"]No Margin For Error[/URL]. Also, if you'll download the Firefox [URL="https://addons.mozilla.org/en-US/firefox/addon/60"]Web Developer[/URL] addon, it will allow you to outline elements and you can compare the outline to where you think the element should be. | |
Re: Are you referring to [URL="http://www.google.com/search?q=captcha+php"]Captcha[/URL]? You should be able to find quite a few scripts to do what you need in the link. | |
Re: Don't use a submit button. Use input type ="button" and use a javascript onclick event to trigger the script. Also, to run a script on the server, you'll need to look into AJAX. | |
Re: You could use JavaScript to detect the user agent then write a link prefix variable for each link. A much better solution would be to install a testing server (WAMP, XAMPP, IIS) on your machine. This way you can access your site by typing [url]http://localhost[/url] into the url instead of … | |
Re: Enter your question in the [URL="http://www.daniweb.com/forums/forum8.html"]C++[/URL] forum. This forum is for HTML and CSS only. | |
Re: Have you got a coldfusion server installed. If so, which version? | |
Re: Yes. Use absolute positioning and set bottom attribute to 20px. [code=css] position:absolute; bottom:20px; [/code] | |
![]() | Re: Validate the page with the [URL="http://validator.w3.org/"]W3C[/URL]. I'm sure you'll find several errors. |
Re: In the form element, add the attribute target="_top". [code=html]<form action="process.php" target="_top">[/code] Have a look at all of the possible target values: [url]http://www.w3schools.com/TAGS/att_form_target.asp[/url] | |
Re: I use the [URL="http://www.phpclasses.org/browse/file/919.html"]class.phpmailer.php[/URL]. It will add all the headers for you and will work for both plain text and html email. It works for hotmail, yahoo, gmail, and many others. | |
Re: You have to understand that each browser sets a certain amount of white space between each element. Please read [URL="http://www.search-this.com/2007/03/12/no-margin-for-error/"]no margin for error[/URL]. You'll have to reassign the problem elements to have 0 margin and padding. Also remember that 0px = 0 pizzas = 0 cigarettes. 0=0, regardless of what … | |
Re: This may or may not be the problem, but it is not valid: [code=html] <img src="images/gdc1.jpg" alt="Garden Design Company" width="300" height="185" float="right" />[/code] should be: [code=html]<img src="images/gdc1.jpg" alt="Garden Design Company" width="300" height="185" style="float:right" />[/code] | |
Re: Keep the table element out of the loop. As long as <table> and </table> aren't being repeated in the loop, your not going to have multiple tables. | |
Re: If you are wanting the area code to enter into the textbox after a click, use the onclick event (JavaScript). | |
Re: Think of a class as a class in school. The class contains many students. Think of id as a unique student in the class. Use a class when you have many elements that need the same style applied. Use an id when the element will only be used once on … | |
Re: Download xampp or wamp. They are free, small downloads, that require no to minimum configuration changes. Here's a comparison of the two from oracle.com: [url]http://www.oracle.com/technology/pub/columns/hull_php2.html[/url] | |
Re: What does this have to do with php? You have no php in your code at all. You might want to consider adding it in though. No form should be submitted without server side validation. Using JavaScript for validation is kind of like putting a plastic lock on your door. | |
Re: Hotmail will scramble anything that is surrounded by quotes in html, so remove all single and double quotes from the email. In other words: [code=html]<a href="http://www.google.com">[/code] would need to be [code=html]<a href=http://www.google.com>[/code] | |
Re: I don't see it either. What I would do though: Scale down the header or just get rid of it. It takes up over half the page! Also, maybe a white background. Just my opinion | |
Re: I do both, and can tell you first hand that the tiny amount of time you save in development is going to be a very small drop in the bucket compared to the overhead costs of licensing and setting up a cf supported server. Yes, cf has many built in … | |
Re: [QUOTE]I dont know anything about SQL server and so I am afraid all my pages and connections to database would be totally messed up or ruined.[/QUOTE] Make a backup! (Copy, paste, rename "backup.mdb") As far as the migration goes, use the [URL="http://support.microsoft.com/default.aspx/kb/237980"]Microsoft Upsizing Wizard[/URL] or [URL="http://www.microsoft.com/sql/solutions/migration/access/default.mspx"]SQL Server Migration for Access[/URL] … | |
Re: Not a big fan of [URL="http://www.google.com/search?q=download+microsoft+expression+web+2&btnG=Search"]google[/URL] I take it. Just a wild guess, [url]http://www.microsoft.com/expression/[/url] Also, if you are currently a student in college, you can download a fully licensed copy free from [URL="https://downloads.channel8.msdn.com/"]dreamspark[/URL] site. | |
Re: Could be wrong but I think this will require some type of middleware like PHP to communicate between them. | |
Re: Michael Kofler wrote a VBA module that will do this. You'll need Excel, Word, or a MS program that can run VBA. [URL="http://www.kofler.cc/mysql/mssql2mysql.txt"]Here[/URL] is the script with commented instructions on how to use and what variables to change. I've never used this but it looks like a very good, simple … | |
Re: If you'll add an index file to the folder, the directory files wont be listed. Obviously this is a short term solution to the problem. The better, long term solution, was already made by Xan. | |
Re: Whether or not the background image is printed is up to the browser, nothing you can do with code. It's a setting in the browser which decides whether or not to send background images to the printer. In IE7, click Tools->Internet Options->Advanced. Click the check box under Printing for print … | |
Re: [url]www.w3schools.com[/url] will hold your hand through every step. By the time you're done there, you won't need any of the other links mentioned. | |
Re: After the body tag, throw in [icode]<a name="top"></a>[/icode] [code=html] <body style="background-color:#4b2600;" onload="MM_preloadImages('images/home_over.gif','images/our-cakes_over.gif','images/Gourmet-Gifts_over.gif','images/Order_over.gif','images/Wholesale_over.gif','images/faq_over.jpg')"> <a name="top"></a> [/code] |
The End.