Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: pulling php into perl

by little (Curate)
on Jun 21, 2003 at 18:01 UTC ( #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.


Comment on Re: pulling php into perl
Download Code
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
Node Status?
node history
Node Type: note [id://267838]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (11)
As of 2014-10-20 10:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (75 votes), past polls