Jump to content

dzysyak

New Members
  • Posts

    9
  • Joined

  • Last visited

    Never

About dzysyak

  • Birthday 03/31/1979

Contact Methods

  • Website URL
    http://site4fast.com/php_mysql_ajax_website_development.html

Profile Information

  • Gender
    Male
  • Location
    Ukraine

dzysyak's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. You can look an example here - http://www.php.net/session_set_save_handler You can find database example too.
  2. You can do that in several ways: switch(exif_imagetype ("filename.gif")){ case IMAGETYPE_GIF: $format = "IMAGETYPE_GIF"; break; } OR $format = array(IMAGETYPE_GIF=>"IMAGETYPE_GIF", ....); echo $format[exif_imagetype ("filename.gif")];
  3. It seem you are using Win server what is not the best solution. But actually it is not my busines, just remember to read all windows related notes. Second thing is that you are using cgi version of php that work slower and have some limitations. Now about php.ini file - you should put it to some "visible" folder like c:\windows or something similar. Hope this will help.
  4. Why cannot you do something like this: <form id="MyForm" onsubmit="javascript: if(document.getElementById('Element').value='something'){ document.getElementById('MyForm').action='SomeAction.php'; }"> I have used similar code several times
  5. Use parse_url PHP function to get the domain.
  6. You should use DATE_FORMAT(date,format) function. Read MySQL manual for details
  7. Can you explain what is the problemm with that? If you aware of the rights for doing that better read "Terms and conditions" section on the site where you are going to take images. By the way many people (like me) do not allow images from third party servers.
  8. Can sugges to use something like that (that is more algorithm than a gode): <? // Be ginig of the next page script if($_POST['var']=="Something"){ echo "<meta http-equiv='REFRESH' content='0;url=page{$i}.php'>"; exit(); } ?> Sure it will be better to validate the $_POST data.
  9. I had similar problem. I have resolved it by changing folder access rights. But sudo do not work through exec() even after changes to /etc/ sudoers I will really appreciate if someone can explain why and how this can be resolved? May be some changes to php.ini or apache config required?
×
×
  • 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.