Jump to content

trq

Staff Alumni
  • Posts

    30,999
  • Joined

  • Last visited

  • Days Won

    26

Everything posted by trq

  1. Is there a particular reason your not using GA or similar? There are open source alternatives already in existence. Anyway, I would assume they (GA) would use IP based geolocation tracking. See http://en.wikipedia.org/wiki/IP_geolocation
  2. Indeed you need to pass a variable along with the Ajax request.
  3. You never actually execute any database query. See mysql_query. Or better still, take a look at pdo or mysqli.
  4. print_r([color=#000000][size=2]$_SESSION[/size][/color][color=#666600][size=2][[/size][/color][color=#008800][size=2]"cart_array"[/size][/color][color=#666600][size=2]]);[/[code=php:0][/size][/color]
  5. Have you looked at what Google's analytics collects?
  6. Just think of something you need and go ahead and create it.
  7. So, are they being stored in csv format or are you actually splitting them before import to database like your database schema suggests?
  8. How much have you actually used namespaces Hall of Famer? Most of your arguments refer to issues that I myself have not found to be an actual problem. Sure, there may be some annoyances, but no language can avoid those (annoyances).
  9. Is there a particular reason your storing this data in csv format? I would try and store each of these values in there own database column if I were you.
  10. You should pass this object into your method via an argument. Globals break the encapsulation provided.
  11. Then why are you using all these other ip addresses that don't actually exist? A minimal vhost config: <VirtualHost *:80> ServerName somedomain.com DocumentRoot "/var/www/somedomain.com/htdocs" </VirtualHost> <VirtualHost *:80> ServerName somedomain1.com DocumentRoot "/var/www/somedomain1.com/htdocs" </VirtualHost> <VirtualHost *:80> ServerName somedomain2.com DocumentRoot "/var/www/somedomain2.com/htdocs" </VirtualHost> You also need to set: NameVirtualHost *:80 Somewhere before your vhost config is included.
  12. Laravel is an excellent framework. http://laravel.com
  13. http://httpd.apache.org/docs/2.2/vhosts/
  14. What the hell is a webDemon?
  15. Assuming $results holds the result of your call to mysql_query(). $allResults = []; while ($row = mysql_fetch_assoc($results)) { $allResults[] = $row; } $allResults will now be an array containing all your rows.
  16. Instead of advertising this as a solution to a problem that doesn't usually exist, why don't you post your problematic code?
  17. They were merged on purpose. As described above, the thread reads fine and the issues are indeed related. You shouldn't have opened a new thread in the first place.
×
×
  • 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.