2,452 Topics
| |
sub runDir($$); sub runDir($$) { my $prefix = shift @_; my $dir = shift @_; opendir(DIR, $dir) or die $!; my @entries = readdir(DIR); close(DIR); foreach my $file (@entries) { next if ($file =~ /^\.+$/); if ( -d $dir . '/' . $file) { runDir($prefix . $file .'_', $dir . … | |
All, I am trying to a call a fly program which generates dynamic images on a webpage and I'm geting this error -> malformed header from script. Bad header=/usr/home/gump/bin/fly: The main code is as such and I've tried various varaitions of the Content-Type headers to no avail - the simple-lib.pl … | |
Dear sir My progress bar is not full fill (end area)and precentage is not center how can do it.please follow my attachment thank you wansa Public Class Form1 Declare Auto Function SendMessage Lib "user32.dll" (ByVal hwnd As IntPtr, ByVal msg As Integer, ByVal wparam As Integer, ByVal iparam As Integer) … | |
Hi PerlGurus, I am really new to perl and liitle handson with the concepts here. I am trying to learn the hash & Array concepts and come up a self exercise to do practice. *Got two files * # inFile01 as below: # CLAYCOUNTY;Wood;statecode=FL CLAYCOUNTY;Wood;statecode=FL SUWANNEECOUNTY;Wood;statecode=FL SUWANNEECOUNTY;Wood;statecode=TX SUWANNEECOUNTY;Wood;statecode=TX SUWANNEECOUNTY;Wood;statecode=TX NASSAUCOUNTY;Wood;statecode=UT … | |
I have built a website for a client, which looks fine on my machine and in an emulator, but alas won't load for the client. They said it is fine on windows, but not on a mac, where they seam to be using chrome. Looking at the screenshots, it appears … | |
sir good day. i have question regarding PLC in DOL i can start the motor but i cannot stop it using remote in cpu | |
https://jsfiddle.net/c9jmjcy0/3/ The reason that it doesn't work is because for some reason `<a>` denies wrapping `<div>`. Probably specification. The only solution is to wrap it around other item. Do we have any other item that would say "it's a link/dropdown". There's also `<button>`. But it doesn't wrap it either, it … | |
I want to retrive data from two tables. I used below code : (SELECT sum(total_amount) as tr from loan where loan_status = 'not finish') union (SELECT sum(amount) as tt from settlement where sett_status = 'Active') But It load data by one column and these two values load under the another … | |
All, I have a odd scenerio which I'm looking to resolve - what is the best way in CGI/PERL to detect the referring page - as depending on if the referring page is from http://www.mysites.com/wholesale - I need to display a button on the page that when clicked will be … | |
Can someone assist me on how to do a mouse over on a hyperlink that shows what the user selected on the page they just left or saved. For example, the user clicks a link that says 'Add' and it opens a popup window where they select a list of … | |
Hi , I am looking for some directions with this and posted the same question in one more forum. am trying to get the word type as an output from an input file (input.txt) which looks like this, Input file John N N loved V Mary N N . S … | |
Hi, I have two text files. The first one has a list of words , like the following : File 1.txt Laura Samuel Gerry Peter Maggie The second one has paragraphs on it. For e.g. : File2.txt Laura is about to meet Gerry and is planning to take Peter along … | |
Hello, Can you please help me with the following scenario in Perl scripting? I want to compare two text files and save output of this comparision in third file with flag PP. So basically, the word common in both the text files should be printed with a flag |PP on … | |
How to add bookmarks and hyperlinks in pdf using itext? can any body tell example. Thanks advance.. | |
Hi All, In below code i am performing search in map through key value but not able to get the desire results though common elements (intersection) is present in both lists. #include <iostream> #include <stdio.h> #include <stdlib.h> #include <map> using namespace std; struct node { int data; struct node* next; … | |
Is there a good utility to fix .pst files? | |
Hello, I am having a problem with the fgets statement not reading data correctly. It reads most of the data I need without a problem, but three lines of data are not read correctly. The code in question follows: strcpy(passw,"P7"); fscanf(fip, "%3s", ckod); /* card # 164 */ fprintf(ff16,"\n\n%12s%12s\n", "card# … | |
Hello guys i am doing a archived page and i have added option to restore all but after that every newly deleted product doesn't show up here's the script //php to get update data upon click of button <?php if (isset($_GET['all'])) { $allSql = "UPDATE products SET deleted = 0 … | |
Hello Friends I am having issue with sizes option on my page this is the form of sizes <!-- Sizes And Quantity [Onclick Modal]--> <div class="form-group col-md-3"> <label>Sizes & Quntity<span class="required">*</span>:</label> <button class="btn btn-default form-control btn-info" onclick="jQuery('#sizesModal').modal('toggle'); return false;">Sizes & Quantity</button> </div> <!-- Sizes & Quantity Preview --> <div class="form-group … | |
I have wierd problem the navigation is working good everywhere but on `home.php` file it doesnt work when i press the MORE button to open the dropdown here is my code, what can cause this problem ? sidebar.css body,html{ height: 100%; } /* remove outer padding */ .main .row{ padding: … | |
Hi friends, Please I am writing an app that is meant to work like WhatsApp. When a user type some text, he clicks a send button. The clicking sends the text to a central database. There is a timer that is checking for unread messages and display them in a … | |
Hello, I ask your help in order to use this class. I need your explicit example is the code and form to use it properly. http://www.phpclasses.org/package/9683-PHP-Validate-and-add-watermark-to-uploaded-image-files.html#view_files $upload = new ImageOperations(); ext and the correct form. Thank you in advance for your help. | |
hi experts, [code=html]<a href="http://www.example.com"> goods </a>[/code] this is the hyperlink i have to used for example. i want to get the term 'goods' in the above hyperlink through jsp if i will click 'goods'. can i get the term in jsp like the below snippet?? [code]<% String goods=request.getParameter("goods"); %>[/code] or … | |
So i started creating a basic website for a small project im working on. I took a 2 week break where i left everything in working condition. Decided to load up WAMP server today afternoon and as soon as i try to access my index file i get the error: … | |
I have a search button that displays results into a gridview from the database. In my database I have a "Link" colum that has different links to other pages in my project. For example onetime.aspx, template.aspx etc. What I want to do is: When the user searches and the results … | |
Hello, I'm new to perl and I'm trying to compile a perl code that I downloaded from web. I'm getting the below error. -------------------------------------------------------------------------------------------------------------------------- Can't locate docs/perlmod/DoxyDocs.pm in @INC (you may need to install the docs::perlmod::DoxyDocs module) --------------------------------------------------------------------------------------------------------------------------- Where do I download DoxyDocs module from for linux? Please help me … | |
I have the code . It is not properly showing output <?php session_start(); $servername = "localhost"; $username = "root"; $password = ""; $dbname = "forextrading"; // Create connection $conn = new mysqli($servername, $username, $password, $dbname ); $link = mysqli_connect($servername, $username, $password, $dbname); // Check connection if (mysqli_connect_errno()) { //echo "Failed … | |
HI I have a master spreadsheet with 60 columns, which is updated with new data from an updates file. The new data can be whole new lines or just cells. luckily i came across your site and found an excellent script which does exactly what i want, the only problem … | |
Create a Perl Script, open 2 files store them an array and compare; then print the differences in a 3rd file using a loop? File 1: hope you're doing well thanks for visiting, please come again soon! File 2: glad you could visit, hope to see you soon! File 3: … | |
I have written a code to automate my webpage to do a search and download a report. Till selection of the report everything works fine. But download click is not working after clicking checkbox. It works well if i keep the download click bust before checkbox select. But I need … |
The End.