Does URL shortening effects the POST data in php

It can, in order to work the service should return status code 307 or 308, as example:

<?php

header('HTTP/1.1 307 TEMPORARY REDIRECT');
header('Location: http://destination.tld/post.php');
exit;
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.