User Profile

Collapse

Profile Sidebar

Collapse
ajd335
ajd335
Last Activity: Feb 16 '10, 11:14 PM
Joined: Apr 14 '08
Location: United states
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • ajd335
    replied to True Type fonts(ttf) on FreeBSD
    Thanks for your replies for giving me direction.
    I will look upon it . If need further help, will post it here..!

    Thanks a lot...
    See more | Go to post

    Leave a comment:


  • ajd335
    started a topic True Type fonts(ttf) on FreeBSD

    True Type fonts(ttf) on FreeBSD

    Hi all,

    I wanted to install TT fonts that works with PHP. I come across with X11. But, I don't wanted to use X11. Instead, wanted to have some easy way to do so...I found one port called Freetype2 under port print ( As I wanted to have print fonts and not screen). I have installed the port freetype2 . Now what else I need to do to make it work ... any idea ?????


    -Ajd335
    See more | Go to post

  • ajd335
    started a topic Adodb not working On FreeBSD

    Adodb not working On FreeBSD

    Hi,

    I have recently installed adodb5 on freeBSD 7.1

    I used
    Code:
    portmaster  databases/adodb5
    I have also updated the php.ini file with the inlcude_path giving /usr/local/share/adodb. I tried to ran sample php-adodb script on it. But it failed to connect to the server...

    So, do we need to modify anything while we are installing adodb port????
    Is Adodb depended...
    See more | Go to post

  • ajd335
    replied to Problem with Installing Apache on FreeBSD
    Hi All,

    Thanks for the your replies...

    I figured out the problem.... I was trying to install Bash with (static option) which cause the problem. As I mentioned earlier, the static bash was depend on libiconv and thus has installed that. So somehow the apache required libiconv and the one installed by bash was conflicting. So, Now I have installed bash without static option and now it works perfect....

    ...
    See more | Go to post

    Leave a comment:


  • ajd335
    replied to Increment Date field every day
    Hi Atli,

    Thanks alot for the information.

    That helped :)..... Thanks alot again.....
    See more | Go to post

    Leave a comment:


  • ajd335
    replied to Increment Date field every day
    Hi Atli,

    Thanks a lot. yes that was something I was looking for....Thanks again

    Actually in my PHP script I am writting a query to check the status of usagectr which contains the number of days since creation( Date field gives the value of creation date and usagectr is number of day used). I am checking if they are greater than 10 then I am changing value of one other field.

    Creating Event will work but...
    See more | Go to post

    Leave a comment:


  • ajd335
    started a topic Increment Date field every day

    Increment Date field every day

    Hi all,

    I am writing an application using PHP and MYSQL.

    I have one Employee table which contains date when the employee was created. after 10 days of creation date I wanted to send them some email/function. how can I do so???? .. I mean how can it be done ?? What I need is I wanted to run some cron job or any thing(not sure what to use) so that when I fetch the date from table , gives me that 10 days are passed...
    See more | Go to post

  • ajd335
    started a topic Apache Config problems in FreeBSD

    Apache Config problems in FreeBSD

    Hi all,
    I am trying to install Apache 2.2 on FreeBSD 7.1.
    I have installed the OS and the basic ports needed. when I tried to install apache 2.2 using,

    Code:
    portmaster www/apache22
    it gave me an error
    Code:
     Patching for libiconv-1.11_1
    ===>  Applying extra patch off
    cannot open off: No such file or directory
    *** Error code 2
    
    Stop in /usr/ports/converters/libiconv.
    ...
    See more | Go to post

  • ajd335
    started a topic Problem with Installing Apache on FreeBSD

    Problem with Installing Apache on FreeBSD

    Hi all,
    I am trying to install Apache 2.2 on FreeBSD 7.1.
    I have installed the OS and the basic ports needed. when I tried to install apache 2.2 using,

    Code:
    portmaster www/apache22
    it gave me an error
    Code:
     Patching for libiconv-1.11_1
    ===>  Applying extra patch off
    cannot open off: No such file or directory
    *** Error code 2
    
    Stop in /usr/ports/converters/libiconv.
    ...
    See more | Go to post

  • ajd335
    started a topic Reading form WebPage,shell script

    Reading form WebPage,shell script

    Hi all,
    I am automating installation of FreeBSD, for that I have written a shell script.
    I need one file all the times when I do installation, so I have put that file on the web server.e.g http://mysite.com/file/install.html

    Now , how could I access that file from webserver to the one which I am working
    I know there is lynx -dump http:/...... > text.file , but as I am installing the OS by script. So, Lynx is not...
    See more | Go to post

  • ajd335
    replied to Dealing with options , Shell scripting :
    Hi Raghu,
    Yes I am aware of what questions will be there and the answers . But, how to so so. I cannot use EXPECT , because my script is going to install /usr/ports. I am not aware of the function or the utility which can help me in this. Can you please tell me what can be done ?

    Thanks for the help.....
    See more | Go to post

    Leave a comment:


  • ajd335
    replied to Dealing with options , Shell scripting :
    Further, is there any other way than using "expect". As I am writing a script to automatically install all the system tools and utility and thus /usr/ports/lang/expect is not installed(Infac t the script is installing all the ports and so on)... So is there any other way than expect or else some way to use expect if not have the /usr/ports/lang/expect ??

    Thanks for helping me up............
    See more | Go to post

    Leave a comment:


  • ajd335
    replied to Dealing with options , Shell scripting :
    Hi,
    Thanks for the suggestion.
    I searched on Google about Expect. Found very helpful.
    Actually my OS installation ask me various questions.
    When I ran a command to install one utility, it will pop up a window having different values and have check boxes to select them.
    I have decided on the options I wanted to check.
    Can you please tell me how can I do so.

    E.g The mail/postfix utility will popup...
    See more | Go to post

    Leave a comment:


  • ajd335
    replied to Dealing with options , Shell scripting :
    Hi Raghuram,
    I already have the desired value for the options to be checked and not to be checked. E.g If window size option pops up , I always wanted to select maximize from that.( i.e Window size option will have 2 values only maximized and minimized . Further I have the information regarding all option : all the options with their sequence. )
    So I just need to have some way so that I can automate the process giving the desired value...
    See more | Go to post

    Leave a comment:


  • ajd335
    started a topic Dealing with options , Shell scripting :

    Dealing with options , Shell scripting :

    Hi all,
    I am a newbie in shell scripting..
    I am writing a code to automate the installation of some softwares.
    It includes some of the question during installation where we need to choose from that. How can I automate that part.
    e.g if the screen size menu pops up, my script should select the maximized option always and thus fully automating the installation
    I am not quite sure if there is any method or function. ...
    See more | Go to post

  • ajd335
    replied to String manipulation in perl
    in Perl
    Thanks ,
    The problem is resolved.
    See more | Go to post

    Leave a comment:


  • ajd335
    started a topic String manipulation in perl
    in Perl

    String manipulation in perl

    Hi all,
    I got one value after all computation which is something like
    " 3643294 /usr/local/bin/xyz"

    The last xyz is the user input and hence changable.
    I wanted store just 3643294 in one variable and remove all starting with /usr........
    How can I do so??
    Thanks,
    See more | Go to post

  • ajd335
    replied to Storing results in different files.
    To Atli :
    Oh sorry !
    I will keep in mind next time.

    To Ck9663
    I will try out doing that way !
    Thanks for your suggestion ..

    -Ajd335
    See more | Go to post

    Leave a comment:


  • ajd335
    started a topic Storing results in different files.

    Storing results in different files.

    Hi all,
    I am using Microsoft 's query analyzer.
    My query results in a huge number of data. I wanted to store first 500 records into one file.E.g result1.csv and other 500 into result2.csv and so on with result3.csv etc.

    How can i do so? Right now I am manually pasting those results into different files. Is there any way with query analyzer to do automatically.?

    Thanks...
    See more | Go to post

  • ajd335
    started a topic Lpr $varname not working
    in PHP

    Lpr $varname not working

    Hey all,
    I am trying to execute lpr command from PHP script using sell_exec .
    If I write like below
    Code:
    $fin = shell_exec( "lpr -Pprinter1 $str");
    Its working fine
    But in my application user can specify the printer name so , It should store the value of printer name in one variable i.e $pname and then print it like below,
    Code:
    $fin = shell_exec( "lpr -P $pname $str");
    ...
    See more | Go to post
No activity results to display
Show More
Working...