Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

get the url without the query string php

// get the url before the first occurence of "?"
$url = strtok($_SERVER["REQUEST_URI"], '?');
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #url #query #string #php
ADD COMMENT
Topic
Name
9+6 =