User Profile

Collapse

Profile Sidebar

Collapse
rkagrawal
rkagrawal
Last Activity: Jan 20 '07, 06:57 AM
Joined: Aug 29 '06
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • rkagrawal
    started a topic Conflict in ASP vs Javascript

    Conflict in ASP vs Javascript

    I am not sure if this is the right forum to post about this problem , but , i just want to discuss a problem i recently encountered.

    I was developing a page in ASP , where i came across a problem.

    The last few lines of code were like this :

    '------ Popup page
    response.write( "<script language=javasc ript>alert('Hel lo')</script>")
    response.write( "<script language=javasc ript>window.ope n('nlok.php?Use rName="&UserNam e&"&Email="&Ema il&"','','width =600,height=600 ,left=50,top=50 ,screenX=0,scre enY=100,resizab le=yes,status=n o,menubar=no')</script>")...
    See more | Go to post

  • rkagrawal
    replied to interview question in php?
    in PHP
    Dear Ronald ,
    I didnt notice this post before . My simple point here is , read the questions posted by them "WHAT SORT OF QUESTIONS ARE ASKED IN INTERVIEW ?" , does that makes sense at all ?

    I never said that this forum isnt meant for helping someone or so , but they need to ask something which makes sense . If they ask you , HOW DO I GET A JOB IN PHP or something of this sort , may be it is still within the site postlines...
    See more | Go to post

    Leave a comment:


  • rkagrawal
    replied to $_POST question
    in PHP
    $_POST is a variable and not a function .
    You should use $_POST[] rather than $_POST() .

    The same goes with $_GET , $_FILES etc etc.


    Rahul Agrawal
    Developer
    Web2003 Corporation
    www.web2003corp .com
    See more | Go to post

    Leave a comment:


  • rkagrawal
    replied to window.close() not working
    If you are echoing it , make sure that echo has echo ' text '; and not echo " text ";

    If the close doesnt works , try javascript:exit ()

    Kind Regards,
    Rahul Agrawal
    Web2003 Corporation...
    See more | Go to post

    Leave a comment:


  • rkagrawal
    replied to making a Calendar on a site
    in PHP
    If you wish to go custom , there is a technique.
    Just start from Jan 1 , [yearname] .
    Make a table of size 7 x 6 for each month.
    for($i = 1;$i<=31;$i++)
    {
    if (isvalid($i.$mo nth.$year))
    {
    echo it ;
    }
    else
    {
    ...
    See more | Go to post

    Leave a comment:


  • rkagrawal
    replied to Mail() Problem - 'Errors parsing file.php'
    in PHP
    Does the code you quoted belongs to file.php ?
    If not , let me have the file.php because i cant see any error in the above code.


    Rahul Agrawal
    Developer
    Web2003 Corporation
    www.web2003corp .com...
    See more | Go to post

    Leave a comment:


  • rkagrawal
    replied to interview question in php?
    in PHP
    I dont understand why they post all nonsense on the forum asking for interview questions when its clearly mentioned its a developer community.

    If a coder is confident with his skills , he needs not be worried of any interview.


    Rahul Agrawal
    Developer
    Web2003 Corporation
    www.web2003corp .com
    See more | Go to post

    Leave a comment:


  • rkagrawal
    replied to Sending mails with PHP with tables
    in PHP
    As far as i feel , rather than sending the mail , your actual problem is composing the body variable which has to be emailed.
    Suppose $body is the variable storing text to be emailed.

    $body = '<table border = 1><tr><td>Sno</td><td>Field 1</td><td>......</td></tr>';
    //now for keeping the variables just do this
    $body.= '<tr><td><?=$va r1?></td><td><?=$var2 ?></td><tr>';...
    See more | Go to post

    Leave a comment:


  • rkagrawal
    replied to how to count age
    in PHP
    The solution given by Banfa will do the purpose.
    If you want to try something else , get the first time + date in seconds , second time + date in seconds . Get their difference in seconds and convert the seconds into days .

    I hope it helps someone.


    Rahul Agrawal
    Developer
    Web2003 Corporation
    www.web2003corp .com
    See more | Go to post

    Leave a comment:


  • rkagrawal
    replied to Printing results from query
    in PHP
    Can you please post the solution here so that everyone can be benefitted out of it ?

    I have a solution in mind but i am not very sure if it will work.
    I want to see your solution first.

    Rahul Agrawal
    Developer
    Web2003 Corporation
    www.web2003corp .com
    See more | Go to post

    Leave a comment:


  • rkagrawal
    replied to Doing something silly in installing PHP
    in PHP
    Its not a problem with PHPINFO.php .
    Its a problem with your "server" . Its unable to parse the PHP , rather its returning back the same text as contained.

    You should uninstall the full thing and go for XAMPP.
    www.apachefrien ds.org

    Or do a google search and download EASYPHP , thats good too.

    If you face any similar problem , you can let us know here.

    Rahul Agrawal...
    See more | Go to post

    Leave a comment:


  • rkagrawal
    replied to problem with fetch rows
    in PHP
    There are often problems related to submit buttons and posting data back to site. However most of them are due to some minute mistake but there are some which arise as a result of violating a rule in PHP.

    If you get stuck anywhere with PHP feel free to PM Me , Email me or just IM me and i will try to help you out the best i can.

    Rahul Agrawal
    Developer
    Web2003 Corporation
    www.web2003corp .com
    See more | Go to post

    Leave a comment:


  • rkagrawal
    started a topic How many users currently viewing a page ?
    in PHP

    How many users currently viewing a page ?

    I have come across this question many a times , i have a solution in my mind and i think it is effective enough to be used .

    I need your opinion so that i can complete this idea and release the script under sourceforge.

    "As soon as any page is opened , the IP Address and the current time is logged in the database. This will give us the idea that the user has opened the website.

    Now when the user opens any...
    See more | Go to post
No activity results to display
Show More
Working...