www.webdeveloper.com
Recent Articles
  • Controllers: Programming Application Logic - Part 2
  • SQL 2008 Backup and Restore - Part 1
  • How to Use JavaScript to Validate Form Data
  • Using Text with Images in Photoshop
  • Oracles ADR Command Interpreter (ADRCI) - Part 3
  • .NET Debugging for Rookies
  • Check your SQL Server using Windows PowerShell Part 6
  • Oracle Database 11g: Adaptive Cursor Sharing
  • SQL Server 2008 Data Collections and the Management Data Warehouse
  • Controllers: Programming Application Logic
  •  

    Go Back   WebDeveloper.com > Server-Side Development > PHP

    Reply
     
    Thread Tools Search this Thread Rate Thread Display Modes
      #1  
    Old 07-13-2008, 09:01 AM
    Tazzzzzzzzz Tazzzzzzzzz is offline
    Registered User
     
    Join Date: Jul 2006
    Posts: 21
    Question help in playing video and mp3 on site

    hiii i am new in php and i am developing a site that allow the user to chose video and then go to view it . and if he like it he can download and the same for mp3 .
    so can any one help me with that .or you can tell me where i can read about it .
    thank u all.
    Reply With Quote
      #2  
    Old 07-14-2008, 03:21 PM
    hastx's Avatar
    hastx hastx is offline
    Registered User
     
    Join Date: May 2003
    Posts: 357
    There are many free flash-based mp3 players available for use that you can implement, check here. As far as video, you would first have to decide on a format that you will use / allow.

    i would need to know more info about the scope of your site for anything else.
    __________________
    We do precision guesswork
    Reply With Quote
      #3  
    Old 07-18-2008, 06:49 PM
    Tazzzzzzzzz Tazzzzzzzzz is offline
    Registered User
     
    Join Date: Jul 2006
    Posts: 21
    first thank u for your replay
    my site is providing the user with data that he can use for his mobile like application, software,image.wallpapers,tones,video....etc
    so the user will register and then he can download all kind of data he want .
    the data is dividing in categories and sub-categories.
    the user can view all thing he want before download it .

    i would like to ask u in som pages i need to send data to another page like when the user select category=image .
    so i do
    PHP Code:
    <a href=catgen.php?cat_name=".$cat_name." class=".style2.">".$cat_name."</a></p>";

    in the page catgen.php
    i do
    PHP Code:
    $cat_name=$_REQUEST['cat_name'];
    and i use it in mysql query i feel that is not secure to do that .
    if the user change cat_name the
    mysql query in the second page will not work
    so what can i do else .to prevent that thing
    thank u for ur time.
    Reply With Quote
      #4  
    Old 07-19-2008, 07:25 PM
    Tazzzzzzzzz Tazzzzzzzzz is offline
    Registered User
     
    Join Date: Jul 2006
    Posts: 21
    why is no one answer me is my question wrong
    Reply With Quote
    Reply


    Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
     
    Thread Tools Search this Thread
    Search this Thread:

    Advanced Search
    Display Modes Rate This Thread
    Rate This Thread:

    Posting Rules
    You may not post new threads
    You may not post replies
    You may not post attachments
    You may not edit your posts

    BB code is On
    Smilies are On
    [IMG] code is Off
    HTML code is Off
    Forum Jump


    All times are GMT -5. The time now is 12:07 PM.



    Acceptable Use Policy

    JupiterOnlineMedia

    internet.comearthweb.comDevx.commediabistro.comGraphics.com

    Search:

    Jupitermedia Corporation has two divisions: Jupiterimages and JupiterOnlineMedia

    Jupitermedia Corporate Info


    Legal Notices, Licensing, Reprints, & Permissions, Privacy Policy.

    Web Hosting | Newsletters | Tech Jobs | Shopping | E-mail Offers

    Powered by vBulletin® Version 3.7.3
    Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.