{"id":33987536,"url":"https://github.com/rubo77/php-mysql-fix","last_synced_at":"2025-12-13T05:28:56.564Z","repository":{"id":36679450,"uuid":"173417167","full_name":"rubo77/php-mysql-fix","owner":"rubo77","description":"A php include that replaces all mysql functions with the corresponding mysqli functions","archived":false,"fork":false,"pushed_at":"2024-05-29T13:02:01.000Z","size":24,"stargazers_count":113,"open_issues_count":2,"forks_count":70,"subscribers_count":9,"default_branch":"master","last_synced_at":"2025-10-14T15:38:54.247Z","etag":null,"topics":["hacktoberfest"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rubo77.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-03-02T07:25:24.000Z","updated_at":"2025-02-28T15:52:24.000Z","dependencies_parsed_at":"2022-08-17T15:30:51.439Z","dependency_job_id":"ed140ed0-56c6-4c34-8d3e-4903da0f0cad","html_url":"https://github.com/rubo77/php-mysql-fix","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/rubo77/php-mysql-fix","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rubo77%2Fphp-mysql-fix","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rubo77%2Fphp-mysql-fix/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rubo77%2Fphp-mysql-fix/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rubo77%2Fphp-mysql-fix/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rubo77","download_url":"https://codeload.github.com/rubo77/php-mysql-fix/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rubo77%2Fphp-mysql-fix/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":27700973,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-12-13T02:00:09.769Z","response_time":147,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["hacktoberfest"],"created_at":"2025-12-13T05:28:55.070Z","updated_at":"2025-12-13T05:28:56.553Z","avatar_url":"https://github.com/rubo77.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# php-mysql-fix\n\nA replacement for all mysql functions with mysqli equivalents.\n\nBe aware, that this is just a workaround to fix-up some old code and the resulting project \nwill be more vulnerable than if you use the recommended newer mysqli-functions instead.\nSo only If you are sure that this is not setting your server at risk, you can fix your old\ncode by adding this replacement.\n\n### usage\n\nYou can install it via Composer adding this to your `composer.json`:\n\n```json\n{\n    \"require\": {\n        \"rubo77/php-mysql-fix\": \"^4.0\"\n    },\n    \"autoload\": {\n        \"files\": [\n            \"vendor/rubo77/php-mysql-fix/fix_mysql.inc.php\"\n        ]\n    }\n}\n\n```\n\nand then typing:\n\n```sh\n$ composer update\n```\n\nAlternatively you can manually download and include the file at the top of your PHP script:\n\n```php\n\u003c?php\nrequire 'fix_mysql.inc.php';\n```\n\n### discussion\n\nsee: https://stackoverflow.com/a/37877644/1069083\n\nIf you have any questions open an issue here or enhancements as Pull Request\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frubo77%2Fphp-mysql-fix","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frubo77%2Fphp-mysql-fix","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frubo77%2Fphp-mysql-fix/lists"}