User Profile

Collapse

Profile Sidebar

Collapse
th1982
th1982
Last Activity: Jun 2 '08, 07:31 AM
Joined: Feb 17 '08
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • th1982
    replied to Search page's result
    in PHP
    Thanks rpnew
    Now it s working
    Pls help me next time if i have question
    Thanks again
    Best regards!!
    See more | Go to post

    Leave a comment:


  • th1982
    started a topic Search page's result
    in PHP

    Search page's result

    HI All
    I have a search page' s result which view 3results/per page,but my "next" link to view next page is not working.
    Here is my code :


    [PHP]<?php
    // Get the search variable from URL
    $string = @$_GET['q'] ;
    $trimmed = trim($string); //trim whitespace from the stored variable
    // rows to return
    $limit=3;
    // check for an empty string and display a message....
    See more | Go to post

  • th1982
    replied to Javascript and flash
    thanks gits
    that is so good to me to learn.
    thanks so much.see you soon in orher topic
    best regards
    See more | Go to post

    Leave a comment:


  • th1982
    replied to Javascript and flash
    Thanks gits
    But my IE is 7, maybe problem from it?
    thanks
    See more | Go to post

    Leave a comment:


  • th1982
    replied to Javascript and flash
    Thanks gits

    pls check my code :


    [HTML]<!--<SCRIPT LANGUAGE="JavaS cript" TYPE="text/javascript">

    function change(node) {
    var video = document.getEle mentById('video _container');
    var n_video = video.cloneNode (true);

    n_video.src = "flash/video" + node.value + ".swf";

    video.parentNod e.replaceChild( n_video,...
    See more | Go to post

    Leave a comment:


  • th1982
    replied to Javascript and flash
    Hi gits
    have you seen any problem with my code?
    Thanks gits
    See more | Go to post

    Leave a comment:


  • th1982
    replied to Javascript and flash
    [HTML]<!--<SCRIPT LANGUAGE="JavaS cript" TYPE="text/javascript">

    function change(node) {
    var video = document.getEle mentById('video _container');
    var n_video = video.cloneNode (true);

    n_video.src = "flash/video" + node.value + ".swf";

    video.parentNod e.replaceChild( n_video, video);
    }


    ...
    See more | Go to post

    Leave a comment:


  • th1982
    replied to Javascript and flash
    thanks gits!
    the problem is can not change video in IE, i only can play video0.swf when i click another one , its still video0.swf. firefox is ok .i m using IE 7
    what is the problem ?
    best regards
    See more | Go to post

    Leave a comment:


  • th1982
    replied to Javascript and flash
    thanks gits!!
    but still did not work in IE...hixhix....
    See more | Go to post

    Leave a comment:


  • th1982
    replied to Javascript and flash
    sorry gits!
    pls try to help me to solve this problem.
    thanks
    best regards
    See more | Go to post

    Leave a comment:


  • th1982
    replied to Cron Job
    in PHP
    Thanks so much!!!
    but when i use schedule task ,i can only see the applications on my computer.How can i set to run a php file on server ?sorry,i m first time using this task .
    Thanks
    best regards
    See more | Go to post

    Leave a comment:


  • th1982
    replied to Cron Job
    in PHP
    Thanks TS!!! they are my local provider,i m sure you dont know them.
    I want to run a script to import data from xml file to mysql.it will be run everyday at specific time.
    are any solutions for it?
    Thanks
    See more | Go to post

    Leave a comment:


  • th1982
    started a topic Cron Job
    in PHP

    Cron Job

    I have a question :
    I m using window host and i dont have either cronjob function and schedule task (i asked host provider ,they said they donnot have it)
    So have any scripts(php,jav ascript....) to do this work(running a file on server with specific time)?
    Thanks so much.
    See more | Go to post

  • th1982
    replied to Javascript and flash
    i changed the code like this :

    [html]
    <!--<SCRIPT LANGUAGE="JavaS cript" TYPE="text/javascript">

    function change(node) {
    var video = document.getEle mentById('video _container');
    var n_video = video.cloneNode (true);

    n_video.src = "flash/video" + node.value + ".swf";

    video.parentNod e.replaceChild( n_video,...
    See more | Go to post

    Leave a comment:


  • th1982
    replied to Javascript and flash
    the function will be like this ,am i right?

    [html]
    <SCRIPT LANGUAGE="JavaS cript" TYPE="text/javascript">

    function change(node) {

    var movie = document.getEle mentById('video _container');
    var n_movie = movie.cloneNode (true);



    n_movie.value= "flash/video" + node.value + ".swf";...
    See more | Go to post

    Leave a comment:


  • th1982
    replied to Javascript and flash
    Thanks very much!!!
    I've tried to put it in 2 ways like this :
    First :
    [html]<OBJECT classid="clsid: D27CDB6E-AE6D-11cf-96B8-444553540000"
    codebase="http://download.macrom edia.com/pub/shockwave/cabs/flash/swflash.cab#ver sion=6,0,40,0"
    WIDTH="204" HEIGHT="183" id="video_conta iner"><PARAM NAME=movie VALUE="flash/video0.swf"><PA RAM NAME=quality...
    See more | Go to post

    Leave a comment:


  • th1982
    replied to Javascript and flash
    oh sorry!
    only first clip can run,second and third clips are not disappeared
    and select box very small , i can only see "V"characte r(in FF i can see the full text inside the select box).
    thanks to yr answer.
    See more | Go to post

    Leave a comment:


  • th1982
    started a topic problem with Download pdf file
    in PHP

    problem with Download pdf file

    I have the code like this to download pdf file :
    [php]<?$basedir = "public_htm l/UserFiles/Data/";
    $filename = $_GET['file'];
    header("Content-Type: application/octet-stream");
    $save_as_name = $_GET['file'];
    header("Content-Disposition: attachment; filename=\"$sav e_as_name\"");
    readfile($based ir.$filename);? >[/php]
    but i cannot open the output with error...
    See more | Go to post

  • th1982
    replied to Javascript and flash
    Hi gits
    i have problem when i run this script in IE:http://www.purpleasia.com/clients/VF...dex.php?l1=161
    FF is no problem
    why is it?thanks so much
    See more | Go to post

    Leave a comment:


  • th1982
    started a topic php &xml
    in XML

    php &xml

    I've a ticker's code like this :


    [PHP]<?php
    // load SimpleXML
    $SECURITIES = new SimpleXMLElemen t('http://www.zet.com/xml/TableDt.xml', null, true);

    echo <<<EOF
    <marquee bgcolor="#33333 3" scrollamount="3 " onmouseover=sto p() onmouseout=star t() ><font face='Time News Romance' font color='white' font size=4><table>


    ...
    See more | Go to post
No activity results to display
Show More
Working...