Jump to content

[SOLVED] Using PHP to copy and paste text from a page


scarhand

Recommended Posts

Is there a function that will allow me to do this?

 

I want to copy the entire text contents of one of my pages and then paste them into a database.

 

I am trying to get static page content for one of my clients sites to become editable...so I need to get his content into a database...

I'm just trying to get the content within the <title> tags, and then the content within the <body> tags.

 

I already made a script which loops through each html file in the main directory. (there is a massive amount of pages).

 

I'm reading up on output buffering right now.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.