User Profile

Collapse

Profile Sidebar

Collapse
daav31
daav31
Last Activity: Jan 10 '08, 10:01 PM
Joined: Dec 6 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • daav31
    started a topic POST variables are empty
    in PHP

    POST variables are empty

    Hello,
    I have the following code:

    [PHP]

    $RecordID = $_POST['PKid'];
    $LastModBy= $_POST['LastModBy'];

    // These datetime vars live in globals.php
    $mySQLToday = $thisYear.'-'.$thisMonth.'-'.$thisDay; // prints todays date in YYYY-MM-DD format
    $attachment_typ e = "workAttach s"; // What is the file type for this section?
    $file_path = $datastore_root ."/".$owner."/".$attachment_t ype."/".$thisYear ."/".$thisMont h."/".$thisDay;...
    See more | Go to post

  • In relation to your post, I have a problem where I have multiple files uploaded at ones into $_FILES, Do you know how I can loop through $_FILES to obtain the $_FILES['filedata']['tmp_name'] and $_FILES['filedata']['name'] for each uploaded file, I am having an extremely hard time figuring that out by using foreach and for loop...is there another way to do that...

    Thanx for any help on this......
    See more | Go to post

    Leave a comment:


  • daav31
    replied to Uploading multiple files to server & MySQL
    in PHP
    Thanx for the prompt response,
    I get [PHP]Array()[/PHP]

    But I should also mention that the files are initially uploaded all at once via a multiple file upload flash tool into the directory uploadDir through the script I posted. Ultimately, I want to put each uploaded file as a separate record in the database, but I first can't figure out how to process each uploaded file separately with a loop (using foreach or a for loop) in...
    See more | Go to post

    Leave a comment:


  • daav31
    replied to Uploading multiple files to server & MySQL
    in PHP
    Hi:

    I have a problem along the same lines, but more specifically I am trying to do a loop to determine obatain the files individually that were uploaded to a directory, unlike the previous situation where each $_FILES is manually inserted into a different variable. I am not sure how I should be able to loop through $_FILES['Filedata'] and subsequently $_FILES['Filedata'] ['temp_name'] and $_FILES['Filedata'] ['name']

    ...
    See more | Go to post

    Leave a comment:

No activity results to display
Show More
Working...