Results 1 to 4 of 4

Thread: How to run a command from php files in wordpress

  1. #1
    Coder trickobrien's Avatar
    Join Date
    Feb 2010
    Location
    In Debt
    Posts
    73
    Post Thanks / Like

    Default How to run a command from php files in wordpress

    hello

    I have uploaded a php file that will delete all authors with no posts
    Will this command execute with permissions set to 644? or do i need to change permissions?

    thanks

  2. #2
    Web Slave blacknight's Avatar
    Join Date
    Jan 2006
    Location
    Ireland
    Posts
    9,998
    Post Thanks / Like

    Default

    Why don't you just do it via MySQL?

  3. #3
    Coder trickobrien's Avatar
    Join Date
    Feb 2010
    Location
    In Debt
    Posts
    73
    Post Thanks / Like

    Default

    Ive been running a SQL command to delete users,their posts and,and all related meta data-works fine,but some people have reported -deleting users with no posts-that even though rows were deleted in DB,users still visible in admin,and running the PHP command was recommended.

    Also just wanted to try it! another WP function to learn

  4. #4
    Web Slave blacknight's Avatar
    Join Date
    Jan 2006
    Location
    Ireland
    Posts
    9,998
    Post Thanks / Like

    Default

    I'm just very wary of having scripts like that accessible via the web ..

Similar Threads

  1. How to access HTML Files / wordpress
    By bober in forum CMS and Content Management
    Replies: 10
    Last Post: 26-01-2011, 11:38 AM
  2. How to access HTML Files / wordpress
    By bober in forum Webmaster Discussion
    Replies: 1
    Last Post: 20-01-2011, 12:26 PM
  3. ROR files
    By MOH in forum Webmaster Discussion
    Replies: 0
    Last Post: 29-07-2009, 05:37 PM
  4. info command?
    By blacknight in forum Google
    Replies: 3
    Last Post: 20-05-2008, 11:09 AM

Visitors found this page by searching for:

run command in wordpress

how to run a command in wordpress

run php file in wordpress

how do you run a command in wordpress

wordpress run commands

wordpress how do I run a command

wordpress how to execute php on post -plugin

how to execute php in wordpress

wordpress execute commands

commands in php file

execute a command in php

run php file in wordpress page

wordpress run command

run commands on wordpress

wordpress php command post

php file wordpress

run command on wordpress

how to run a command in php

run commands wordpress

run on command wordpress

how to run option wordpress

commande delete users sur wordpress

wordpress execute command

run commands from wordpress

run command through wordpress

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •