2,295 Posted Topics
Re: Check the settings on your xampp installation. the root of the address is your loacal host the link is opening in the current folder, your localhost, because you havent told it not to www[b][/b].intel.com is not a web link, without the protocol http:// it is a local link [B]Good solution[/B] … | |
Re: You install MYSQL on apache equivalent I think to installing acess on windows you can run MYSQL on other web servers, on windows, on OS10, but there has to be an underlying OS | |
Re: [noparse][Rant = My favorite Subject][/noparse] simplify the database change any text dates "October 15 2008"(smalltext 15 characters) etc to timestamps (Int(10)) strip out the $signs you only need them when you print out information [icode]echo '$ '.$sPrice;[/icode] is just as fast and causes no $_ errors the database should contain … | |
![]() | Re: From a prior thread [url=http://www.daniweb.com/forums/post785006-2.html]Check for new version[/url] (I thought once, now I just paste) ![]() |
Re: its not your local pc, thats insignificant, though its good if the development system is configured the same as the real host mod_rewrite needs to be installed on the host, the server the site will be running on the www test the .htaccess file given on the web server to … | |
Re: [url=http://www.w3schools.com/TAGS/tag_map.asp]W3 image map[/url] [code=html]<img src="image.jpg" width="145" height="126" alt="image" usemap="#map" /> <map name="map"> <area shape="rect" coords="0,0,82,126" href="1.htm" alt="1" onclick onmouseover onmouseout ondblclick /> <area shape="circle" coords="90,58,3" href="2.htm" alt="2" /> <area shape="circle" coords="124,58,8" href="3.htm" alt="3" /> </map>[/code] | |
Re: Immediate thought Malware[INDENT]you cant close this page unless you buy something your pc is infected send us money[/INDENT]You are not supposed to take control of the browser Imagine if you could not close a web browser when you went to some site on the internet that was loading your computer … | |
Re: [code=html]<select name="products[]" multiple>[/code]use[code=html]<select name="products" multiple>[/code] its not an array, until its posted | |
Re: jpg is a lossy compression format, the errors introduced are part of the jpg specification for high compression. As Ezzeral said use a non loss form | |
Re: [code=php]<?php //stats.php $file = $_SERVER['DOCUMENT_ROOT'].'visitordata.txt'; // define the text file. // Get user stats. $getdate = date( 'd-m-Y, H:i:s' );// Get the date. $user_ip = $_SERVER['REMOTE_ADDR'];// Get the users IP. $user_browser = $_SERVER['HTTP_USER_AGENT'];// Get the browser type. one of many things you can get for the stats $page= $_SERVER['PHP_SELF']; //Get … | |
Re: Actually it looks like **expletive deleted**, in firefox IE Opera Safari tables are for tabular data, not for layout, tables for layout purposes add to page size, for no value, must be fully loaded before any part of them is displayed, and generally slow down the page use css for … | |
Re: [QUOTE=jameswoodhouse;848071]Thanks BzzBee that works, but what if i want to retrieve the url from a row as well. rather than entering the URL in php. <a href='$row[linkurlrow]'>$row[title]</a> ?? Thanks[/QUOTE] thats going to work, as long as you update the table to include a column of urls, called linkrulrow | |
Re: wrap your code in [noparse][code=language] code [/code] [/noparse]tags leave out the blank lines it makes it easier to read use proper html doctypes if you want to use attributes of those doctypes <html> means html 2.0 = no floats [code=html]<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" … | |
Re: I cheat, created a form that chooses the 'to' language and pass the page to Yahoo translator babelfish Its in menu.inc.php so appears in every page, and links etc work in the translated language, and subsequent pages are translated google translator also works, but you have to find the url, … | |
Re: from the pageview on the op link, it doesnt stop, did you fix it already ? | |
Re: try it with the doctype all on 1 line without the carriage return and tabs [code=html]<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" dir="ltr">[/code] | |
Re: the same effect with layers, is better, looks like a popup, and cant get blocked, this is one possibility (I know tables suck, but you can get the code right) you could replace the button with image mapping the small image so the area clicked on expands to fill the … | |
Re: I have over 600 pages on my site php generated from sql tables and includes changing layouts of all takes about a minute, changing layout of one page only, takes much longer than changing all of them | |
Re: Load on mouseover especially for large images, is unacceptably slow, mouseover should appear immediately, nobody will wait. load the thumbnails in the body, then load the large images in the background so that the appearance of immediate is maintained. This code accomplishes it for me[code=html]<!--snip--> <img width='320' height='240' Alt='Click for … | |
Re: Of course evolution is believable Creationists are evidence that some of us are much closer to ape than others | |
Re: flash is not text/html typical macromedia flash[code=html]<OBJECT type="application/x-shockwave-flash" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0" WIDTH="550" HEIGHT="400" id="myMovieName"> <PARAM NAME=movie VALUE="myFlashMovie.swf"> <PARAM NAME=quality VALUE=high> <PARAM NAME=bgcolor VALUE=#FFFFFF> <EMBED src="/support/flash/ts/documents/myFlashMovie.swf" quality=high bgcolor=#FFFFFF WIDTH="550" HEIGHT="400" NAME="myMovieName" ALIGN="" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"> </EMBED> </OBJECT>[/code] Try google flash[code=html] <object type="application/x-shockwave-flash" width="400" height="326"> <param name="movie" value="http://video.google.com/googleplayer.swf?docId=8755581808731033658" /> <param name="allowScriptAcess" value="always" /> <param … | |
Re: it is unneccessary, and often makes you miss a quote, to drop in and out of php text for every html tag [code=php] echo '<tr><td>'.$row['title'].'</td><td>'.$row['category'].'</td><td>'.$row['year'].'</td> <td><font size="2"><a href="edit.php?autoid="'.$row['autoid'].'"> edit </a></font></td> <td><font size="2"><a href="delete.php?autoid="'.$row['autoid'].'" >delete</a></font></td></tr>';[/code] when it displays the table, view source to make sure the delet <a href ?parameter is … | |
Re: a question does [code=php]<? line; ?> <? line; ?> [/code]etc take more processor than[code=php]<? line; line; line; line; ?>[/code] | |
Re: [url]http://www.codelifter.com/main/javascript/dragablelayer.html[/url] | |
Re: [code=php] echo '<tr><td>'.$row['title'].'</td><td>'.$row['category'].'</td><td>'.$row['year'].'</td><td><font size="2"><a href="delete.php?id='.$row['autoid'].'" >delete</a></font></td></tr>'; // or echo "<tr><td>$row['title']</td><td>$row['category']</td><td>$row['year']</td><td><font size='2'><a href='delete.php?id=$row['autoid']' >delete</a></font></td></tr>";[/code] | |
Re: why are you using php for this its straight html php just adds overhead, anyway a possible fix,, and, the versioning of html is important <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> very old versions of html <html> cant read external javascripts | |
Re: browse the source of the router page containing the reboot button the source of javascript function will contain the actual url used to reboot the router something like ' "/sys/restart2.xgi?submit REBOOT"; ' [B](dlink)[/B] giving a value for your desktop button [code]<!-- one of many possible values --> http://192.168.1.1/sys/restart2.xgi?submit REBOOT[/code] | |
Re: superscript raises the text, and therefore raises the top of the text, when you see typeset books with superscripts, the superscript text is a smaller font. decrease the font size of the superscript text by the same proportion it is elevated and the top of the text box will remain … | |
Re: smaller flipped and mirrored, and tiled each way especially if you have shares in an optician | |
Re: speed tweak take the dot(.) out of your css body definition, <body class='body'> is just <body> | |
Re: its a framebreaker, to reduce bandwidth theft, content theft stop stealing other sites' content, stop stealing other sites' bandwidth, open pages in a new tab not in your iframe, use their RSS feed if they provide one, or contact the site owner and seek a licensing deal for their content. | |
Re: unfortunately the dates dont determine the seasons the same in all regions, some change on equinox and solstice, some change on first day of months, once you decide on how YOU want your site background to change on date it would be far simpler to set on the server, by … | |
Re: Screen dumps are useless show the code please mozilla and IE allocate whitespace differently, it may just need a tweak to the padding or margin in your stylesheet for one or the other browser. | |
Re: I think you cant via http, tcp and other protocols maybe, you can build your own http server and get "[B]a[/B]" mac address, but its likely going to be the address of the last router in the traceroute path | |
Re: try this (attached file index.php in zip) configureable for rows/columns/ slideshow/download as zip/full size/screen size | |
Re: I store a hires un watermarked version for people who subscribe, and serve a lower res version with a watermak to unregistered users the scripts are at [url]http://koivi.com/php-gd-image-watermark/[/url] | |
Re: Norton is a pig useless bloated slow to update and should only be used by people you dont like | |
Re: [code=javascript](document.getElementById) ? dom = true : dom = false; function hidetime(id) { if (dom) {setTimeOut("document.getElementById(id).style.visibility='hidden';",10000)} //IE if (document.layers) {SetTimeOut("document.layers[id].visibility='hide';",10000)} } //mozilla function showtime(id) { if (dom) {setTimeOut("document.getElementById(id).style.visibility='visible';",10000)} if (document.layers) {setTimeOut("document.layers[id].visibility='show';",10000)} }[/code]Cross browser capable scripts to show/hide [code=html]<body onload='showtime("thisimage");'> <img style='visibility:hidden' src='image1.jpg' id='thisimage'> </body></html>[/code] dont know about the display part, that … | |
Re: Is the update script being called from a page that is being updated if so page 1 should update page 2 first then page 1, page 2 should update page 1 first then page 2, if the page updates itself, the script stops, because the page with the script is … | |
Re: Contact the author Obfuscation implies attempt to protect the code the IonCube loader is a freebie, at least you will be able to read it,, [url]http://www.ioncube.com/loaders.php[/url] | |
Re: selector.class:psuedoclass { property: value } [code=css]a { text-decoration: none; border: 1px solid #000000; margin:5px; padding:5px; } a:hover { background-color: #66cdaa; text-decoration: none; } a:focus { background-color: #66cdaa; text-decoration: none; } a:active { background-color: #66cdaa; text-decoration: none; } a.red { text-decoration: none; color:#ff0000; } a.red:hover { background-color: #00ffff; text-decoration: none; } … | |
Re: [code=php]$result = mysql_query("SELECT * FROM table where id=%s, $id");[/code] | |
Re: design your layout, in em and % no pixel layouts, no pixel font sizes, set your image sizes, in px, and float text around them dont try to rigidly structure it dont expect the site to look the same, if it looks the same 2048*1520 as it does 640*480, it … | |
Re: [code=html]<meta http-equiv='Refresh' content='0;url=javascript:history.go(-1)'>[/code] if javascript is on | |
Re: Frames are dead and buried have been superseded for most uses by shtml includes, (shtml php asp) as an include your menu would be in the page, and not need any sizing | |
Re: No one anti spyware is sufficient No one anti virus is sufficient the time lag between new malware being released, and the required fix being created is different between vendors, having a resident AV, and using several non-resident on demand scanners, & multiple versions of anti malware, and practise safe … | |
Re: If at first you dont succeed, rant 5 hours to copy -HOW MUCH- disk 5 hours for 5MB is terrible 5 hours for 5TB is fantastic When all else fails, rtfm | |
Re: [quote][code=php]<DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="en" lng="en"> <head> <title> Background Colors </title> </head> <body> <?php $zero = '<style type="text/css"> body { background-color: #808080; } </style>'; $purple = '<style type="text/css"> body { background-color: #800080; } </style>'; $blue = '<style type="text/css"> body { background-color: #0000ff; } </style>'; $green … | |
Re: Try, unure but::[code=javascript]<script type="text/javascript"> function startSlide() { el=document.getElementById('productsBigCell'); el.innerHTML='<script type="text/javascript">var slide1foldername="'/* often required, to be not Blank even the current folder is .(dot) check doc for slideOther */'";</script><script src="slideOther.js" type="text/javascript"></script>'; } </script> /* /closure omitted */ [/code] |
The End.