lewis987 Posted August 7, 2007 Share Posted August 7, 2007 Hi, im back again and this time im developing an upload script for someone, so i need to check whether the name contains a certain value then upload from the clients computer, otherwise upload from a website. Thanks in advance... Link to comment https://forums.phpfreaks.com/topic/63701-selecting-part-of-a-string/ Share on other sites More sharing options...
AndyB Posted August 7, 2007 Share Posted August 7, 2007 http://ca.php.net/manual/en/function.strpos.php Link to comment https://forums.phpfreaks.com/topic/63701-selecting-part-of-a-string/#findComment-317440 Share on other sites More sharing options...
NArc0t1c Posted August 7, 2007 Share Posted August 7, 2007 You could also use strstr to cut the string. Link to comment https://forums.phpfreaks.com/topic/63701-selecting-part-of-a-string/#findComment-317441 Share on other sites More sharing options...
lewis987 Posted August 7, 2007 Author Share Posted August 7, 2007 thanks, i will try it. (i really should check out the php site more) Link to comment https://forums.phpfreaks.com/topic/63701-selecting-part-of-a-string/#findComment-317442 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.