Jump to content

Need Help on image...


jronyagz

Recommended Posts

not sure if there is a function, i've never known of one. you can just explode() the image name at a full stop (.). but that is assuming that your image names dont have any other dots in them.

example:

[code=php:0]
$imagename = "./images/acoolpic.gif";
$explode = explode(".", $imagename);
$imagename = $explode[0];

echo $imagename;
[/code]
Link to comment
https://forums.phpfreaks.com/topic/29089-need-help-on-image/#findComment-133314
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.