Jump to content

[SOLVED] question on getting a file extension


graham23s

Recommended Posts

Hi Guys,

 

just a quick question on this code:

 

$ext = substr(strrchr($fileName, "."), 1);

 

i know what the code does up untill the point where it says: , 1 i have seen this in a few bits of code but don't know what it does ill like to know lol i anyone could tell me

 

thanks guys

 

Graham

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.