User Profile

Collapse

Profile Sidebar

Collapse
arty
arty
Last Activity: Jun 26 '10, 10:29 PM
Joined: Nov 16 '08
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • arty
    replied to How to Open Web Browser on Clients Computer?
    in Java
    pretty sure it's possible:

    client computer -----------sends a command---------> server----->server opens software thru command prompt.
    start checking google :
    http://www.google.com/#hl=en&q=open+...a3728cd5e823f6
    then you would need to pass an argument at the prompt to call the browser....
    See more | Go to post

    Leave a comment:


  • arty
    replied to trying to connect to DB
    in Perl
    i have never installed this mini perl version that's included with xampp , it is install ed by default and it just consist of a bin directory with inside a perl.exe file so i dont see how this could be affecting anything, btw if i uninstall xampp i would need to install php, apache, mysql, perl, phpmydamin etc .. separately but i 've never done this and looks like overkill right now , any tutorials on this ?
    thanks
    See more | Go to post

    Leave a comment:


  • arty
    replied to trying to connect to DB
    in Perl
    xampp comes with perl/bin/perl.exe, wich i heard in some kind of mini perl.
    when you install strawberry you cant choose directory installation it will install by default in C/program files. So i just changed it of directory and place it in xampp/perl
    See more | Go to post

    Leave a comment:


  • arty
    replied to trying to connect to DB
    in Perl
    nothing works , i get this from apache log:
    Code:
    [Sun Dec 06 20:06:56 2009] [error] [client 127.0.0.1] Can't locate DBI.pm in @INC (@INC contains: C:/xampp/perl/strawberry/perl/lib C:/xampp/perl/strawberry/perl/site/lib C:\\strawberry\\perl\\vendor\\lib .) at C:/xampp/cgi-bin/DB.pl line 4.\r
    [Sun Dec 06 20:06:56 2009] [error] [client 127.0.0.1] BEGIN failed--compilation aborted at C:/xampp/cgi-bin/DB.pl line 4.\r
    so it looks...
    See more | Go to post

    Leave a comment:


  • arty
    started a topic trying to connect to DB
    in Perl

    trying to connect to DB

    i've been trying to connect to a db using this code:
    Code:
    #!"C:\xampp\perl\strawberry\perl\bin\perl.exe"
    use DBI;
     use strict;
     use warnings;
    
    print "Content-type: text/html \n\n"; #HTTP HEADER
    my $dbh = DBI->connect("DBI:mysql:survey","root","") or die "Couldn't connect to database: " . DBI->errstr;
    but it does not work, i dont get...
    See more | Go to post

  • arty
    started a topic perl an PHP
    in Perl

    perl an PHP

    could you please tell what is the difference ? i see many things on apache written in perl and not in php.
    See more | Go to post

  • arty
    replied to form validation
    yes i thought something like getElementsByTa gName could make it , but how can i use the checked property with getElementsByTa gName ?
    See more | Go to post

    Leave a comment:


  • arty
    replied to Flash into Wordpress
    in CMS
    you can put the swf file in the root WP folder then call the swf from the header.php(if that's where you want the swf)
    See more | Go to post

    Leave a comment:


  • arty
    started a topic form validation

    form validation

    So basically i have a form with a action attribute set to another form, it is a survey spread among several pages and using php sessions, now im trying to validate the form with Javascript but it looks imposible because the check boxes all have the same name Q1[](and the array symbol is conflicting with js), the same name is needed for processing the answers with php in the database, i am able to make a form validation of the form below using PHP(if...
    See more | Go to post

  • arty
    replied to PHP mysql survey
    in PHP
    thanks , i have just made something with session,i will check your version.
    thanks again.
    See more | Go to post
    Last edited by arty; Nov 17 '09, 09:13 PM. Reason: edit : very interesting code

    Leave a comment:


  • arty
    replied to PHP mysql survey
    in PHP
    hi, yes but the action attribute of the form is another form so it wont complete the MSQL command:
    <form method="post" action="Q2.php" >
    looks like i need to use sessions so i do all the SQL command on the last form/page
    See more | Go to post

    Leave a comment:


  • arty
    started a topic PHP mysql survey
    in PHP

    PHP mysql survey

    I must build a survey with many question (around 50), so i cannot have the survey in just one page, i would like to have it on many pages so one user will hit submit many times, how can i make so in the database there's always one Row per user and not many rows as many submit per user?
    See more | Go to post

  • arty
    replied to Is this possible ?(pdf with mail function)
    in PHP
    yes i outputted to a file on the server and grab the pdf with a fread and added an iframe to the page so the user can see the resulting pdf and has the option of sending it.
    thanks for your reply.
    See more | Go to post

    Leave a comment:


  • arty
    replied to Is this possible ?(pdf with mail function)
    in PHP
    ok, but how are you going to attach the pdf if it's not yet displayed or generated ?
    See more | Go to post

    Leave a comment:


  • arty
    replied to PHP server configuration
    in PHP
    Thank you ! you are from York, i want to go to visit this city.the shambles !
    See more | Go to post

    Leave a comment:


  • arty
    started a topic PHP server configuration
    in PHP

    PHP server configuration

    I have a pretty simple question,
    I got this simple code:
    Code:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    
    <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
    
    <head>
      <title></title>
    </head>
    ...
    See more | Go to post

  • arty
    started a topic Is this possible ?(pdf with mail function)
    in PHP

    Is this possible ?(pdf with mail function)

    So basically i have:
    a form.php file where a user submit some content , this form.php points to pdf.php file wich shows the content submitted in a pdf file format, so at the same time the pdf appears on this page (pdf.php) i would like to send an email with in attachment the pdf that was created but is this possible ? do i need to use something like OB ?(output buffering control)
    thanks
    See more | Go to post

  • arty
    replied to php to pdf
    in PHP
    hi,
    i found a solution, i just changed my file from UTF to ANSI an d now it works.
    do you know how can i make table cell looking with php to pdf ?
    See more | Go to post

    Leave a comment:


  • arty
    started a topic php to pdf
    in PHP

    php to pdf

    hello,
    i am trying to achieve a php to pdf simple example with PDFlib (bounded with php) but i get the error :
    Code:
    Warning: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\_PHP\php_pdf\index.php:1) in C:\xampp\htdocs\_PHP\php_pdf\index.php on line 14
    
    Warning: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\_PHP\php_pdf\index.php:1)
    ...
    See more | Go to post
    Last edited by Dormilich; Oct 25 '09, 02:23 AM. Reason: I wish you would check the spelling of the thread title

  • arty
    replied to my xhr does not work on ie
    only the first form validation showed up(enter a name please) then it got stuck there(only for ie), the problem was very strange, the reason might be i am intergrating this into wordpress by trying to by pass everything related to wp, so the post method worked .
    regards...
    See more | Go to post

    Leave a comment:

No activity results to display
Show More
Working...