Ken2k7 Posted May 22, 2008 Share Posted May 22, 2008 Hello, I'm trying to make a function that takes in a string and an uploaded FILE. Would it just be: function blah ($str, $file) Or would it be different? I just need the function headers. Thanks in advance, Ken Quote Link to comment Share on other sites More sharing options...
Darklink Posted May 22, 2008 Share Posted May 22, 2008 Yes. That's all all you need. The parameters do not need any data type definitions like other languages. <?php function blah($str, $file) { // Process goes here } ?> Quote Link to comment Share on other sites More sharing options...
Ken2k7 Posted May 22, 2008 Author Share Posted May 22, 2008 Thank you! 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.