Posts
 
Reputation
Loading chart. Please wait.
Joined
Last Seen
Ranked #3K
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
100% Quality Score
Upvotes Received
4
Posts with Upvotes
4
Upvoting Members
4
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
2 Commented Posts
0 Endorsements
Ranked #25.0K
Ranked #4K
~9K People Reached
Favorite Forums
Favorite Tags

7 Posted Topics

Member Avatar for garyjohnson

Quick guess: If the code works for images you maybe having a timeout problem due to the size of the videofiles, OR the filesize is larger than the allowed filesize. Check the errorcode from $_FILES["file"]["error"]. The value 1 means the file is larger than the allowed filesize (from php.ini). Greetings …

Member Avatar for diafol
0
3K
Member Avatar for hiyatran

PHP has built in functions to handle this case. They are called fgetcsv and fputcsv. You can read the textfile into an array using fgetcsv and write the changed values back using fputcsv. These functions handles both the field delimiter (comma or semi-colon), string enclosures (the " or ') and …

Member Avatar for LastMitch
0
147
Member Avatar for sankster

You can not update a sum of values with a single update statement. The database has no way of knowing which rows to change in your statement. Also you do not use "AND" but a "," when updating different columns: ` AND sum(total)='$parts[2]'` So the above code needs to be …

Member Avatar for sankster
0
964
Member Avatar for vuquanghoang

Hi After checking that the values were saved to the database use the following: `$("form").each( function() { this.reset; });` This resets all forms on the page. You can wrap the function in a button (with an id of "reset" in this sample): $("#reset").on("click", function() { $("form").each( function() { this.reset; }); …

Member Avatar for dpste
0
4K
Member Avatar for mehidy

Hi. I'm writing because I have noticed that your question haven't had a single answer in 2 weeks. That is very unusual, and I've looked at your questions and your code sample to see if I could help you. Well, I can't. Not now anyway. But at least I may …

Member Avatar for dpste
0
567
Member Avatar for reggie.dipo

Hi The good (or bad...) news is that your code works like a charm. I've created a table and tested it on a mysql database - no problem. You may have an access problem, when connecting to the database. Try checking the line where you create the `$db` variable. Make …

Member Avatar for broj1
0
110
Member Avatar for EvolutionFallen

Hi You are splitting your headerlines where it is not allowed: > ."Content-Type: {$fileatt_type};\n" ^^ > ."name=\"{$fileatt_name}\"\n" > ."Content-Disposition: attachment;\n" ^^ > ." filename=\"{$fileatt_name}\"\n" Change to: ."Content-Type: {$fileatt_type}; name=\"{$fileatt_name}\"\n" ."Content-Disposition: attachment; filename=\"{$fileatt_name}\"\n" Further > .$fileatt_data."\n\n" ^^ > ."--{$mime_boundary}--\n"; try removing a "\n": .$fileatt_data."\n" ."--{$mime_boundary}--\n"; ---- The code below works for …

Member Avatar for EvolutionFallen
0
226