Title: Login to wordpress using separate PHP script
Last modified: August 30, 2016

---

# Login to wordpress using separate PHP script

 *  [awesam_s](https://wordpress.org/support/users/awesam_s/)
 * (@awesam_s)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/login-to-wordpress-using-separate-php-script/)
 * Hi All
 * I have a wp-import script that is using data from contact form 7…. however, contact
   form 7 stores the images that are uploaded in the MySQL database probably as 
   blobs or something like that so the files are not on the file system as per say.
 * I need to login to wordpress using a php script to extract these images during
   a wp-import run which is all coded into my php script… however i can’t figure
   out how to programmatically login to wordpress using pure php or some other method,
   does know how to do this|!?
 * Thank you!!

The topic ‘Login to wordpress using separate PHP script’ is closed to new replies.

## Tags

 * [external](https://wordpress.org/support/topic-tag/external/)
 * [login](https://wordpress.org/support/topic-tag/login/)
 * [php](https://wordpress.org/support/topic-tag/php/)
 * [script](https://wordpress.org/support/topic-tag/script/)
 * [wp import](https://wordpress.org/support/topic-tag/wp-import/)

 * 0 replies
 * 1 participant
 * Last reply from: [awesam_s](https://wordpress.org/support/users/awesam_s/)
 * Last activity: [10 years, 6 months ago](https://wordpress.org/support/topic/login-to-wordpress-using-separate-php-script/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
