2,295 Posted Topics
Re: no, read google webmaster instructions: content & clean code matters, nothing else does | |
Re: I thought you meant restoring machinery, the shafts etc I have a plasma tool to spray molten steel onto spinning shafts to repair wear, and a lathe to turn it back to spec and I send the gear away for powder coating | |
Re: I still prefer "Do your own effing homework" to all the above | |
Re: The above code outputs comma separated values (tab separated values) the .csv file is saved as .xls (.xls contain way more headers etc than just the data) excell reads .csv so the function works, but there is an informational warning about the file type If you save the file as … | |
Re: code, not random product names, and some may assist | |
Re: $insertedData = mysql_query("INSERT INTO customertable(CustomerID, FirstName, SurName, Address, PhoneNum, Email, PurchaseProduct) VALUES('$_POST[Customer_ID]', '$_POST[First_Post]', '$_POST[Sur_Name]', '$_POST[Cus_Address]', '$_POST[Phone_Num]', '$_POST[Cus_Email]' '$_POST[Product_Purchase]')",$serverConnection); "deprecated" : will stop working in the near future | |
Re: important: it works the code *could* be tighter, BUT, as it is there is no need for commenting, a bonus if/when a change has to be made | |
Re: the $1 parameter passes everything after .com to the rewritten url it should work except when something is missed or changed on the server config. many servers are locked down, and if the locking is . .. . less than perfect . .. try RewriteCond %{HTTP_HOST} !^www\. RewriteRule (.*)$ http://www.%{HTTP_HOST}/$1 … | |
Re: wear glasses to read, the lightest ones again, buy em 4-5 pairs at a time, lose em in the bush, falling out of a plane, run over by a quad, buried in a trench or lawn mowed havent got used to putting em in POCKETs am long sighted, or my … | |
Re: runonce <?php if(!$_GET['runonce']) {echo <<<redir <script> if(navigator.geolocation) { navigator.geolocation.getCurrentPosition(function(position) { var lat = position.coords.latitude var lon = position.coords.longitude document.location = "prayer-times.php?runonce=done&latitude=" + lat + "&longitude=" + lon }); } </script> redir; } else echo <<<page ?> ENTIRE DISPLAY PAGE HERE <?php page; ?> html5 geo\* runs better in javascript, but … | |
Re: MS ASP ASP.net are usually larger companies, tied in to support agreements with MS PHP can be large or small or startup companies licensing is simpler in php for your own code php has a far larger market share but if you get to an ASP site, the contract is … | |
![]() | |
Re: are you sure it isnt `$product_data["image"]` seems strange to have one column not from the same array (`$row[]`) as the others OR. are db images already encoded base64 in the db ? not common, most images are stored in blob, but there are many very *quirky* programmers, security by obscurity … | |
Re: `mysqli_set_charset($connnection,"utf8");` | |
Re: Australian, its ~85% English, My wife translates for me in Canada Get attaboys for *trying* in French in New Brunswick, when they stop laughing ![]() | |
Re: urlencode the value echo "<option value=".urlencode($thevalue).">"; echo $thevalue; echo "</option>"; | |
Re: FÜ etc in utf8, there are 1408 (thus far) ways to write eff ewe see kay and get past filters If you are going to try to catch all possible forms of all comon profanities :: a gigabyte sized array, processing will take so long your site will shut down … | |
Re: stop do not use tables, go do [url]www.w3schools.com[/url] and do some tutorials on the right way to layout your page | |
Re: Do the redirect serverside, You use a heap of bandwidth to end the first page, then you do it again, users are not going to be grateful Google code has a great [mobile detector](https://www.google.com.au/url?sa=t&rct=j&q=&esrc=s&source=web&cd=1&cad=rja&uact=8&ved=0CCEQFjAA&url=http%3A%2F%2Fcode.google.com%2Fp%2Fphp-mobile-detect%2F&ei=akP9VKTsG6TTmgWej4CQBw&usg=AFQjCNEJB7J7Gzopv27DSoG6zvuDxhdJCg&sig2=J_xqdYhQ6Fu1AfJRXltDyA) scrript | |
Re: the posted code never **displays** the value of $error eg between 54 and 55 `54.5 <?php if(isset($error)) {echo $error;} ?>` | |
Re: It is a PEBKAC error, a conceptual problem this is an input form, to display data there must be some code somewhere to get the data from the DB parse it to readable html output to browser that code would usually be found in the file referred by the `action` … | |
Re: what database what language what have you attempted mind reading is not among the skills of many of the gurus | |
Re: IF the site is well constructed and well indexed, the casual user will be directed by the SE to the page that answers the question, one page: success, not bounce: failure Reduced bounce rate; the need to access second or subsequent pages, bad design or bad SEindexing, the casual user … | |
Re: Our content is written in house, specific to a course; or many specific to a mine; or many specific to a region; or many multiple overlaps of region, mine, and course oversight authorities of each region, mine, and college, with multiple overlap of jurisdiction multiples of OHS RTA EPA DoE … | |
Re: [code=html]<noscript>The tools on this page operate in javascript<br>To access the tools, activate Javascript in your browser and refresh the page</noscript>[/code]You can't force scripting, but you can ask. | |
Re: # do not turn off warnings, fix the code # fix1: `<?php if(isset($_POST['Du'])) {echo "<strong>Duree du sejour:</strong>" .$_POST["Du"];} ?>` replaces 150-156 Its always better to check the right variable, submit does not ensure a value was set to Du fix2: assign a default value `selected='selected'` to one radio button option | |
Re: this is an online forum not an on-demand support system, **you cannot demand responses** Contact Bing, and Google, make your complaint They will examine the clicks, and when it is determined they all come from the same group of IP you will be refunded and those IP blocked | |
Re: no `type='text/css'` or `type='text/javascript'` in html5 external stylesheets do not have `<style>` or `</style>` they just contain css .container1 - .container4 are identical, all .container? divs = .container classes can be re-used; left out required keyword solid, in topcontainer and box .box is fixed size, all other elements are relative, … | |
Re: 1, no : Google webmaster tools, Bing Webmaster tools, nothing else 2, the number of visitors : **who leave after 1 page view** ∴ implying *something is wrong with design or content* ( or they got what they needed on the first page ) 3, count single page sessions : … | |
Re: Google webmaster tools, register and read "google101 how google crawls the web" > Many seo package mentiod that to index 2nd tier links they will make thousands or wiki links, blog comments, and social media share to those 2nd tier links. #the items in those seo packages are blacklisted# Reality: … | |
Re: does not work as expected on any display but yours scrolling through a huge blank column on my laptop?? which just happens to be 1 pixel too short to display any div onscreen, | |
Re: Damn good, I have only one possible idea calclualtors usually are right justified, the digits extend from the right so for the input containing the number [icode]<input style='text-align:right;' type="text" size="25" length="25" value="" name="ans" style="background:beige;color:black;">[/icode] ![]() | |
Re: ALL google products show w3c tester errors NONE of the sripts are code compliant, they all contain entities not defined by w3c standards This does not mean the code is bad google have not escape coded all the `?1=this&2=that&3=the_other` that the javascriipts require, as `?1=this&2=that&3=the_other` because they get too bloody … | |
Re: I think its a good idea, Start the list, submit it as a new thread, pm the moderators to consider it for stickiness, the mods react v.quickly to ideas I (everyone?) like finding questions answered before they are asked [my stickies](https://www.daniweb.com/business-exchange/website-reviews/55) | |
Re: then look at or before line 14 in the file, that only you can see, because you failed that small step that says "Show the people I want to fix my error, the error" ^^ attempted humour ^^ << failed dismally repeated using different phrasing "Post the code with the … | |
Re: Its a great obfuscation I'll keep the idea Its obviously not yours The author took great effort to stop thieves It worked, stopped you, you must be ^ ^ `die('thief');` There are segments in the binary that ping my malware programs, what is this which you are trying to steal | |
| |
Re: what is the complete error message, what you have provided has been edited: useless | |
Re: a somewhat backwards approach maybe, to goto the example page and continue from there current link to a particualar attachment may be `<a href='http://shneler.com/vb/attachment.php?attachmentid=2063&d=1380201538'>something to download</a>` different link `<a href='http://shneler.com/vb5test?attachmentid=2063&d=1380201538'>something to download</a>` and in /vb5test/index.php in the <head> somewhere <?php if(isset($_GET['attachmentid'])) { echo "<meta http-equiv='refresh' content='5; url=/vb/attachment.php?attachmentid=$_GET['attachmentid']&d=$_GET['d']'>"; } ?> ![]() | |
Re: while you tryout what you learned in this lesson do the second lesson (there's always another lesson) it would likely include a huge range building on the first lesson there is so much fun to be had the web is a blast | |
Re: Its not urgent to anyone for as long as there is no evidence of some attempt at working it out. where is the webcam where is the db what is the db structure you have worked out generally: what have you attempted coder gets paid heaps for urgent coding jobs … | |
Re: You need to find a different, better, online resource one that is more complete in its references it can be straightforward, without leaving out important stuff, like > Check for XAMPP or WAMPServer. Both packages install a full stack. If it does not link to the most effective resources, it … | |
Re: 1 What if the USER wants to buy two: can't be done if you click programmatically 2 Paypal terms of service: Paypal get *upset* at a site that bypasses required user confirmation ANY dispute, you lose | |
Re: Really lucky here, football ; nothing, get the ads, they're a blast nobody watches boring, the networks don't play it | |
Re: there are seo negatives what is www.url/file script, css, image, executable, compiled application, all are file with no prompting extension, what do SEBots do, [Occam's razor response](http://math.ucr.edu/home/baez/physics/General/occam.html): they leave Why waste time on something the owner does not want to be found (Occams Razor: The simplest solution is often the … | |
Re: edit: Damn, beaten to it, have you checked C:\xampp\htdocs\sandbox\config.php on line 22 for an unexpected ':' | |
Re: adding to minitauros answer above text can be: blank space, carriage return, line feed, crap code added by poor editors the last can be hard to find, the editor may not display stuff it adds | |
Re: ip addresses are assigned by the ISP and are not permanent. ISP change them often to make it more difficult for home users to host User logs in laptop: at home, coffee shop, McD, Library, mall, 1 ip each; and they all change next month my house 4ip; 1 fixed … |
The End.