![]() |
Need to convert string to array
Hi guys,
This seems really simple to me, but I've had no luck. I need help! :) I've got file upload script which is working just fine. Here's the code I'm using to define the file extensions which are uploadable. PHP Code:
I've tried several functions to separate the values and to explode into an array. No luck. I want the end-use to type "png, gif, jpeg, fla" etc into a string. Then, I need that coverted into the PHP line above. Any suggestions? |
Don't know if I'm getting you very well but you could use the
serialize unserialize functions |
Something like:
PHP Code:
|
| All times are GMT. The time now is 09:32 AM. |
Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0