User Profile

Collapse

Profile Sidebar

Collapse
sarayu
sarayu
Last Activity: Apr 3 '09, 05:37 AM
Joined: Jul 5 '08
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • sarayu
    started a topic PHP in Javascript
    in PHP

    PHP in Javascript

    I used the php code in javascript function.When i click a button the javascript function is called and in that function i wrote the php code for insert values in database.With out submit the button the values are inserted into database.How can i prevent the inserting values without submitting the button?
    Here is my script :
    Code:
    <script>
    function insfun()
    {
    <?php
    $query=mysql_query("select * from
    ...
    See more | Go to post
    Last edited by Markus; Apr 3 '09, 12:01 PM. Reason: Added [code] tags.

  • sarayu
    started a topic URL Redirecting using PHP on IIS
    in PHP

    URL Redirecting using PHP on IIS

    We are currently running the developed php script in IIS.And in that they use the url redirection in .htaccess file.When we want to run the code we get pagenot found errors.where can i change the settings for the redirection of urls?

    Here is my code for .htaccess file

    Code:
    RewriteEngine on
    RewriteRule ^myplaylist playlist.php
    RewriteRule ^lyrics/(.*)/(.*)?$ /lyrics.php?id=$1&name=$2
    RewriteRule ^video/(.*)/(.*)?$
    ...
    See more | Go to post

  • The folders and images in the folders are already defined.I want to select and upload them into the next page.Can u please tell me how can the sub folders are maintained under a folder?Means when click on the folders like in our harddisk the sub folders and the files will be display?How its possible?

    ThankYou.
    See more | Go to post

    Leave a comment:


  • I want to select multiple images from my page and i want to upload the all selected images to another page.So that i dont want to use the select box.And also i dont want to use the checkbox for each image.Just i select the images or folders and upload them.Can you please help me?
    See more | Go to post

    Leave a comment:


  • sarayu
    started a topic Select multiple values without using options

    Select multiple values without using options

    Hi All,

    How can i select multiple values in a form without using options.I want to select more than one image from a table and submit those selected values as a request to the next page.I don't want to use the select box for this.
    Can u please help me about this?

    Thanks in advance
    See more | Go to post

  • sarayu
    started a topic upload folders to website
    in PHP

    upload folders to website

    Hi All,

    I am uploading files and folders to a website.I uploaded zip folders successfully.Bu t when i want to view the files in the zip folder it automatically downloaded.Can u please tell me how to extract or unzip the folder in the website and make it zip again for downloading.

    Thanks in advance
    See more | Go to post

  • sarayu
    started a topic select and upload multiple images
    in PHP

    select and upload multiple images

    Hi All,

    How can i select multiple images by using shift or control key from my hard disk and upload it by using a submit button.For this what we use for selecting different images and for uploading.Any interface is required?Is it possible only with PHP-MYsql and Javascript.Else what technology we use ?


    Thanks in advance
    See more | Go to post

  • sarayu
    replied to Run commandline in php file
    in PHP
    I tried using double quotes and concatenating also.But it does not work.Any other solution?
    See more | Go to post

    Leave a comment:


  • sarayu
    replied to Run commandline in php file
    in PHP
    Hi Atli,

    I used ffmpeg for video conversion in windows.I converted those files to .flv format in cmd by using this command.

    C:\>ffmpeg -i sruthi.wmv -ar 22050 -ab 32 -f flv project/video.flv

    It converted to video.flv in my project directory.But when i call this command in my php file using exec like this

    $ffmpegPath="C://ffmpeg/ffmpeg.exe";
    $in="C://ffmpeg/sruthi.wmv";...
    See more | Go to post

    Leave a comment:


  • sarayu
    started a topic Run commandline in php file
    in PHP

    Run commandline in php file

    Hi,
    I am converting the video files to .flv using ffmpeg.I run and i converted all the files to .flv format in cmd.But how can i call the cmd commands in my php file.I used exec for conversion like this.But it wont be converted.Pleas e help me about this,

    Thanks in advance
    See more | Go to post

  • sarayu
    replied to play a video like youtube in my application
    in PHP
    when i run the cmd in shell it converted the file to .flv format and place that converted file into the directory where the input file located.And using that i can play the video.But when i do the same in php it wont be convert and wont give any error?

    In my php.ini the safe_mode is disabled(off).W hat the permissions i have to give this?Can u be explain it clearly?I am new to this concept?

    Thanks in advance.
    See more | Go to post

    Leave a comment:


  • sarayu
    replied to play a video like youtube in my application
    in PHP
    Hi,

    I didnt got any error.But the files was not converted...
    See more | Go to post

    Leave a comment:


  • sarayu
    replied to play a video like youtube in my application
    in PHP
    Hi,

    i successfully converted the videos to .flv prompt using ffmpeg.But when i want to call the exec command in my file i cant access the convertion.Here is my code.Please let me know what the mistake i did?
    [code=php]
    <?
    $srcFile = "/FFmpeg/monkeydog.wmv";
    $destFile = "/FFmpeg/mn.flv";
    $ffmpegPath = "/FFmpeg/ffmpeg";
    echo exec('cmd /c echo Hello...
    See more | Go to post
    Last edited by pbmods; Jul 9 '08, 02:55 AM. Reason: Added CODE tags.

    Leave a comment:


  • sarayu
    replied to play a video like youtube in my application
    in PHP
    Hi
    I got this error when run my script.

    Warning: exec(): Unable to fork [FFmpeg/ffmpeg -Uv FFmpeg/ffmpeg/monkeydog.wmv FFmpeg/ffmpeg/monkeydog.flv] in D:\project\FPI\ public_html\OLD CONTENT\admin\h tml\helo1.php on line 3


    Can you please help how can i connect to cmd in my php script.
    See more | Go to post

    Leave a comment:


  • sarayu
    started a topic play a video like youtube in my application
    in PHP

    play a video like youtube in my application

    Hi,

    I want to convert some video files to .flv format and store it in database and play.For this i used ffmpeg and i convert the files in cmd and here my problem is how can i connect ffmpeg and php.I searched for it but i got an error in ffmpeg-php classes.Which class is suitable for my application and how we connect with.Please help me?
    See more | Go to post
No activity results to display
Show More
Working...