2,295 Posted Topics
Re: OPP and NSW Police I live in both countries, they can be described equally The best Police Force money can buy | |
Re: follow the instructions [url=http://www.google.com/support/webmasters/bin/answer.py?hl=en&answer=70897] Google 101 [/url] google seem to know a little about how google index web sites Pretty much nothing anyone else says about google really matters much | |
Re: [code=php]<?php /* connect select db etc */ $flat=("SELECT C.Latitude, C.Longitude FROM Cities C JOIN Countries Co ON Co.CountryId = C.CountryId JOIN Regions R ON R.RegionId = C.RegionId WHERE C.City = '$city' and Co.Country = '$country' and R.Region='$state'"); while ($fr = mysql_fetch_array(mysql_query($flat))) { $lat = $fr['Latitude']; $long = $fr['Longitude']; } /* … | |
Re: use a different gallery there are thousands, many that do not require thumbs to display thumbs | |
Re: A caveat applies There is not enough information to provide accurate answers, to try to elicit information[LIST=i][*]is the portal remotely hosted if remote they may have a support desk[*]Do you control the configuration[*]what script is it[*]what changed at or just prior to failure, updates, even just email address of [U]a[/U] … | |
Re: 1 file autostart on page load[code=html]<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <style type='text/css'> /* css positioning for the media player */ .logo { background:transparent; color:#000000; text-align:right; font-size:85%; top:auto; left:auto; position:fixed; bottom:1px; right:1px; } //edit position by top bottom </style> <script type="text/javascript"> <!--// function shrink(){ document.getElementById("MediaPlayer1").style.width=384; document.getElementById("MediaPlayer1").style.height=300; } … | |
Re: those are the actual sizes of the images, not the desired size[code=html] <div id="main"> <h1>Pictures</h1> <img width='594' height='292' alt='alt text is a requirement' src="Pictures/3DIM_poster.jpg" /> Poster presentation at 3DIM 2009. <img width='594' height='612' alt='alt text is a requirement' src="Pictures/scanner_inside.jpg" /> Leica HDS3000 LiDAR scanner in the lab. <img width='594' height='612' … | |
Re: its not a new [U]type[/U] of scripting its a script using php, the brand name of an image script with it you upload images and display and manipulate them details [url]http://www.4homepages.de/[/url] , english text at the bottom of the deutsch text there are dozens of similar scripts free for download … | |
Re: Troy's prior answer, absolutely correct short expl. width:100 would work as width:100% defaults as pixels if no unit is set and without it, makes no difference the body is already set to 100% and attributes are inherited float:left; is non-functional for a div that occupies the full width <strong> is … | |
Re: external stylesheet[code=html] <html> <head> <link rel="stylesheet" type="text/css" href="http://www.yoursite.com/style.css"> </head> <body> bla bla bla </body> </html>[/code]with style.css containing amid the other styles [code=css]a:hover { background-color: blue; color: white; }[/code] header styles[code=html]<html> <head> <style type='text/css'> <!-- a:hover { background-color: blue; color: white; } --> <style> </head> <body> bla bla bla </body></html>[/code] inline … | |
Re: second code runs on my ide, [code=php]<?php class CreateAccountPage { public function __construct() {} public function title() { return 'Create Account'; } public function inlineStyle() { return <<<EOSTYLE label { margin-top:0.5em; display:block; font-family:Arial, Helvetica; font-size: 10pt; color: #444; } EOSTYLE; } public function processRequest() { /* first process any incoming … | |
Re: depending on the script/controls/parameters of the pplayer you select [icode]<a href='#' onclick='player.src="file.mp3";'>Play file</a>[/icode]this is a simple wmp, because the code is in my head already, get the correct code off the flash plyer howto page [code=html]<a href="http://www.microsoft.com/windows/windowsmedia/player/download/"> <IMG ALT="Get Windows Media Player" src="http://www.microsoft.com/windows/windowsmedia/images/logos/getwm/mp11_88x31_static.gif" WIDTH="88" HEIGHT="31" BORDER="0"></a><br> <OBJECT ID="MediaPlayer1" width=384 height=300 … | |
Re: [QUOTE=edwinhermann;1008523]I'm sure printing can be restricted, but the save as copy simply can't because if I can read the bytes and store them in memory (in order to display the PDF), I can store them on disk. THat's nothing to do with the PDF itself. It's at the dat level … | |
Re: dont use javascript use css the focus or active attributes [code=html]<style type='text/css'> #link1 { background-image: url(Pic11.jpg); } #link1:active { background-image: url(Pic12.jpg); } #link1:focus { background-image: url(Pic12.jpg); } #link2 { background-image: url(Pic21.jpg); } #link2:active { background-image: url(Pic22.jpg); } #link2:focus { background-image: url(Pic22.jpg); } #link3 { background-image: url(Pic31.jpg); } #link3:active { background-image: … | |
Re: Where the file is accessed by [code=html]<a href='download.php?file=thisfile.pdf'>download Thisfile.pdf</a>[/code] mysql[code=php]<?php /*download.php*/ If (!$_POST['file']='') { /* validate $_POST any amount of form validation this is just an exercise or die('invalid information'); */ $con=mysql_connect("server","user","password"); if (!$con) { die('Could not connect: '.mysql_error()); } mysql_select_db("my_db", $con); mysql_query("INSERT INTO downloads (FirstName, LastName, Company, email, telephone, … | |
Re: the explanation of the desired function of the script is correct. but the script will not work as expected rollover images are not preloaded the first time any affected image is rolled over the new image will be downloaded from the server, [U]Nothing [/U] will happen for the time that … | |
Re: shoot me down in flames, I could be very wrong but a while back I think I read on MSDN notify is a reserved word in the IE DOM, it may require a name change for that ID [url]http://msdn.microsoft.com/en-us/library/aa753746(VS.85).aspx[/url] | |
Re: at the very begininnig What do you want to accomplish, [INDENT]do you want to browse the web and know 'how they did that' Do you want to 'Do that' [/INDENT]and so forth. | |
Re: [code=sql]CREATE TABLE Employee ( Emp_Id int PRIMARY KEY IDENTITY, LastName varchar(255) NOT NULL, FirstName varchar(255), Address varchar(255), City varchar(255), postalcode vachar(6), /* other columns*/ )[/code] not sure about sql server, identity SHOULD be the keyword to make it autoincrement | |
Re: [icode]<body onload='history.go(-2)'></body>[/icode] | |
Re: autoloading stuff in php or other server language is easy one file in the folder and auto thumbnails and display and slideshow with fade [url]http://panmental.de/public/programming_projects/Slideshow%20script%20in%20PHP/[/url] ![]() | |
Re: this one allows you to set images per row, rows per page, does both gallery & slideshow allows the user to download a .zip of the images (or not), configured by changing true/false in the settings section well documented internally drop in a folder of images when you unzip the … | |
Re: I just tried the html to pdf on the link provided xhtml strict css3 reproduced the page perfectly perhaps the probem is the type of conversion chosen direct entered code rather than url | |
Re: [code=sql]select * ( Concat(string1,' ',string2) as searchme ) from table where searchme like "$search"[/code]text string single space between the columns else you get BrownCow which wont match brown cow | |
Re: server processing, the google search would be for, apache mod_rewrite too, have index.php in the folder and link to the folder also works when you dont want the folder directly linkable index.php/index.html/default.asp in those folders - a permanent redirect to where you do want them to go | |
Re: the javascript calls the php script on the server and writes the returned html into the same div p or other tag that the original was written The JQuery library has good instructions and basic tutorials [url]http://docs.jquery.com/Tutorials/[/url] | |
Re: I dont like tables much, but for tabular data like this they Work :) try [code=html]<table rules='rows' class='tbl_Size_Chart' > <caption>Size Chart - Children</caption> <tr class = "row_height"><!-- Row 1 --> <th >Size</th><!-- Col 1 --> <th > 2 </th><!-- Col 2 --> <th > 4 </th><!-- Col 3 --><!-- will … | |
Re: using :: file.php?text=this as example if else[code=php]<?php if (!$text) {die('No text selected');} elseif($text='this') {echo '<div class="topbar">This Text goes here</div>'; } elseif($text='that') {echo '<div class="topbar">That Text goes here</div>'; } ?>[/code] switch / case[code=php]switch ($text) { case '': die('No text selected'); break; case 'this': echo '<div class="topbar">This Text goes here</div>'; break; case … | |
Re: [code=html]<script type="text/javascript"> <!--// function setplay(thisfile,ww,hh) { document.getElementById("MediaPlayer1").src=thisfile; document.getElementById("MediaPlayer1").style.width=ww; document.getElementById("MediaPlayer1").style.height=hh; } //--> </script> <p><a href="http://www.microsoft.com/windows/windowsmedia/player/download/"><img alt="Get Windows Media Player" src="http://www.microsoft.com/windows/windowsmedia/images/logos/getwm/mp11_88x31_static.gif"width="88" height="31" border="0"></A><br> <object id="MediaPlayer1" width=384 height=300 classid="CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95" codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,0,02,902" standby="Loading Microsoft Windows Media Player components..." type="application/x-oleobject"> <param name="fileName" value=""> <param name="showControls" value="true"> <param name="PlayCount" value="0"> <param name="animationatStart" value="true"> <param name="transparentatStart" value="true"> <param … | |
Re: simpler than it looks . . . the url [noparse]http://www.thissite.com/thisfolder/[/noparse] is a url to the folder not to a file when the folder opens, the default file index.php index.html default.asp or whatever is appropriate to the server configuration opens and runs in the same way as [noparse]http://www.thissite.com/[/noparse] acutally opens [noparse]http://www.thissite.com/index.html[/noparse] … | |
Re: [LIST][*] Item1 [*] Item2 [*] Item3 [*] Item3 [/LIST] try styling unordered lists not sure, but, the default style for lists has a whitespace between li elements [code=css]ul {margin:0; padding:0;} ul li {margin:0; padding:0;}[/code] | |
Re: unique, and random are mutually exclusive is probably easiest to serialize create a file, in this case i keep it in cgi-bin, called countforms.bcnt if you change the name change it for all occurrences in the scritp chmod writeable to the user that php runs under contents six digits [COLOR="Green"][B]000000[/B][/COLOR] … ![]() | |
Re: [url]http://www.websiteoptimization.com/services/analyze/[/url] | |
Re: there can be [B][U]no[/U][/B] output to the browser before redirects remove the echo statements at 18 19 those statements are useless the two possible outcomes of the upload are covered by the if statement at 26 | |
Re: 1 comes before 2 11 (one one) also comes before 2 like the personal information this IS sort by alphabet order of the field name 130 questions number 001 002 003... 009 010 011... 055 056 057... 128 129 130 without knowing which form processor script, or without viewing the … | |
Re: html with clickable label[code=php]<input type="radio" name="color" id='red' value="Red" <?php if ($_SESSION['color'] == 'Red') {echo 'checked';}?>><label for='red'> Red</label><br> <input type="radio" name="color" id='blue' value="Blue" <?php if ($_SESSION['color'] == 'Blue') {echo 'checked';}?>><label for='blue'> Blue</label><br> <input type="radio" name="color" id='yellow' value="yellow" <?php if ($_SESSION['yellow'] == 'yellow') {echo 'checked';}?>><label for='yellow'> Yellow</label><br>[/code] xhtml with clickable label[code=php]<input type="radio" … | |
Re: have you examined elements sized in ems and %, per W3C recommendations, to produce pages that do self adjust to window px are not best practice | |
Re: what website what are you in competition with are you good enough to compete [INDENT]( does your site reach out and grab attention in the first 8 seconds )[/INDENT]are you unique, original, funny, sexy or controversial is the site fast, malware free, and correct no matter the advertising, nobody will … | |
Re: just began reading this thread, the cut n paste scripts are out of date , use deprecated code "check for IE4 NS4 " ie is at 8 Nestscape is a dodo, its extinct replace the scripts problems solved <script language='javascript'> should be <script type='text/javascript'> | |
Re: no [url]http://www.w3schools.com/XHTML/xhtml_html.asp[/url] | |
Re: The left image is native 428*536 91.71KB jpg enlarged it is html resized to 900 * 1100 this image a jpg with little or no compression will scale up like that without image degradation, any problem comes when, the total size of the images makes page loading take solong that … | |
Re: [code=html]<a href="/media/video/cartoons/Star123.flv" style="display:block;width:520px;height:330px" id="player"> click to play from a folder (root foldername)</a> <a href="../../media/video/cartoons/Star123.flv" style="display:block;width:520px;height:330px" id="player"> click to play from a relative folder(up 2 then down)</a> <a href="http://www.someothersite.com/somefolder/somesubfolder/Star123.flv" style="display:block;width:520px;height:330px" id="player"> click to play from anywhere on the web</a> [/code] alias, we don need no steenkin alias hth dos v'danye | |
Re: if stored clear in the database and transmitted in clear between the pc and the server its not a password its an invitaion to packet sniffers hash: Md5 sha or otherwise ([url=http://www.w3schools.com/php/func_string_md5.asp]md5 serverside[/url] | [url=http://www.webtoolkit.info/javascript-md5.html]md5 clientside[/url]) the password and verification of the password on the pc at account setup, and … | |
Re: do not store separate date and time store a single unix timestamp or sql datetime (both of which can output date, time, or date and time then just select max(dategps.datetime) | |
Re: [code=php]<?php /* this file is called with url parameters ?firstname=Jon&lastname=Rama&gender=male full_name is a concatenation of firstname lastname */ $full_name=$firstname.'_'.$lastname; $file = $full_name.'.php'; if (file_exists($file)) { die("$file already exists"); } $text="<table width='100%'><tr><td align='center'><b><h1 class='title_list'>$firstname $lastname</h1></td></tr><tr><td>$firstname is a $gender.</td></tr></table>"; $fp = fopen($file, "x"); fputs ($fp, $text); fclose($fp);// Close the file. echo $file.' … | |
Re: "remainder " is referred to as modulus and [url=http://www.w3schools.com/jS/js_operators.asp]modulus operator[/url] is % you should be able to code it from this short sample or read through the link above[code=javascript]if( variable % 2 = 0 ) { // do something along the lines of document.write [/code] | |
Re: Unlimited? bandwidth diskspace, unlimited is syonymic for infinite, not really possible but in scaleable hosting second vote for rackspace on price try theplanet ![]() | |
Re: In partial explanantion of the conflict/dichotomy between date() and the sql date column the date format for php asp unix ,( timestamp format in sql represented by the sql now() function) is a 10 digit numeric representing the time in seconds from 1 1 1970, the single column stores date … | |
Re: try[CODE=sql]SELECT a.airport_code AS airportcode, a.airport_name as airport, u.usr_id as userid, u.usr_fname as firstname, u.usr_lname as lastname, u.usr_email as email,u.usr_airline as airline, u.usr_airline_iatacode as iata, t.title as title from users u left join userairportservices uas on uas.usr_id_users = u.usr_id left join airport a on a.airport_id = uas.airport_id_airport left join title t … |
The End.