Hi everyone,
I'm trying to resize an iframe based on its contents. The problem is that the iframe and the parent document are on two different domains (they're not even sub domains of each other).
Can the iframe have a property to resize automatically based on the contents (which is flash)? or...
Hi all,
I'm facing a little problem in deleting records from MySQL. My database contains around a 100 tables and there are so many relationship among them (just like spaghetti).
I want to delete couple of records with all their children but the problem is that the constraints do not have an...
Hi all,
I have a little problem in Javascript. What I want to do is to communicate between two windows from different domains. I just need one function to be accessible from the other windows (that belong to different domains).
Is there any way around, like giving the function a "public"...
Hi everyone,
I've been trying to use the library Image::Magick to open an image, write some text in it, and then print it.
However, all I could do is to write some text on a white (or any other color) background. I want to set an image of mine as the background of the picture.
I tried the...
Hi Everyone,
I'm trying to write some text on an picture and display this picture. I'm using Perl with the library Magick. However, it seems that it is not working. I cannot even read a picture and display it.
I used the following example code but i got nothing:
#!/usr/local/bin/perl
use...
Hi Everyone,
How do I replace the "'" in a string with the escape character "\'" in Perl?
or in general: how do I replace a substring with another substring? In PHP: I would use the function str_replace. Is there any function in Perl similar to str_replace?
Thanks in advance
Cheers
Hi Everyone,
I'm trying to write a class in Perl. One of the attributes is an array.
How can I get/set the values of the array? Usually, I get the value of other attributes using:
$obj->{att} = "something";
but now, since it is an array, how can I do that? Here is the code I wrote:
package...
Hi Everyone,
How can I connect with MySQL database using Perl?
Here is the source code I am using:
#!C:\perl\bin\perl.exe
print "Content-type: text/html\n\n";
use DBI;
$db="perl_test";
$host="localhost";
$port="3306";
$userid="root";
$passwd=""...
Hi Everyone,
I'm new to Perl. I've been trying to run Perl and Apache under Windows.
I downloaded and installed Perl from activestate.com. I linked it with Apache; and I wrote the first line in my Perl Script: #!C:\perl\bin\perl.exe
However, it is not working. Everytime I request the Perl...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.