2,295 Posted Topics

Member Avatar for SameerMughal

If you dont set colum widths or table width at all, each column will be as wide as the largest data it contains, and the table will be as wide as the sum of the columns, creating scroll bars

Member Avatar for almostbob
0
164
Member Avatar for samarudge

[code=javascript]search = '<form action="http://www.ututorial.net/search" id="cse-search-box"><div><input type="hidden" name="cx" value="partner-pub-3996237323979957:tenb6ft9bbh" /><input type="hidden" name="cof" value="FORID:10" /><input type="hidden" name="ie" value="ISO-8859-1" /><input type="text" name="q" size="31" /><input type="submit" name="sa" value="Search" /></div></form><script type="text/javascript" src="http://www.google.com/coop/cse/brand?form=cse-search-box&amp;lang=en"></&#115 ;&#99 ;&#114 ;&#105 ;&#112 ;&#116 ;>'; /* hex has been exploded, spaces added, Daniweb does not allow the hex to sit as typed …

Member Avatar for almostbob
0
148
Member Avatar for jonow

in the iframe menu 'target='_top' will change the highest level url target='_parent' will change the immediate parent window url ergo menuiframe.html [code=html] <a href='home.html' target='_top'>Home</a> <a href='page1.html' target='_top'>page 1</a> <a href='page2.html' target='_top'>page 2</a> <a href='page3.html' target='_top'>page 3</a> [/code] its just a matter of [INDENT] Read The F([COLOR="Green"]ine[/COLOR]) Manual [/INDENT][url]http://www.w3schools.com/tags/tag_a.asp[/url]

Member Avatar for FC Jamison
0
581
Member Avatar for konczuras

[code=css]button { color:#ff0000; background-color: #e4e0d8; } button:hover { color:#000000; background-color: #66cdaa; } button:active { color:#ff00ff; background-color: #66cdaa; } button:focus { background-color: #66cdaa; } /* or */ input[type=button] { color:#ff0000; background-color: #e4e0d8; } input[type=button]:hover { color:#000000; background-color: #66cdaa; } input[type=button]:active { color:#ff00ff; background-color: #66cdaa; } input[type=button]:focus { background-color: #66cdaa; }</style>[/code] buttons …

Member Avatar for almostbob
0
207
Member Avatar for Stefano Mtangoo

this code is useless for checking this problem it does not include any of the includes or css css controls positioning the included files have content that may push the page around post a link to the faulty page,

Member Avatar for almostbob
0
80
Member Avatar for surekhavk

Iagree with midimagic, and at the other end of the scale a blackberry footer 100px high, and a header 100px high, 20px of useful data and ya cant get that **expletive deleted** off the screen,

Member Avatar for MJ Pieterse
0
105
Member Avatar for reen.blom
Member Avatar for Trapped
0
88
Member Avatar for rajeesh_rsn

Its best in apache config but if your host does not allow access it can be done in php [code=php]<?php header ('content-type: text/css'); /* text/javascript text/javascript etc */ /* file data */ <?php ob_flush(); ?>[/code] can be any file type this is part of style.css.php[code=php]<?php header ('content-type: text/css'); ob_start("ob_gzhandler"); ?> …

Member Avatar for samarudge
0
410
Member Avatar for romeyng

[code=php]<?php if(!$file) return false; /* properly verify filename as well this is just a demo script as is this is a huger security hole */ header("Content-disposition: attachment; filename=$file"); header('Content-type: application/pdf;'); /* application/octet_stream etc or pull the content type from your database as a variable or a list etc */ readfile("$file"); …

Member Avatar for almostbob
0
123
Member Avatar for Paladine

[QUOTE]Don't set any fixed sizes. Use percentages of screen width instead.[/QUOTE] (except images) fixed images only because bitmaps dont scale well, and allow the text to flow around them. The page does not have to look the same, on every browser, every OS every screen resolution, the page just has …

Member Avatar for almostbob
0
116
Member Avatar for The Dude

I think too many designers wnat to show what they [B][I]can[/I][/B] do, instead of just doing what they [U]should[/U] do. [INDENT]google vs yahoo search[/INDENT]

Member Avatar for MidiMagic
0
103
Member Avatar for NotThereAnymore

have you tried uploading as .rtf instead of .doc or .pdf closer to html in styling, no multibyte characters, no ctrl characters, just the 128ascii set

Member Avatar for MidiMagic
0
94
Member Avatar for arvindikchari

[code=html]<select onchange='document.smallimage.src= this.value;document.header.background.src=this.value'> <option selected='selected' value='blank.jpg'>Choose</option> <option value='1.jpg'>one</option> <option value='2.jpg'>two</option> <option value='3.jpg'>three</option> <option value='4.jpg'>four</option> <option value='5.jpg'>five</option> <option value='6.jpg'>six</option> </select><br> <img name='smallimage' id='smallimage' width='320' height='240' src='blank.jpg'>[/code]

Member Avatar for almostbob
0
56
Member Avatar for khr2003

[url=http://www.google.ca/search?hl=en&safe=off&q=php+%22domain+lock%22+script&meta=]php domain lock google search[/url] most php obfuscators have a domain lock function you can configure, zip and disseminate the locked files in one pass

Member Avatar for almostbob
0
169
Member Avatar for serkan sendur

I don't see much point in doing redirects after the wrong page is loaded to the minibrowser, If you do it on the server before the page is loaded the minibrowsers wont waste time loading a heap of pages then reloading browsers send their user_agent in http request, this works …

Member Avatar for almostbob
0
119
Member Avatar for sikka_varun

php can access files anywhere you tell it to if you put the protected files outside the web root php will be able to server them, but direct access will not be available your cms should not be outputting viable url format for these files you can set up your …

Member Avatar for digital-ether
0
141
Member Avatar for monad

[code=html]<input type='submit' value='submit' onclick='return(confirm("Are You Sure"));'> <!-- or --> <form action='formhandler.ext' method='post' onsubmit='return(confirm("Are You Sure"));'>[/code]

Member Avatar for monad
0
120
Member Avatar for sam1

[CODE=php]$genre_id = $_GET['id']; $items = ITEMS_PER_PAGE; if(isset($_GET['page'])) { $offset = $_GET['page']; $offset *= $items; $query = 'select * from artist where genre_id = '.mysql_real_escape_string($genre_id)." limit $offset,$items"; } else { $query = 'select * from artist where genre_id = '.mysql_real_escape_string($genre_id); } $allArtists = mysql_query($query); [/CODE] [code=php] tags, syntax highlighting select * …

Member Avatar for almostbob
0
106
Member Avatar for kavithakesav

dont use a popup popups are routinely blocked for security every day a larger proportion of browsers have popup blockers enabled. because popups are annoying sites that use popups get worse results than those that do not use a layer and show/hide it as necessary

Member Avatar for kavithakesav
0
242
Member Avatar for cguan_77
Member Avatar for cguan_77
0
69
Member Avatar for staylor

What happens to marketing emails never get read, straight to trash, even the ones people opt in for ISP blacklist the sender never heard from again. The best marketing does not look like marketing, - write your mailer in house, make it personal. blacklists are easier to get on, than …

Member Avatar for blackpooldanny
0
142
Member Avatar for mangel.murti
Member Avatar for DemonGal711

no frames dont work in screen readers. frames arent indexed well by search engines framesets - like a timewarp back to 1990 the same effects of constant menu & layout can be better accomplished with php asp shtml includes, and css styles serverside slideshow scripts work better than html framesets, …

Member Avatar for almostbob
0
93
Member Avatar for darkagn

[code]<!-- google_ad_section_start --> After Dani's earlier post I thought it may have been a problem in my work PC only, but I just tried on my home (32-bit) PC which runs XP SP3 with Firefox 1.90. It is also occurring for me in IE 6.0. <!-- google_ad_section_end -->[/code]the site has …

Member Avatar for nav33n
0
171
Member Avatar for Nickair

Yes there is the specifics depend on the video card, and should be detailed in the helpscreens for the video card drivers If there isnt a menu choice for the video helpscreens, look for a folder in program files with the name of the card maker, or check the card …

Member Avatar for almostbob
0
87
Member Avatar for cguan_77
Member Avatar for chinmayu

[code=php] <?php /* form processing, captcha generate etc */ ?> <form action='<?php echo $_server['php_self']; ?>' method='post'><br> bog: <input type='text' name='bog' value="<?php if(isset($_post['bog'] { echo $_post['bog']; } ?>"><br> big: <input type='text' name='big' value="<?php if(isset($_post['big'] { echo $_post['big']; } ?>"><br> <input type='text' name='captcha'><br> <input type='submit' onclick='return(confirm("Are you sure?"));' value='Submit'> </form> [/code]

Member Avatar for chrishea
0
5K
Member Avatar for kg_ally

because IE and firefox/mozilla use a different DOM (document object model) there are many scripts that only work in one or the other and on the sites that offer them for download they usually state things like IE only, or "degrades gracefully in other browsers" I do not know enough …

Member Avatar for mschroeder
0
133
Member Avatar for Designer_101

[LIST=1] [*]the database is not connected [*]no validation of input [*]other input fields can be left blank [INDENT]on first load this[code=php]$id=$_GET['id']; print "<form action='reply.php' method='post'>"; print "<input type='hidden' name='id' value='$id'>"; [/code] does nothing[/INDENT] [/list]there are 6 fields, and as few as 3 in $_post and calculated data wont mention using …

Member Avatar for nav33n
0
620
Member Avatar for ripper1510

hard to test without seeing the code but it is possible that the code includes the #code that generate Aumlaut in the character set displayed instead of intended character, many page scripts use [icode]& #171;[COLOR="Red"]broken[/COLOR] «[/icode] to represent goto first page and [icode]& #187;[COLOR="Red"]broken[/COLOR] »[/icode] to represent goto last page …

Member Avatar for almostbob
0
70
Member Avatar for moerpheus

[QUOTE=alimoe;817957]hi guys, I am designing a website. The site has to have 3 columns, so i floated the left bar to the left. Didn't float the main, middle content and i floated the right bar to the right. Everything looks perfect eeh? well, not really!. Its coll if the browser …

Member Avatar for colweb
0
152
Member Avatar for mohamed1

dont reinvent the wheel there messaging boards already available for download that work, doo all you ask and you dont have to code 1000s of lines for this board runs on one Vbulletin there are literally 1000s

Member Avatar for tomer1
0
76
Member Avatar for BobLewiston
Member Avatar for almostbob
0
50
Member Avatar for cdeniz

once the id topics are grouped the individual id_msgs may not be available for sort perhaps what you want is [code=mysql]SELECT id_topic, subject FROM smf_messages WHERE id_board=$bolum ORDER BY id_topic, id_msg DESC[/code]

Member Avatar for almostbob
0
99
Member Avatar for achiman

access & asp, or php? this is the php forum, here is a php solution to the question asked, no database mentioned in the op, what are you actually looking for [code=php]<?php if($_POST){ echo 'submitted were<br>'; foreach ($_POST as $key => $value) { echo $key." value ".$value.'<br>';} } ?> <form …

Member Avatar for achiman
0
113
Member Avatar for ba50339

two ways(of many)[code=html] <form <!--etc-->> <input type='checkbox' name='check0' value='apple'>apple<br> <input type='checkbox' name='check1' value='banana'>banana<br> <input type='checkbox' name='check2' value='orange'>orange<br> <input type='checkbox' name='bannana' value='yes'>banana<br> <input type='checkbox' name='orange' value='yes'>orange<br> <input type='checkbox' name='apple' value='yes'>apple<br> <input type='submit' onclick="return(confirm('sure?'));"> </form>[/code]

Member Avatar for almostbob
0
105
Member Avatar for rajeesh_rsn

[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"> <head> <script language="javascript" type="text/javascript"> <!-- (document.getElementById) ? dom = true : dom = false; function hideIt() { if (dom) {document.getElementById("layer1").style.visibility='hidden';} if (document.layers) {document.layers["layer1"].visibility='hide';} } //--></script> </head> <body onload='setTimeout("hideIt()",1000);'> <div id="layer1" >this is a div that will show …

Member Avatar for rajeesh_rsn
0
119
Member Avatar for jonow

do it ANother way frameset instead of iframe this is a file 'external.php' that we use to load outside files under a little header that says external file and a menu the file takes a parameter $ext that is the file to load [code=php]<?php ob_start('ob_gzhandler'); ?> <!DOCTYPE HTML PUBLIC '-//W3C//DTD …

Member Avatar for FlashCreations
0
384
Member Avatar for Eager_Beever

the database is meant to be machine readable human readable data constructs just *expletive deleted* the data time is not a character string time is, int, numeric result from the time functions (seconds from 0.00 1 jan 1970). sql (php asp perl flex) time functions convert human readable day month …

Member Avatar for almostbob
0
106
Member Avatar for lucatoni

A good place to start is the government bureau of statistics, whatever they may be called in the region of interest, the information requested is often available for access. premade to the date of the last census, on cdrom or downloadable

Member Avatar for mohamedfoad
0
154
Member Avatar for achiman

[code=php]<?php if($_POST){ echo 'submitted were<br>'; foreach ($_POST as $key => $value) { echo $key." value ".$value.'<br>';} } ?> <form action='<?php echo $_SERVER['php_self']; ?>' method='post'> choice 1<select name='1'> <option value='big'> big</option> <option value='blue'> blue</option> <option value='marble'> marble</option> </select> &nbsp; choice 2<select name='2'> <option value='big'> big</option> <option value='blue'> blue</option> <option value='marble'> marble</option> …

Member Avatar for almostbob
0
75
Member Avatar for mahdiahmadirad

"How to get exxed from search engine results" "How to lose customers" "How to avoid repeat visitors" alternate titles to this thread,

Member Avatar for almostbob
0
109
Member Avatar for jeffc418

[icode]<noscript>This page requires javascript</noscript>[/icode] anything between noscript tags is ignored if javascript is active, and the tags are ignored and the contents parsed if javascript is inactive Any contents

Member Avatar for jeffc418
0
107
Member Avatar for andrewsCWD

My circumstance a number of files, changed at midnight then remain the same for 24 hours. first access after midnight script generates the files from database, then they are served from the file system, very basic cache system to reduce database calls. Read files a supplier changes their price lists, …

Member Avatar for andrewsCWD
0
165
Member Avatar for janicefernandes

download a copy of vbulletin, coppermine, et al and you can read the source of those pages and implement your own

Member Avatar for almostbob
0
61
Member Avatar for millsy007

output into a table, and the width will adjust to the widest name, or set the td widths tables are still useful for tabular data

Member Avatar for manojjena1982
0
88
Member Avatar for rouse

[QUOTE=rouse;819387]How is a 3 digit HEX number interpreted as a color value in this example? background: #fff Do browsers double up each digit? Thanks! WBR[/QUOTE] [url]http://www.december.com/html/spec/color3hex4.html[/url]

Member Avatar for rouse
0
68
Member Avatar for scholar

Before you even attempt to alter anything read the terms of service, it would be really pisspoor to be bounced for something as trivial as this, can you just walk to an active host during the time its needed

Member Avatar for cohen
0
489
Member Avatar for veledrom

[QUOTE=veledrom;818988]Hi, [code]INSERT INTO money (salary) VALUES ('100,000,000.00')[/code] 100,000,000.00 is stored as 100.00 in decimal (14,2). I don't know what is wrong? Thanks[/QUOTE] do not punctuate numbers in input data mysql suypports multiple data schema, language-specific and region specific in many supported schema the comma is a decimal separator, the number …

Member Avatar for almostbob
0
144
Member Avatar for dlacloche
Member Avatar for MidiMagic
0
86

The End.