Jump to content

ToonMariner

Members
  • Posts

    3,342
  • Joined

  • Last visited

Everything posted by ToonMariner

  1. if the servers allow you may get away with just using copy();
  2. if fedex has a facility for you to submit post/zip codes to them along with any other package details then yes you use their site - probably using the Curl Library. If not then you will have to do it all your self - which will involve using geoip (google geoip) and doing some mathemagics.
  3. you can have one form with two different actions but it requires js.
  4. you should only use name once in a form unless its for radio buttons.
  5. try it - see what happens - I very much doubt it though - there will be a few permissions issue somewhere along the line.
  6. if the font is installed on your own pc then all you need do is use the correct name. If you want to make this font avialable on-line then you will need to download MIcrosofts WEFT tool. Check out this page [url=http://www.microsoft.com/typography/web/embedding/weft3/]http://www.microsoft.com/typography/web/embedding/weft3/[/url] You need to create an .eot file ; this is the embedded font type stuff. Beware - this has apparantly been adopted as a standard BUT to date I think only IE supports it - indeed FF (needlessly I might add) blocks the downloading of any embedded fonts.
  7. Sorry but I don't understand what you are saying... What does flatten out at the same spot mean? I have other questions on 'What does that mean' but for now could you re-phrase some of you post so that an idiot like me could understand it please.
  8. OK doeky... I suspect what DarkendSoul suggests may well be correct... I think I'll just make a an mpeg from it and have a link for the mp4 download cheers guys!
  9. use the date time - and always put a date time in it OR add teh date != '0000-00-00 00:00:00' in your query to filter out those records
  10. me too!!!! have you happened across a site that delivers mp4's? could it be the app I used to convert teh video to mp4? any ideas mush appreciated.
  11. suppose is_file is slighlty more desirable in this case but they do similar things. remember that while html understands that '/images/this.jpg' is the same as 'http://www.asite.com/images/this.jpg' php doesn't. the string you put in there MUST let the scrip locate it from where teh scriupt is on teh server - which is why I tend to use $_server['document_root']
  12. sounds like you are not using teh date/time field in your database - this would sort that for you.
  13. i think you mean the text box puts * in - that is html... <input type"password" name="pword">
  14. Well the only way you could get the footer at the very bottom is absolute positioning - which is to be avoided as still so many use IE6 and that just likes to decide what it thinks it should do with absolutel positioned elements instead of what you want to do. Dare I suggest that you should use a site design that doesn't care how high teh page is? If it IS an issue the I suggest you give the body text a fixed height and an scroll bar - that way your page will look something liek what you want.
  15. I am a bit of sticklet for web standards - why? it makes developing sites MUCH quicker and easier...... Semantic html, ALL visual wonderment in css and ANY (try to avoid if possible) document effects in js 1.2
  16. Going radical here but I love the idea of leaving all teh styling to teh style sheet. Now one techniquire you could use is to give both the html AND the body a back ground that way you don't need any extra html to put these borders on!!!!! I did this <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <!-- TemplateBeginEditable name="doctitle" --> <title>Untitled Document</title> <!-- TemplateEndEditable --> <!-- TemplateBeginEditable name="head" --> <!-- TemplateEndEditable --> <style type="text/css"> <!-- html { background: #fff url(left.jpg) repeat-y left; padding: 0; width: 100%; height: 100% } body { background: transparent url(right.jpg) repeat-y right; height: 100%; margin: 0; } div#header , div#wrapper , div#footer { margin: 0 100px; border: 1px solid #333; } --> </style></head> <body> <div id="header"> <h1>Logo</h1> </div> <div id="wrapper"> <div id="navigation"> </div> <div id="content"> </div> </div> <div id="footer"> </div> </body> </html> obviously you need to make the two images for the left and right - id did these quikc from your original post. Enjoy. [attachment deleted by admin]
  17. try body{ overflow: none; } in your css. but why would you want to?
  18. Apologies mate - I didn't read anything after 'If you are using tables, then'...... I do apologize its just tables anger me a great deal - unless you are using them for TABulating data of course;)
  19. if you read the manual for teh mail function that jessie gave you a link to you should get a good starting point. People on here will HELP you not do it for you. Tell us what you have messed up, post some error messages or something then we can HELP.
  20. Any clues to your actual problem would be even more welcome. A bit of code perhaps? or maybe a prediction as to when it will rain next in Paris? anything, anything at all....
  21. can you copy and past the html your script generates please.. try if (file_exists($_SERVER['DOCUMENT_ROOT . $myImage)) see if that helps - sometimes i have a bit of bother with tgetting the path correct - purely because I am a lazy ass and can't be bothered to pay attention until someone else points out what I have doen wrong.
  22. Don't think there is. You need to use something like: [code] <?php $browser = get_browser(null, true); if (preg_match('/Internet Explorer/', $browser['parent'])) { //what ever you are doing } ?> [/code] You will have to check what $browser['parent'] actually outputs for IE I know for FF it says 'Firefox' but what ever it does put that string in where I put MSIE and you shoudl be fine.
  23. [code] <?php if (is_file(FULL_PATH_TO_YOUR_IMAGE)) { $path = FULL_PATH_TO_YOUR_IMAGE; } else { $path = '/common/images/default.jpg'; } $size = getimagesize($path); ?> <p align="center"> <img src="<?php echo $path; ?>" <?php echo $size[3]; ?> /> </p> [/code] Thats a nice way of doing it - even adjusts for the height and width of the images incase they change!
  24. it is best to ensure that your php scripts validate any input - just in case someone switches off javascript! To make the alert come up all you need do is echo out the js for an alert box in the output of teh next page. If you echo it in the head section I believe the page will not open until you have clicked it. BUT agin it goes to the isue of js being on or not - why not simply echo a warning statement in teh html? that way you are sure everyone will get the same experience from your site.
  25. providing all your field names are correct, variables are set and the string is double quoted then that shoudl be fine - you can even lose the braces. I personally place `` around table and field names it helps both you and the server a little but other wise there is nothing glaringly wrong with that query.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.