Jump to content

print urlencode not working - any fixes/alternatives?


j1mm1nycr1cket

Recommended Posts

Hello All,
I am sending a value from an [color=green]<a href>[/color] to a php page containing a Flash movie. The link simply says [color=green]<a href="mypage.php?label=what">[/color]
In mypage.php, all I want to do is read the value from the querystring and append it to the tag as follows:
[color=green]<param name="movie" value="mymovie.swf?label=<?php print urlencode($label); ?>">[/color]
This works perfectly under php 4.4.2 where I tested it, but on the hosting server (where they are running php 4.3.8 ), nothing gets printed into the page at all.
I've run a 'hello world' so I know my php is getting executed, but this is baffling.
Is there something I can do to make it work?
Perhaps there's something not 'switched on' in the hosting environment that I need..?
Thanks in advance
Jimmy
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.