2,295 Posted Topics

Member Avatar for extemer

What datepicker there is not enough information provided to give assistance

Member Avatar for almostbob
0
56
Member Avatar for al2henry

given a host that allows any server scripting, most do either php or asp, for ease this is a php scrap one line in each file affected by the change [code=php]<?php include('pathto/filename'); ?>[/code] where filename is the file containing the html of the changed information incidentally ALL repeated content can …

Member Avatar for al2henry
0
144
Member Avatar for pseudorandom21
Member Avatar for pseudorandom21
0
257
Member Avatar for Hani1991

'someone' is wrong, sanitizing filters are smarter than that, >this filter is aware of the default_charset and if a sequence of bytes is detected that makes up an invalid character in the current character set[/b] then the entire string is rejected resulting in a 0-length string. My **bold**, aware of …

Member Avatar for Pro2000
0
111
Member Avatar for samsons17

clean up the code, perhaps, there may be something that you missed [U]something[/U] you may have missed .moz css extensions only work in mozilla browsers safari is not a mozilla browser IE is not a mozilla browser your client(safari on Mac), and 70% of all possible visitors(IE), see fault in …

Member Avatar for almostbob
0
131
Member Avatar for muppet

iframe code for no problem[code=html]<html></html>[/code] iframe code for problem condition[code=html]<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html><head><script type='text/javascript'> <!-- top.location = 'location of selected problem page' //--></script></head><body></bopdy></html>[/code]

Member Avatar for muppet
0
168
Member Avatar for samsnov

[code=html]<link rel='shortcut icon' type='image/x-icon' href='http://www.schoolfriendtime.com/favicon.ico'> <link rel='shortcut icon' type='image/x-icon' href='http://www.schoolfriendtime.com/image/favicon.ico'>[/code]not sure if subdfolders work, I know root folder first option works lower case

Member Avatar for almostbob
0
81
Member Avatar for riseguim

This .htaccess code allows any uri posted to the html filename in the folder given, to work transparently with the new php system everything before the extension .html gets posted as $1 to $1.php old links old bookmarks still work

Member Avatar for almostbob
0
151
Member Avatar for art_wired
Member Avatar for art_wired
0
239
Member Avatar for Sahilsahni
Member Avatar for lloydsbackyard

[code=html]<form onsubmit='document.getElementById("textbox").value="";'> <!-- or --> <input type='submit' onclick='document.getElementById("textbox").value="";'>[/code] or any other combination of form/input & onanything

Member Avatar for lloydsbackyard
0
7K
Member Avatar for darknoobie

rationalise the code so images have the same name as the state value options, saomething like[code=html]<select onchange='document.getelementbyid("smallimg").src="images/small/image_"+self.value()+".jpg";document.getelementbyid("imglink").href()="images/large/image_"+self.value()+".jpg";' name='state'> <option value='1' selected='selected'>Alabama</option> <option value='2'>Alaska</option> <!-- etc --> <option value='50'>Wyoming</option></select> <a id='imglink' href='images/large/image_1.jpg' title='alabama at 1024*450'> <img id='smallimg' src='images/small/image_1.jpg' alt='' width='50' height='50'/> </a>[/code]width and height specified for small image, a html requirement …

Member Avatar for darknoobie
0
220
Member Avatar for pjrey

if this is a tablet or phone and the screen is only 250px wide? calculating a distance from the left edge wont work none of the styles described so far will work if the window size is changed trying to patch something together from incomplete code is difficult, all the …

Member Avatar for pjrey
0
117
Member Avatar for MooGeek

retired already, see below Sig, travelling summer in Canada, seeing all my wife's country, then travelling the other summer in Aus, my wife seeing all my country got to love royalties back when I started, , , Fortran punch cards, 600 punch cards to print one naked ascii lady

Member Avatar for almostbob
0
279
Member Avatar for HelenLF

Sitemaps for SEO are not human readable the sitemap is a machine readable file detailing the file structure, in its simplest form, a Sitemap is an XML file that lists URLs for a site along with additional metadata about change frequency, relative importance, useful sitemaps can be generated at many …

Member Avatar for Jennifersarah
0
375
Member Avatar for cchap
Member Avatar for cchap
0
140
Member Avatar for westerncj

[code=php]<?php ob_start("ob_gzhandler"); ?> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html><head><title>Email Contact form</title> <?php include ("./menu.php"); // all the missing </head> and <body> are included in menu.php ?> <P>Email</p> <form action=<?php echo $_SERVER['PHP_SELF']; ?> method='post'> <input type='hidden' value='Email from web form' name='subject'> <input type='hidden' value="This is a string that …

Member Avatar for westerncj
0
160
Member Avatar for lloydsbackyard

and when inputting the date, If you have control of the data form [icode]<select><option value='1'>January</option><option value='2'>February</option>[/icode] etc

Member Avatar for karthik_ppts
0
157
Member Avatar for TheNinjaForce

you have worse problems than that fixed column looks ridiculous on widescreen monitors, pushes content offscreen in small windows or displays px are not layout tools px are used for images current best practice for layout is em or % scalar dimensions that adjust to window size screen resolution and …

