SitePoint Sponsor

User Tag List

Results 1 to 5 of 5
  1. #1
    SitePoint Member
    Join Date
    Mar 2013
    Posts
    3
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    plz help me to find the solution for this

    Input:
     The following URL creates a new employee demo.tools.krds.com/dispatch_ws.php?action=create
     Expected POST data to create a new employee is name and type
     Web service returns HTTP 201 CREATED response code if employee creation is successful
    Output:
     Create a new employee and output “OK” to the browser if and only if creation is successful
    Guidelines
     Use PHP & CURL only
    4. Regular expressions
    4.1. Data extracting
    Input:
     An example text:
    On February 13, 2009, at exactly 23:31:30 (UTC) the decimal representation of Unix time was equal to 1234567890. Parties and other celebrations were held around the world, among various technical subcultures, to celebrate this day.
    Output:
     Output to the browser all numbers greater than 4 digits contained in the given input text using PHP.
    Guidelines
     Use regular expressions
     Of course, the output must work whatever is the text given as input
    4.2. Data replacing
    Input:
     The following text:
    During the day, Damien is working.
    Output:
     From the given input, output the following text to the browser:
    Damien is happy to work.
    Guidelines
     Use regular expressions functions only
     No more than 2 lines of code expe
    Last edited by Mittineague; Mar 6, 2013 at 13:10. Reason: OP forgot to turn off auto-link in homework problem

  2. #2
    Hosting Team Leader silver trophybronze trophy
    cpradio's Avatar
    Join Date
    Jun 2002
    Location
    Ohio
    Posts
    5,245
    Mentioned
    156 Post(s)
    Tagged
    1 Thread(s)
    Is this a homework assignment? If so, why don't you try and work it out? Then post your code and the problem you are experiencing and allow us to help you. We will not do it for you.

  3. #3
    SitePoint Member
    Join Date
    Mar 2013
    Posts
    3
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thank you @cpradio... its because of u only i did the work by myself... thanks a lot

  4. #4
    SitePoint Member
    Join Date
    Dec 2013
    Posts
    8
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Exclamation What was the answer?

    What was the answer?

  5. #5
    Programming Team silver trophybronze trophy
    Mittineague's Avatar
    Join Date
    Jul 2005
    Location
    West Springfield, Massachusetts
    Posts
    17,271
    Mentioned
    197 Post(s)
    Tagged
    3 Thread(s)
    Hi psychegames.seg, welcome to the forums
    Quote Originally Posted by kishore410 View Post
    Thank you @cpradio... its because of u only i did the work by myself... thanks a lot
    Quote Originally Posted by psychegames.seg View Post
    What was the answer?
    kishore410 did the work himself
    Quote Originally Posted by cpradio View Post
    Is this a homework assignment? If so, why don't you try and work it out? Then post your code and the problem you are experiencing and allow us to help you. We will not do it for you.
    This thread is old, please follow the advice of cpradio and start your own new thread. Thanks.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •