2,295 Posted Topics

Member Avatar for tanmoy_india

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] …

Member Avatar for almostbob
0
88
Member Avatar for csharplearner

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

Member Avatar for csharplearner
0
274
Member Avatar for brunope

[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 …

Member Avatar for almostbob
0
123
Member Avatar for diafol

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)

Member Avatar for diafol
0
131
Member Avatar for salvarez83

[code=sql]Select * from software order by TAGNUM, PACKID[/code]

Member Avatar for almostbob
0
71
Member Avatar for coolmind259

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 …

Member Avatar for vidaj
0
455
Member Avatar for kinger29

[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]

Member Avatar for almostbob
0
126
Member Avatar for ukbasak

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 …

Member Avatar for almostbob
0
283
Member Avatar for ero100@live.com

[code=html]<select name="products[]" multiple>[/code]use[code=html]<select name="products" multiple>[/code] its not an array, until its posted

Member Avatar for almostbob
0
167
Member Avatar for Whilliam

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

Member Avatar for jbennet
0
226
Member Avatar for genieuk

[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 …

Member Avatar for Josh Connerty
0
215
Member Avatar for chinmayu

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 …

Member Avatar for almostbob
0
81
Member Avatar for jameswoodhouse

[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

Member Avatar for vidaj
0
205
Member Avatar for plarsen111

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" …

Member Avatar for rudevils
0
164
Member Avatar for fitse

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, …

Member Avatar for cwarn23
0
209
Member Avatar for plarsen111
Member Avatar for creativeideas
0
140
Member Avatar for LanierWexford

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]

Member Avatar for LanierWexford
0
101
Member Avatar for tonitone

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 …

Member Avatar for tonitone
0
146
Member Avatar for MidiMagic

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

Member Avatar for s32ialx
1
510
Member Avatar for rajeesh_rsn

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 …

Member Avatar for almostbob
0
144
Member Avatar for Ancient Dragon

Of course evolution is believable Creationists are evidence that some of us are much closer to ape than others

Member Avatar for GrimJack
0
1K
Member Avatar for bigtarr

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 …

Member Avatar for almostbob
0
148
Member Avatar for totalnoob

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 …

Member Avatar for totalnoob
0
99
Member Avatar for kssi89

a question does [code=php]<? line; ?> <? line; ?> [/code]etc take more processor than[code=php]<? line; line; line; line; ?>[/code]

Member Avatar for Designer_101
0
111
Member Avatar for rajeesh_rsn
Member Avatar for almostbob
0
50
Member Avatar for totalnoob

[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]

Member Avatar for totalnoob
0
122
Member Avatar for veledrom

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

Member Avatar for veledrom
0
148
Member Avatar for amoliski

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]

Member Avatar for almostbob
0
90
Member Avatar for Paulxh

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 …

Member Avatar for Paulxh
0
76
Member Avatar for BobbyRags

smaller flipped and mirrored, and tiled each way especially if you have shares in an optician

Member Avatar for almostbob
0
146
Member Avatar for mrcniceguy

speed tweak take the dot(.) out of your css body definition, <body class='body'> is just <body>

Member Avatar for mrcniceguy
0
169
Member Avatar for Potato.Head

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.

Member Avatar for samarudge
0
120
Member Avatar for chellethecat

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 …

Member Avatar for MidiMagic
0
119
Member Avatar for Mouse1989

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.

Member Avatar for Mouse1989
0
80
Member Avatar for ChintuChowdary

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

Member Avatar for ChintuChowdary
0
109
Member Avatar for dirtydoug08

try this (attached file index.php in zip) configureable for rows/columns/ slideshow/download as zip/full size/screen size

Member Avatar for dirtydoug08
0
127
Member Avatar for rajeesh_rsn

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]

Member Avatar for rajeesh_rsn
0
78
Member Avatar for prokorn

Norton is a pig useless bloated slow to update and should only be used by people you dont like

Member Avatar for Godsp3ed
0
128
Member Avatar for goodluck4287

[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 …

Member Avatar for essential
0
170
Member Avatar for nakins

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 …

Member Avatar for almostbob
0
56
Member Avatar for jessicama

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]

Member Avatar for almostbob
0
72
Member Avatar for cguan_77

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; } …

Member Avatar for richie513
0
133
Member Avatar for dmanw100

[code=php]$result = mysql_query("SELECT * FROM table where id=%s, $id");[/code]

Member Avatar for theighost
0
129
Member Avatar for cpeeyush1

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 …

Member Avatar for Nickolls
0
148
Member Avatar for dmanw100

[code=html]<meta http-equiv='Refresh' content='0;url=javascript:history.go(-1)'>[/code] if javascript is on

Member Avatar for dmanw100
0
144
Member Avatar for SameerMughal

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

Member Avatar for almostbob
0
112
Member Avatar for Mtaylor

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 …

Member Avatar for Mtaylor
0
163
Member Avatar for Banderasky

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

Member Avatar for jbennet
0
117
Member Avatar for grunge man

[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 …

Member Avatar for grunge man
0
109
Member Avatar for veledrom

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]

Member Avatar for veledrom
0
111

The End.