trq
Staff Alumni-
Posts
30,999 -
Joined
-
Last visited
-
Days Won
26
Everything posted by trq
-
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
-
Indeed you need to pass a variable along with the Ajax request.
-
You never actually execute any database query. See mysql_query. Or better still, take a look at pdo or mysqli.
-
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]
-
Have you looked at what Google's analytics collects?
-
Just think of something you need and go ahead and create it.
-
So, are they being stored in csv format or are you actually splitting them before import to database like your database schema suggests?
-
Flaw In Php's Namespace, Cannot Import An Entire Namespace,
trq replied to Hall of Famer's topic in Miscellaneous
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). -
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.
-
Mysql_Query("insert Into Tblworkf... Not Working?
trq replied to Darkside's topic in PHP Coding Help
Just post the relevant code. -
foreach.
-
Submit A Form With Select Menu Dropbox Without Submit Button
trq replied to beginner101's topic in Javascript Help
Turn error reporting on for a hint.- 3 replies
-
- php
- javascript
-
(and 3 more)
Tagged with:
-
Submit A Form With Select Menu Dropbox Without Submit Button
trq replied to beginner101's topic in Javascript Help
Turn error reporting on for a hint.- 3 replies
-
- php
- javascript
-
(and 3 more)
Tagged with:
-
Submit A Form With Select Menu Dropbox Without Submit Button
trq replied to beginner101's topic in Javascript Help
Turn error reporting on for a hint.- 3 replies
-
- php
- javascript
-
(and 3 more)
Tagged with:
-
Fatal Error: Call To A Member Function Seterror() On A Non-Object In
trq replied to raamay's topic in Other Libraries
You should pass this object into your method via an argument. Globals break the encapsulation provided. -
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.
-
Laravel is an excellent framework. http://laravel.com
-
http://httpd.apache.org/docs/2.2/vhosts/
-
What the hell is a webDemon?
-
Sending Form Mail With Smtp And Using Gmail For Email
trq replied to happypete's topic in PHP Coding Help
I don't see what this has to do with php? -
Pardon?
-
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.
-
Sessions...this May Help Others Dealing With The Issue
trq replied to dpiearcy's topic in PHP Coding Help
Instead of advertising this as a solution to a problem that doesn't usually exist, why don't you post your problematic code?