WordPress.org

Ready to get started?Download WordPress

Forums

WP Web Scraper
railway pnr status on my website (5 posts)

  1. moingaziyani
    Member
    Posted 1 year ago #

    hi ,

    i was looking a for an API for checking pnr status from a textbox on my website as user enters a pnr number in my website textbox and finds his status ...but unfortunately indian railways has not provided this API for website publishers ..hence i found your plugin and want to ask you that whether this plugin fetch PNR status from indian railways website and display result in my website

    waiting for your reply

    http://wordpress.org/extend/plugins/wp-web-scrapper/

  2. Akshay Raje
    Member
    Plugin Author

    Posted 1 year ago #

    Yes, this is possible to be created using the plugin. You can use the dynamic URLs functionality of the plugin as detailed in the Usage Manual for this

  3. moingaziyani
    Member
    Posted 1 year ago #

    hi akshay thanks for your response

    i looked at the document but got confused as i am new to php and still learning php codes

    i will explain you all thinks from start

    http://www.pnrstatus.co.in/

    the above is the website from where i have to fetch pnr number

    there is a small box in div on the left where it asks for pnr

    i want same thing i.e a text box that allows you to fill the number and then a submit buttin that sends request to check the status

    and then status is shown on the page

    hence i want text box and submit button and then part where the staus information is shown after button is submitted with pnr number in text box

    actually i dont know much css and have just started leaning php codes and my friends are also not helping much

    hence can you help me

    thanks in advance

    the below is the code for pnr box on that page

    [ Moderator Note: Please post code or markup snippets between backticks or use the code button. ]

    <div class="content">
        <!--inner con start-->
        <div class="inner_container">
         <!--left con start-->
        	<div class="lftcon">
            	<div class="pnr_con">
    
                    <div class="pnrbody_con">
                   <div class="boxHead"><div class="heading">Check your PNR Status Now <!--<img src="wp-content/themes/blue/images/new.gif"/>--></div>
                    <div class="dot"></div>
                    </div>
                      <div class="txtfld_btn">
                        <form action="pnrstatus.php" method="post" name="pnrForm">
    
                      <div class="pnr_error" id="pnr_error">Enter a valid PNR No</div>
    
                   	    <div class="txt"><input name="lccp_pnrno1" type="text" id="lccp_pnrno1" /></div>
                        <div class="txtfld_pnrbtn"><input type="submit" name="submitpnr" class="pnrsts" id="Signup" value="PNR Status" />
    					</div>
                       </form>
                   	  </div>
  4. epnrstatus
    Member
    Posted 1 year ago #

    i also want to use this plugin to my website PNR Status

  5. Dev
    Member
    Posted 9 months ago #

    I was also looking for the same plugin, but somehow i manage to work the app for fetching the pnr status. I used the same app for displaying the train schedule as well as the flight status also.

    If you need any info regarding the codes which i have used to get this results displayed, please write to me or visit my website for the code details.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic