2,295 Posted Topics
Re: the quiz is wrong four yards worth can be written under other circumstance as sixpence worth therefore there are no apostrophes If one answer is wrong, the others are likely to be also. | |
Re: my code for forced download is very like yours, dont want the pdf to open in the browser [code=php]if(!$file) return false; header("Content-disposition: attachment; filename=$file"); header('Content-type: application/pdf;'); readfile("$file"); [/code] try, [code=php]header("Content-Type: application/octet-stream"); header("Content-Disposition: attachment; filename=$dumpf\;"); readfile("$dumpf"); [/code] | |
Re: the source for an iframe is a html file (xhtml php cgi asp etc) you just put the css, or a call to the .css file in the <head> of the source file, the same as any other html file | |
Re: I can do it in php => implies there is a method in ASP but why an iframe an include menu is more compliant with more browser types that dont support iframes any how in the iframe menu [code=html] <a href='/index.php?something=value1' target='_top'>page1</a> <a href='/index.php?something=value2' target='_top'>page2</a> <a href='/index.php?something=value3' target='_top'>page3</a> <a href='/index.php?something=value4' … | |
Re: try[code=php]<div class="WADAResultPrice"><?php echo '<a href='.$row_WADAcompanies["Website"].'>'.$row_WADAcompanies["Website"].'</a>'; ?></div>[/code]the html in the php echo statment still has to be quoted as text, the php arrays variables dont | |
Re: RSS, syndicate your wordpress blog(s) and read the most recent rss feed(s) on your web page [url]http://wordpress.org/extend/plugins/rss-stream/[/url] is the wordpress plugin and you just get a feedreader plugin for your web page, like [url]http://www.rss-specifications.com/feed2html.htm[/url] | |
Re: [INDENT][INDENT]messed up script failed gone to debug[/INDENT][/INDENT] | |
Re: It does not work in IE7 either there are several hundred nul characters scattered at random through the source redo with a text only editor, or change the editor used config to save html as plain text | |
Re: prefer an integrated approach through a modified front end menu admins are often upgraded from users, they have experience and familiarity with the user control panel keeping everything with similar systems also means that when malicious joe looks over admin fred's shoulder at the screen, joe sees the same page … | |
Re: whois.internic.net whois.arin.net whois.ripe.net whois.aunic.net whois.apnic.net whois.nic.ad.jp nic.ddn.mil whois.enunet.es but you have to check who does what | |
Re: [code=javascript]<script type="text/javascript"> function Grades() { homework = document.getElementById("homeworkbox").value; labwork = document.getElementById("labworkbox").value; midterm = document.getElementById("midtermbox").value; finalexam = document.getElementById("finalexambox").value; finalexam = parseFloat(finalexam); midterm = parseFloat(midterm); labwork = parseFloat(labwork); homework = parseFloat(homework); finalgrade = (.25 * homework) + (.20 * labwork) + (.25 * midterm) +(.30 * finalexam); document.getElementById("finalgradebox").value = finalgrade; } </script>[/code] … | |
Re: Google gradient fill gradient background its a 1px high, very wide image repeated in Y direction 1000s availble for download at 'webmaster tools' sites read the css guides on how to repeat backgrounds try it if it works Done, yourself If it doesnt work post the code that didnt and … | |
Re: popup windows are dead for malware risks flash is disabled in large and small corporates Flash and popups severely limit the possible customer base z-index and invisible/visible layers are the way to go this post [url]http://www.daniweb.com/forums/attachment.php?attachmentid=9343&d=1235567703[/url] has an alternative pseudo popup script attached | |
Re: [url=http://www.google.com/search?hl=en&q=php+calendar+script+download&meta=] g o o g l e [/url] FFS | |
Re: RSSto html php scripts abound [url=http://www.shareup.com/Feed2Html-download-47411.html]Feed2HTML[/url] I use to display amherst & truro News, towns we work rss feeds are free anyway, you just go to the news source you want, find there rss feed usually labelled with a cute red rss button and plug its address into the builder … | |
Re: [url]http://www.thumbshots.org/[/url] | |
Re: without the rest of the code inc_rate.php so that anyone can find what the functions getcomments() and submitcomments() is supposed to do, its a little difficult post the code | |
Re: try to rephrase the post, and describe the problem post the code that is causing the problem someone may be able to assist there is not enough information given in this post | |
Re: contact paypal sign up as a merchant add the code they give you | |
Re: checkout the apache.org mod_rewrite tutorials | |
Re: [QUOTE=queenc;813032]Warning: include_once(./common/dblayer.php) [function.include-once]: failed to open stream: No such file or directory in /home1/careergl/public_html/converters.php on line 8 Warning: include_once() [function.include]: Failed opening './common/dblayer.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home1/careergl/public_html/converters.php on line 8[/QUOTE] [LIST=1] [*]filenames are quoted [icode] include_once('./common/dblayer.php'); [/icode] [*]count the dots . and .. are not the same [*]Ensure the … | |
Re: That code is not working on anybody's browser except yours all recent browsers include popup blockers, you get flagged as a 'bad site' try using a fixed position div and making it visible or invisible at need. code snipped, styles set in external stylesheet enough dragged in to make it … | |
Re: By browser 'back' button or by navigation form buttons, it makes a difference how you navigate | |
Re: I'm coming in to the middle part of this but whenever I have something that works with a fixed value, that doesnt work with a variable, I left the quotes out Debugging is fastest if you use the same value of the variable as the original fixed value index.php?directory=. check … | |
Re: [code=html]<div id="footer" style='bottom: 0;'>[/code] | |
Re: The same way as you make a website using html First - read the f manual think what you want to do learn how to do it, Try it post what didnt work for code gurus to tweak | |
Re: post the code for the access guru to look at, wrapped in code tags so it has line numbers etc and one will usually find the problem | |
Re: your counter is blocked by my Hosts file, it is externally hosted by a site in the MSMVP hosts file, (not a good thing) External Javascripts: depend on the availablility of the hosting site. Timeout = no script, I can only assume that the host server times out sometimes and … | |
Re: [code=php]include("./thisfile");[/code] [code=html]<link rel="stylesheet" type="text/css" media="screen" href="./style.css">[/code] [code=php]$basedir=substr("$_SERVER['SCRIPT_FILENAME']",0,strripos("$_SERVER['SCRIPT_FILENAME'],"/",0));[/code] just some of the diff ways to find the same thing | |
Re: php and sql/mysql/mssql an sql/mysql/mssql (depends on your host) database containing the name description actors review image(or link to the image) all the fields you need the initial list page is generated from the database of names. Click the link and it populates a php template with the contents of … | |
Re: using SSI server side includes for html or PHP a serverside preprocessor easy in html the fix is a kludge not all browsers support iframes In each html file where the menu is supposed to be [code=html]<iframe src='menu.html' frameborder='0'>The menu is in an iframe that your browser does not support, … | |
Re: each included file can be only that part of the html that they need to be full xhtml for all will give validation errors [code=php]<?php include('doctype.inc.php'); echo '<title>'.$pagetitle."</title>"; include('header.inc.php'); include('menu.inc.php'); include("$pagename"); include('footer.inc.php'); ?>[/code] is valid as long as the included files contain the required html (or php to generate the … | |
Re: simply No more complex No, but No you cant avoid some differences [url]http://www.browsershots.org[/url] will show you just how different the views of any page are in the different browser screen OS machine combinations there are If you code to standards your site will look similar enough to be recognizably yours … | |
Re: [code=javascript]function go(page) { If !(page = "") { document.go.view.value = page; document.go.action = document.go.action+"&page="+page; document.go.submit(); } }[/code] my javascript is rusty, but this should only work if page is set | |
Re: two methods [code=html]<div style='border:1px solid #000000'> <a onclick='putithere.innerHTML="moped";'>Mercedes</a><br> <a onclick='putithere.value="taxi";'>BMW</a></div> <textarea id='putithere' name='putithere' rows='5' cols='50'> </textarea>[/code]there are probably more | |
Re: NOW() is an sql mysql mssql function not a php fuction in php time() is now as well as the slightly buggy print code [code=php]<? if ($registerend < time()){ print "Registration has ended"; }else{ print " <a href='/registration/new/register.php?id=".$event['id']."'>Click Here to Register</a>"; } ?>[/code] Its possibly more portable, for more than … | |
Re: [url]http://www.ups.com/bussol?loc=en_US&WT.svl=Footer[/url] | |
Re: How have you made the colored bars Show code | |
| |
Re: ]float:none or just leave out 'float' for the text divs, they will flow around the image. IE does not behave as standards dictate, but standard compliant code renders properly in IE (this time) The easiest way is [code=html] <div id=container> <img style='float:left width:128px height:128px;' src='whatever/it/is.jpg'> <div id="DIV2" style="background:#ccc">Content would go … | |
Re: also good for [code=css] .bottomright {bottom:0 right:0 } .menu {right:0; top:100px; width:15%;}[/code][code=html] <body><a name='top'></a><a class='bottomright' href='#top'>&uparr;Top</a> <div class='menu'> Your menu </div> <!-- 1000s lines of html code that scrolls the page --> </body></html>[/code] and assorted stuf with logos copyright notice and anything else you want to stay in one place … | |
Re: follow macneatos post and add a blank space equal to the height of the footer to the image, OR add a colored bar equal to the height of the footer to the image and dont set bground color in css to the footer | |
Re: [code=php]if( $r['whattotal'] == '0' ){ echo "Less";}[/code] ? maybe | |
Re: many browsers discard measurements without a unit [icode]<img src="...path.." alt="text if image is missing" height="128px" width="128px" />[/icode] | |
Re: It has been done beofre, so often the easiest way is to google for what you want, then read the script source to see how they did it, and implement something similar [url]http://www.stadtaus.com/demos/voting_script/voting_image_options_en.php[/url] [url]http://www.google.ca/search?hl=en&q=graphical+poll+script&meta=[/url] | |
Re: Dont reinvent the wheel the Ecommerce functions you are looking for have been made before, in your choice of programming languages, for free, for pay, supported, unsupported hosted elsewhere, self hosted paypal credit cards delivery et al [url=http://www.google.com/search?hl=en&q=online+store+script&meta=]Google [/url] online store script search then its just a relatively simple thing … | |
Re: dont reinvent the wheel .jsp captcha script [url]http://www.google.ca/search?rls=ig&hl=en&q=.jsp+captcha+script&meta=[/url] [url]http://www.hscripts.com/scripts/jsp/captcha.php[/url] [url]http://captchas.net/sample/jsp/[/url] | |
Re: the code produced by frontpage looks hideous in IE too, at any screen resolution other than the one it was developed at, or in a part screen window at the same resolution (try it). all the fixed pixel divs and tables do not scale, do not adjust, not the sort … | |
Re: [icode] <a class="partdiv" href="{param}">{option}</a> [/icode] | |
Re: [code=css].bassano1 { width: 33%; } .bassano2 { width: 33%; } .bassano3 { width: 33%; } .bassano1, .bassano2, .bassano3, .bassano4, .bassano5 { position: relative; background-color: #008001; border: 2px solid #095E09; float: left; height: 50 %; } [/code] the css is buggy, the space between '50' & '%' makes a second parameter, … |
The End.