Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: speedyrudolf
  • Order by date
  1. speedyrudolf

    Launch script AFTER files upload

    Well... 1) I know because at the end of the script, a mail is sent, and if it is sent successfuly, the user is redirected. And when I used the form (for debuging), after about 2 minutes after the form was submitted, I received the mail (and it was empty...don't know why) and after about 4 more...
  2. speedyrudolf

    Launch script AFTER files upload

    Hi. I'm making a website with multiple file inputs. The problem is submitting the form: if the user selects big files (eg: 3-4mb), when he submits the form, the php script is launched before the files have uploaded completely. How can I launch the script AFTER the file have uploaded (something...
  3. speedyrudolf

    Geometry vs Graphics

    Hi. I want to buy a new pc and I'm thinking about using 2 graphics cards (someone said something that I thought would be interesting to try). So here are the questions: 1) can one graphics card be used to do the graphics/textures and one to do the geometry (both being ATI cards: Radeon X1900XTX...
  4. speedyrudolf

    mail with attachments problem

    Yep...That did it...Sort of... Now the entire message is sent as an attachment, and the original attachment is in that attachment (don't really know how to describe it better). And Yahoo doesn't even see the "attachment"...But that may just be an error on their part, cause gmail sees it just...
  5. speedyrudolf

    mail with attachments problem

    The code for the header: $headers="From: $from"; $semi_rand=md5(time()); $mime_boundary="==Multipart_Boundary_x{$semi_rand}x"; $header.="\nMIME-Version: 1.0\n"."Content-Type: multipart/mixed;\n"."boundary=\"{$mime_boundary}\""; And for the boundary...how should I close it? Thank you.
  6. speedyrudolf

    mail with attachments problem

    Hi. I have the following code: else if(file_exists("site".$timp.".zip")) {$file=fopen("site".$timp.".zip", "rb"); $data=fread($file, filesize("site".$timp.".zip")); fclose($file); $data=chunk_split(base64_encode($data)); $message.="Content-Type:{\"application/octet-stream\"};\n"."name=...
  7. speedyrudolf

    move_uploaded_file() error

    Hi. While trying to test a some code, I ran into this error: The code is: <?php require("class.easyzip.php"); $timp=time(); $zip=new EasyZIP; $file_dir="./upload".$timp; mkdir($file_dir, 0777); $dir=opendir($file_dir); foreach($_FILES as $fisier=>$fisiere)...
  8. speedyrudolf

    keep checkbox checked

    Hi. I'm having a pretty hard time figuring how to do something... In a nutshell, I have a form, when submitted it calls a php page that emails me the form, if it can't email it, it stores the form field values in a txt file, then calls up another php page, which is actually the form with the...
  9. speedyrudolf

    move_uploaded_file error

    Hi. I have the following code: $timp=time(); $file_dir="./upload".$timp; mkdir($file_dir, 0777); foreach($_FILES as $fisier=>$fisiere) {if(is_uploaded_file($fisiere['tmp_name'])) {move_uploaded_file($fisiere['tmp_name'], "$file_dir/$fisiere[name]");}} Well...that is just part of the...
  10. speedyrudolf

    if checkbox checked....

    yep...it works now...thanks
  11. speedyrudolf

    if checkbox checked....

    so...it doesn't work with id...?? ok...be back with another post in about 5 minutes...
  12. speedyrudolf

    if checkbox checked....

    Yeah...still doesn't work...
  13. speedyrudolf

    if checkbox checked....

    Hi. I'm making a website that includes a form, and I kind of hit a bump with the php. PHP: {for($i=0; $i<22; $i++) {if($_POST["Navs".$i]=='ON') {$message.=$i.", ";}} HTML: <tr><td width="425"><input type="checkbox" id="Navs0" onClick="Cont_pag5_3()"><img name="But_nav"...
  14. speedyrudolf

    Double variable filenames

    Hi. I was wondering: can files be named using 2 variables? something like: $a="not"; $b="_now"; touch("$a$b.txt"); If anyone knows how to do this, please tell me. Thank you.
  15. speedyrudolf

    Name files incrementally

    Ok...thank you everyone...but, like I already said, I rewrote the whole code from scratch...I'm now using TimeSpan, and when it reaches 0, it downloads the file...I ended up using this to make it crash/accidental restart/shutdown proof (meaning that if windows crashes etc, when windows restarts...
  16. speedyrudolf

    Name files incrementally

    Yeah...I know...I actually ended up writing the whole app from scratch...Now it has a lot more functionality, and is more reliable...Anyway, thank you very much.
  17. speedyrudolf

    Name files incrementally

    Thanks...I just needed to put + before and after the variable....:D
  18. speedyrudolf

    Name files incrementally

    Hi. Can someone tell me how to name files incrementally. For example, I'm trying to make an app that downloads once a day a file from the same site. The problem I'm facing is: I want to name the files that are downloaded something like this day1.jpg, day2.jpg, day3.jpg etc. I already did most of...
  19. speedyrudolf

    Argument problem

    OK...then how do I request a file? The main idea is to have the php get the files directly from the client, before they are uploaded. As you can see from the code, its purpose is to create a plitted archive on the fly. The reason for me doing this is because the server I am on doesn't accept...
  20. speedyrudolf

    Argument problem

    Hi. I'm trying to get php to fetch some files, but I can't figure out how to do it...here is the code.. <?php require("class.easyzip.php"); $zip = new EasyZip; $zip -> addFile("$_POST['Fis_lay']"); $zip -> addFile("$_POST['Fis_lay']"); $zip -> splitFile("site.zip", 50000); echo 'Attachment has...

Part and Inventory Search

Back
Top