2,295 Posted Topics

Member Avatar for PomonaGrange

[code=html]<frameset onload='document.getElementById("main").focus()'; rows="75,*"> <frame src="menu.php" scrolling="no" marginwidth="0" marginheight="0" > <frame src="home.php" id="main" > <noframes> <body>Your browser does not support frames. You can view the <a href="/home.php">Home Page</a>.</body> </noframes> </frameset>[/code] If you, use a css positioned menu, you dont have to have ugly framesets the page will scroll, index better and …

Member Avatar for almostbob
0
92
Member Avatar for neoseeker191

Emphatically yes and there are dozens of tutorials on creating css menu bars on the web with drop downs on some items, mouseover and onclick effects (hover and active effects) they work the same in browsers with/without javascript, only better

Member Avatar for ccube921
0
120
Member Avatar for ZeroFlowne

Fedex & UPS do what the postal service does with parcels to po boxes they send a card to the box, and the box owner has to pick up the parcel from the nearest office Many sites refuse delivery to postboxes I had terrible trouble getting parcels to MilPo boxes

Member Avatar for almostbob
0
133
Member Avatar for marcmm

you set up a numbering structure so that the thumbnail and full picture share a common filename, the database only needs one picture name the thumbnail is thumb100004.jpg and the fullsize picture is 100004.jpg [INDENT]the only thing needed is 100004.jpg[/INDENT] the thumbnail is <img src='thumb<php echo'/*sql to get $number.jpg*/'; ?>' …

Member Avatar for marcmm
0
211
Member Avatar for etc123

You cant make it look the same on different resolutions, diferent browsers, different OS, most likely the movement is the page adjusting to the chosen measurements at the changed resolution and regardless of resolution you cant even be certain what size window the page is opened in. you can't make …

Member Avatar for almostbob
0
106
Member Avatar for mlempaa

When you get [icode] ob_start(); [/icode] inside php tags, there should be a flush of that object exmple[code=php]<?php ob_start("ob_gzhandler"); statements ob_flush(); ?>[/code] opening a buffer object and adding a gzip handler makes for compressed output, [code=php]<?php statement ?> <?php statement ?> <?php statement ?> <?php statement ?> <?php statement ?> …

Member Avatar for sarithak
0
155
Member Avatar for jencinas69

THere are a multitude of rate my picture scripts on script repositories like hotscripts.com phpscrips,com grab a couple. examine them, and use ideas from the best bits of all of them.

Member Avatar for almostbob
0
103
Member Avatar for MrMellow

[QUOTE=jencinas69;795219]this is the only error I get in the about us page Notice: Undefined variable: HTTP_USER_AGENT in /home/www/fairfieldlimousine/mission.php on line 25 Notice: Undefined variable: HTTP_USER_AGENT in /home/www/fairfieldlimousine/mission.php on line 31 in this domain [url]www.fairfieldlimousine.com[/url][/QUOTE] In php versions >=4.20 global variables are turned off anti hacking security HTTP_USER_AGENT does not exist, …

Member Avatar for almostbob
0
242
Member Avatar for Scottmandoo
Member Avatar for veledrom

Your site has to have something interesting in it, those 'seo' additions you have made are bland, and have no reference to YOUR page they refer to BMW, bmw already have their own web site,, seo score -negative the search engines say. we do not index every site submitted best …

Member Avatar for veledrom
0
159
Member Avatar for Danthon
Member Avatar for Danthon
0
148
Member Avatar for architact

[url]http://www.barelyfitz.com/screencast/html-training/css/positioning/[/url] [url]http://www.elated.com/articles/css-positioning/[/url] just a few of the howto guides

Member Avatar for architact
0
72
Member Avatar for akai80

Not an answer but often the easiest to setup is the worst to use and the worst to setup is the easiest to use, because all the problems are taken care of during the tedious setup. Likewise any answers of the 'best' are going to be extremely subjective. No recommendation …

Member Avatar for almostbob
0
76
Member Avatar for almostbob