Member Avatar for TheNinjaForce
0
208
Member Avatar for lifeworks

O open (opens in a spreadsheet) Ctrl-P print [noparse]https://spreadsheets0.google.com/spreadsheet/pub?hl=en_US&hl=en_US&key=0AhhCntOrEg9FdF9PZkIwY08tZTdwd3lkYkJFNEtkMkE&single=true&gid=2&output=txt [/noparse] plain text file

Member Avatar for almostbob
0
195
Member Avatar for niche1

generic counter, accepts parameters for all items, enable more than one field to be counted on a form, hate hard-coding :) [code=javascript]function countChars(textboxID, displayInID, maxCount){ var count = max - document.getElementById(textbox).value.length; if (count < 5) { document.getElementById(counter).innerHTML = "<span style=\"color: red;\">" + count + "</span>"; } else { document.getElementById(counter).innerHTML = …

Member Avatar for Troy III
0
139
Member Avatar for ibakir

the [I]display users[/I] page and the [I]edit user details[/I] page, should be completely separate, when opening the edit user details page the user should be presented with a single item, containing only their details, [icode]select * from table where id = userid[/icode] , where userid is only pulled from the …

Member Avatar for Stefano Mtangoo
0
1K
Member Avatar for felix001

as reported by MM, css only works on valid tags, you cant add new tags the [noparse][code=php][/noparse] tags used on forums like this are not html, they are a plugin called bbcode, note square brackets, which is interpreted when the page is built and displayed in html, with colorcoding[code=css].code {} …

Member Avatar for GreenDay2001
0
97
Member Avatar for Gerbiler

there isnt any 'bad' characters in the database records, unsanitised quotes etc that may mess up the sql ? probably get negged for asking the obvious, but the obvious SH__ sometimes happens

Member Avatar for griswolf
0
540
Member Avatar for reygcalantaol

No SE bots dont have access to the server logs that actually record visits data not part of the server log can be faked tricked abused, or is simply wrong

Member Avatar for reygcalantaol
0
172
Member Avatar for Jiaxin

[code=sql]select count(*) as num from table select * from table order by price limit 0, num/3 select * from table order by price limit num/3, num/3 select * from table order by price limit 2*num/3. num/3[/code] not a mean price, set around 3 median price groups, you can do the …

Member Avatar for almostbob
0
109
Member Avatar for ppetree

assuming a data structure where the user table has a unique autoincrement id number apart from name address etc database table lastmessage 1 column 'last_message_id' each machine in the sending messsages group in this example is sending 500 emails before repolling the server[code=mysql]select last_message_id as TEMP from lastmessage limit 1 …

Member Avatar for ppetree
0
122
Member Avatar for eric-mg

possible causes[indent]google bug: contact google the other site has embedded the wrong key code: contact google and/or other site[/indent]google analytics doesnt work as expected all the time, nothing does, it could be a random event that doesnt recur google analytics does not work, does not find anybody with antimalware apps …

Member Avatar for eric-mg
0
81
Member Avatar for abhi10kumar

I believe passing a query string to the included file is functionally unneccessary the included file becomes part of the outer/wrapper/including/calling file //you choose an appropriate description all the values known to the outer file are known to the included file if id is given in a query string to …

Member Avatar for almostbob
0
210
Member Avatar for Buppy

[url=http://www.cssplay.co.uk/menus/flyoutt.html]Stu Nichols[/url] would be the site to visit, " flyout vertical css menu ", he's made a bunch of css menus that do as you wish, and just work as styled UL, if this one isnt right, there will be one on the site that is pretty close the google …

Member Avatar for almostbob
0
162
Member Avatar for gambit_1607

perhaps the drupal help system and forums may be a better place for this more specifically drupal problem [url]http://drupal.org/documentation/modules/help[/url] [url]http://drupal.org/community[/url] probably this one [url]http://drupal.org/documentation[/url]

Member Avatar for almostbob
0
330
Member Avatar for utthu

as well as turning of reporting, why not fix the error $flag is defined with a true value in a subroutine at line 34, if the subroutine is not executed there is nothing for line 49 to examine before the subroutine in line 34, set $flag to false, at line …

Member Avatar for almostbob
0
107
Member Avatar for bob on whidbey

changing the file name is easy, php does STUFF [code=php]<?php ///Posted in Phpadda.in/// // the directory './' - is the current directory '../' - is the parent directory // case sensitive // e.x.: /home/user or c:\files $dir='../images/'; // 1 - uppercase all files // 2 - lowercase all files // …

Member Avatar for diafol
0
3K
Member Avatar for Louilly

it appers to be limitations in the iphone pdf reader, there are several replacements [url]http://www.everythingicafe.com/forum/threads/new-pdf-reader-app-for-iphone.40575/[/url] sample apple, superficial whizz-bangs hide the failures

Member Avatar for Louilly
0
2K
Member Avatar for suavedesign

perhaps because the code used is invalid [url]http://validator.w3.org/check?uri=http%3A%2F%2Fwww.newstylesignsusa.com/sign_types.html&charset=%28detect+automatically%29&doctype=Inline&group=0[/url] html fail [url]http://jigsaw.w3.org/css-validator/validator?uri=http%3A%2F%2Fwww.newstylesignsusa.com/sign_types.html&profile=css21&usermedium=all&warning=1&lang=en[/url] CSS 2.1 fail [url]http://jigsaw.w3.org/css-validator/validator?uri=http%3A%2F%2Fwww.newstylesignsusa.com/sign_types.html&profile=css3&usermedium=all&warning=1&lang=en[/url] CSS 3 fail Valid code does not ensure the site will work ... Invalid code ensures the site will [b]not[/b] work ... .. in all browser OS combinations

Member Avatar for suavedesign
0
490
Member Avatar for JasonTyler

auto link builders link farms link exchanges are effective in getting the site black-listed build the links manually, get accepted too easy

Member Avatar for denysaputra
0
316
Member Avatar for Kostas Theof

[code=php] $output = bla blah bla; /* the data output from the background php page. I had to put SOMETHING here, */ $getdate = date( 'd-m-Y, H:i:s' );// Get the date. $user_ip = $_SERVER['REMOTE_ADDR'];// Get the user IP, just in case. $referer = getenv("HTTP_REFERER");// Get the refering page. just in …

Member Avatar for yahya al salman
0
3K
Member Avatar for gertails

ASAP (10) + a-hole factor (-100) = cup of coffee and a friendly kmayoyo :) dont know a css style to do it have always used a transparent background with 2 horizontal lines for the span of text

Member Avatar for Ezzaral
-1
674
Member Avatar for aru211285

[url=http://lmgtfy.com/?q=dynamic+select+box]the google search[/url] There are many scripts to do just that, there are javascripts to do it clientside if the choices are limited in number ajax scripts to pull the alternates from a DB table for more complicated data straight html that refresh the page onchange and _GET a modified …

Member Avatar for aru211285
0
185
Member Avatar for MargateSteve

may take a two part query not formalised as code, just a thought exercise firstarray=select from team teamid secondarray= for each in firstarray select from games where teamid=firstarray[team] order by date desc limit 6 properly constructed would create a 2d array where rows are by teamid, and columns are team …

Member Avatar for urtrivedi
0
199
Member Avatar for ramukumar

[code=php]echo "<tr><td><a href='$Link[$j]' target='_blank'> <img src='/images/news3.gif' /> <font color='#FFFFFF' size='3'>$NewsPapers[$j]</font></a></td>";[/code]the html is screwed up, a mix of xhtml and html, attributes are required to be quoted, dtd is required some browsers will fail to render on this type of error wrape code in [noparse][code=language] [/code][/noparse] tages where language is html …

Member Avatar for aru211285
0
8K
Member Avatar for misha1978
Member Avatar for almostbob
0
91
Member Avatar for jrotunda85

[url=http://www.php.net/manual/en/datetime.createfromformat.php]datetime.createfromformat[/url] should cover the neccesary formatting, produces a datetime that you can dump straight into the db[code=php]<?php // part of the php script sanitizing the data for input to db where the form date field is inputdate $DBdate = date_create_from_format('n/d/Y|', $inputdate); // trailing | sets time to 0 ?>[/code]the sql …

Member Avatar for divyakrishnan
0
1K
Member Avatar for PinoyDev

[QUOTE=blocker;805646]Good day to everyone! I just want anybody to correct my code. The code tells that when i click on the button it will dispay a msg that will confirm if the client really wants to add the information, If yes then he will be redirected to another page, if …

Member Avatar for ivancarrascoq
0
2K
Member Avatar for bangla

We send email to the email contact address [code=php]echo 'Your contact details have been added to the display page for '.$local['town'] .' the contact details look like this'.$local['contact'] .' the page can be reviewed at <a href="mysite.com/'.$local['town'].'/">'.$local['town'].'</a>' .' please contact us if you wish your details removed';[/code] we have only …

Member Avatar for bangla
0
186
Member Avatar for yumyam09

[code=javascript]document.write('this is a basic Javascript');[/code]<--staggers off, giggling drunkly

Member Avatar for twiss
-1
156
Member Avatar for nizuya
Member Avatar for gujinni
0
110
Member Avatar for manchurianCEO

this [icode]type="text/css">@import url('menu/menu_style.css"');</style[/icode] means load the css file inside the menu subfolder of the current folder doesnt work when you are in a subfolder because the menu folder is no longer a subfolder [code=php]<style type="text/css">@import url('/menu/menu_style.css"');</style> <style type="text/css">@import url('http://www.yoursite.com/menu/menu_style.css');</style> <style type="text/css">@import url("<?php echo $_server['document_root']; ?>/menu/menu_style.css");</style> <link rel="stylesheet" type="text/css" href="http://www.yoursite.com/menu/menu_style.css"> <link …

Member Avatar for diafol
0
121
Member Avatar for wilko1995

the search would be something like [url=http://lmgtfy.com/?q=googlemaps+api+directions] why not get off your lazy but and look [/url]

Member Avatar for wilko1995
0
105
Member Avatar for sha11e
Member Avatar for almostbob
0
45

The End.