Search Results

Search: Posts Made By: marringi
2,590
Posted By marringi
I got this to work: my $this_month = `date...
I got this to work:

my $this_month = `date "+_%m_"`;

Thanks for the help
2,590
Posted By marringi
This is a web application (.cgi). I'm going...
This is a web application (.cgi).

I'm going to use this in print <<EOF many times so I would like it to be simple to call it.
2,590
Posted By marringi
I don't know much about programming so you'll...
I don't know much about programming so you'll excuse me if I'm using this the wrong way.

I put this at the top of the script:

my $this_month=$(date "+_%m_")

and then wrote $this_month where...
2,590
Posted By marringi
rewrite date
I'm looking to have function that takes the present month and rewrites it into this form: _06_ (june), _09_ (september), and so on..

I would like this to be a my $this_month=code that rewrites...
3,923
Posted By marringi
Is it not possible to have it somehow in this...
Is it not possible to have it somehow in this format:

my $month=echo(""_"$(date '+%m')"_"");


?
3,923
Posted By marringi
Thanks for the quick response. I'm a no good...
Thanks for the quick response. I'm a no good programmer. How would you use this...

I tried:

my $month=echo(""_"$(date '+%m')"_"");

with no luck...?
3,923
Posted By marringi
I meant the current month... Didn't make myself...
I meant the current month... Didn't make myself clear...

I want to use it in a link, so that say the month is January, _01_ is written into the link..
3,923
Posted By marringi
Getting month and changing format
Hello,

I would like to get todays moth and write it in this format: _06_

Any ideas?
4,532
Posted By marringi
I understand you and see what you mean. I'll try...
I understand you and see what you mean. I'll try to be more direct in the future. As to the small "program" that I am making: All the big things that I need it to do are ready. I can use it the way...
4,532
Posted By marringi
I'm sorry if I offended you by writing a new...
I'm sorry if I offended you by writing a new post. I saw that I didn't make myself clear enough with the other one, so I decided to try again in the hope that I could get some help.

Yes I was...
1,788
Posted By marringi
if and else
Hello,

I am using

to fetch the word that is written after script.cgi?info=word.

I'm looking to have the program take that word and use it in a
if, else purpose.

I would like to be able...
4,532
Posted By marringi
I see that this will be a bigger problem then I...
I see that this will be a bigger problem then I that, so I will figure a
way around this problem.

Thanks anyway
4,532
Posted By marringi
Ok, I see. Is it not possible to create ...
Ok, I see.
Is it not possible to create

if something print this
else print this?

The thing is that I am having a problem with old browser reading the javascript that I am executing from the...
4,532
Posted By marringi
transforming small javascript into perl
I need to transform this small javascript into a perl. So then when I need to use it I can call $something, instead of using this javascript.

Could someone help me archive this?
2,282
Posted By marringi
Rewriting a word from location
I am using:



..to get the word that is being searched. What I am looking to do,
is to rewrite the word and us it in css:



Sort of like this javascript:



Hopefully I am making...
1,213
Posted By marringi
As you probably can see... i'm not much of a...
As you probably can see... i'm not much of a programmer

I figured out that it is possible to do:

my $url="script.cgi?run=$location";

thanks anyway
1,213
Posted By marringi
Simple or maybe not..
Hello, I need to be able to get these to functions together:

my $location=url_param("get");
my $url="script.cgi?run=";

Something like this:
my $new="script.cgi?run=";+url_param("get");
...
1,915
Posted By marringi
Including files
Hi,

Is it possible to include files (print with EOF, sort of like ssi) in perl/cgi?

Thanks
8,421
Posted By marringi
ok, i.c. What should I be looking for in an...
ok, i.c.

What should I be looking for in an ad to know that a company provides this?

The Support center where I host asked:


Any idea what I should tell them?
8,421
Posted By marringi
If I had a Shell account, would this be something...
If I had a Shell account, would this be something I could do myself?
8,421
Posted By marringi
No, but the script you created for me does what I...
No, but the script you created for me does what I want it to do. But the <!--#include virtual--> only loads in the pages source. I got this reply when I asked my host to help me with server-side...
8,421
Posted By marringi
i.c.. Do I have to get the hosting company to...
i.c..
Do I have to get the hosting company to do that for me?
8,421
Posted By marringi
Thanks, that worked grate! But when I put in...
Thanks, that worked grate!

But when I put in

it only shows in the page source. Do I have to do something special to have the script include information?
8,421
Posted By marringi
Could we maybe go back a few steps. Could...
Could we maybe go back a few steps.

Could you add a code to this script that gets the word from the location. Say the location is test.cgi?test=hello. THe script would fetch the word and put it...
8,421
Posted By marringi
I got this to work: But when I add: ...
I got this to work:



But when I add:


it shows the error:


So it must be the something wrong I'd think with
Showing results 1 to 25 of 36

 
All times are GMT -4. The time now is 01:27 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy