Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!gegeweb.org!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail From: "Twayne" Newsgroups: comp.lang.php Subject: Re: PHP variable holding path string will not render remotely Date: Mon, 2 May 2011 12:14:59 -0400 Organization: A noiseless patient Spider Lines: 53 Message-ID: References: <15a1a452-2412-4b02-a964-09f712a7b144@q12g2000prb.googlegroups.com> Injection-Date: Mon, 2 May 2011 16:15:08 +0000 (UTC) Injection-Info: mx01.eternal-september.org; posting-host="Ck9MLZhh/J/1ZPDznJ8sDQ"; logging-data="8119"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19pvK6QO35pwhLkH+emTO1V" X-RFC2646: Format=Flowed; Response X-Newsreader: Microsoft Outlook Express 6.00.2900.5931 Cancel-Lock: sha1:qg1gg71Jjkw44IEvwskioh/GMhQ= X-Priority: 3 X-MSMail-Priority: Normal X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2900.6090 Xref: x330-a1.tempe.blueboxinc.net comp.lang.php:1369 In news:ipkv38$hph$1@dont-email.me, Jerry Stuckle 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 '
'.$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: >> >> > href="./flowplayer/example/Food/tofu_video_preview.flv" >> style="display:block;width:520px;height:330px" >> id="player"> 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?