Jump to content

Snart

Members
  • Posts

    101
  • Joined

  • Last visited

    Never

About Snart

  • Birthday 09/09/1976

Profile Information

  • Gender
    Male

Snart's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. "UPDATE body SET contents = '$postedValue' WHERE id=0"
  2. Cookies are browser-initiated textfiles stored on the local system. I doubt that spiders meet the requirements to accept and keep cookies.
  3. http://iarematt.com/how-to-detect-a-search-engine-spidercrawler-with-php/
  4. Thanks, but that is just the issue. I don't need the values, I need the property names. Suppose I have a "car" object with only 3 possible properties: car.type = "SUV" car.brand = "Ford" car.color = "Blue" The thing is, I only know that I can use the "car" object. I don't know which properties it supports. So I need something like: //Show me all properties var x = "You can use: "; for(var i in car) { x = x + i + " "; } alert(x); //Outputs: "You can use type brand color". So now I know that car.licenseplate will not work. "car" is not an object I made, it is part of an app I use and I need to know what properties I can use with it (no documentation available on the app).
  5. Hi Is there a way to cycle through a javascript object's properties? For example: car.type = ""; car.brand = ""; for(var i in car) { alert(i); } I simply need to know all possible properties of an object, not their contents. The above doesn't seem to work, though. Cheers
  6. Perhaps the contents of $guid is causing issues.
  7. What is the contents of those two included files?
  8. Are you hosting your own site? If not, your provider may have disabled .inc as being recognized as PHP files.
  9. switch($_GET['page']) { case "page1": case "page2": //Do something break; case "page3": //Do something else break; default: //in all other cases break; } EDIT: spelling mistake
  10. Maybe it's the while loop that isn't executing. Try to echo and find out: while ($af = mysql_fetch_array($addfin)) { echo 'test';
  11. The /i at the end of your pattern indicates case insensitivity....
  12. Can you post the HTML source code from your browser? There might be characters in the option values interfering with the attributes and tags.
  13. I've only glanced at your script, but couldn't you just go date("l", $timestamp); //Lowercase L or date("D", $timestamp); ?
  14. In fact, implode() is even normally faster than concatenation.
×
×
  • 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.