This is a simple URL shortener service that uses PHP and SQLite. It provides a way to shorten long URLs into short, memorable links that can be easily shared and remembered.
To use this URL shortener service, you'll need a web server with PHP (>= 7.4) and SQLite installed. Here's how to set it up:
- Download the index.php file from this repository and place it on your web server.
- Visit the index.php file in your web browser and pass a URL as a parameter in the query string, like this: http://your-domain.com/index.php?url=https://www.example.com/.
- The code will return the shortened URL, which you can then use to redirect to the original URL.
We welcome contributions to this URL shortener service! Here's how you can help:
- Fork the repository.
- Create a new branch for your changes.
- Make your changes.
- Test your changes.
- Commit your changes with a descriptive commit message.
- Push your changes to your fork.
- Submit a pull request.
Before submitting a pull request, please make sure that your changes are well-tested and meet the following requirements:
- Your code should follow the existing coding style.
- Your changes should not break existing functionality.
- Your changes should be accompanied by appropriate documentation and comments.
Thank you for your contributions!