2,295 Posted Topics
Re: because: it looks like they've been asked to make changes to existing code for a web site. the poster being unversed in coding xhtml, and not wanting to make changes outside of what was asked the OP asked for what may seem redundant questions, for an outdated language version. I … | |
Re: Does the googleads api have anything to say? the googlead is outside your page, the clicktrack is already written to report to google, so your code will have no effect if it did, you would break the googleads TOS, I would not want to argue an intellectual rights lawsuit against … | |
Re: Current standards and best practices suggest that pixels are not an appropriate dimensioning tool for laying out a web page. a crt uses approx 96 px/inch an lcd approx 120 p/inch a current hi-res plaasma, cell phone /tablet approx 267 px/inch a printer up to 4000 px /inch depending on … ![]() | |
Re: you chose a word press plugin that is designed to be a paysite front end, have you read the docs and set up the plugin, the docs on the developer site are huge so I havent read through them. | |
Re: the template creator requires his link to use the template what you are attempting is considered theft, the people you are asking to do it, are more likely to be authors, than other thieves. Not good form | |
Re: As Zagga, the site installed a new script version, malicious people could enter url/install.php and compromise the site, so the site operator should, and did not, delete install.php. Dont enter any personal information to this site, they cannot follow the simplest security, so won't handle your info any better. | |
Re: Write excellent original content, appropriate to the site purpose displayed in perfect validated code. tell about it in subject appropriate social media, with links. get linked back to | |
Re: most wysiwyg editors produceepixel measured layout, looks great on your screen, looks ridiculous on all others basic design on a wysiwyg, redone to display in em or % instead of pixels will get you by, but hand written code, is going to be prettier, faster, and more consistent overall. Pretty … | |
Re: 0px 0em 0% 0pi 0cm 0in are equally incorrect and may cause some browser/OS combinations to display improperly zero is dimensionless 0pt = 0px = 0em = 0% = 0pi = 0cm = 0in = **0** 1pt <> 1px <> 1em <> 1% <>1pi <> 1cm <> 1in | |
Re: https://codex.wordpress.org/Plugin_API details the entry points and code hooks in wordpress to integrate your code, may be a bit of reading, before you find the bit you need, but you can be sure it wont kill something important | |
Re: As WebOutGateway, original, well written content, that relates to the intent of prospective customers, will get links from valid referres, Content is King Google Webmaster tools reports always help in fixing the site errors that knock off SER | |
Re: ditto evolutionFallen's thoughts, but, javascript is unfortunately unreliable, many browsers block unload scripts have you considered a timeout on the session | |
Re: it would occupy me for about 15 minutes, then it would be another thing in the garage roofspace. so many *great ideas* are up there we have a local bloke, who offers to take hi-res photos of your house for $25, that's why I got one, but after I had … | |
Re: It is the same script type used to make all those *personalised* roadsigns ajax using imagettftext() to create a transparent overlay. This one is more sophisticated there is a texture map applied to the generated image that closely matches the underlying tshirt. The layer does not alter the tshirt image, … | |
Re: read their advertrising, it will tell you what makes it the best unfortunately advertising is a lie, and best is a subjective term Best for What? best by what considerations no real difference to anything else | |
Re: As Above, Many of the effects of clientside script can be accomplished on the server Many of the effects of serverside script can be accomplished on the client the best design choices choose horses for courses Server side, the page is smaller when sent to the browser = faster client … | |
Re: the validate function coded by the original author uses a replaceable parameter "frm" `function ValidateForm(frm) {` that way the same code can be reused with multiple form ids the script is called with a default replaceable parameter 'this' which is replaced on execution with the form id `onsubmit="return ValidateForm(this);"` is … | |
Re: How do you intend to pay for this consultive design process This is not a 'do my homework for me' site people will help you, debug YOUR work but if you expect more, you are in the wrong place google search for a tutorial on database integration, and begin yourself | |
Re: Sites promising SER, share one thing in common, they do not work, most penalise the place to submit to SE is as the first reply, mark, wrote submit to the search engine | |
Re: why not follow the directions from the one that makes the rules [google webmaster 101](https://support.google.com/webmasters/answer/35291?hl=en) google 101 says submission sites are penalised code compliant sites get higher rankings, it is easier for bots to fint content. read this thread [Read me first before asking for a review](http://www.daniweb.com/business-exchange/website-reviews/threads/459940/read-me-first-before-asking-for-a-review) in the website … | |
Re: you might then get back into SER if you stop spamming | |
Re: I always assumed that 0, is 'put the marker on the identifier for the location' in national parks and other really large single entities, the marker jumps to the labelled name, 1/2mile or more. the directions still take you to the carpark. Its usefull if you are going to a … | |
Re: if the file is at the document root, or a subfolder of the root, it is often more convenient to reference the root, the path is a constant regardless of the depth of the folder structure the site attains `<link href="/default.css" rel="stylesheet" type="text/css" media="all" />` `<link href="/css/default.css" rel="stylesheet" type="text/css" media="all" … ![]() | |
Re: No, its not urgent to me, no amount of capitals makes it urgent :grin: dont try to remake the wheel, most users already know where the print button is on their browser create a print stylesheet that makes the onscreen version, which is one shape, look better on paper, which … | |
Re: `if ($BS=='Music') {$this="beethoven's fifth symphony";}` The code is encrypted to protect the encrypted resources, you have not supplied the correct key to complete the decryption, do not know how to reference the key this is very obviously not your code those able to decode this are on the side of … | |
Re: used to do precisely what you describe, highlight current items <script type="text/javascript"> function show(Id){document.getElementById(Id).style.display="inline";} function hide(Id){document.getElementById(Id).style.display="none";} </script> and the relevant html `<span onmouseover="show('myImage1')" onmouseout="hide('myImage1')">- <u>FORE PEAK (Peak Tank)</u></span>` or more permanent, to keep the image until another text is clicked `<span onfocus="show('myImage1')" onblur="hide('myImage1')">- click here <u>FORE PEAK (Peak Tank)</u></span>` | |
Re: post the relevant code the file posted four years ago by the OP, does not look like header.php, the included file that has output where there should not be any edit: It may be as simple as moving the line `include '/computer/inc/header.php';` after the mail processor redirects | |
Re: sorry David, the OP wont return to look at the answers after three years. The code samples will be useful to others who get referred to DaniWeb from Google or other code sites because the answers work, its not a total loss Oh, Hi, Welcome to DaniWeb :) ![]() | |
Re: lets get the obvious out of the way, to make sure it isnt a doh head-slap moment \what doctype declaration it the file | |
Re: If you do this, you will see a downgrade in your SER, traffic loss, and zero customer retention nobody wants popup anything, especially when they are exiting better is a styled popover, onload, that asks the client if they WANT to answer your survey, that disappears and stays gone on … | |
Re: what he said ^^ relative path statements will remain correct ../../../folder/file will always be up3 down *folder* and access *file* relative links will work if the system is not installed at the root of the live server (or moved later) or use a config that sets a full basepath at … | |
Re: still learning sql, does this work `if mysql_query("SELECT username FROM admin WHERE 'username' = '$username';) { die('username already registered'); }` ![]() | |
Re: There is no specific number, at which the site is delisted. If the site is determined by the automated SEbot software to be using black techniques, it will be penalised >> downgraded >> delisted. If the generated backlinks are valid, the site will not be penalised. | |
Re: if an apache server you can enable mod_gzip or mod_deflate in .htaccess for this filetype something like the codescrap below, which zips the most zippable filetypes <ifModule mod_gzip.c> mod_gzip_on Yes mod_gzip_dechunk Yes mod_gzip_item_include file .(html?|txt|css|js|php|pl)$ mod_gzip_item_include handler ^cgi-script$ mod_gzip_item_include mime ^text/.* mod_gzip_item_include mime ^application/x-javascript.* mod_gzip_item_exclude mime ^image/.* mod_gzip_item_exclude rspheader ^Content-Encoding:.*gzip.* … | |
Re: not a problem, just transfer the cash to my paypal account and I will forward you a link to any of the prewritten scripts freely available to download | |
Re: another approach to the same idea <?php if(!strpos(strtolower($_SERVER['HTTP_REFERER']),'mydomainname')){ echo <<<EOT <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html><head><meta http-equiv="refresh" content="10;URL=/"> </head> <body style="text-align:center;"><a title=" someone is stealing our stuff " href="http://www.mydomain/"> <img src="http://pics.mydomain/nohotlink.jpg" width="80%" alt="no"><br> We appreciate your interest in our programs, you should get them from the source.</a></body></html> … | |
| |
Re: how big are the images ? printers are 600-2400dpi viewing images, the best screens are ~220dpi so the image does not have to be big, a 5000x4000 image looks the same onscreen as a 1000x800 image (25x smaller) maybe resize the images for the intended use, they will be smaller … | |
Re: well, umm, [no, it isnt,]( http://www.w3.org/TR/2010/WD-html-markup-20101019/datatypes.html#datatypes) > e-mail address # > Any string that matches the following [ABNF] production: > 1*( atext / "." ) "@" ldh-str 1*( "." ldh-str )…where atext is as defined in [RFC 5322], and ldh-str is as defined in [RFC 1034]. > > Examples: > … | |
Re: AJAX [Let me google that for you](http://lmgtfy.com/?q=ajax+asynchronous+javascript+and+xml) the servers update, the updates are reflected in the page knowing the acronyms is the hard part, cant google for it if you havent already got the name | |
Re: http://php.net/manual/en/function.fgetcsv.php examine the section on setting the delimiter `while ($data = fgetcsv($csvfile,1000,"¤",etcetera` | |
Re: <script type="text/javascript"> function sizer() { var viewportheight; if (typeof window.innerWidth != 'undefined') { viewportheight = window.innerHeight } elseif (typeof document.documentElement != 'undefined' && typeof document.documentElement.clientWidth != 'undefined' && document.documentElement.clientWidth != 0) { viewportheight = document.documentElement.clientHeight } else { viewportheight = document.getElementsByTagName('body')[0].clientHeight } document.getElementById('extern').style.height=viewportheight-26 + 'px'; } document.onresize = sizer(); </script> … ![]() | |
Re: lynx. I want only the information from the page, and I am offput by images, still expect punch cards paper tape daniweb works well without any fancying up, some sites dont, then I drop back to IE IE,Opera,chrome,ff, when I want to check the page I wrote works. IE because … | |
Re: agree with diafol, can't depend on the un-intended use of a function, that may be altered in the future. A kludge-fix is going to be very much harder to fix again when the operation of FGC is changed just a little by prospective future security revision revision of the config … | |
Re: [Click here google link]( http://lmgtfy.com/?q=how+to+include+comments+in+html+code&l=1) ![]() | |
Re: testing if fields are blank should come before manipulating those fields | |
Re: the button code is useless either the form target, or phpbb configuration itself, needs to be altered | |
Re: this **expletive** reply, not intended to be informative, is however correct, [answer] # The fifth generation in the development of html # [/answer] like MS helpscreens `I would like to take this opportunity to apologise for the above, sometimes I cannot resist the temptation` | |
![]() | Re: nothing if the remote host supports php you can simply iframe using the php file as the src href, and it will operate as expected. If you have to have a second host, why not move the site to the second host and kill the useless one <html><head>bla bla</head><body> bla … ![]() |
The End.