Thanks for your replies for giving me direction.
I will look upon it . If need further help, will post it here..!
Thanks a lot...
User Profile
Collapse
-
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 -
Adodb not working On FreeBSD
Hi,
I have recently installed adodb5 on freeBSD 7.1
I used
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...Code:portmaster databases/adodb5
So, do we need to modify anything while we are installing adodb port????
Is Adodb depended... -
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....
...Leave a comment:
-
Hi Atli,
Thanks alot for the information.
That helped :)..... Thanks alot again.....Leave a comment:
-
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...Leave a comment:
-
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... -
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,
it gave me an errorCode:portmaster www/apache22
...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.
-
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,
it gave me an errorCode:portmaster www/apache22
...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.
-
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... -
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.....Leave a comment:
-
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............Leave a comment:
-
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...Leave a comment:
-
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...Leave a comment:
-
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. ... -
-
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, -
To Atli :
Oh sorry !
I will keep in mind next time.
To Ck9663
I will try out doing that way !
Thanks for your suggestion ..
-Ajd335Leave a comment:
-
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... -
Lpr $varname not working
Hey all,
I am trying to execute lpr command from PHP script using sell_exec .
If I write like below
Its working fineCode:$fin = shell_exec( "lpr -Pprinter1 $str");
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");
No activity results to display
Show More
Leave a comment: