FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » PHP variable holding path string will not render remotely
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: PHP variable holding path string will not render remotely [message #173745 is a reply to message #173740] Mon, 02 May 2011 18:12 Go to previous messageGo to previous message
Jerry Stuckle is currently offline  Jerry Stuckle
Messages: 2598
Registered: September 2010
Karma:
Senior Member
On 5/2/2011 12:14 PM, Twayne wrote:
> In news:ipkv38$hph$1(at)dont-email(dot)me,
> Jerry Stuckle<jstucklex(at)attglobal(dot)net> typed:
>> On 5/1/2011 8:16 PM, goldtech wrote:
>>> Hi,
>>>
>>> As I learn about PHP I encounter a problem. I have a
>>> test server on my laptop and am serving flv Flash files.
>>> On my localhost laptop it's all OK. I serve a local flv
>>> file and watch the video. So I figure I'd go on a
>>> desktop in my local home network, dial in the ip of my
>>> laptop, and watch a video from the desktop. Everything
>>> works OK except this, (note: $vrelpath is the path to an
>>> flv file on my laptop), so: Given the code:
>>>
>>> echo "vrelpath: ". $vrelpath;
>>> $vv = 'ttttt';
>>> echo '<br>'.$vv;
>>>
>>> and I see on the local laptop web page:
>>>
>>> vrelpath: ./uploaded_vids/File28_final.flv
>>> ttttt
>>>
>>> But it renders on the "remote" desktop as:
>>>
>>> vrelpath:
>>> ttttt
>>>
>>> The $vrelpath string is not getting to the desktop, but
>>> another string $vv is getting to it. So what's going on
>>> here? BTW, If I hard code a link on my laptop with something
>>> like this and serve it to the desktop it works OK:
>>>
>>> <a
>>> href="./flowplayer/example/Food/tofu_video_preview.flv"
>>> style="display:block;width:520px;height:330px"
>>> id="player"> </a> and the desktop user will get a nice flash video
>>> w/control bars... There's something about that $vrelpath when it holds
>>> that path string(?) Note: if a stick 'zzzz' into
>>> $vrelpath it renders on the desktop OK.
>>>
>>> What is the issue? Thanks appreciate the help.
>>>
>>> Lee G.
>>>
>>
>> Sorry, my crystal ball is in the shop, and since you
>> didn't show us how you set $vrelpath (or how you "dial
>> into your laptop"), it's impossible to say for sure.
>
> Then; WHAT is the purpose of your reply? Just to spam?
>
>

To tell him he has insufficient information to diagnose his problem.

But then you wouldn't understand that, troll. Yet you have to add a
completely worthless post anyway - which is the only kind of post you
can make.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex(at)attglobal(dot)net
==================
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: PHP developer needed in Minneapolis!
Next Topic: Please Help Me
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sat Nov 30 17:15:53 GMT 2024

Total time taken to generate the page: 0.03324 seconds