2,295 Posted Topics
![]() | Re: does the host have a helpscreen with the server names ours is a cheap host and to avoid phone calls there is a page outside the control panel that lists mail.[yoursitenam].com smtp.[yoursitenam].com mysqlhost.[yoursitenam].com ftp.[yoursitenam].com ssh.[yoursitenam].com controlpanel.[yoursitenam].com etc ![]() |
Re: [code=sql]select * from table group by Column1 column2 order by column1[/code] | |
Re: [url]http://www.clickablemaps.com/uk_eire.html[/url] includes how to make other maps as well as the downloads | |
Re: it may be due to the different document models this script works on linux macs windows in safari ie firefox, Its not mine, the differing dom modelsshow in the first few lines of code [code=javascript] (document.getElementById) ? dom = true : dom = false; function hideIt() { if (dom) {document.getElementById("layer1").style.visibility='hidden';} … | |
Re: I've only learned one thing about DB design store date and time as timestamps its a lot faster to compare numeric timestamps than text date/time stings | |
Re: You are really asking in public for helpo in stealing somebody else's content? Why not ask at rapidshare? because they dont want you stealing their property [quote=rapidshare terms of use]The layout, design, files, images and all other contents of the Rapidshare-search-engine.com web site are owned by Rapidshare-search-engine.com and are protected … | |
Re: That was abount the most stupid post I have sent I think I will edit it out wish there was a delete button | |
Re: It can be done, there are dozens of video scripts on the web that you can drop into a folder on your web host, The script searches the folder for video files displays a menu of them and lets them click and play If you name the files you upload … | |
Re: Most database problems are because the designer is trying to store the data in a Human readable form not a machine readable form the database is for the computer, not for people store last login [code=php]$lastlogdate = time();[/code] [code=sql]UPDATE users SET lastlogdate=time() WHERE username=%S, $nicke[/CODE] or have the sql update … | |
Re: The only thing to say is, You don't have to reinvent the wheel there are hudreds(1000s) premade for download and plugin to your site [url=http://www.hotscripts.com/category/php/scripts-programs/file-manipulation/upload-systems/]Hotscripts: php upload files[/url] DosVdanye | |
Re: inside the for each in array_post loop, then only table rows for items in the post array will be generated. no need for 'suppression' I should have read this post before the other post [code=php] if (isset($_POST)){ foreach($_POST as $k => $v){ if(is_array($_POST[$k])){ foreach ($_POST[$k] as $k1 => $v1){ eval("\$$k" … | |
Re: [code=html]<select name='almost' id='bob' onchange="javascript:return confirm('Are you sure you want to change this setting ?')"> <option>blue</option><option>green</option><option>red</option></select> <input type='submit' onclick="javascript:return confirm('Have you completed all required fields form will not submit untill complete ?')">[/code] 'javascript:return confirm(text query)' works for me in many applications | |
Re: [code=php]if(isset($cycling1)) {echo "<tr> <td>Cylcing 1:</td> <td>".$cycling1." </td> </tr> <tr> <td>Cycling Experience 1:</td> <td>".$cyclingEx1." </td> </tr>"; } if(isset($fasterthanaspeedingbullet1)) {echo "<tr> <td>fasterthanaspeedingbullet 1:</td> <td>".$fasterthanaspeedingbullet1." </td> </tr> <tr> <td>fasterthanaspeedingbullet 1:</td> <td>".$fasterthanaspeedingbulletEx1."</td> </tr>"; } if(isset($leaptallbuildingswithasinglebound1)) {echo "<tr> <td>leapingtallbuildingswithasinglebound 1:</td> <td>".$leaptallbuildingswithasinglebound1." </td> </tr> <tr> <td>leaptallbuildingswithasinglebound Experience 1:</td> <td>".$leaptallbuildingswithasingleboundEx1."</td> </tr>"; } if(isset($morepowerfulthanalocomotive1)) {echo "<tr> <td>morepowerfulthanalocomotive 1:</td> … | |
Re: Try this type of 'goto top' link the style would be in a styleshweet in a page but this is an example [code=html] <a href='#top' style='background: transparent; top: auto; left: auto; bottom: 1px; right: 1px; position: fixed;'> GoTo Top </a> [/code] creates a link that remains in the bottom right … | |
Re: [icode] <input type="textbox" disabled='disabled' style='text-align:right;' name="txtNUMBER" id="txtNUMBER"> [/icode] to make the numbers pushin from the right like a standard calc. and numbers can only be entered by keypad, not directly in the box | |
Re: In Google Webmaster tools that you have subscribed to? havent you has a bunch of helpscreens including one on localization strings to tell the bots where what to look at Yahoo bots use the same strings | |
Re: Goto the google webmaster tools page Create a google webmaster account Read What google actually search FOR when the Bots spider a page Correct your design to match create a sitemap submit to google Repeat for Yahoo Ask MSN et all | |
Re: [quote=http://ca.php.net/manual/en/control-structures.goto.php] [B]goto[/B] The goto operator can be used to jump to other instruction in the program. The target place is specified by the label and a colon and goto is followed by that label. Example #1 goto example <?php goto a; echo 'Foo'; a: echo 'Bar'; ?> The above example … | |
Re: This advertisement is completely unfriendly. however if you must, if the top of the interstitial advertising page includes one of those progress bars stating [INDENT]'Processing your form please wait'[/INDENT] (even a fake), you can pretty much put whatever you want on the lower 90% of the page, for ~10 seconds … | |
Re: [QUOTE=localp;803545]i am new to PHP, i typed in a hello world php program and opened it using the web browser, but the end tag "?>" is also getting displayed, could any one correct my code ... [/quote] [code=php] <html> <head> <title>My First PHP Page</title> </head> <body> <?php echo '<b>Hello World! … | |
Re: been there, did that, was really surprised how well DLG works, didnt lose anything, didnt need to re-activate | |
Re: show the code you are using, and the file structure of the text file | |
Re: [QUOTE=progurammaar;803044]Hi i'm used to working with Visual studio IDE and C#.NET and have just started studying PHP. These are my queries: 1. Is there any IDE like the visual studio for PHP, i mean it was a lot easier dargging and dropping controls in VS. Suggest me one. [/quote] google … | |
Re: development =>[INDENT]determine need determine solution(s) code best solution implement solution satisfy need[/INDENT]you have a web page developed before you worked out what you needed. benefit ~ 0.000 (return / effort ratio) work out what you want from a web page, then work out how to implement it, then you may … | |
Re: [code=html]<select name='email_address'> <option value='bob@myplace.com'>Email Bob</option> <option value='bill@myplace.com'>Email Bill</option> <option value='ben@myplace.com'>Email Ben</option> <option value='burt@myplace.com'>Email Burt</option> </select> [/code] duh thats more than three but you get the idea | |
Re: change the separator to : strtotime functions think that x.y is a fraction x:y is a time $a = 9.43 = 9:25 $b = 8.20 = 8:12 = 17.63 = 17:37 You want $a = 9:43 $b = 8:20 = 18:03 then you can just add the hours with mktime(strtotime($a … | |
Re: I used this tutorial [url]http://www.websiteoptimization.com/speed/tweak/current/[/url] | |
Re: notepad++ and DevEditPHP, likewise for control-click of functions and classes, Horrible Learning curve | |
Re: yes, the javascript filename is referenced in the html in clear [icode] <script language="javascript" type="text/javascript" src="http://www.-mysite-.com/script.js"></script> [/icode] anyone typing that src into a browser can read the javascript validation is done securely on the server. php or Ajax -javascript+php- are possible approaches. [url=http://www.google.ca/search?hl=en&q=ajax+validate+password&meta=]google ajax validation[/url] javascript is good for confirming … | |
Re: Rethink the logic, servers dont behave like that | |
Re: [code=php]function formatDate($val) { list($date, $time) = explode(" ", $val); list($year, $month, $day) = explode("-", $date); list($hour, $minute, $second) = explode (":", $time); return date("l, m.j.y @ H:ia", mktime($hour, $minute, $second, $month, $day, $year)); [/code] There is nothing in that script that is set to language or timezone specific. the dateformat … | |
Re: [code=sql]AND b.date BETWEEN CURdate( ) AND DATE_ADD(CURDATE(), INTERVAL +9 DAY) [/code] | |
Re: [code=php] $search_query = "SELECT clientid, additionalownerid, additionalpropertyid, officeref, title, firstname, lastname, email1, email2, tel, mobile, identification1, identification2 from clients WHERE clientid = clientid "; if($clientid != ''){ $search_query .= " and clients.clientid = '$clientid' "; } if($officeref != ''){ $search_query .= " and clients.officeref like '%$officeref%' "; } if($title != … | |
Re: [QUOTE=owkaye;801060]I have a site under development that's going to use a JS-based drop down menu which will open when the visitor hovers over a single element called "menu" at the top of each page. Naturally the folks who have JS disabled are not going to be able to use this … | |
Re: A GOOD way is to sign up at google for a webmaster account, [B]then read the helpscreens.[/B] Google tell you what google look for. tell you how to prepare your site before submission(dont submit a dud) tell you how to submit it tell you when it was/is/will be spidered give … | |
Re: javascript statements end in '[iCODE] ; [/iCODE]' strict means you have to complete your javascripts, [code]<input type="text" name="keyword" class="text" size="12" maxlength="30" value="" onFocus=" if (value == '') {value='';}" onBlur="if (value == '') {value='';}" /></td>[/code] not sure if it isnt supposed to be [code]<input type="text" name="keyword" class="text" size="12" maxlength="30" value="" onFocus=" … | |
Re: [QUOTE=dewhickey;800346]Thank you all for your help. The addition of a field in each record I called "active" solved the problem. On the insert new record page, I added a hidden field that sets "active" to the value of "0" (zero). Then, on both the front-end (public) and back-end (edit) pages, … | |
Re: browser quirks modes [INDENT]IE assumes you made a mistake and makes what it can work work, but only in IE only mode Firefox throws away styles it doesnt understand everything after that {, got dumped[/INDENT] firebug - debugging addin for firefox, reccommended in another thread here,[INDENT] not by me, not … | |
Re: Its a standard shopping cart with the name changed to 'quote bla bla bla' there are thousands premade and can be custom made, for free and for pay, supported and unsupported, in any (computer) language you are comfortable with. [url=http://www.google.com/search?hl=en&ei=gKORSaKoL8H7tgfg_6TjCw&sa=X&oi=spell&resnum=0&ct=result&cd=1&q=shopping+cart+software&spell=1]your friendly neighbourhhod Google[/url] (not spiderman) | |
Re: [url=http://www.dynamicdrive.com/dynamicindex1/chainedmenu/index.htm]dynamic drive.com chained menu[/url] will get what you need I think, I dont feel the urge to reinvent the wheel, see also [url=http://www.dynamicdrive.com/dynamicindex16/chainedselects/index.htm]dynamic drive.com chained selects[/url] | |
Re: have you determined that mod_rewrite is enabled in your server 500 Internal server error often means the module is not compiled in | |
Re: code in [code]tags it makes it easy to read that makes it easy to help make it difficult, just get rude answers like this [code=html]<form> Hotel <input type="text" id="txt1" onkeyup="showHint(this.value)"> </form> <p>Suggestions: <span id="txtHint"></span></p> var xmlHttp function showHint(str) { if (str.length==0) { document.getElementById("txtHint").innerHTML=""; return; } xmlHttp=GetXmlHttpObject(); if (xmlHttp==null) { alert … | |
Re: in your css file or between the <style></style> tags in the header if using inline styles [code=css]td:hover {background:#aebcff;} td {background:#ffffff;}[/code] and your html is just [code=html]<td>sdsdsad</td>[/code] & javascript may be disabled in the client browser individual javascripts in elements are unneccessary | |
Re: shrink the image first, many people will not wait. as long as there is a size set for the image, fake it create a 1pixel square image and load that into the 800*600(example) image space. put the javascript to load the image, and replace the 1px placeholder, [B]last[/B] in the … | |
Re: [code]<a href='http://babelfish.yahoo.com/translate_url?doit=done&tt=url&intl=1&fr=bf-home[B]&lp=en_fr[/B]&btnTrUrl=Translate&trurl=<?php echo urlencode('$_SERVER['SERVER_NAME'].$_SERVER['PHP_SELF']); ?>' title='La traduction est automatique, confirment svp les details essentiels dans la version Anglaise originale'><font size='-2'>Français</font></a> <a href='http://babelfish.yahoo.com/translate_url?doit=done&tt=url&intl=1&fr=bf-home[B]&lp=en_es[/B]&btnTrUrl=Translate&trurl=<?php echo urlencode('$_SERVER['SERVER_NAME'].$_SERVER['PHP_SELF']); ?>' title='La traduccion es automatica, confirma por favor los detalles esenciales en la version Inglesa original'><font size='-2'>Español</font></a>[/code] for a html select each <option> would be coded … | |
Re: the embedded styles in your html is effectively inline css, you could use a css menu by embedding the style definitions in the head, instead of in a separate style sheet if external style sheets are not supported. [code=html]<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <style> <!-- … | |
Re: [QUOTE=EvilOrange;795781]Hi, I have a website in development and i've made it centered regardless of width of the viewing browser window (eg. the browser is 1000px wide and the content is 600px wide and is centered with 200px each side) by using div's. Now it works perfectly in FF, IE and … | |
Re: Not familiar with wordpress, but try lots of crap to follow or <a href='#endcrap'>go to the end of the crap</a> blah blah blah blah blah blah blah blah <span name='endcrap'>Still reading</span> works in another hosted site, they disallow id and allow name or you could use the wordpress --more-- tag … | |
Re: There is no [icode]float :top;[/icode] property float takes left right none | |
Re: Well you forgot to include the script, but you dont have that much control the user can do whatever they want on the users pc, which is where the file ends up Even when the user saves the file, the download window will prompt to open on completion unless 'close … |
The End.