Jump to content

venkyphp

New Members
  • Posts

    8
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

venkyphp's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. you can use sleep function to execute one php function after some execution time .. sleep(20).. value will be in seconds.
  2. You are asking about database result or to extract the array elements? we have two different ways as per the requirement..
  3. it is in the php file utils.php what i have embedded here ...
  4. Hi the code is follows <?php require_once('./utils.php'); if(!isset($_SESSION['timestamp_logo_path'])) { $time = BASENAME_TIME; $_SESSION['timestamp_logo_path'] = $time; } $tempFile = $_FILES['Filedata']['tmp_name']; $fileName = $_FILES['Filedata']['name']; $fileSize = $_FILES['Filedata']['size']; $path="ProfileImages/"; $uploadfilePath =$path.$_SESSION['timestamp_logo_path']."_".$fileName; move_uploaded_file($tempFile,$uploadfilePath); ?> the session variable $_SESSION['timestamp_logo_path'] using in another page in function function fn_image_upload($imageUploadObject) { $uploaddir = "ProfileImages/"; $uploadname = basename($imageUploadObject[photoPath]); //if($uploadname==''){ // $uploadname="default.jpg"; //} //$logopath=$_SESSION[timestamp_logo_path]; $logopath=$_SESSION['timestamp_logo_path']; $uploadfile = $uploaddir.$logopath."_".$uploadname; $searchResults = array(); $temp = new Employee(); $temp->photoPath = $uploadfile; array_push($searchResults, $temp); unset($_SESSION['timestamp_logo_path']); return $searchResults; } here i am unable to get the variable value in FF...but it is working fine in IE
  5. No Errors to debug in my code..it is working fine in IE why not in FF..i am not able to understand the problem what is.?
  6. Yes in my ff browser cookies are enabled still i am not getting session variable..it is working fine IE why not FF...suggest me the solution..
  7. In my application session variable is recognized by IE but when it opens in FireFox session variable is not recognized and getting empty value...its critical issue in my application..any one can help me...plzzzzzzzz..
×
×
  • 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.