Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: pulling php into perl

by little (Curate)
on Jun 21, 2003 at 18:01 UTC ( [id://267838]=note: print w/replies, xml ) Need Help??


in reply to pulling php into perl

you might try
my $online_indicator = 'http://mydomain.com/chatmonk3y/online_indicato +r/webber.php?jid=' . $seller . '@mydomain.com'; # or more abstract # my $online_indicator = $protocol . $hostname . $pathToScript . $argu +mentList;

Note that double quotes force content negotiation whereas single quotes don't (which slightly speeds up the script as some parsing isn't needed).

Have a nice day
All decision is left to your taste

Update
But what does my $scalar($seller) do? Where do you use that?
Might be helpfull to post some more code to better document the context of the problem.

Replies are listed 'Best First'.
Re: Re: pulling php into perl
by th3monk3y (Novice) on Jun 21, 2003 at 18:47 UTC
    Same thing... still broke :(

    http://www.bidmonkey.com/cgi-bin/th3monk3y/itemtest.pl?item=17027

    scroll down the page about midway to where you see the hit counter and on the left hand side and you will see the broken "test" image. if you view the properties you will see the following: Click on this link and it works...

    http://bidmonkey.com/chatmonk3y/online_indicator/webber.php?jid=mhuka@bidmonkey.com

     

    "But what does my $scalar($seller) do?"

    sorry about that.... What I meant was that my scalar is named $seller

    What I don't understand is, why is it that when I hard code monkeyboy instead of $seller, it works?????

    Maybe I need to force perl to do the variable before it does the request??? just as if it was hard coded... Is there a way to do this?

    Regards,

    -Paul

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://267838]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others pondering the Monastery: (6)
As of 2024-04-23 07:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found