Skip to content

cdleon/aut

Repository files navigation

#AUT

Contents

  1. Intro
  2. Installation
  3. DB Config
  4. Usage
  5. Example

--

###1. Intro

NOTE: To use only for Venezuela Hoy.

PHP tool to add news articles to your database. Works only with Venezuelan newspapers.

-- ###2. Installation

Include or require aut/aut.php in your workspace.

-- ###3.DB Config

Database files where excluded frmo repository. Connect to article table using mysql.

-- ###4.Usage

  1. Add Aut::head() the head section of your html. Use Aut::head(false) if you want to ignore the built in css styles and use your own.
  2. Add Aut::form("return url") to the body section of your html, wherever you want the form to show up.
  3. Include the required "return url" where you want the page to redirect back after the process is finished.
  4. Add Aut::footer() at the bottom of the body section of your html.
  5. Fill the form, click submit and start using.

-- ###5. Example

<?php 
require_once('aut.php');
?>
<html>
<head>
	<?php  Aut::head(); ?>
</head>
<body>
	<div id="wrapper">
		<?php Aut::form('example_return_url.php'); ?>
	</div>
	<?php Aut::footer(); ?>
</body>
</html>

-- Contents

  1. Intro
  2. Installation
  3. DB Config
  4. Usage
  5. Example

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published