Jump to content

realcoder

Members
  • Posts

    51
  • Joined

  • Last visited

    Never

Everything posted by realcoder

  1. mean i can get the values of multiple when we enter values at run time
  2. hii as i see some code in which we can sent data on the run time when we enter something in input & go for next that post that data into action forum which we define in Ajax action that is for the checking for username field on run time wihtout loading the page here is code <SCRIPT type="text/javascript"> <!-- pic1 = new Image(16, 16); pic1.src = "images/loader.gif"; $(document).ready(function(){ $("#username").change(function() { var usr = $("#username").val(); if(usr.length >= 4) { $("#status").html('<img src="images/loader.gif" align="absmiddle"> Checking availability...'); $.ajax({ type: "POST", url: "userchk.php", data: "username="+ usr, success: function(msg){ $("#status").ajaxComplete(function(event, request, settings){ if(msg == 'OK') { $("#username").removeClass('object_error'); // if necessary $("#username").addClass("object_ok"); $(this).html(' <img src="images/tick.gif" align="absmiddle">'); } else { $("#username").removeClass('object_ok'); // if necessary $("#username").addClass("object_error"); $(this).html(msg); } }); } }); } else { $("#status").html('<font color="red"> username have at least <strong>4</strong> characters.</font>'); $("#username").removeClass('object_ok'); // if necessary $("#username").addClass("object_error"); } }); }); //--> </SCRIPT> and here we give id in forum input field <input id="username" name="username" type="text" value=""/> Simple i want that i can get values of more input field at the same time when user enter data in those how i'll get that
  3. what i use to make a form like this that user can add automatic multiple input fields how much they want then i can get the data of all here is demo www.ukash2paypal.com/ m also notice one more thing in source that form action is going in cgi-bin folder is there any already created code relative to this :S or any can help to make like this that
  4. after writing this code $dir = "A Flat"; $open = opendir($dir); while(false !== ($read = readdir($open))){ if($read != '.' && $read != '..'){ echo $read."<br />";} } out is this 01 - Meetha Sa Ishq.mp3 02 - Dil Kashi.mp3 03 - Chal Halke Halke.mp3 04 - Pyar Itna Na Kar.mp3 05 - Meetha Sa (unplugged).mp3 06 - Dil Kashi.mp3 07 - Meetha Sa (partymap mix).mp3 full file name i will insert these data in table song in link column but i need also the name of songs for inserting in name colum which i show on page to show people name of songs because if the same name i put in name field so .mp3 will be with every name that will not look good so how i add also separete name of these songs which will be in directory
  5. hi i am a making a site in which m saving a songs information in database then fetching that out for inserting song link m using readdir function that read all song in a folder then save them in database but i have problem when that read file name .mp3 also include with that which i don't want to show on page where i fetch that mean simply i want that i can insert song name separately and file separately... and i want to use readdir also for getting file name becoz that easy way instead of upload through panel ..? any idea or solution about adding separately file name
  6. i want that when someone post some comment on post that don't insert in table directly before inserting i can check and after approving then insert in table for which what i doo ?any IDea about this
  7. i am making a website where i can submit films but i am confuse to understand the structure of that where people can also submit their views and i can diferent link of diffrent companiess for example i have some example http://tv.desitvforum.net/index.php?option=com_content&task=view&id=77865&Itemid=86 http://www.funbolo.com/more.asp?itemCode=1916 this type of page that i can easily insert links and their title and images on that page there is also one problem every time become different links of different sites in different counting so that's why m more confuse ho to set data base structure for that and how add these all details from panel and people can also post comment on that well thats simple but my bug problem is structure for this :confused: aNy Body in structure
  8. how to read all files in folder and save their name in databas .. i want that in a input field i give folder name that that read all files in that folder and return their complete name with extention and that i can save each name separate in database
  9. yes i have check but did i directly upload my file on other server through my upload forum and how
  10. how can u explain i don't hhave any idea of ftp functions
  11. i am making song site i want to upload songs files on another instread on which m running my script for uploading songs and adding information in data... mean want to know is there any function or method that i upload files through the panel of www.site1.com and my files upload on an other server www.site2.com. which code i have to write for doing this
  12. i want to make a forum that nobody can fill that through any software automatically i make this one with java script authentications but some one also make a break of this and and he fill this software only in one click with automatic way this one which i make http://www.ebs-ads.com/advertising/forms.php?id=4&name=Abel any better solutions using php or any other function that users must have to post every input field separately manually ..if yes Please suggest me thanks
  13. i am making online jobs portal where people send data after finish work and then we check that update thier earning stat for that i am confused i want that if user earn 50$ per month we add those but when i next month add earning of that user that show show also 50$ and if i include 50 more there i can show last month earning one table and in one this month earn and in one table total earning till now and when USer earning total earning reach on 100$ or grater 100$ automatically show him 3 buttons where he can choose how he witdhraw the money and how much minimum $100 after once when he send us request for withdraw money those buttons again disapear and total balance - how much he requested us for withdraw so tell me how i make table strcute and which code i'll use
  14. well that data is in lines like this 2 Kilo Of Kesselkramer 2020 Bmx 2wheels 30 Luxury Homes 30000 Years Of Art 3d World 4wd Custom Guide 4wd Custom Utes 4wd Extreme 50 Of The Worlds Best Apartments 50 Something 911 And Porsche World A Curated By A Century Of Model Animation A Cloth Covered Button Current Issue A Day Ay Elbulli A Dedicated Follower Of Fashion Asiatic Parrots Revised Neophema And Psephotus Grass Parrots Revised Pet And Companion Birds Pheasants And Waterfowl Pigeons Doves And Quail Popular Conures As Pet And Aviary Birds want to insert every line in new row of colum ... :confused: how any fucntion for this
  15. infact i have lots of data in thousand line like for example 2 Kilo Of Kesselkramer 2020 Bmx 2wheels 30 Luxury Homes 30000 Years Of Art 3d World 4wd Custom Guide 4wd Custom Utes 4wd Extreme 50 Of The Worlds Best Apartments 50 Something i want that i just copy this all data and every line insert in new row of colum and give automatically id to every line like ID DATA 1 2020 Bmx 2 2 Kilo Of Kesselkramer like this automaticaly create new coum where find ENter (new Line) and then automatically create ID how can i do that
  16. or tell me any function or method through that i can check my $site_url in $html in which m getting all the content of page $site_url is the url of my site
  17. $html = @file_get_contents($urlw) or problem('Can\'t open Your Remote URL!'); $html = strtolower($html); $site_url = strtolower($set['site_url']); if (preg_match_all('/<a\s[^>]*href=([\"\']??)([^" >]*?)\\1([^>]*)>/siU', $html, $matches, PREG_SET_ORDER)) { foreach($matches as $match) { if ($match[2] == $set['site_url'] || $match[2] == $set['site_url'].'/') { $found = 1; if (strstr($match[3],'nofollow')) { $nofollow = 1; } break; } } } if ($found == 0) { echo "<center><h2>Our URL Not FOund on your page please submit or check again</h2></center>"; } else next proceggerr.... in $html we getting the content of that page which that user give where he put our link what is this actually this all code is doing infact i was making a link exchange site where on a page people can submit their link for exchange and give their site link and the that page link where they have put our link this code verify at the sPot did they have put our code or not but m facing some problem.. beacuse it's not working good
  18. well can't u explain little aboue this becoz i have never use api keys & this all
  19. how to fetch & run youtube videos on our SITE AS u can see on this site http://music.pakistanway.com/movies/Peepli_%5BLive%5D_%282010%29_ here u see the list of songs infront of every songs there is an icon of youtube when we click on that that pass a variable to next page with the song name Like this http://music.pakistanway.com/music_videos.aspx?v=Chola%20Maati%20Ke%20Ram there show the result matched to that keyword which we pass & then we can clink on any video that show us video on our page like this http://music.pakistanway.com/Videosong.aspx?v=4-Gw2DibRNE&title=Chola%20Maati%20Ke%20Ram%20Peepli%20Live%20*%20Exclusive%20Song i wanna know about this code how i write in php mean how can i easily fetch videos results & can play video on my own wepage ???
  20. well i got the answer of my last question can u people explain little to this line because i wanna learn really exactly for my future use ^movie/(.*).html songs.php?movie=$1 as i have download the chat where write srting start with ^ & end with $ but what is $1 why 1 is with $ (.*) and why we wwrite these in brackets How i know that where i pass variable in string ? lttle explanation of this string it will be very help for me to understand rewite rule
  21. well i wanna ask one question if we writing the main link in our file like this <a href='songs/movie/".$get['name'].".html'> then why we writing in .htaccess for chanigng link from songs.php?movie=movie to movie/moviename.html because there is no link like this songs.php?movie=moviname which that change we changing that manually from our file what is this all matter any little guaidence or explanation about this
  22. thanks bro can u tell me from where i can learn this for my feature use <a href='/proj/movie/{$get['name']}.html'> mean u write this url i don't get the point of {} did i use {} these brackets where i have to use variables ??
  23. this is the main movies.php code where i have to make changing what i do :confused: $que = "SELECT * FROM movies where catid='$id' limit $start,$limit"; $exe = mysql_query($que); while($get = mysql_fetch_array($exe)) { if($i==0) echo '<tr>'; echo "<td height='150' align='left' valign='top'><a href='songs.php?movie=".$get['name']."'>".$get['name']."<br/><img width='100' height='130' border='0' src='".$get['picture']."' /></a></td>";
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.