|
|
|
|
Joined: Jul 2002
Posts: 3
Lurker
|
|
Lurker
Joined: Jul 2002
Posts: 3 |
Mario2 asked about a search string to find posts from specific IP addresses. The answer was:
SELECT U_Username,U_RegIP FROM w3t_Users WHERE U_RegIP LIKE '215.224.4.%'
I replaced the IP example with an actual IP from a post and used the % in the last octet. The response was no posts from that IP.
The above command produces all the users with that IP. At one time there was a command that showed all the users along with the post information including the date and forum location.
May I have that command as well? Thanks in advance.
|
|
|
|
|
Joined: Apr 2002
Posts: 1,768
Addict
|
|
Addict
Joined: Apr 2002
Posts: 1,768 |
Is this sort of what you're looking for?
SELECT B_Board,B_Number,FROM_UNIXTIME(B_Posted),B_Subject,B_Username FROM w3t_Posts WHERE B_IP = '1.2.3.4'
|
|
|
|
|
Joined: Jul 2002
Posts: 3
Lurker
|
|
Lurker
Joined: Jul 2002
Posts: 3 |
That's it. Thanks. Are there other commands that let me get an idea about posters who use multiple usernames or a source where I can find a list of SQL commands and what they do?
Again, many thanks.
|
|
|
|
|
Joined: Apr 2002
Posts: 1,768
Addict
|
|
Addict
Joined: Apr 2002
Posts: 1,768 |
Here's the MySQL manual, and other MySQL resources.
|
|
|
|
|
Joined: Jul 2002
Posts: 3
Lurker
|
|
Lurker
Joined: Jul 2002
Posts: 3 |
Thank you. You're looking at a complete idiot when it comes to programming. Any 'How to for Idiots' resources I might be able to access?
|
|
|
|
|
Joined: Apr 2002
Posts: 1,768
Addict
|
|
Addict
Joined: Apr 2002
Posts: 1,768 |
The page I posted above has links to various MySQL and PHP articles and books. You might skim through those.
I found the book MySQL/PHP Database Applications helpful in getting started. But if you have no programming experience, that book might not be what you want.
If you need help with a specific query, you can post it here, and someone will probably be able to assist.
|
|
|
|
|
Joined: Mar 2002
Posts: 305
Enthusiast
|
|
Enthusiast
Joined: Mar 2002
Posts: 305 |
Fellow idiot here  I found using phpMyAdmin VERY helpful to search out information. After I was comfortable using phpMyAdmin to search for and manipulate data, I started paying attention to the queries it would run (the words and stuff  ) and now I can run a lot of the queries by hand. It's slower using phpMyAdmin, but it's a great program! (And free  )
[:"red"]Lisa[/]
|
|
|
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
|
|
Posts: 808
Joined: July 2001
|
|
|
Forums63
Topics37,583
Posts293,957
Members13,826
| |
Most Online151,614 Nov 14th, 2025
|
|
Currently Online 75951
Topics Created 0
Posts Made 0
Users Online 1
Birthdays 2
|
|
|
|
|
|