User Profile

Collapse

Profile Sidebar

Collapse
hello2008
hello2008
Last Activity: Mar 7 '08, 01:29 PM
Joined: Dec 12 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • hello2008
    replied to Creating an HTML parser using PHP
    in PHP
    Thanks :)
    I am not that well versed with Regex. Hence it's taking more time than I expected. I am glad a lot of online help is available....
    See more | Go to post

    Leave a comment:


  • hello2008
    replied to aligning a pragraph
    Hi there,

    Thanks for your help. My table is exactly where I wanted it now. Thanks again!
    See more | Go to post
    Last edited by hello2008; Jan 4 '08, 06:03 AM. Reason: typo

    Leave a comment:


  • hello2008
    replied to Creating an HTML parser using PHP
    in PHP
    Hi karlectomy,

    Thanks for replying. Yes, I am parsing HTML files that are already created. But the files are created from PDFs and what I need to do is read the HTML file, extract all it's elements' contents, make a query with those extracted values and insert the records into the database. I am using regular expressions for the HTML tags

    So far my code is as foll:

    [PHP]
    <?php
    $page_title...
    See more | Go to post

    Leave a comment:


  • hello2008
    started a topic Creating an HTML parser using PHP
    in PHP

    Creating an HTML parser using PHP

    Hi,

    I am new to PHP. I need to write a PHP program that parses HTML files, reads the values from certain form-fields and inserts them as records into the database.

    The latter part is easy, but I have no clue about making an HTML parser using PHP. Can anyone help me out here?

    Thanks in advance!
    See more | Go to post

  • hello2008
    replied to aligning a pragraph
    Thanks PunchBackJack and drhowarddrfine,

    I have put my fieldset and links in a table instead of a paragraph now, still the foll table aligns vertically at the bottom of the page after the rest of the tables.. instead of appearing at the righthand side at the top of the page, please help!

    [HTML]
    <table valign = 'top'>
    <tr>
    <td>

    <fieldset>
    <legend align...
    See more | Go to post

    Leave a comment:


  • hello2008
    started a topic aligning a pragraph

    aligning a pragraph

    Hi all,

    I have 3 tables, all aligned one below the other and then I have this paragraph which I want to align on the right handside of the page at the top, but in spite of giving align = 'top', the paragraph and its contents seems to be appearing at the very bottom of the page after the last table.. how can I correct this? Please help.


    [HTML]
    <p valign = "top">
    <fieldset align...
    See more | Go to post

  • hello2008
    replied to problem with isset($_POST['submit'])
    in PHP
    Hi,

    First of all, I have mistakenly written action = "post", its method = "post" ... sorry.. my bad!

    Coming to what you are saying.. well... I am no expert, but normally if you have only one submit-button in your form then it's input type is generally given 'submit' ..atleast from what I have seen.. try making the input type as 'submit' and see.. and let us know if it works!...
    See more | Go to post

    Leave a comment:


  • hello2008
    replied to problem with isset($_POST['submit'])
    in PHP
    Hi,

    Have you checked the form from where your request is coming ..does it have action = "post" or is it "get"? Also check the name of the submit button.. is it exactly the same as what you have put in isset()? Have you said <input type = "submit" name = "submit"> ? Check these things once again.. Also, try putting an echo -statement in your if-condition... just to be sure whether the control...
    See more | Go to post

    Leave a comment:


  • New to PHP.. seeking some guidance

    Hi again,

    The issue is resolved now.. I tried the following:
    [PHP]
    // Code in Index.php
    <?php
    session_start() ;

    if($_SESSION)
    {
    // HTML code
    } else
    {
    echo 'Please Login First!!!' ;
    include("Login. php"); // takes the user to the Login page for authentication
    }
    ?>...
    See more | Go to post
    Last edited by hello2008; Dec 29 '07, 08:18 AM. Reason: Adding more content to the post

    Leave a comment:


  • Thanks gits,
    It's working fine now......
    See more | Go to post

    Leave a comment:


  • authenticating a user before opening a document by clicking a hyperlink

    Hi,

    I am new to PHP. I need to authenticate a user before clicking the link which opens an already existing PDF file.. so that no one can just click on a link provided to him/her and open the concerned PDF without providing the correct username and password first.

    Can anyone help me with this authentication?
    See more | Go to post

  • Regular Expression for signed floating point number not working

    Hi,

    I donot have much knowledge of R.Exp. In my web page I am required to validate numeric textboxes allowing signed/unsigned integer/float numbers and then compare between them. I need the textboxes to accept values only between -10 to +10. Please help? Below is my code

    [PHP]
    <html>
    <head>
    <title>
    Display Requirements
    </title>
    <script language = "javascript ">...
    See more | Go to post

  • Hi again,

    The problem is resolved now, thanks anyway.

    Regards,
    Sasha
    See more | Go to post

    Leave a comment:


  • Dynamically enabling / disabling a row's elements using PHP

    Hi,

    I have just started coding in PHP. I have coded a web page using HTML, JS, and PHP. An HTML table has to be populated dynamically using the data from the backend.

    Presently I have 5 records in the backend table so I get 5 HTML-table rows. I have created a session object starting from the login page. The requirement is that as soon as I log in and my request gets forwarded to the foll PHP page I should be seeing...
    See more | Go to post
    Last edited by hello2008; Dec 13 '07, 08:44 AM. Reason: addin image
No activity results to display
Show More
Working...