Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Jul 2002
Posts: 3
Lurker
Lurker
Offline
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.

Sponsored Links
Joined: Apr 2002
Posts: 1,768
Addict
Addict
Offline
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
Offline
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
Offline
Joined: Apr 2002
Posts: 1,768
Here's the MySQL manual, and other MySQL resources.

Joined: Jul 2002
Posts: 3
Lurker
Lurker
Offline
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?

Sponsored Links
Joined: Apr 2002
Posts: 1,768
Addict
Addict
Offline
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
Offline
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[/]

Link Copied to Clipboard
Donate Today!
Donate via PayPal

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.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
• Shock Hosting
• Stable Host
• bluehost
• InterServer
Visit us on Facebook
Member Spotlight
Zarzal
Zarzal
Berlin, Germany
Posts: 808
Joined: July 2001
Forum Statistics
Forums63
Topics37,583
Posts293,957
Members13,826
Most Online151,614
Nov 14th, 2025
Today's Statistics
Currently Online 75951
Topics Created 0
Posts Made 0
Users Online 1
Birthdays 2
Top Posters
AllenAyres 21,080
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,834
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2026 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.1.0
(Snapshot build 20261026)