James Williams
asked on
PHP GET string
<?php error_reporting(0); $Cid = $_GET["imgID"]; ?>
<php include ("CallImage?imgID=$????") ?>
This would be the data I have.
CallImage?imgID=1666690577 102281968
How could I parse the numbers and extract the 6 - 11 digit?
To get this?
CallImage?imgID=905771
And help is greatly appreciated.
905771 = $????
<php include ("CallImage?imgID=$????") ?>
This would be the data I have.
CallImage?imgID=1666690577
How could I parse the numbers and extract the 6 - 11 digit?
To get this?
CallImage?imgID=905771
And help is greatly appreciated.
905771 = $????
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Perfect.
I feel better Now that I have been educated.
I appreciate the assistance.............
Selvol
I feel better Now that I have been educated.
I appreciate the assistance.............
Selvol
$rest = substr($Cid, 6, -8); // returns "cde"