Jump to content

ohdang888

Members
  • Posts

    1,285
  • Joined

  • Last visited

    Never

Everything posted by ohdang888

  1. Ya i've read that as well, and it makes sense. But how is that ever overcome (obviously it can be, but thats so confusing to me). Is the only way to do that through multiple database servers?
  2. Anyone got an opinion on that new hosting site that some people are getting all excited about : http://www.phpfog.com I had my doubts about whether or not its work switching, and sent them an email about how i don't understand the whole easily "scaling your application" This was their response: Here's my main question: is it really that difficult to scale with other hosting providers? Right now, i use myhosting.com, and it seems like the process would be easy enough: contact them, upgrade your package, and you're done... at least thats what i thought? Any thoughts?
  3. Nope, i finally gave in and purchased hosting a few months back for reasons like this
  4. Color scheme is fine for its purpose. Its realllyyy slow on the Ajax functions
  5. Ya i've decided with go with using "rsync" in the shell to test things out in a beta version first before i deploy it
  6. ya but i'm assuming all the sites you're listing on the left column there are the big ones that have API's. and while its meant to be a start page, it should use as much AJAX as possible... to me, at least, the best scenario of the one i listed would be to click on "ebay", ajax loads the results in a good looking results page, and i click on that one i want to research further and it takes me to that particular page. Idk, just my preferences. Maybe give users a chance to choose?
  7. I disagree. Users might be on it, and i risk missing a simple ";" and screwing over important pages. While i may not have tons of users on the site at one time, they're still paying for the services i have on the website. So its my responsibility that I limit the risk of the services not working.
  8. subversion doesn't make my code open-source, does it? EDIT: Nvm, looks like its all kept within your own server. I'll read up on it more. Thanks
  9. I personally don't like how when you click on the links of possible searches, it takes you to that page instead of bringing results up on the page itself. For example, say i type "umbrella" and click ebay, it takes me to ebay query with umbrella. Why not use the ebay API (which im not sure if they have but i'm assuming the do) to query the top results and show them via ajax
  10. Just curious here: Say a site has a good amount of users on it. Clearly, development is still going on in a private "beta" version of the site somewhere where the developers write code and test it out. But what tools/methods do people use to manage their site versions? Once their revisions are stable, how do they roll that out to users? I myself simply replace files manually, etc. But i'm assuming there's some pretty useful tools out their that can facilitate this. Any thoughts? Thanks
  11. SOOOOO i understand that paypal sends you the email of the buyer to your script that processes and handles it But i'm really confused as to how I connect that purchase with a user in my database. Because what if they don't use the same email they registered with? I'm thinking create unique user purchase tokens that pass to paypal, and they send it back, and then i get the id from there... Any thoughts? Just wanting to get others opinions before i mess with this Thanks
  12. i want to find the text between "{:" and ":}", may be 1 or more instances of this i'm using this php: $str = "hello {:first_name:} ha, this is {:awesome:} haha"; $do = preg_match_all("/{.*):}/", $str, $matches); which works if theres just one instance, but when you use more than 1 instance (like the above example) it returns: first_name:} ha, this is {:awesome But i want it to return a value of first_name, AND a separate value of "awesome" ideas? thanks
  13. i really like it, except i think the "make your mark" graphic should be the starting one used on the first landing.... it really grabs my attention
  14. syntax error: temparray["D"] = "unused object" temparray["usethis"] = false; should be temparray["D"] = "unused object"; temparray["usethis"] = false;
  15. try this: $query = "SELECT credits FROM users WHERE username = '".$session->username."' "; $res = mysql_query($query) or die (mysql_error()); $row = mysql_fetch_array($res); $ans = $res['credits'];
  16. i wish we had a facebook style "like" button on responses
  17. I am using this code to load content through ajax jQuery('#ajaxResult').load('getEditor.php?business_id=' + business_id + '&page_id=' + page_id +"&num=" + Math.random()*99999, function(responseText, textStatus, XMLHttpRequest){ alert(responseText); }); Now, this works perfectly in all versions of firefox and safari. BUT, in IE 8 (only IE i've looked at so far), its only inserting like half of the returned html into the DOM. Yet, i know its loading all the appropriate html that it should, becasue the alert(responseText); is showing the same exact code as firefox and safari any ideas? Thanks
  18. I tried RewriteCond %{HTTP_HOST} !www.domain.com$ [NC] RewriteCond %{HTTP_HOST} ^(www.)?([a-z0-9-]+).domain.com([.]*) [NC] RewriteRule .* index.php?siteName=%2&request=%3 [L] and still outright not working... gah!
  19. http://testing.domain.com No it outright fails to do anything...
  20. just making sure: do you have wildcard subdomains enabled in your DNS?
  21. Now request is empty, no matter what path i put after domain.com
  22. ok so i have set up wildcard subdomains on my VPS, and this current mod_rewrite code is working great. EXCEPT: say i have this url: http://test.domain.com/current/path I want that to go to index.php?siteName=test&request=/current/path right now, what i'm getting (i know this by print_r($_GET)), is siteName=test (works great), but request=index.php Whats wrong here? Any help is greatly appreciated, Thanks <IfModule mod_rewrite.c> Options +FollowSymLinks Options +Indexes RewriteEngine On RewriteBase / RewriteCond %{HTTP_HOST} !www.domain.com$ [NC] RewriteCond %{HTTP_HOST} ^(www.)?([a-z0-9-]+).domain.com [NC] RewriteRule (.*) index.php?siteName=%2&request=$1 [L] </IfModule>
×
×
  • 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.