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... Quote Link to comment 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 Quote Link to comment 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. Quote Link to comment 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) Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.