2,452 Topics

Member Avatar for
Member Avatar for geethab

Please help me with this. I am counting how many triangles I can find in the attached image. Pl. see the attachment. I do not know how to do it the right way and please fix my code. I tried as best as I can to gather all points that …

Member Avatar for chrisranjana
0
154
Member Avatar for msaenz

Greeting I have a program take in a file and lets you add stuff to it after I add some words to it i want to count all the words in the file... I am having trouble with that ...here is my code so far. I looked up stuff online …

Member Avatar for trudge
0
114
Member Avatar for Dani

Is it possible to make an entire [INLINECODE]<div>[/INLINECODE] into a hyperlink using CSS only, as can be easily accomplished with mouse events in JavaScript? I'm assuming it's too good to be true since CSS isn't interactive? Nevermind ... I guess I just answered my own question :(

Member Avatar for tracedef
0
577
Member Avatar for msaenz

Hi I have this code here and I was wondering if anyone can explain to me how it works... I see the output and all but I get lost from sub2 to sub3 [code] #!usr/bin/perl my $a = "one"; my $b = "two"; my $c = "three"; my $d = …

Member Avatar for msaenz
0
81
Member Avatar for eXceed69

I've Install this script to my site but It won't function that well Here's the code, which logs client side IP in a flat file or *.txt [code] <?php $filename = "uniqueLogs.txt"; $file = file($filename); $file = array_unique($file); $hits = count($file); echo $hits; $fd = fopen ($filename , "r"); $fstring …

Member Avatar for nav33n
0
83
Member Avatar for satimis

