113 reputation
3
bio website navnav.me
location Oxford, United Kingdom
age 19
visits member for 2 years, 4 months
seen Jan 2 at 18:23

Jun
14
awarded  Student
May
15
awarded  Autobiographer
Jan
25
comment Query WP data with the WPDB API from outside WordPress
Sorry to keep bugging you. Could you give a quick example code of how I would do that? Appreciate the help.
Jan
25
comment Query WP data with the WPDB API from outside WordPress
Okay, but then how would I access the DB information. Thanks :)
Jan
25
comment Query WP data with the WPDB API from outside WordPress
I don't. Just the DB info (host,user,password). The app I'm working on installs some extra tables in the WP db. The app will not need to touch any of WP's data. IT just uses the DB info to access its own data, in its own tables just using the same Database as the one WP uses. I would prefer to just make my own DB in the users MySQL but most users wont have permission to do so. So I have to use WP's database, but my own tables. Although the app requires WP to be installed, I don't need to access any of WP's functions ATM.
Jan
25
comment Query WP data with the WPDB API from outside WordPress
I just tired replacing with wp-config.php with wp-load.php and the same thing is happening. When i remove the line completly, it works. So the issues does lie within including a wp-...php file but its not just the wp-config.php. wp-load.php is doing the same thing too.
Jan
25
comment Query WP data with the WPDB API from outside WordPress
"Are you trying to access WordPress functions from outside WordPress?" if by that, you mean, file1.php and file2.php are not in the WP directory, then yes. But I'm trying to execute file2.php outside. Not in the WP GUI. How would I access the DB info then? Thanks.
Jan
25
asked Query WP data with the WPDB API from outside WordPress
Dec
25
awarded  Scholar
Dec
25
accepted Has anyone developed a anti-spam plugin to simply allow users to BLOCK whatever they wish to, but one that will also go easy on IP addresses?
Dec
23
comment Has anyone developed a anti-spam plugin to simply allow users to BLOCK whatever they wish to, but one that will also go easy on IP addresses?
hmmm, yeah I guess so. Maybe a remote database full of blacklisted content (domains, email addresses, ect ect) where certain content is blacklisted after a certain condition is met by multiple users (example: if 10+users mark a domain as spam, it gets added to the remote blacklist) so that other users wont have issues with that domain...just an idea though. But anyway, thanks for your awesome answer!
Dec
23
comment Has anyone developed a anti-spam plugin to simply allow users to BLOCK whatever they wish to, but one that will also go easy on IP addresses?
But the same spammer can only have a certain amount of domains (to use for website URL), unless they have a lot of money, right?
Dec
23
asked Has anyone developed a anti-spam plugin to simply allow users to BLOCK whatever they wish to, but one that will also go easy on IP addresses?