Jump to content

DarkWater

Members
  • Posts

    6,173
  • Joined

  • Last visited

    Never

About DarkWater

  • Birthday 02/05/1993

Contact Methods

  • MSN
    SerpentScars@hotmail.com

Profile Information

  • Gender
    Male
  • Location
    New York

DarkWater's Achievements

Member

Member (2/5)

0

Reputation

  1. Why make yourself type all of that extra stuff? You can refer to the array elements with the numbered index (starting at 0): <?php $p = array('clientID'=> $clientID, 'cityID'=> $cityID, 'productsIDs'=> array(22, 63, 59)); print_r($p); /*Output: Array ( [clientID] => 12 [cityID] => 4 [products] => Array ( [0] => 22 [1] => 63 [2] => 59 ) ) */ ?> You can just do $p['productsIDs'][0], etc.[/code]
  2. http://www.flamplayer.com/flamplayer_demo/doc/fp_doc_en.html#auto_record Reading the documentation is a good idea. You need to go and run the MP3s through FLAM player's interface so that it can analyze them and store the whole thing in the database.
  3. You can try...but there's nothing that you can actually do to protect it completely. The only way for that to happen would be to make a music player in Flash that serves the music. That's the only way I can think of, at least.
  4. Crystal ball: 0 Guessing common problems: 1 Seriously, if you have to ask a question again, provide as much information as possible. Otherwise it's hard to diagnose and it leads to random guesses.
  5. What do you mean "not to be opened"? You mean like, actually go and browse the contents of the folder?
  6. That's like dividing by zero. It just doesn't work. In all seriousness, the whole point of storing something above the document root is so that there is no HTTP path. You can make a script to push the MP3's to the browser if you want. That would work even if the MP3's are stored above the web root.
  7. You need to make sure error reporting is on and you should also verify the data in your database with the data in your script. Is the column length for the password in your database 32 characters? You need it to be that long in order to store an MD5 hash.
  8. PHP has no built-in limit to string length. It's completely based on the memory available to the program.
  9. Lmfao, I love how most of the people on the thread just tl;dr'd but still have an opinion. xD About Twitter though, I still don't know what to think of it. A lot of people have it, but it seems extremely pointless. I'm totally not against social networking sites (I have a Facebook and positively adore it), but I feel like Twitter is just a website dedicated to the same thing that Facebook statuses accomplish. Oh well. =/ And I loved how you addressed the people in the movie theater as directions. =P Actually made me chuckle.
  10. If it's in the URL, it's a GET parameter, not POST.
  11. You cannot escape apostrophes with \ in HTML. You need to encode them with like, htmlentities(). The \' is actually closing off the form attribute.
  12. Well, the center is really empty. And I'm not the biggest fan of the crude logo either, but that's just me. Definitely needs more center content to fill it out though. So, it's a Greek web design site? =P Interesting. Μιλώ ελληνικά. Οχτώ έτη στο ελληνικό σχολείο.
  13. Could be. xD Right below the apartment with the family eating dinner?
  14. If it's in quotation marks, it wouldn't matter. <?php echo "substr('test', 0, 10);"; He could (and probably should) be using an alias in the query, but in reality, it doesn't matter. Just more typing if he doesn't. xD
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.