how i can create pages dynamically on users any action? I want a page creation(dynamically), if user uplooads a design(image) which is (or its info) goes to database. The page name should be on the name of design. How can i do this?

Update:
Designs(dress designs[images] ) are submitted by the users through an application which resides on the root of drupal. Not a module of drupal. As the designs are submitted, they goes to a folder at root and relative info goes to drupal database. As i am using drupal bootstrap to get user info and a little more.
So i need a module which listens the request from application(may listen from database updation) and make page of that design with unique path.
Please guide me how to handel this situation

any hint/help is appreciated
this is how one can do so.
First make a content type (also can use Basic Page type).
Then the below code will make pages(nodes of the content type) dynamically.

&lt;?php
// Construct the new node object.
$node = new stdClass();

// Your script will probably pull this information from a database.
$node-&gt;title = "My imported node";
$node-&gt;body = "The body of my imported node.\n\nAdditional Information";
$node-&gt;type = 'mynewpage';   // Your specified content type
$node-&gt;created = time();
$node-&gt;changed = $node-&gt;created;
$node-&gt;status = 1;
$node-&gt;promote = 1;
$node-&gt;sticky = 0;
$node-&gt;format = 1;       // Filtered HTML
$node-&gt;uid = 1;          // UID of content owner
$node-&gt;language = 'en';
// If known, the taxonomy TID values can be added as an array.
$node-&gt;taxonomy = array(2,3,1,);

node_save($node);
?&gt;


if you need to create nodes at root of Drupal directory you also need to include these lines in start of the code

// Bootstrap Drupal
require 'includes/bootstrap.inc';
drupal_bootstrap(DRUPAL_BOOTSTRAP_FULL);