Jump to content

URL PHP


Danny620

Recommended Posts

Are you trying to actually get the hash from youtube or are you trying to figure out the variable you are passing in your project?

 

Like at youtube their code might look something like this:

 

$video = $_GET['v'];
echo $video;

 

if you are trying to get the string after v= in the url you would need something like:

strstr($url, 'v=')

Link to comment
https://forums.phpfreaks.com/topic/224751-url-php/#findComment-1160913
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.