User Profile

Collapse

Profile Sidebar

Collapse
Lastknight
Lastknight
Last Activity: Dec 5 '07, 05:16 AM
Joined: Jun 11 '07
Location: CHENNAI
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Lastknight
    replied to Permission denied?
    Hi gits,
    Thanks for your reply.
    I am using the request in the same domain.Like i mentioned earlier,my domain name is 10.0.0.2 (local), in which i am having different users.

    Through root user i have given the permission for cgi folders.

    If i am login via admin i am getting the results but if i am tryin to get the results through other user say "test".I am getting the result as permission denied?...
    See more | Go to post

    Leave a comment:


  • Lastknight
    started a topic Permission denied?

    Permission denied?

    Hi,
    I have a form validation through Ajax, in this page i am calling a CGI page for getting the results.
    Its working fine in the environment where i have CGI folder but while i am calling in other environment i am getting the error as "PERMISSION DENIED at line number"
    ie.Where i am calling the cgi page through ajax request.

    I have set full permission(777) for the CGI page and as well as the html pages...
    See more | Go to post

  • Hi you are right but my concern is i want to display like this(ie.number of views for the page:1223)...th e source i hav egiven is the one we can see the number of hits but how to display like what i have mentioned earlier??

    Is ways available and how??Could you explain that in detail?

    Thank you mate for your swift reply..

    Barani...
    See more | Go to post

    Leave a comment:


  • How to display the number of views of a web page?

    Hi all,

    I am trying to display the number of views of our website...

    I have tried with this link,
    <img src="http://www.easycounter .com/counter.php?bar ani" border="0" alt="HTML Hit Counter"></a>...

    I am not getting the result i wanted...

    Could some one lend your help regarding this...

    I need to display the number of views to...
    See more | Go to post

  • Lastknight
    replied to How to send a mail with attachments?
    in Perl
    Hi

    thanks for your help guys..

    I am grateful for the timely help offered by you people...

    regards,

    Lastknight
    See more | Go to post

    Leave a comment:


  • Lastknight
    started a topic How to send a mail with attachments?
    in Perl

    How to send a mail with attachments?

    Hi everyone,

    I need to send a mail with attachment...th e challenge is that is anyway apart from modules for attaching the content with mail..

    Like we use MIME For attachments but i have been told not to use any modules from perl...

    Any help will be highly appreciated...

    Thanks in advance...

    Lastknight..
    See more | Go to post

  • Lastknight
    started a topic how to search using html and javascript?

    how to search using html and javascript?

    Hi all,

    How to search a content using javascript and html....

    Is any way for this to code in html??

    HELP me..

    thanks in advance..

    Lastknight.
    See more | Go to post

  • I am extremely sorry for posting my questions over there in articles..

    I will try to correct myself in future...

    regards,
    lastknight......
    See more | Go to post

    Leave a comment:


  • Lastknight
    started a topic Deleting the particular line from perl program?
    in Perl

    Deleting the particular line from perl program?

    Hi all

    I have googled and get the follwing expression for deleting the particular line of a perl program...

    perl -p -i -e"s/.*\n//" filename

    I am not able to understand the regularexpressi on used here...

    If i need to delete my 3rd and 4th line of perl program, how to use this expression for my need?

    Little explanation needed for this post..

    Thanks...
    See more | Go to post

  • Lastknight
    replied to how to get column names of a table
    Hi michael,

    The query you have mentioned me is working and giving me the result what i needed...

    But i need to understand its structure, in the previous reply u have mentioned about information schema...

    Is that is related with the query you have posted...


    Kindly post me the details...

    With regards,

    Barani...
    See more | Go to post

    Leave a comment:


  • Lastknight
    replied to how to get column names of a table
    Hi michael,

    Thanks for your help and cooperation towards my query...

    Its working for me now...i have searched in the postgresql forum but i have not found this type of query over there ...

    Any way i like to thank you once again for your timely help...

    Hope we will have furhermore discussions..

    Regards,
    Barani......
    See more | Go to post

    Leave a comment:


  • Lastknight
    replied to how to get column names of a table
    Hi michael,

    I have gone through your guidance and searched perl forum...

    You have mentioned the query as "select count(*) from tablename"

    Its not giving me the fieldnames of a table...

    Kindly suggest me some other way...

    Thanks&Regards,

    Barani..
    See more | Go to post

    Leave a comment:


  • Lastknight
    replied to how to get column names of a table
    Thanks michael for your help..

    I need a query to fetch the fieldnames is any method available for that?

    If so guide me the solution or its related pages...

    Regards..

    Barani
    See more | Go to post

    Leave a comment:


  • Lastknight
    started a topic how to get column names of a table

    how to get column names of a table

    hi all,

    How to get fieldnames of a table using postgresql?

    Can someone help me to overcome this issue?

    Like if i have table called "employee" i need to fetch the fieldnames(id,n ame,workstatus. .etc) of employees alone not its records...Is any method to get this?


    Thanks in advance...
    See more | Go to post

  • Thanks alot for your guidance Mr .miller..

    Hope i will get more help from you..
    See more | Go to post

    Leave a comment:


  • hi miller,
    thanks for your help...Here is the code i have tried with your help...

    [CODE=perl]
    #!/usr/bin/perl
    use CGI;
    use DBI;

    $sth="dbi:Pg:db name=barani";
    $dbh=DBI->connect("$sth" ,"postgres","in dia")or die "can't connect$DBI::er rstr\n\n";


    $sth = $dbh->prepare(q{DE SC employee});
    $sth->execute or die $dbh->errstr;...
    See more | Go to post

    Leave a comment:


  • how do i get field names of a table in postgresql?

    Hi all,

    I need to get the field names of a table in postgresql?

    Like if a table called "employee" which has several fields like 'name','id','ad dress','phone', 'workexperience '..etc..

    I need to fetch the field names and print that into my output..

    I have used the query called "show by column from employees"

    Its not working...can some body help me to solve...
    See more | Go to post

  • hi
    thanks kevin for turning on..
    well i will definitely need your help in the coming days..
    hope u are all will help me..

    thanks alot for replying...
    See more | Go to post

    Leave a comment:


  • Hello Mr Kevin

    I am not the one who is ashamed of accepting my mistake what i have commited...

    Every human is bound to mistake if u r not accepting my apologies then what can i do?

    So accept my apology and try to help me i am not that type of person and i beleive this is the community for understanding problems in the technology not about individuals..

    Best regards

    Lastk...
    See more | Go to post

    Leave a comment:


  • Lastknight
    replied to How can i start perl
    in Perl
    hi,
    Welcome to "the scripts forum"

    U will be nicely guided by warm and helpful people from this forum..

    So start ur learning thro this forum it will be a major supporting for u in coming future..

    Coming to point u can learn the perl basics through these sites
    a)http://www.perl.org/books/beginning-perl/
    b)www.tizag.com (perl tutorial)

    these are very simple and...
    See more | Go to post

    Leave a comment:

No activity results to display
Show More
Working...