Jump to content

premiso

Members
  • Posts

    6,951
  • Joined

  • Last visited

  • Days Won

    2

premiso last won the day on September 27 2012

premiso had the most liked content!

About premiso

  • Birthday 01/25/1983

Contact Methods

  • Website URL
    http://www.aeonity.com/ab/games

Profile Information

  • Gender
    Female
  • Location
    Hairy Beaverville
  • Interests
    Badgers and growing cheese.

premiso's Achievements

Regular Member

Regular Member (3/5)

28

Reputation

  1. search is busted...or missing..

  2. For lowend VPS's: My favorite: http://buyvm.net Other decent ones: http://hostigation.com http://budgetvm.com http://chicagovps.net/ I have 1 VPS with the "Others" and 22 with BuyVM
  3. I prefer Geany for Windows Its not Java, which is a huge + in my book. May not have all the flashy features, but is a nice lightweight IDE.
  4. I think your main issue is not having the RewriteBase (I think thats what it is) set to be /, without that you need to add the beginning slash: RewriteRule ^/profile$ /profile.php [NC,L] And see how that goes. Also make sure that MultiViews is turned off as that could be affecting it too.
  5. 69 votes to 40 votes.... how is that misleading? Oh and moved my vote to Other for Geany.
  6. RewriteRule ^products/.*/(.*)/action/(.*)$ something.php?page=products&category=$1&action=$2 [L] RewriteRule ^products/.*/(.*)$ something.php?page=products&category=$1 [L] Since you know products is static (not sure if by category you mean the actual category or just the word) you use that as your anchor. The rest is pretty self explanatory. Trying to do it all dynamically would be just a pain in the butt and quite unnecessary. This should get you what you are after.
  7. When you view your page via the http protocol you are seeing a page that has been generated by the server. So all you see is the "output" that the end user is suppose to see. If you view the source, all you see is the HTML generated by the server. When you include a file via the HTTP protocol, that is all you are essentially getting. So unless your server did not parse PHP, you are just including the end result HTML. When you do the include locally, the php file is not parsed, in other words the webserver is not generating the output for the end user, you get the raw code which include is able to interpret and actually include / use.
  8. require_once("http://mysite.com/includes/header.php"); Why are you including it from the URL? That will parse the page and deliver the end user content. Do this instead: require_once("/includes/header.php"); And see how that treats ya.
  9. lol You are better off looking it up online. What you need to do is find the latitude and longitude for each ZipCode, after you have that find out how many degrees is considered a mile. Once you have that you should be able to calculate it no problem! The point, you have to have 2 absolute positions and have a way to calculate the distance between two points. Without having or knowing 2 absolute positions, how do you expect to calculate the distance (other then by driving there yourself and doing an average speed etc, which Zane hit on)?
  10. $query2 = mysql_query("INSERT INTO user_group (group_id, user_id, group_leader, user_pending) VALUES ('2', '$dataArray[$i][0]', '0', '0'')") or DIE(mysql_error()); $query3 = mysql_query("INSERT INTO user_group (group_id, user_id, group_leader, user_pending) VALUES ('7', '$dataArray[$i][0]', '0', '0'')") or DIE(mysql_error()); Both of those have an extra ' after the last 0. And in this section: ('$dataArray[$i][0]', '0', '2', '', '0', '', '$dataArray[$i][3]', '$dataArray[$i][1]', '$dataArray[$i][1]' You need to encapsulate arrays (when accessing multiple dimensions) in curly braces: ('{$dataArray[$i][0]}', '0', '2', '', '0', '', '{$dataArray[$i][3]}', '{$dataArray[$i][1]}', '{$dataArray[$i][1]}', See if those help you out.
  11. I do not think it would be valid XML if you were to do the actual < and >. As it would break syntax. It has to be the entity. Instead of trying to get it to be the actual < why not just decode the entitiy on retrieval / display using html_entity_decode?
  12. Never heard of it, I will have to look into that.
×
×
  • 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.