Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

get id from current url for php

$path = parse_url($url, PHP_URL_PATH);
$pathFragments = explode('/', $path);
$end = end($pathFragments);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #id #current #url #php
ADD COMMENT
Topic
Name
8+8 =