Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
R

rgoyal

@rgoyal
About
Posts
42
Topics
18
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • want to start with asp.net
    R rgoyal

    Hi All, I am a PHP developer with more than 2 years of experience and now I want to start with ASP.NET. For this I need very basic tutorials and your valuable guidance so that I may proceed. I could not find these on net. Like I could not find how I shud connect asp.net with MsSql. So please help. Thanks

    ASP.NET csharp php asp-net sql-server help

  • MySql Regexp
    R rgoyal

    Following is the requirement for search component: Input: Only 1 search box in which I will put 1 or more words(separated by space) Output: I need to search space separated parts of this string in multiple fields of multiple tables. What I have done?

    $keywordList = explode( ' ', trim($_REQUEST['txtSearch']) );

    $i = 0;

    while($i < count($keywordList)){

        $strKeyword.= "
        r.userId like '%$keywordList\[$i\]%'
    or r.maritalStatus like '%$keywordList\[$i\]%'
    or r.nativeLang like '%$keywordList\[$i\]%'
    or ro.personalStatement like '%$keywordList\[$i\]%'
    or ro.empReq like '%$keywordList\[$i\]%'
    or ro.hobbies like '%$keywordList\[$i\]%'
    ";
    
    $i++;
    
    if($i < count($keywordList)){
    	$strKeyword.= " or ";
    }
    

    }

    This is working according to my requirements I need to do it in MySql and PHP with regexp. Any Help? Thanks

    Web Development php mysql business help question

  • Webservices
    R rgoyal

    Can you put me on the track for understanding and creating web services? I have gone through w3schools tutorials about SOAP but with that I could not write any web services. When I google for web services there are lot of tutorials. There are SOAP,REST etc don't know what they are. I want to use PHP for web services. Please help Ranjan

    XML / XSL wcf php xml json help

  • Why this does not work?
    R rgoyal

    Thanks a lot for your very clear response. Ranjan

    Web Development javascript tools question

  • Why this does not work?
    R rgoyal

    You said: What happens here is that the write() function is called through the onload event. Browser does not know where to place the new content since the parsing has allready ended. Then why it does not happen with div and form element. As I am new to javascript I require more clear explanation. Thanks Ranjan

    Web Development javascript tools question

  • Why this does not work?
    R rgoyal

    Hi, Can u plz tell me that why this script doesn't work if I uncomment the commented line. JavaScript Test <!-- function clock() { var today=new Date(); var hr=today.getHours(); var min=today.getMinutes(); var sec=today.getSeconds(); if(hr < 10) hr=" "+hr; if(min < 10) min="0"+min; if(sec < 10) sec="0"+sec; var el=document.getElementById(1); el.innerHTML=hr+" : "+min+" : "+sec; document.clock.digits.value = hr + " : " + min + " : " + sec ; //document.write(hr+" : "+min+" : "+sec); setTimeout("clock()",1000); } //-->

    Web Development javascript tools question

  • Vertical Alignment
    R rgoyal

    Do you want something like this.

    Ranjan

    Goyal

    I got it from some place(I don't remember from where) on the net. Ranjan

    Web Development question

  • Why different results?
    R rgoyal

    Thanks raoul Ranjan Goyal

    Web Development question

  • Cancel scrollbar events
    R rgoyal

    Does this solve your purpose?

    Test

    Ranjan Goyal

    Web Development question

  • Why different results?
    R rgoyal

    <!-- function test(grade) { if(grade > 70) document.write(" Passed"); else document.write(" Failed"); } document.write("C1 "+ test(65) + "<br>"); document.write("C1 ")+ test(65)+document.write("<br>"); //--> I am getting following results: FailedC1 undefined C1 Failed

    Web Development question

  • ftp+php
    R rgoyal

    Hi Raoul, First very sorry for this delayed response. Today, I tried the following code and I got the following error: Fatal error: Call to undefined function: ftp_connect() in /home/small_projects/ranjan/ALLFILES/ftp.php on line 12 192.168.0.112 is IP of a folder on NT server Code is this: // set up basic connection $ftp_server="http://192.168.0.112/Ranjan"; $conn_id = ftp_connect($ftp_server); // login with username and password $ftp_user_name="********"; $ftp_user_pass="********"; $login_result = ftp_login($conn_id, $ftp_user_name, $ftp_user_pass); // check connection if ((!$conn_id) || (!$login_result)) { echo "FTP connection has failed!"; echo "Attempted to connect to $ftp_server for user $ftp_user_name"; exit; } else { echo "Connected to $ftp_server, for user $ftp_user_name"; } Ranjan

    Web Development php tutorial question

  • What are meta pointers and meta classes?
    R rgoyal

    Thanks in advance. Ranjan

    Web Development question

  • After logging out if I login again,can I get the same session?
    R rgoyal

    Thanks in advance. Ranjan

    Web Development question

  • What is the difference between the two?
    R rgoyal

    Thanks Jim. Ranjan Goyal

    Web Development question javascript

  • ftp+php
    R rgoyal

    I want a very basic working example. e.g Reading a file from remote machine, displaying it on my textbox and then on a button click to save that file in the same place. At present I am not able to read file. My machine no is 192.168.0.6 Below is the code that I am using "; $fp=fopen("ftp://\*\*\*\*\*\*:\*\*\*\*\*@192.168.0.60/ranjan/downDb.php",r); $contents = fread ($fd, 100);//100 is file size here echo"$contents"; echo""; ?> Below is the error generated Warning: fopen(ftp://...@192.168.0.60/ranjan/downDb.php): failed to open stream: FTP server reports 550 Could not get file size. in /home/small_projects/ranjan/ftp.php on line 3 Warning: fread(): supplied argument is not a valid stream resource in /home/small_projects/ranjan/ftp.php on line 4

    Web Development php tutorial question

  • javascript typing effect
    R rgoyal

    I tried following and it is not working. But I can write on the status bar as shown below in commented portion. Moreover I don't want to write in the textbox but on the document. <!-- var str="good evening"; var i=0; function show() { var typeLength= str.length document.typewriterScreen.typepage.value= document.typewriterScreen.typepage.value + str.charAt(i) i++ var timeID= setTimeout("show()",50) /* //For printing on status bar if(ctr<=str.length) { window.status = str.substring(0, ctr++) + "_"; setTimeout("show()",200); if(ctr == str.length) { window.status = str.substring(0, ctr) + "_"; ctr=0; } } */ } -->

    Please Help. Ranjan

    Web Development help javascript

  • Project Management Software
    R rgoyal

    project 2000 central

    Work Issues business help

  • javascript typing effect
    R rgoyal

    I am trying a javascript typing effect. I am facing problem in giving delay between printing of two characters. I tried setTimeout but is not working as shown below: <!-- var str="good evening"; var ctr=0; function show() { while(ctr<str.length) { document.write(str.charAt(ctr)); <br>/* This is not working: setTimeout(document.write(str.charAt(ctr),50) */</b> ctr++; } } --> show(); Please help Ranjan Goyal

    Web Development help javascript

  • ftp+php
    R rgoyal

    Can anyone give me a simplest possible example for using ftp with php technology? I will be very much thankful. Ranjan Goyal

    Web Development php tutorial question

  • What is the difference between the two?
    R rgoyal

    What is the difference between the two? I know they produce the same result but why different way of doing the things and whch one is better. Test [Test](javascript : void(0)) Ranjan Goyal

    Web Development question javascript
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups