By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,952 Members | 1,726 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,952 IT Pros & Developers. It's quick & easy.

Error in $Filename_or

P: 16
Can anyone tell me this code works. I'm getting an error

Expand|Select|Wrap|Line Numbers
  1. <?php
  2.  
  3. $filename_or = 'image.jpg';
  4. $filename = rand(1000,9999).md5($file_or).rand(1000,9999);
  5.  
  6. echo $filename;
  7.  
  8.  
  9. ?>
  10.  
Jan 26 '12 #1
Share this Question
Share on Google+
1 Reply


Rabbit
Expert Mod 10K+
P: 12,347
What error are you getting?
Jan 26 '12 #2

Post your reply

Sign in to post your reply or Sign up for a free account.