2,295 Posted Topics
Re: show what code you have for the input, so that the javascript demons can see what requirement of validation there is else could write you 10000s of if() statements and none of them are appropriate the answer probably won't come from me, javascript -hopeless, but somebody has the signature "half … | |
Re: changing locations, not opening a window [code]"","top=0,left=400,width=1000,height=1000,menubar=yes,toolbar=yes,scrollbars=yes,resizable=yes,status=yes";[/code]is bull | |
Re: [code=php]<?php if(!isset($_POST['fname']) || !isset($_POST['age'])) { echo '<form action="welcome.php" method="post"> Name: <input type="text" name="fname"'; if(isset($_POST['fname']) echo " value='$_POST['fname']"; // adds the value of any part-completed form echo ' /><br /> Age: <input type="text" name="age" '; if(isset($_POST'age']) echo " value='$_POST['age']"; // adds the value of any part-completed form echo ' /> <input … | |
Re: [QUOTE=BzzBee;866530][CODE]<script type="application/javascript">[/CODE][/QUOTE] [CODE=html]<script type="text/javascript"> function hello() { alert("Hello It works"); } </script>] <input type='button' name='Release' onclick='hello();' value='Click to Release'>[/CODE] | |
Re: [B]/[/B] in this case refers to the root folder of your lampp installation, usually [B]/whatever/[/B]htdocs, not the root of your current physical drive, php cannot see any part of the drive outside the http root by drive structure, else / on my .com would be the server root, not my … | |
Re: The only thing that knocked off Australian bananas was a cyclone sitting in a diner, 25km north of Tennant Creek, NT, Aus, now, eating local bananas, oranges and drinking bush plum wine | |
Re: Ditto purplepixie, & does it have to be 'onmouseover' css hover may be easier to implement | |
Re: Why some wont see it flash is blocked others will avoid the site because it uses flash why not shoot yourself in the foot if you want to cripple yourself | |
Re: you can specify filetypes for compression in apache's .htaccess file[code=apache]<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.* </IfModule> [/code] which acts on all files of the designated extension or mime the text above is … | |
Re: [url=http://lmgtfy.com/?q=mac+php+ide&l=1]let me google that for you[/url] love that animation, assuming you want to do more with it than just look, an ide will let you see how it works | |
Re: Its not urgent to me so I'll make coffee . . . . . I'm back, still not urgent the question is poorly phrased, the op tells nobody any information, [list][*]those of malicious intent cant hurt [*]those of good intent cant help[/list]you might consider explaining [list][*]what you have in place, … | |
Re: any password sent to them is not really secure one of many possible practices is for the lost password user to identify themselves using a pre-Arranged cipher, all the name DOb, mothers maiden name, challenge-response, set up when opening accounts a one-shot link is sent to the registered email address … | |
Re: You cant determine to what I set my header and footer, nor should you be able to access my hardware settings, think for a moment | |
Re: Dont worry, use tables for layout, you would not be a potential employee anywhere, problem solved | |
Re: this scrap [code=javascript]javascript:document.body.contentEditable='true'; document.designMode='on'; void 0[/code]as the href of a link or saved as a favorite, makes any page play-with-able | |
Re: You dont work a spider 'spider' in this instance, is another name for a search engine robot, because they [I]crawl the web [/I]following links Your task is to optimize your site to make access better for the spider when it gets there[indent]fix broken links use a consistent file structure use … | |
![]() | Re: [url]http://php.net/manual/en/control-structures.switch.php[/url] [quote=php manual]In a switch statement, the condition is evaluated only once and the result is compared to each case statement. In an elseif statement, the condition is evaluated again. If your condition is more complicated than a simple compare and/or is in a tight loop, a switch may be … |
Re: try it, type in [noparse]http://www.MyMiXeDcAsENaMe.com http://www.mymixedcasename.com http://www.MYMIXEDCASENAME.com[/noparse] just DONT do it again, there are still some seven-bit servers out there to cause problems if they end up in the path | |
Re: correct the [url=http://www.w3.org/QA/2002/04/valid-dtd-list.html]doctype[/url] html version dependent code fails would likely be better in css than javascript, a large, and growing larger, proportion of users disable javascript as security risk, javascript menu doesnt work css menus are much easier to code than image maps, what happens when the user has the … | |
![]() | Re: the image with a bunch of included icons is a sprite and it works just as you describe its a page minimisation strategy, only 1 image is downloaded, instead of a larger number of images each with the delay negotiating the transfer, for small images 100 bytes of image and … |
Re: photoshop, the 80s are long dead, and so should be the ideas from them pixels, my screen is 2600px wide, and is not large fied size layouts do not work on anything other than the device used to lay them out, even different browsers at the same resolution render fixed … | |
Re: Tables are not used as layout, since the 90s. they were the tool then only because there was nothing else tables as a layout tool are 80% layout 20% content, the page becomes huge, slow, difficult to edit, every page must contain the full table css layouts are smaller, simpler … | |
Re: get rid of the blank lines, they are output | |
Re: [code=html]<input type='text' width=20 maxlength=20 value='12345678901234567890'>[/code][url]http://www.w3schools.com/tags/tag_input.asp[/url] | |
Re: the source of this error is the missing closing brace in line 3 as matthew wrote, errors are usually just before the reported line number the missing quotes (per the OP) $_SERVER[[b]'[/b]variable[b]'[/b]] [U]will[/U] cause another set of problems later format is not optional good code editors provide code highlighting that … | |
Re: Google:: entered the dictionary as [B][U]the[/U][/B] verb for internet search , and is free to submit Yahoo:: entered the dictionary as an uncultivated or boorish person; lout; philistine; yokel. has anyone ever said, go and yahoo it, for $300 | |
A timely piece of advice from which I am sure we could all benefit. Finishing Things: I am passing this on because it definitely worked for me today, and we all could probably use more calm in our lives. Some doctor on TV this morning said the way to achieve … | |
Re: [code=php]print $thearray[0]; //first print $thearray[count($thearray)-1]; //last // because the index starts with zero[/code] | |
Re: Mac Linux FreeBSD precisely How do you get those systems to open IE ? | |
Re: Keyword: Noun: archaic: def; something ignored by search engines In English, keywords are irrelevant. | |
Re: [QUOTE=davidwill;1645581]With Help of the Robots.txt you can guide the Search Engine which page you want to crawl and not crawl.[/QUOTE] Geez Dave, its more than a year old let the thread DIE | |
Re: 18th birthday+1 day, too drunk to do the test on the day everything happens at 18 | |
Re: if each page is namned appropriately, eg BP.html BHP.html and may be resident in subfolders b c d, this script will recurse, try something like [code=php]<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html><head> <style type="text/css"> ul.dirlist, ul.dirlist li { list-style-type:none; padding-left:1em; } </style> <title>Try this -recursively Almostbob</title> </head><body><H3>Links</h3> <?php … | |
Re: [QUOTE=asif49;1637813]When I zoom out of the pages which I've created for my website, it seems that as you zoom out the pages move towards the left, although the content stays where it is supposed to be. But when I zoom out of website such as this the page stays in … | |
Re: redo the css remove all references to 0px, 0 is just zero, the only dimension that is dimensionless 0px=0em=0pt=0cm=0in === 0 browsers often misinterpret dimension errors not suggesting this is the exact cause, but removing any possible impediment, havent even read all the way through the code yet, only noticed … | |
Re: on fcreate the filesize is zero reading zero bytes gives the error as you are reading the entire file, [quote=http://php.net/manual/en/function.fread.php][B]Note:[/B] If you just want to get the contents of a file into a string, use file_get_contents() as it has much better performance [/quote] replace[icode]else {$newfile = fopen($filelocation,"r");$content = fread($newfile, filesize($filelocation));fclose($newfile);}[/icode] … | |
Re: wrapping the code in [noparse][code=language] bla bla bla [/code][/noparse] tags to enable highlighting, and fixed a few html errors, red is not a '[I]good[/I]' color for code, values must be quoted [code=html]<form name="order_of_products_by_values" id="order_of_products_by_values" method="post" action=""> <select id="order_of_products_by_values" name="order_of_products_by_values" onChange="this.form.submit();"> <option value=1 >Pret crescator</option> <option value=2 >Pret descrescator</option> <option value=3 … | |
Re: Check if the session folder/directory is writeable, sometimes its headslap moments ![]() | |
Re: [Icode]<a href='thisfile.uri'> THIS IS ANCHOR TEXT </a>[/icode] | |
Re: goto the google webmaster101 page and very importantly, read what NOT to do | |
Re: <elem style='width:%;'> current practice for fluid layouts that adjust to window size and user preference is ems and % as scalar dimensions a layout laid out in scalars will adjust to the container | |
Re: loading the googlemaps url, means the page is NEVER cached, that url executes every time the page loads, the whole page will never be pulled from the cache, but the elements of the page each image chunk that creates the map, will be you can give an apparent speed increase … | |
Re: look at the code of the page, as view source, when you load the page in a browser the bomb is not not in the source you uploaded, but was added to the site by some insecure practice it is easy for malicious persons to add [i]stuff[/i] to form inputs … | |
Re: yes but fancybox lightshow etc do it much nicer more fluidly using css and javascript, css hover focus are rigid | |
Re: finally buttoned down if() shorthand marvelous | |
Re: TRY 2 input fields, concatenated on the server onsubmit is far simpler than attempting the impossible [code]<input type='text' value='this text value is in hardcode or generated by the script when creating the page the user cant change it' name='oneway2doit1'> <textarea name='oneway2doit2'>type your *** here</textarea>[/code] [code=php]$textarea=$_post['oneway2doit1'].$_post['oneway2doit2'];[/code] | |
Re: be relevant be unique be original by syntactically correct be code compliant be structured judge the effect of your SEO by checking the returns on your webstats, & the SE tools pages on the relevant sites, Google Yahoo Bing Ask (Bing: formerly MSNsearch, renamed [B]B[/B]ut [B]I[/B]ts [B]N[/B]ot [B]G[/B]oogle) | |
Re: sharing violation is OS related, liely causes include the file is still open for editing in an editor that locks the file when you try to view it in the browser tables are not used for layout tools; tables are for displaying tabular data suggest you google any of the … | |
Re: Solution read the API for simple dom, read the manual for php and the sql version on your server. write a script |
The End.