Results 1 to 2 of 2

Thread: PHP code not showing correctly
      
   

  1. #1
    bbullock is offline Corporal
    Join Date
    Mar 2008
    Posts
    10

    Default PHP code not showing correctly

    Hi,

    I'm having some serious trouble with PHP code not working on my web page and/or not showing. Plus my logo and nav bar are not showing as well when the page is published. I have tried all of the following;

    * Inserting the PHP code into a html box
    * file extension is set to php
    * increasing the size of the html box

    What am I doing wrong? Anyone have any suggestions?...the url is

    http://www.thecoupondad.com/internetcouponsphp.php

    This is the code I would like to insert;


    <?php
    $SID="364d8dc3-af06-4bb5-acce-b1ac9641df93";
    $IPAddress = urlencode($_SERVER['REMOTE_ADDR']);
    $UserAgent = urlencode($_SERVER['HTTP_USER_AGENT']);
    $Host=urlencode($_SERVER['HTTP_HOST']);
    $PageURL=urlencode($_SERVER['SCRIPT_NAME'].'?'.$_SERVER['QUERY_STRING']);
    $URL="http://si.goldencan.com/GetData.aspx?ver=2.0&SID=".$SID;
    $URL=$URL.'&Host='.$Host;
    $URL = $URL.'&PageURL='.$PageURL;
    $URL = $URL.'&IPAddress='.$IPAddress;
    $URL = $URL.'&UserAgent='.$UserAgent;
    include($URL);
    ?>

  2. #2
    bbullock is offline Corporal
    Join Date
    Mar 2008
    Posts
    10

    Default Re: PHP code not showing correctly

    Is anyone out there?....I need help

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49