Hi folks, Perl === Instead of using following command printing output to a file; $ perl AAA.pl > /pathto/name_of_file is it possible adding "print file function" to the script 1) If YES Please advise how to make it. 2) Can I add following bash syntax to the script user=$(whoami); now=$(date …

Member Avatar for KevinADC
0
193
Member Avatar for kahaj

I thought this script was working. I absolutely cannot get IIS to fully and completely work on my home comp. After making a special trip to school to test this thing out, it ends up that it's only displaying the last data entered instead of the averages, totals, etc. This …

Member Avatar for kahaj
0
128
Member Avatar for jay64

I don't really know how to explain this easily. I guess I will layout the project I am trying to do, and the problem I am having with it, and maybe someone could explain it better to me. I am trying to build an online food journal for a fitness/nutrition …

Member Avatar for jay64
0
145
Member Avatar for kahaj

I'm writing to a file. There are only ten items able to be written to the file (game scores, test results, whatever). I'm using a drop-down selection list on the form to tell which number is being submitted. Is there any way to have it checked as the page loads …

Member Avatar for kahaj
0
104
Member Avatar for ratul

Hi All I am trying to write a perl script which will check some particular process is running in a machine or not. If the processes are running properly then its ok if the processes are not running then the script will start those processes and send a mail to …

Member Avatar for BobUillean
0
122
Member Avatar for drsmith

I have a .php form that populates from info in a MySQL DB. Anyway, I want to have the ability to email the form to a not predetermined email address. Any ideas? Our default email program is TBird if it matters. Thanks DS

0
63
Member Avatar for hidash_in

hi, i am using tomcat server to executing the jsp files. my task is to open an application while clicking the hyperlink it throws an popup error msa Access is Denied. and also i used the path of a file in href it also not opening a file. give me …

Member Avatar for jspEthusiast
0
97
Member Avatar for dr_substance

'Ello, I'm Andrew & I have a very big problem. I'm learning Perl & I'm having problem with my first simple code. Every time I go to look @ the page it just comes up excluding the HTML tags. Here's the code 'firstscript.cgi': [ICODE]#! /usr/bin/perl print "Content-type:text/html\n\n"; print "<html><head><title>My First …

Member Avatar for eggi
0
152
Member Avatar for jamescarvin

I have a cgi/perl site and would like to convert everything over to php/mysql, then start customizing it, that or just integrate the two. I'd really like someone to hold my hand as I learn these languages and attempt to improve my web site. Even CSS gives me problems. Basically, …

0
48
Member Avatar for kahaj

How do I go about removing leading and trailing spaces from a text field when passed to a script? Also, how do I verify that an email address is in the correct format on a form?

Member Avatar for masijade
0
102
Member Avatar for AbhijeetChavan

I need to develop a Tool to compare 2 XML files using Perl. Can any one give me a start up for this?

0
67
Member Avatar for cranusfreddy

Ok I just built a new computer. I have done this many a time before but for some reason I am getting lots of problems with this one. I have a: Windows 98 Gigabyte motherboard- with the KT400-GA-7VAXP a GeForce 4 4200TI-XFX with 128mb ram 512 pc2700 ddr ram-Premium a …

Member Avatar for BENTER
0
512
Member Avatar for lydia21

hi All jobtitle will be displayed in a table with hyperlink.when the jobtitle is clicked.it should fetch description,email etc from the database and display it. please tell me how to link the pages based on the tobtitle or id....when the hyperlink is clicked it is not displaying the data from …

Member Avatar for lydia21
0
130
Member Avatar for davidianstyle

My hosting server is located in Texas and when I use the localtime() function, I get Texas local time rather than Massachusetts local time (where I currently reside). I want to standardize all my time information so that when I store it into the MySQL database, I store GMT rather …

Member Avatar for davidianstyle
0
127
Member Avatar for susuoi

Hi, I'm learning perl and web application now. I have a xml data as shown below. <?xml version="1.0" encoding="utf-8" ?> <rsp stat="ok"> <photos page="1" pages="102" perpage="2" total="508"> <photo id="1969474222" owner="20137329@N04" secret="8ebd15f901" server="2185" farm="3" title="allen-iverson-dunks" ispublic="1" isfriend="0" isfamily="0" /> <photo id="1952424144" owner="7974492@N03" secret="a18966828b" server="2241" farm="3" title="Celtics vs. Nuggets" ispublic="1" isfriend="0" isfamily="0" …

Member Avatar for susuoi
0
118
Member Avatar for kahaj

When data is put into a .txt file, how do you manipulate it and then output it? (If you're wanting to average some items, or add others, etc. once they're entered into the file.)

Member Avatar for KevinADC
0
96
Member Avatar for SergioQ

Well, am new here, so I really hope I am in the correct forum. My question is both simple and confusing at the same time, but please humor me. It goes like this: My website is mostly Perl and when someone logs in, I record the session in a database, …

Member Avatar for KevinADC
0
113
Member Avatar for pythonhelp

hello, I am very new to python scripting and would require some help. Thers a product called Ajaxterm which makes use of python scripts and Ajax that I am using. It's a web based unix terminal emulator. I have set this up to work correctly. But there are some unicode …

0
72
Member Avatar for MojoS

Hey, Iam working with PDB files, and have some problems with extracting and calculating... a PDB file look like thise for those how dont know: see attached file What I want is to read the whole file, find were there are lines with CA atoms and calculate the distance between …

Member Avatar for MojoS
0
116
Member Avatar for balagangadharm

hi everyody,i need ur help.I am able to send subject and text as mail to the recepient but iam unable to send hyperlinks in th text.plz suggest me how to send

Member Avatar for Paul.Esson
0
1K
Member Avatar for leathan

Hai, I was trying to run a CGI cript that proccessed people's information... Well anyway I kept getting the very unhelpful Internal Server Error So I decided to make a stupid script that merely displayed "Works" To the screen. I contacted my webserver (1and1.com) they told me perl scripts could …

Member Avatar for xmassey
0
314
Member Avatar for The Arcan

I have a rather new Sony VAIO Laptop that runs Vista Yesterday i had put my VAIO to sleep while i was out by flipping down the screen. When I later returned and 'woke' it up the desktop showed up again and the mouse was working but it had frozen. …

Member Avatar for disophisis
0
152
Member Avatar for Rao veerla

Hi All, Could any one give an example of how to access a webservice in perl using REST, i have done it with SOAP::Lite, but would like to know how to achieve the same using REST. Thanks, Sagar

Member Avatar for kfacets
0
116
Member Avatar for tech291083

[COLOR=#000000]Hi,[/COLOR] [COLOR=#000000]I have this program written in Perl and to be tested on Linux-Fedora.[/COLOR] [CODE] #!/usr/bin/perl use Mysql; $host = "localhost"; $database = "DVDRentals"; $tablename = "Orders"; $user = "root"; $pw = "password"; # PERL MYSQL CONNECT() $connect = Mysql->connect($host, $database, $user, $pw); # SELECT DB $connect->selectdb($database); # DEFINE A …

Member Avatar for thomstan
0
178
Member Avatar for kehar

hi When I log out from the site even then my user name appears at the top line of the window. and when I closed the net and re open giving the address [url]www.daniweb.com[/url] even then my user name appears in the window and when I click the name it …

Member Avatar for sandeep.thakur1
0
163

The End.