516 Posted Topics
Re: The read eye tool is used to correct red eyes in photography. [URL="http://en.wikipedia.org/wiki/Red-eye_effect"]Here[/URL] is some explanation about the red eye effect. [URL="http://graphicssoft.about.com/od/photoshop/ss/cs2morenew.htm"]Here[/URL] is some explanation about how the tool works in Photoshop. | |
Re: Use substr. I hate to repost this so [URL="http://www.daniweb.com/forums/thread131085.html"]here's[/URL] the link. Good luck | |
Re: I dont believe that you can access mail remotely via tcp. | |
Re: Repost your question in the JavaScript forum. Html and/or CSS can not do what you ask. | |
Re: I think you are looking for a [B]preloader[/B]. A preloader is a movieclip which plays until getBytesLoaded=getBytesTotal (the whole flash movie is loaded). After loaded, the movie goes to the main frame using gotoAndPlay. [URL="http://www.kirupa.com/developer/mx/percentagepreloader.htm"]Here's[/URL] a tutorial. | |
Re: Its Css and not really anything advanced about it. If the image is big enough (like the site you referred to), it won't repeat. If it's small and you don't want it to repeat, simply say:[icode] background-image:url('backgroundImage.jpg'); background-repeat:no-repeat;[/icode] | |
Re: The reason is that each browser applies its own default stylesheet to your page. What this means is that each browser adds a certain amount of margin, padding, line height... to each element. The problem with this is that IE may add 2px and FireFox may add a different amount. … | |
Re: [URL="http://www.captcha.net/captchas/"]captcha[/URL] | |
Re: No, CSS is not hard to learn but, it does take time to master. You'll catch the basic concepts in a day or so but, because you can manipulate the design in so many different ways, it will take a while to master them all. You'll need to get used … | |
Re: I'm guessing you want a different redirect based on some portion of the url. I could be wrong. What I would do is let JavaScript get the URL, trim it down to just the domain name using substring, and then compare the domain name to one of the possible values. … | |
Re: [icode]$id = $_GET['id'];[/icode] This is looking for a get variable with name='id'. Change name="textfield" to name="id". I believe this will fix it. | |
Re: Your going to have to use JavaScript. PHP runs on the server. Once the server passes the page to the client, PHP, by itself, can no longer interact with the page. Only JavaScript can. You could either: a.) have php print or echo a javascript function and an onchange event. … | |
Re: [URL="http://www.the-pc-guru.com/How_to_restore_the_registry_.php"]Here's[/URL] a tutorial on how to roll your registry back in the recovery console. Basically you pick from several restore points and reset your registry to that day. Fairly painless. | |
Re: I think you are looking for the mysql_field_name() function. Have a look [URL="http://scriptplayground.com/tutorials/php/Printing-a-MySQL-table-to-a-dynamic-HTML-table-with-PHP/"]here[/URL] or [URL="http://www.w3schools.com/php/func_mysql_field_name.asp"]here[/URL]. Keep in mind that in doing this, you are revealing your table layout word-for-word. | |
Re: I had this problem with a site. Turns out, IE has some type of default body margin that attempts to center the page when you don't instruct it to. There is no sure fire way to center a page without the use of the deprecated center tags and they will … | |
Re: You want something like this? This textbox clears when the user clicks it. [code=html]<input type="text" onfocus="this.value=''; this.onfocus=null;" name="notes" value="enter ticket number here" />[/code] | |
Re: So glad you decided to use the php forum to promote your site. Next time, use a title like "Desperate Web Developer Seeking Employment". Come on man. | |
Re: Your checkboxes need to be an array that php can loop through. All should have a [icode]name="chkField[]"[/icode] or something similar. The value is the only thing that should be different between one checkbox and the next. Then in the form processor, [icode] foreach($_POST['chkField'] as $value){ $sql="DELETE FROM TABLE WHERE id=$value"; … | |
Re: You can find out machine specific ram information for any machine with the Crucial Memory Advisorâ„¢ tool at [URL="http://www.crucial.com"]www.crucial.com[/URL]. | |
Hi all. I have been doing some registry tweaks lately to improve performance. Everything went great for a couple of days and now xp wont let me login. It boots normally and everything appears to be fine but when I click on the profile to login, nothing happens. Last Known … | |
Re: Dave, I've looked at your page in IE6 and IE7, Safari 3.1.1, and Firefox 2.0 on XP SP2. The page looks consistent across all. I don't see any lines under the navigation links and they all seem to be under the header image. | |
Re: Shouldn't [icode]for (var counter=0; counter<theForm.del.length; counter++)[/icode] be [icode]for (var counter=0; counter<theForm.del.length; counter++)[COLOR="Red"]{[/COLOR][/icode] and [icode]return(true);[/icode] should be [icode]return filledIn;[/icode] | |
Re: You should probably start out by pulling the commas out with str_replace. Then use (int). [URL="http://www.phpf1.com/tutorial/php-string-to-int.html"]Here's[/URL] a tutorial. | |
Re: Absolute position the elements. If you want them to be positioned on the far right and left sides of another element you may also need a container div with a relative position. [code=css] p { display: inline; position: absolute; left:0px; } ul, li { position:absolute; right:0px; display: inline; margin: 0; … | |
Re: Replace [icode]margin-left:50%[/icode] with [icode]padding-left:50%[/icode]. | |
Re: Do you know anything about server side scripts (php,asp,jsp...) and which one(s) can you use on your server. Once you find that out, look into using sessions. | |
![]() | Re: [icode]my_sound.loadSound("music/track1.mp3", false);[/icode]This tells me that the music is being downloaded and is not actually in the flash movie or library. Look in the folder that you downloaded. It should contain a subfolder named music. Inside (I think) will contain mp3's named track1.mp3,track2.mp3, & track3.mp3.[icode]my_sound.onSoundComplete = function() { numtrack++; if (numtrack … ![]() |
Re: Try putting this at the top of every page that you want the counter to increment. I think this is what you are asking. [code=php] <?php session_start(); if(empty($_SESSION['counter'])){ //initialize the counter if empty $_SESSION['counter']=1; } else{ //increment the counter if counter is set $_SESSION['counter']++; } if($_SESSION['counter']>=500){ //redirect if counter >= … | |
Re: As stated above, email is a little tricky and each isp filters it differently. The main thing to do is to include the appropriate headers and smtp information. I use a [URL="http://phpmailer.codeworxtech.com/"]php mailer[/URL] class and it works for yahoo, hotmail, and gmail(they will disable the image by default but the … | |
Re: Yes. You'll need some JavaScript and a server side script like PHP, ASP, JSP, or ColdFusion. The form field will populate using an onclick event. You could also incorporate an xmlhttprequest (AJAX) to do this. | |
Re: If you have a common style sheet that's used throughout the site, it's not hard to center your pages. Absolute position the body. Add the following attributes to the body:[code=css] body{ position:absolute; left:25%; top:5px; } [/code] You'll have to play around with the left amount until things look like you … | |
Re: I believe ryan_vietnow meant [icode]($variable21=="")[/icode]instead of [icode]($variable21="")[/icode]. It may not fix your problem, but == is used to compare a variable to a value or to another variable. = is used to assign a value to a variable. Don't get is equal to (==) confused with equals(=). You could also … | |
Re: Below is the basic layout of a w3c valid frameset document. Obviously, the header.html is the document containing the header and the content.html is the document containing the content. Unless you use a link target of _parent, A link in the content will only cause the content frame to change … | |
Re: echo or print the variable to see what it actually is. [code=php] <?php if($_SERVER['SCRIPT_NAME'] == '/bobo/index.php') { $style_home = 'style="background-color: #6C674F"'; } echo $_SERVER['SCRIPT_NAME']; ?> [/code] ![]() | |
Re: What type of query (SELECT, UPDATE, INSERT...). Also, can you provide the html for the checkboxes? | |
Re: The idea is to store the images in a folder on the server and to store the image path in MySQL. MySQL was not designed for images, only raw data. However it can be done. [URL="http://forum.codecall.net/php-tutorials/6937-tutorial-storing-images-mysql-php.html"]Here's[/URL] a link to a tutorial on storing directly to the db and [URL="http://hockinson.com/index.php?s=37"]here's[/URL] one … | |
Re: echo a meta refresh in the head of the document if certain conditions exist. [code=php] if(empty($_SESSION['ID'])){ echo'<meta http-equiv="refresh" content="0;url=http://www.yoursite.com/newpage.htm" />'; }[/code] | |
Re: HTML can't do math. You'll have to use JavaScript or something server side. What's the formula for the calculation? | |
Re: For one thing, they all use a different default style sheet. One suggestion to fix this is explained [URL="http://www.search-this.com/2007/03/12/no-margin-for-error/"]here[/URL]. Also, [URL="http://www.w3schools.com/css/css_reference.asp"]here[/URL] is a list of styles and browsers that support them. | |
Re: I can't stand frames but, the only solution I can think of would be to use them. Otherwise the document content will refresh on each page change. | |
Re: [code=SQL]UPDATE Table SET HomePhone=MobilePhone WHERE (HomePhone) Is null;[/code] | |
![]() | Re: We need to know more about your situation. Be more specific in regards to what language you are using to communicate between the form and access. |
Re: JavaScript will do this. HTML can't make decisions based on the date. A Server side script would be even better because the user can't disable it the way they can JavaScript. Anyway, here you go: [code=JavaScript] <script type="text/javascript"> var display_date=new Date('04/04/2008');//this will be the date the link starts displaying var … | |
Re: Use SELECT DISTINCT in the query. This will discard duplicate rows. It is better to set constraints like mentioned above to eliminate duplicates from being inserted though. | |
Re: You have to call session_start() before anything is outputted to the browser. Try calling session_start right after the opening php tags just to make sure. | |
Re: [QUOTE]If I go with CF and have the developer version, will it cost me anything?[/QUOTE] From what I can tell on the Adobe site, as is anything Adobe, it's a 30 day free trial and then you pay! $1299 for the standard edition and $7499 for the enterprise edition. Unless … | |
Re: In main.css, try using a pixel width of 800px or so instead of 100% for the middle class. | |
Re: Basically, how it works is you use a form on each page.: page1.php [code=html] <form method="post" action="page2.php"> First Name:<input type="text" name="first_name" /><br> Last Name:<input type="text" name="last_name" /><br> <input type="submit" name="submit" /> </form>[/code] Then in page 2, you echo the variables from page 1 into hidden fields in the form for … | |
Re: You have to find a way to evaluate each checkbox. I believe something like this would work. [code=javascript] <script type="text/javascript"> function checkCheckBoxes(){ var checkSelected = false; for (i = 0; i < document.Dates.checkbox.length; i++) { if (document.Dates.checkbox[i].checked){ checkSelected = true; } if (!checkSelected) { alert('You didn't choose any of the … |
The End.