Jump to content

WinstonLA

Members
  • Posts

    23
  • Joined

  • Last visited

About WinstonLA

  • Birthday 02/26/1992

Profile Information

  • Gender
    Male
  • Location
    Ukraine, Kiev

WinstonLA's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Hm... Try this code foreach ($swap["sims"] as $item) { var_dump($item); } Something is outputting on the screen? If so, go back to your code and open (Ctrl+U) code of you page and find there your select tag. Will there be any options?
  2. Change name for second variable in the foreach foreach ($swap["sims"] as $swap) foreach ($swap["sims"] as $swap) This formatting looks better <select name="sim_for_swap[]"> <?php foreach ($swap["sims"] as $item): ?> <option value="<?php echo $item['voice']; ?>"> <?php echo $item['voice']; ?> </option> <?php endforeach; ?> </select>
  3. Instead $('.likestatusclass').click(function(x){ use $('body').on('click', '.likestatusclass', function(x){ This should solve the problem.
  4. http://stackoverflow.com/questions/2787910/why-does-mysql-autoincrement-increase-on-failed-inserts
  5. For PHP >= 5.3 you should use preg_* functions instead ereg(), instead of eregi() you should use preg_* funcitons with modificator i In your case you need use preg_match with modificator i
  6. Try to add CURLOPT_PORT curl_setopt($ch, CURLOPT_PORT, 84);
  7. Open init.js file, find the line with code var finalDate = '2016/01/01'; And change finalDate to what you need
  8. Before using $_POST[ 'modsToBeChecked' ] you need check if this element is exists if(isset($_POST[ 'modsToBeChecked' ])) { //Element exists, you may use it }
  9. @Asumi You're welcome Please mark this topic as answered if you can do it
  10. OK. Try comment this line $anime = $file = str_replace(' ', '\ ', $anime); And after line $anime = "Sous-titres/".$anime."/"; write var_dump(file_exists($anime)); this will show that is there that directory. If so than uploading should be successful, if no, you need find that path that is will be returned true by file_exists() function.
  11. As I know filename can't be Akame\ ga\ killFilename.jpg because Akame\ ga may be considered as a directory. You should avoid slashes in filenames or create appropriate directories and then specify slashes in filename
  12. Maybe the directory that you're trying upload file in, hasn't write permissions. Set error reporting level to error_reporting(-1); May some errors will be output
  13. I don't understand what problem? Did you never see default parameters for functions?
  14. I don't quite understand... Do you trying do F5 protection?
×
×
  • 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.