Got directed to these [url=http://www.addedbytes.com/cheat-sheets/php-cheat-sheet/]cheat sheets [/url] php css scripting regular expressions 'et al' had to pass the link on

Member Avatar for diafol
1
133
Member Avatar for Stunt

[B][I]F[/I][/B]irst [B][I]I[/I][/B]mpression:: without looking :: your style sheet :: different alignments in browsers usually means that you have [code=css].something{ padding: 0px; margin: 0px; someattribute: 0dimension; }[/code] those zero should be dimensionless -no px pt em %, just zero [code=css].something { margin: 10px 0 1em 0; padding: 0; }[/code] zero px/pt/em/% …

Member Avatar for MidiMagic
0
70
Member Avatar for gordo58

[code=php] echo "<meta name=\"description\" content=\"".$row{'Name'}." - ". substr($row['Description'],0,strpos($row['Description'],' ',150)) ."\">\n";[/code] I think that this will break the string at the first whitespace after 150 characters anyone seen the fingers crossed icon :)

Member Avatar for uncle_smith
0
134
Member Avatar for SmartBeaver

Pixels for images that are pixels wide/high, float:left or float:right to wrap them in the page text ems or %age for fonts, ::do not set any absolute size for screen fonts, the user may have settings you don't know and your page is illegible, lost customer %age for all other …

Member Avatar for SmartBeaver
0
99
Member Avatar for sacarias40

proof read looking for what what errors is it kicking what is the table structure its supposed to be accessing what are you intending to do if $num_rows > 1

Member Avatar for superchris
0
101
Member Avatar for Andy2210
Member Avatar for almostbob
0
105
Member Avatar for serdas

Get notepad++ notepad2 vedit, any editor that shows syntax highlighting they show proceedural/syntax errors very well, the text is the 'wrong' color for keywords if any required punctuation, or structures are missing. from the point where the missing item is, so it is easy to locate

Member Avatar for almostbob
0
91
Member Avatar for vivichie

