DarkWater
-
Posts
6,173 -
Joined
-
Last visited
Never
Posts posted by DarkWater
-
-
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.
-
yeah I mean not to browse the content of the folder and be able to download the music, beacause they can listen to them only.
Is there a way to protect it?
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.
-
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.
-
if I put them inside the directory, how can I protect the folder not to be opened, only people can listen to the music?
What do you mean "not to be opened"? You mean like, actually go and browse the contents of the folder?
-
above the document rootHTTP path
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.
-
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.
-
PHP has no built-in limit to string length. It's completely based on the memory available to the program.
-
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.
-
Look for GET and POST variables
if the vars are in the address bar then theyre POSTs.
If it's in the URL, it's a GET parameter, not POST.
-
-
You cannot escape apostrophes with \ in HTML. You need to encode them with like, htmlentities(). The \' is actually closing off the form attribute.
-
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. Μιλώ ελληνικά. Οχτώ έτη στο ελληνικό σχολείο.
-
I did find a window that looks like it could be two people doing it. I don't think that's what it really is, but still...
tallest building. If you look at street level there's a white SUV next to 2 red box looking things. Follow that straight up, right above the ground level store or whatever.
Could be. xD Right below the apartment with the family eating dinner?
-
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
-
Doesn't matter. Probably is. The problem is that you're using single quotes (' ') around your array key ($row['SUM($screen_size)']) so variables don't interpolate. Use double quotes.
-
<?php $date = getdate(); print_r($date);
$month is $date['mon'], $month_name is $date['month'], and $year is $date['year']. =P
-
(let ((amount 5.00) (quantity 3)) (* amount quantity))
Ahhhhhhhhhhhh!
-
Try following the example from php.ner. You're calling end() on each individual element in the array, instead of once on the whole array, before the loop.
law did it correctly. He/She just didn't need to loop.
foreach ($pieces as &$p2){ $last_piece = end($p2);
$pieces is the array, $p2 is the individual element. What's wrong with that picture?
Also:
if ($p2 = last_piece ...
Should be 2 =.
-
Try following the example from php.net. You're calling end() on each individual element in the array, instead of once on the whole array, before the loop.
-
You didn't set up the keys correctly in the array.
<?php $genres = array ( 'Comedy' => array("Superbad", "Yes Man", "Anchor Man"), 'Horror' => array("Texas Chainsaw Massacre", "People Under The Stairs", "Slither"), ); foreach($genres as $genre){ echo "<p>$genre:</p>\n<p>"; foreach ($genre as $num => $movie) { echo "$num: $movie<br />\n"; } echo "</p><br />"; }
Should be good.
-
give us the function. . . .
What? It's in the GD library. Any change in PHP version or ini settings on your site?
-
Very nice of you but this is a php help forum which means you come here for help not to help those who are not seeking it
Umm, that makes little sense. If there's no people who come here to help other people, then there would be no one posting solutions. =/
-
You can't get PHP code from a page. Plus, that code would take about 2 minutes to create. If you were using one hand. =X
On a side note, I enjoyed being asked for a "Numeric Number".
-
What's the error?
Several integers passed through as an array's element
in PHP Coding Help
Posted
Why make yourself type all of that extra stuff? You can refer to the array elements with the numbered index (starting at 0):
You can just do $p['productsIDs'][0], etc.[/code]