Jump to content

Bendude14

Members
  • Posts

    411
  • Joined

  • Last visited

    Never

About Bendude14

  • Birthday 12/14/1988

Contact Methods

  • MSN
    ben_kx_250@hotmail.com
  • Website URL
    http://www.MandurahWeb.com.au

Profile Information

  • Gender
    Male
  • Location
    Mandurah - Western Australia

Bendude14's Achievements

Member

Member (2/5)

0

Reputation

  1. if include_once and include fail to "include" the file then the page continues to render where as if require or require_once fail the whole page stops rendering. The difference between require and include and require_once and include_once is that using the "_once" functions means an extra look at the stack to ensure that these files have not already be included and is therefore slightly slower. require_once is often helpful inside an __autoload function used to include classes when designing an OO php system.
  2. Yes google will only see the completed page once your include file has been pulled in. I think you may find your navigation may be a good place to use key words after all they are links to other pages on your site.
  3. Can people please share some experiences with shopping cart software they have used in the past. I don't have time to test them all so I am planning on just taking recommendations from here. It can be free or proprietary but it must have the feature to allow me to switch the "Cart" section off, so it simply looks like a catalog or products. Not sure if that is native to any shopping cart but maybe there is temp plugin i could use to disable prices / checkout etc.
  4. you have an end bracket "}" and the word endforeach remove the word "endforeach"
  5. add an ending php tag before the doctype declaration. ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
  6. MrAdam is correct add trim into your function, function filter_tags($tag) { $bad_words = array('bad foo', 'bad bar'); // clean example if( in_array(trim($tag), $bad_words) ) { return true; } }
  7. I presume entetes is is "email" You could look into the 5th parameter to the mail function, if they have upgraded your server this could be the problem. php.net/mail
  8. I don't really understand what your search is going to be based on, maybe an IP Address? I have done this once before using php and the free version of geocity database. www.maxmind.com/app/geolitecity The term you are after sounds like geocoding or geolocating. Googling these terms will probably reveal some more answers
  9. try this $setloggedinsql = "update knusers set online = '" . $loggedinid . "' where username = '" . $usertologin . "'";
  10. can't see anything wrong with how you are using the quotes. Can't really help with the javascript without seeing how you are doing it now?
  11. I don't like to bump topics but I would like some more suggestions on this topic and It's already dropped of to page 3. Kind Regards Ben
  12. You need to access the data from your form using $_POST['user'] etc....
  13. can we see the code, hard to suggest any fixes without previewing the code
  14. hmm I don't think that is what I am after if you are talking about Cascade delete and Cascade Update? I only want to perform this duplication sometimes, not every time I access the database via update etc
×
×
  • 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.