skip to Main Content

how to overwrite data form link to another link in php

hello i want want to overwrite all peramters from old link to new link .. like $oldURl="https://example.com/abcd/data?p=123&x=ABCDSS"; $newUrl="https://example.com/?data=1&data2=2&data3=3"; // $fnialurl=rewrite_data($oldURl,$newUrl); final result i want .. https://example.com/abcd/data?data=1&data2=2&data3=3&p=123&x=ABCDSS you have any idea to get path & request from old url and replace…

VIEW QUESTION

Laravel posting via API nested url

I using API resources with nested controllers, my urls look like: GET /api/projects POST /api/projects ... GET /api/projects/:uuid/employees POST /api/projects/:uuid/employees I using also Request to save data per endpoint (for validation too). The question is how to post data to…

VIEW QUESTION
Back To Top
Search