There are a few good tutorials, a few easy tutorials, unfortunately no good easy tutorials, but, No Warrant of fitness for any purpose. etc etc [url=http://articles.techrepublic.com.com/5100-10878_11-1045068.html]TechRepublic php/flash [/url] [URL=http://www.ibm.com/developerworks/xml/library/os-php-flash/index.html]IBM Generate Flash on the Fly, with php[/url] [quote=the php 5.2.8 manual] [url=ftp://ftp.sgi.com/sgi/graphics/grafica/flash/]Shockwave Flash Functions[/url] Introduction PHP offers the ability to create …

Member Avatar for almostbob
0
146
Member Avatar for gpittingale

[QUOTE=gpittingale;792361]would it be the same if it was a drop down box?[/QUOTE] yes a drop down is a single input, the value is the value of the chosen option, and fits nicely as one item in an array [code=html]<select name='man'> <option value='bill'>bill</option> <option value='brian'>brian</option> <option value='barry'>barry</option> <option selected value='AlmostBob'>Smart Alec</option> …

Member Avatar for almostbob
0
100
Member Avatar for gpittingale

grab a prewritten shopping cart script from hotscripts or somewhere, and \"borrow\" their method

Member Avatar for Fest3er
0
139
Member Avatar for Mahen

[code=css]#content { float : center; font-size : 13px; margin-left: 165px; width : 70%; }[/code] this text is invisible to me 13 dots in 0.016 inch dot pitch .208 inches hi thats small, its four point paper type. all font sizes on screen should be in ems then the font size …

Member Avatar for almostbob
0
86
Member Avatar for rickarro

[code]$text = stripslashes($_POST['update']);[/code] Sorry Ardav, in between reading the post and answering

Member Avatar for almostbob
0
217
Member Avatar for gpittingale

does a javascript submit refresh the page? I ask, I dont use javascript much 'selected' is written by the server if a javascript submit does not refresh the page selected will not be written, I think..?

Member Avatar for gpittingale
0
93
Member Avatar for theimben

get_browser returns an array if the second paramenter is true, of the remote user if the first parameter is null print part of the array [code=php]<?php $browser = get_browser(null, true); print_r($browser['platform']); print_r($browser['version']); // its been a while echo $browser['platform']; may work ?>[/code] array elements I know about, havent looked up …

Member Avatar for theimben
0
158
Member Avatar for almostbob

everybody knows strtotime is buggy in and around february first day +1month at the 29 30 31 January typically puts you in march 1 not Feb 1 last day of the month is not always 28 feb, may be march I have a script for my own use, residential leases …

0
106
Member Avatar for willyontour

[quote=Google Webmaster tools] Sitelinks are additional links Google sometimes generates from site contents in order to help users navigate your site. Google generates these sitelinks periodically from your site's contents. Because we generate sitelinks dynamically, this list can change from time to time Example Search ResultThis is an example of …

Member Avatar for seanansari
0
139
Member Avatar for FlashCreations

If its really only small & simple why not a flat file version for those without sql fixed length fields teminated by line feed or php arrays is quite fast to read and write, especially since the server can cache the write. look at the structure used by some of …

Member Avatar for FlashCreations
0
357
Member Avatar for theimben

Like uncle_smith but people tend to believe indexes should start at one [code=php]foreach ($links as $key => $links) { echo '[PART="'.$key+1.'"]'.$links.'[/PART] <br />'; }[/code]

Member Avatar for almostbob
0
96
Member Avatar for NoGood

code samples at [url]http://javascript.internet.com/forms/[/url] [url]www.dhtmlgoodies.com/index.html?page=calendarScripts[/url] [url]http://webscripts.softpedia.com/downloadTag/calendar+script[/url] [url]http://www.dynamicdrive.com/dynamicindex7/[/url] probably Hotscripts script dungeon many script repositories have calendar scripts that fill form fields for you The better ones use hidden/shown layer dhtml calendars instead of popups, popups can be blocked by browsers

Member Avatar for NoGood
0
346
Member Avatar for lswan662

rotate is likely to be a angle value, somewhere in range 0f either -180 to +180 or -pi to +pi depending on world geometry polar or cartesian

Member Avatar for lswan662
0
96
Member Avatar for tracyn2k2

[quote][code=php]echo (" <html> <head> <title>Untitled Document</title> <style type="text/css"> [/code][/quote] the first dquote in the style declaration ends the text in the echo statement, then there is no semicolon, variable, dot, or other structure php understands so there is an error replace the dquotes in [icode]<style type="text/css">[/icode] with single quotes or …

Member Avatar for tracyn2k2
0
132
Member Avatar for MDGM

[QUOTE=MaxMumford;789807]I have tried decimal, but it always adds 0's onto the end of my number. I want it to only add the exact number I enter in, so for example at the moment if i enter in 10, it changes it to 10.000 whereas I want it just to save …

Member Avatar for MDGM
0
93
Member Avatar for sureronald

not knowing what form structure used this is not necessarily going to work for you, might provide a clue to proceed in the original form [code=php] <form> text for field 1 <input name='field1' value='<?php if isset($field1){echo $field1;} ?>' type=text size=45> text for field 2 <input name='field2' value='<?php if isset($field2){echo $field2;} …

Member Avatar for almostbob
0
65
Member Avatar for lifeworks

[code=html]<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <!-- @(#) $Id$ --> <head> <style> .left {width:15%; left:0; top:0; position:fixed;} .right {width:7%; right:0; bottom:0; position:fixed;} .middle {width:74%; margin-left:17%; margin-right:9%;} </style> <title>HTML demo Template</title> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" /> <meta name="Generator" content="almostbob" /> <!--Humor--> <meta name="Keywords" content="your,keywords,here" /> <meta name="Description" …

Member Avatar for SmartBeaver
0
84
Member Avatar for MidiMagic

already covered in the css standard for screen readers as imported .css files or as a portion of a standard .css [code=css]<style> @media reader { img { display:none; } .rollover { display:none; } body, div, p, span, a, {margin:5px; padding:5px;} /* any element you need to separate for accessibility */ …

Member Avatar for SmartBeaver
0
252
Member Avatar for php_noob

[code=html]<style> .b {width: 99%; } .l {width:30%; float:left; text-align:right; margin-right:10px;} .r {width:30%; float:right; text-align:left; margin-left:10px;} </style> <div class='b'> <div class='l'>Prompt for input 1</div> <input name='1' type='text'></div> <div class='b'> <div class='l'>Prompt for input 2</div> <input name='1' type='radio' value='yes'>Yes <input name='1' type='radio' value='no' checked>No </div> <div class='b'> <div class='l'>Prompt for input 3</div> …

Member Avatar for php_noob
0
128
Member Avatar for Cultred

something along the lines of [code=php] if isset($page) {header("Location: /amherst/"); exit; } [/code] however most sites are tending to go the other way to use mode_rewrite to display the generated url in a person friendly, search engine friendly system. if you are on an apache server mod_rewrite will do what …

Member Avatar for erms
0
112
Member Avatar for jakx12

erms post contains the answer [icode]echo $array['element']; [/icode] is the correct format had it been another array [icode] $_server [/icode] everyone would notice the error everyone has typed [icode] echo $_SERVER['php_self']; [/icode]

Member Avatar for almostbob
0
82
Member Avatar for golfdude

that file index.php is the gallery, it reads the foldernames and likely contains a part that reads folder names and displays them as linkand another part to handle the links when they are clicked and display the thumbnails suggested by the format of the links [code=html]<a href='index.php?dir=/9th Annual Golf Tournament'>9th …

Member Avatar for almostbob
0
122
Member Avatar for rajeesh_rsn

this looks like the same question again, so why not try any of the secure upload and photo scripts already made and sitting in script repositories all over the wwweb. If you must build your own they make a great template[INDENT]EASYPHP Upload EASYPHP Photo[/INDENT]are fun, no chmod [url=http://www.google.com/search?hl=en&safe=off&q=php+photo+upload+script&btnG=Search&meta=]remember google is …

Member Avatar for almostbob
0
100
Member Avatar for gpittingale

[QUOTE=ardav;788589]Ahem uncle, did you read my post?[/QUOTE] I dunno, but on my view at the moment his is first, yours second the order is messed up yours is 3 hours ago his is 1 hour ago, database will (damn lost the fingers cross icon) sort it out eventually

Member Avatar for almostbob
0
94
Member Avatar for rajeesh_rsn

thats a nightmare, read write execute to [B]everyone[/B], Malicious persons can add files to your folder, and shut down or takeover your site not a good idea permissions to the script that writes to the folder, according to the use to which you are going to put your images. check …

Member Avatar for almostbob
0
140
Member Avatar for bookworm619

The validator tells you what is wrong fix them in order 1 - 51 and keep the fixed page as a template Markup Validation Service Check the markup (HTML, XHTML, …) of Web documents Jump To: Validation Output Errors found while checking this document as XHTML 1.0 Transitional! Result: 51 …

Member Avatar for DeViAnT\gAmEr
0
181
Member Avatar for jtucker33

IE puts the border inside the measured space width:50; border:2; in IE means the width is actually 46 plus a border Mozilla puts the border outside the measured space width:50 border:2; means the div is 54 wide, and the right margin is pushed 4px out of visible space, the border …

Member Avatar for ccube921
0
149
Member Avatar for anchal

Goto sourceforge.net and get the DevPHP IDE package, will give you a LocalHost server you can run your script on as part of the package, code highlighting, context help

Member Avatar for Yayo_SK
0
178
Member Avatar for allhimachal.com

[url]http://www.go4expert.com/forums/showthread.php?t=1472[/url] tutorial & script, based on windows versions other OS exist, and can be validated by checking [icode] $_SERVER['HTTP_USER_AGENT'] [/icode] string for substrings.

Member Avatar for almostbob
0
70
Member Avatar for smartness

if the script is on your server, its the new version as soon as you upload it. for a script used by somebody else [INDENT]code the version number into the script as a variable[/INDENT][icode]$version=2.01;[/icode] [INDENT]make a folder on your site accessible to outside scripts [/INDENT]example [icode]version[/icode] [INDENT]put a file in …

Member Avatar for almostbob
0
972

The End.