i’ve seen in many forums that they cut the url from the center and add 3 dots if it’s long in order to shorten it.
Example: ajaxify multipart encoded form (upload forms) —Will be—> http://stackoverflow.c…ed-form-upload-forms
How to do that using pure php?
Thank you
e.g. via preg_replace()
prints