2,295 Posted Topics
Re: [code=css]#left{ float: left; margin: 0; padding: 0; width: 221px; font-size: .9em; height: auto; border-right:1px solid black; } #right{ margin: 0 0 0 220px; padding: 0 0 0 10px; height: auto; border-left:1px solid black;} #wrap{ width: 100%; margin: 0 auto; padding: 0; }[/code] this works on my desktop. left column has … | |
Re: many ide include an internal version of the php interpreter so others become a little superfluous, [B]AS Long As [/B]the included version is current or updateable. I use DevPHP thumbdrive version to take to clients offices, its very small fits on a 512mb thumbdrive, no install, but use xampp at … | |
Re: well [url=http://lmgtfy.com/?q=basic+php+tutorial]Let me Google that for you[/url] | |
Re: that is an unneccessarily convoluted way to echo text, what do you actually want to achieve | |
Re: to have php in your 'style.css' file is not difficult, rename style.css style.css.php link to it as [icode]<link rel="stylesheet" type="text/css" href="/style.css.php">[/icode] first line of style.css.php [icode]<?php header ('content-type:text/css'); ?>[/icode] file will be parsed as php but outphut as css, then you can use [U][B]any[/B][/U] php to rotate the image in … | |
Re: I use a javascript to create sortable tables from [url=http://javascript.internet.com/miscellaneous/sortable-table-with-alternating-row-colors.html]javascript.internet.com sortable tables et al[/url] , a really Workable HowTo and samples others will suggest reloading the page from the server with a different sql query, but server time, download size etc and the difference between instant sort and page refreshing … | |
Re: Includes are the right way to go the file is processed as a single file includes are not separate if the validation authentication were the first lines in include.php they are processed first, no part of the page is output to the browser untill after that include the exit will … | |
Re: you could, as a last ditch effort, if all else fails, after you've complained, [url=http://php.net/manual/en/function.mail.php]go to php.net[/url] and [url=http://www.readthefuckingmanual.com/][B][I][U]RTFM[/U][/I][/B][/url] here [url=http://lmgtfy.com/?q=html+mail+in+php]let me Google that for you[/url] | |
Re: couple of codescraps that go with this thread even though its solved, [code=html]<script type="text/javascript">function theChecker() { if(document.getElementById('agree').checked==false) { document.getElementById('subm').disabled=true; } else { document.getElementById('subm').disabled=false; } }</script> <input type='checkbox' id='agree' name='agree' id='agree' value="Confirmed" onclick='theChecker();' /><label for='agree'> I agree to the rules </label> <button type="submit" title="Click To send completed form" onclick='return confirm("Are all … | |
Re: Well Hey, [url=http://lmgtfy.com/?q=freeware+form+processor+script+source+code ] Let me Google that for you [/url] | |
Re: [url]http://translateth.is/docs[/url] after all else fails RTFM, the drop down function appears to be hardcoded even with very few languages selected | |
Re: cant help you, but I can make it easier for those who know how to asnwer, to be able to help you, the screen shots are useless to anyone post the code of the page, between [INDENT][noparse][code=html] put code here [/code][/noparse][/INDENT] code tags so that one of the html mavens … | |
Re: write your own content and avoid trying to steal content that somebody else has written the copyright notice resides in the footer ? pictures of the owner of what you are stealling? or contact the site owner and ask them permission and/or a copy of the page to put on … | |
Re: show the code, for the script that does not work | |
Re: There is nothing wrong with the output, correct browser strings, you did not bother to look up what the http_user_agent strings were design your code around the actual values of the variable, the variable will not alter to suit your expectations windows xp really needs to be updated beyound service … | |
Re: let us base [U]our[/U] treatment of animals on the treatment of animals [I]by animals[/I] Therefore, we can eat them, alive if we want to, mutilate them parasitise them lay our eggs upon their paralyzed bodies so our young can eat them alive find any number of ways to make their … | |
Re: the OP is 'interesting' but a fine example of [B]what not to do[/B] write what you wish to achieve, you have a function unix2data that you do not define for anyone to see, nor do you explain the expected results, or the expected inputs | |
Re: the default for multiple addresses is separated by ; semicolon try just editing the to: address address1;address2 | |
Re: [code=css].header { width: /* etc */ } .footer { /* bla bla */ } .printheader { width: /* etc */ } .printfooter { /* bla bla */ } @media print { .header {display:none;} .footer { display:none; } .printfooter {display:block;} .printheader {display:block;} } @media screen { .header {display:block;} .footer { display:block; … | |
Re: from php version ?? to php version ?? the php.net website has a long list of details on the upgrade from one version of php to the next, lilkely you can go there and find details on what syntax is changed often an variable that was able to be accessed … | |
Re: full code is required,to give any reasoned answer | |
Re: tables for tabular data, luv javascript tablesort routines view data any which way but I use css to style the table, and use tables for tables not for layout of anything else | |
Re: never buy anything that locks you to a single proprietary format, routinely they go belly up. apple consider they are the exception, but 30 years and 3% of the market?? | |
Re: javascript onmouseover onmouseout are unneccessary BS css menus use ul {} ul.hover {} definitions to achieve the same effect try one of the sites that offer to code it for you [url]http://purecssmenu.com/[/url] | |
Re: there is only a parking notice at least 3/4 of the parking page is blocked as malware and I'm not going to disable the block post the html and css of the page, the source view is useless for a php page | |
Re: You have to [B][U]COMPLETE[/U][/B] registration and go to the control panel to get the code when all else fails RTFM | |
Re: the code supplied is WRONG includes do not work in html includes require shtml the filename has to be altered to shtml and the server has to be configured to parse .shtml for server includes base level hosting likely will not include .shtml .php or .asp php & asp EAT … ![]() | |
Re: In what form is the date stored, as a date object or in some text form, comparing DMY d - m y y-MD makes a lot of difference, it may be impoosible to match different date formats edit, impoosible ?? ha ha | |
Re: the google search would be css dropdown menu css dropdown flyout menu ( for multiple levels ) javascript is unneccesary, the use of flash is pathetic | |
Re: show the code with which you place the background is the background a tiny repeat-x, or a large image otherwise shooting in the dark | |
Re: every array, edit lost a bit there every array starts as array[0] | |
Re: show your code, one of the gurus will be able to point you right | |
Re: try it without all the cellpadding and cellspacing attributes in images, <img> does not support cell[i]anything[/i] try it with all the measurements having a dimension <td width='22'> fails <td width='22px'> does not (px em % mm inch pt) <self closing tags /> work only with xhtml there is no dtd … | |
Re: user registration validation image/file upload image validation ( coyright obscenity ) <= this part probably cant be automated display uploads, appropriately saled ;;seems a bit like photobucket look on google or in phpscripts.com or other script repository for a photobucket clone script that will give you the basic method, generally … | |
Re: you try, you succeed,all good you try, you fail, [INDENT]you ask "what is wrong with this attempt I made" and you post your code attempt, someone will [U]help[/U] [B]you[/B] fix it,[/INDENT] you learn, you succeed all good [B][U][I]we [/I][/U][/B]do your homework, you dont learn, not good. not gonna happen BossLady … | |
Re: There is good reason why you seldome see <base>, it seldom works declaring relative links start at XXX is a total stuffup, is difficult to maintain, does not allow portability | |
Re: just to clarify, you want to break the list into two columns, of approximately equal size, break at country headings, not states so the top of each column will be a country name, using the correct number of states per country read from the database( Australia has 9 not 3 … | |
Re: you have to put the formatting in, something like [code=php]echo "'"; $str = file("sheet5.txt"); foreach($str as $line){ echo nl2br($line)."','"; }[/code] | |
Re: ... and users depart, in droves, because navigation does not work the way they want. Users expect certain features and functions, or they leave. the client in this case needs to be shown that the text will flow offscreen, be unreadable, unreachable, and be a perfect enticement for potential customers … | |
Re: html5 is aidea and will probably not be released, xhtml supersedes it in ability even if it is releaseed, as long as the dtd of your pages is properly declared, the browser will display them properly | |
Re: table columns, last_login login_number add to your php login script [code=mysql]update members set last_login=now() where user=$user update members set login_number=login_number+1 where user=$user[/code] code sample only, not checked, (laptop in public wifi, no notes) once the timestamp is set then you can use php sql datetime functions to find any users … | |
Re: one method, excusing inline style, poor practice [icode]<div style='top:auto;right:auto;bottom:0;left:auto;position:fixed;'>footer</div>[/icode] [quote=MidiMagic]So no way to do it is provided. There are two things you can't reliably do on a web page:[/quote] of course we will pretend not to notice the footer at the bottom of this page. ↓ . Grins | |
Re: show the complete code including the mod_rewrite code from the .htaccess file in [noparse][code=php] code [/code] for php [code=apache] code [/code][/noparse] for .htaccess tags | |
Re: part of a very much larger .htaccess file, .htaccess==goldmine[code=apache]AddHandler server-parsed .html Options +Includes <Files .htaccess> order allow,deny deny from all </Files> RewriteEngine On RewriteCond %{HTTP_REFERER} !^$ RewriteCond %{HTTP_REFERER} !www.mysite.com [NC] RewriteRule \.(jpe?g|gif|bmp|png|wmv|asf)$ /images/nohotlink.jpg [F,NC] ErrorDocument 404 /notfound.php ErrorDocument 401 /needpassword.php ErrorDocument 500 /noserver.php <IfModule mod_expires.c> ExpiresActive On ExpiresByType text/html "access … | |
Re: $fileNum does not need to be dquoted, in double quotes the php parser will search text, for variables all of these work[code=php]$path = "img$fileNum"; $path = "img".$fileNum; $path = 'img'.$fileNum;[/code]putting the variable inside quotes is slower (infinitessimally) than leaving it outside where it belongs, above line3 (single quoted text) is … ![]() | |
Re: an Ajax refesh is exactly NOT what you described Ajax polls the server and relads the returned data file into the the same position, but it is a file transfer, there is no magic appearing data, it has to come from somewhere | |
Re: I use another radio button [code]<input type='radio' value="1" name="samename" >5<br> <input type='radio' value="2" name="samename" >4<br> <input type='radio' value="3" name="samename" >3<br> <input type='radio' value="4" name="samename" >2<br> <input type='radio' value="5" name="samename" >1<br> <input type='radio' value="" name="samename" checked>Reset<br>[/code] | |
Re: [code=html]<body><button id='pause' value='continue' onclick='document.getElementById("pause").style.display="none";document.getelementById("content").style.display="block";'> <div id='content' style='display:none;'> rest of page </div></body></html>[/code]?? | |
Re: alt and title attributes are a required part of the html specs the page will [I]operate[/I] if you remove them from your image tags, if there is nothing in 'alt="alttext"' it does not display an empty box, [B]but[/B] [LIST] [*]the page will not validate, [*][B]be down-graded by search engines[/B], [*]inaccessible … |
The End.