User Profile

Collapse

Profile Sidebar

Collapse
Zarich
Zarich
Last Activity: May 8 '10, 09:21 PM
Joined: May 1 '10
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Zarich
    replied to Image uploading code, help me modify it
    in PHP
    Hey man,sorry for my late reply , and thanks for helping me out. I did what you told me to do, and i also deleted the $img_unqi variable and the "/img/" from the img_db variable. So here it is how it ended:
    Code:
    //This applies the function to our file
      error_reporting(-1);
      $ext = findexts ($_FILES['uploaded']['name']) ; 
      if(isset($_FILES['img_uploaded'])){
      $img_ext=findexts($_FILES['img_uploaded']['name']);
    ...
    See more | Go to post

    Leave a comment:


  • Zarich
    started a topic Image uploading code, help me modify it
    in PHP

    Image uploading code, help me modify it

    This is a part of a code that i use to upload a video and a picture,but i want to modify the img part to upload the file in a diferent folder and i don't want it to create an unique folder for each picture.

    Code:
     <tr>
                    <td>Selecciona la imagen que representara el video :<div class="upload_sub">Esta sera la imagen que visualizaran los usuarios, debe ser un screenshot del video a subir.</div></td>
    ...
    See more | Go to post

  • I was Able to do it with httaccess cookies =D, so if u have problemes with hotlinking and videos you gotta do that.
    See more | Go to post

    Leave a comment:


  • Oh, i get what u mean, since its a server function it should be executed before any php could be loaded. Now your idea seems interesting, correct me if im wrong on this; ill add the first piece of code to all my php files so they all have active sessions, then the htaccces, then the last part is a script that would register the image based on the getimagesize parameter. Well now how would i be able to do that with mp4 videos since the getimagesize...
    See more | Go to post

    Leave a comment:


  • How to fill user/pass field of a prompted form with php?

    Hello, i've been spending some time trying to figure out a solution for the hotlinking of the videos hosted at my site, which is imposible to do trough htaccess since firefox has a bug that can't read the referrals in this particular case like IE or chrome would. Well i figured out something, in my cpanel i have the option to protect folders with an username and password, and for what i have tested so far, it works to avoid the hotlinking. So here...
    See more | Go to post
No activity results to display
Show More
Working...