
hno
Members-
Posts
255 -
Joined
-
Last visited
Everything posted by hno
-
Hi every one I want to encode my website and I've just found the attached file . What is this encoder ? is there anyway to encode that ? Thanks 18354_.php
-
HI, I'm writing a auction website .in auction website we need to check for new information every second so it needs to be ajax. we have a timer which calculate the end time of every auction and it needs to be updated every second.Do you have any idea for reducing the process of calculating maybe a client side but something that is updated by server? I mean , the timer works with client side and when the users BID , the timer needs to be refresh.So every time that Bid button hilted the time should be refresh. What's you idea?How can do something like that? Thanks
-
Hi every one I want to share a page content(or an article) into my facebook page via php . How should I do that ? Thanks
-
Thanks a lot but what's wrong with this code :"SELECT user_id, COUNT(1) AS count FROM bid_list GROUP BY user_id where bid_id = '40' " it errors me "right syntax to use near 'where bid_id = '40' LIMIT 0, 30' at line 1" Can anybody helps please?
-
Thanks a lot but what's wrong with this code :"SELECT user_id, COUNT(1) AS count FROM bid_list GROUP BY user_id where bid_id = '40' " it errors me "right syntax to use near 'where bid_id = '40' LIMIT 0, 30' at line 1"
-
hi, I have the following information in my database : id user_id p_id 2 2 38 2011-10-10 08:36:32 1010 5 4 38 2011-10-10 08:37:51 110 28 2 46 2011-10-13 17:05:27 244 16 2 38 2011-10-10 17:49:40 234244 18 4 38 2011-10-11 20:05:04 2010 19 4 38 2011-10-11 20:05:42 2510 I want to the number of rows with p_id: 38 for every user_id.For example I want the reslult for p_id:38 for user_id:2 to be 2 and p_id:38 for user 4 to be 3 . How should I write the query to return that?So ,I want to have the umber of rows for every user_id for a specific p_id. I hope you get what I mean. Thanks
-
What do you mean by sticky?
-
Of course , I want to use order by 'date' DESC and Rand() at one query but when I try that one of them does not work anymore. How can I use them both together? Thanks
-
HI, I want to select from a table with this term "ORDER BY `videoes`.`date_make` DESC limit 30 " and random .so every time the script return 30 latest videoes and randam from them.How can I write the sql? Thanks
-
This is the converting code:shell_exec("$ffmpegpath -i uploads/$video_name -ar 22050 -ab 32 -f flv -s 320×240 uploads/$video_name2"); actually it converts most of the video files to FLV except 3gp which gave that error.
-
HI, When I trying to covnert 3gp to FLV I got this error: FFmpeg version SVN-r12665, Copyright © 2000-2008 Fabrice Bellard, et al. configuration: --enable-gpl --enable-postproc --enable-swscale --enable-avfilt er-lavf --enable-pthreads --enable-liba52 --enable-avisynth --enable-libfaac --e nable-libfaad --enable-libgsm --enable-memalign-hack --enable-libmp3lame --enabl e-libnut --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libxvid --cpu=i686 --extra-ldflags=-static libavutil version: 49.6.0 libavcodec version: 51.54.0 libavformat version: 52.13.0 libavdevice version: 52.0.0 built on Apr 2 2008 22:35:11, gcc: 4.2.3 Seems stream 0 codec frame rate differs from container frame rate: 29.97 (30000/ 1001) -> 15.00 (15/1) Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'uploads/v_1.3gp': Duration: 00:01:03.6, start: 0.000000, bitrate: 189 kb/s Stream #0.0(und): Video: h263, yuv420p, 176x144 [PAR 12:11 DAR 4:3], 15.00 t b® Stream #0.1(und): Audio: samr / 0x726D6173, 8000 Hz, mono WARNING: The bitrate parameter is set too low. It takes bits/s as argument, not kbits/s Output #0, flv, to 'uploads/a.flv': Stream #0.0(und): Video: flv, yuv420p, 320x240 [PAR 1:1 DAR 4:3], q=2-31, 20 0 kb/s, 15.00 tb© Stream #0.1(und): Audio: libmp3lame, 22050 Hz, mono, 0 kb/s Stream mapping: Stream #0.0 -> #0.0 Stream #0.1 -> #0.1 Unsupported codec (id=73728) for input stream #0.1 What should I do? Thanks
-
Any body can help me please?
-
HI, I have write a code to convert video files to flv using ffmpeg and it converts most of the video file except 3gp which after converting the file is 0 kb . What is the problem?This is the command :" exec( "$ffmpegpath -i uploads/$video_name -ar 22050 -ab 32 -f flv -s 320×240 uploads/$video_name2", $ret );" Thanks
-
HI, I want to make embed for my videos in my website .This is the code that play the videos : <a href="uploads/secretary!94.flv" style="display:block;width:600px;height:390px;" id="player"><object width="100%" height="100%" id="player_api" data="flowplayer-3.2.7.swf" type="application/x-shockwave-flash"><param name="allowfullscreen" value="true"><param name="allowscriptaccess" value="always"><param name="quality" value="high"><param name="cachebusting" value="false"><param name="bgcolor" value="#000000"><param name="flashvars" value="config={"playerId":"player","clip":{"url":"uploads/secretary!94.flv"},"playlist":[{"url":"uploads/secretary!94.flv"}]}"></object></a> <script language="JavaScript"> flowplayer("player", "flowplayer-3.2.7.swf"); </script> Can anybody helps me to create embed? Thanks
-
hi, I need to use strlen in my php website but the problem is strlen return different value for Arabic characters and English characters So for every Arabic character php returns 2 but in English it returns 1 . Is there anyway to separate English from Arabic?I need to know the real strlen for Both languages .How should I do that? Thanks
-
Bandwidth limitation is not a case.But you know for downloading a 10MB file from host to host It should not take so long in the other word more than 1 min.
-
Hi my friend, No , I can't . I have to make the file right after downloading.Is there any other way to do that? Thanks
-
Is this taking more than 30 seconds for downloading a 10MB file?
-
so ,something is wrong with my code?because every time if the user's want to download a file with more than 10MB it would take so long and in many cases it would never be complete and some times even the website is hang.Why is that?I'm using this code "file_put_contents($img, file_get_contents($url));" for making downloading the file .Is there any other way to download the file faster ,I mean really faster with the speed of the server? Thanks
-
Actually I have write that with file_get_contents :this is the line: file_put_contents($img, file_get_contents($url)); which $img is the name of the file to be created and the $url is the url which we are going to download I read about file_get_contents and it was mentioned that it Reads entire file into a string so It must be client side not server side because When it reads the file into a string , we have downloaded the file content into user's computer . But I want to be server side and the user does not have to download the content of the file something like leech websites that just show the progress and nothing is going to downloaded into user's computer Thanks all
-
NOT actually, the problem of file_get_contents is that the php going to download the whole file's content so it takes some time to download the file but I want that the host do that I mean the host going to download the content not the user's computer
-
Sorry,English is not my native language , I need to write a script that get url from the user which is a url of a file then the script has to download that file to the host without need to download to the users computer For example the user enter :'www.test.com/test.flv" in the field then the script has to download that file and put it in 'www.mywebsite.com/test.flv' without downloading the video content in users computer and making the file again I mean the host should download the video not user . I hope I can say that clear. Thanks
-
HI, I need to write an script which download files from the input type .I have wrote a code but it first download the file's content then make the file with that content but something that I want to do is to download the video from the link and put that directly into the host without need to be downloaded into the user's computer something like leech. How can I do so ? Thanks
-
HI, I'm using ffmpeg for converting videos in my website but it has problems with converting 3gp videos because after converting to FLV it has 0 size. I'm using this code for converting videos to FLV: exec( "ffmpeg.exe -i uploads/$video_name1 -ar 22050 -ab 32 -f flv -s 320×240 uploads/$video_name.flv", $ret ); By the way , there is no problem with variables . Thanks