• Hey,

    I am currently using WordPress 3.2 Network and having an issue. I think I read that global variables no longer works. So just looking for confirmation that this is true and if so, how I can get around this.

    In my theme, I am doing something as simple as this and it is not working. This is being done in a custom template.

    <?php $YouTube_ID = $_GET['id']; ?>						
    
    ...code for YouTube API
    
    <object width="853" height="505"><param name="movie" value="https://www.youtube.com/v/<?php echo $YouTube_ID; ?>?fs=1&hl=en_GB&rel=0&color1=0xe1600f&color2=0xfebd01"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="https://www.youtube.com/v/<?php echo $YouTube_ID; ?>?fs=1&hl=en_GB&rel=0&color1=0xe1600f&color2=0xfebd01" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="853" height="505"></embed></object>

    Thanks for any help you can give.

Viewing 1 replies (of 1 total)
  • Thread Starter Snat

    (@snat)

    Can’t edit, so updating.

    Found a way to fix it, am interested if global variables are blocked though.

Viewing 1 replies (of 1 total)
  • The topic ‘$_GET not working’ is closed to new replies.