Welcome to TalkGraphics.com
Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 24

Thread: Test php code

  1. #11
    Join Date
    Mar 2009
    Posts
    4,501

    Default Re: Test php code

    You managed and now you know how to!

    Now let's see what Dr. Egg can cook up for you.

  2. #12
    Join Date
    Aug 2000
    Location
    Harwich, Essex, England
    Posts
    21,895

    Default Re: Test php code

    I have a problem with your web file. If I publish it I get:

    Parse error: syntax error, unexpected 'world”' (T_STRING), expecting ',' or ';' in /home/parkesto/public_html/php-test-2/index.htm on line 41
    I can't chase this down.
    Egg

    Intel i7 - 4790K Quad Core + 16 GB Ram + NVIDIA Geforce GTX 1660 Graphics Card + MSI Optix Mag321 Curv monitor
    + Samsung 970 EVO Plus 500GB SSD + 232 GB SSD + 250 GB SSD portable drive + ISP = BT + Web Hosting = TSO Host

  3. #13
    Join Date
    Aug 2000
    Location
    Harwich, Essex, England
    Posts
    21,895

    Default Re: Test php code

    That was hard work..... You appear to have placed the same php code on the background rectangle and the vertical side menu as well as my placeholder which was causing the above error. No idea how you did it

    See cleaned up attachment.

    DEMO
    Attached Files Attached Files
    Egg

    Intel i7 - 4790K Quad Core + 16 GB Ram + NVIDIA Geforce GTX 1660 Graphics Card + MSI Optix Mag321 Curv monitor
    + Samsung 970 EVO Plus 500GB SSD + 232 GB SSD + 250 GB SSD portable drive + ISP = BT + Web Hosting = TSO Host

  4. #14

    Default Re: Test php code

    Did you have time to test it ? I uploaded the file as index.web.

  5. #15
    Join Date
    Aug 2000
    Location
    Harwich, Essex, England
    Posts
    21,895

    Default Re: Test php code

    Where? There's no index.web attachment here.
    Egg

    Intel i7 - 4790K Quad Core + 16 GB Ram + NVIDIA Geforce GTX 1660 Graphics Card + MSI Optix Mag321 Curv monitor
    + Samsung 970 EVO Plus 500GB SSD + 232 GB SSD + 250 GB SSD portable drive + ISP = BT + Web Hosting = TSO Host

  6. #16
    Join Date
    Mar 2009
    Posts
    4,501

    Default Re: Test php code

    Egg, see post #10

  7. #17
    Join Date
    Aug 2000
    Location
    Harwich, Essex, England
    Posts
    21,895

    Default Re: Test php code

    Did you have time to test it ? I uploaded the file as index.web.
    Yes, see post 13 with the cleaned up version of your file. You had 3 objects with the code attached. I also gave a link to a working version.

    Thanks Boy.
    Egg

    Intel i7 - 4790K Quad Core + 16 GB Ram + NVIDIA Geforce GTX 1660 Graphics Card + MSI Optix Mag321 Curv monitor
    + Samsung 970 EVO Plus 500GB SSD + 232 GB SSD + 250 GB SSD portable drive + ISP = BT + Web Hosting = TSO Host

  8. #18

    Default Re: Test php code

    I tested the joi-cleaned.xar but it doesn't work, so it must be some server setting. I'll inform tomorrow.

    Here's the link: http://www.cirkelvaneenheid.be/Welenhoeck/joicol.htm

    As you can see the code is included.

  9. #19
    Join Date
    Aug 2000
    Location
    Harwich, Essex, England
    Posts
    21,895

    Default Re: Test php code

    The code isn't working. Check your php settings with your hosting provider.
    Egg

    Intel i7 - 4790K Quad Core + 16 GB Ram + NVIDIA Geforce GTX 1660 Graphics Card + MSI Optix Mag321 Curv monitor
    + Samsung 970 EVO Plus 500GB SSD + 232 GB SSD + 250 GB SSD portable drive + ISP = BT + Web Hosting = TSO Host

  10. #20

    Default Re: Test php code

    Sorry, I didn't see the 2nd page

    Are you sure we talk about the same test code ? In the source of your demo page - which works on your server - the embedded code I see is:

    <div class="xr_noreset " style="position: absolute; left:276px;top:1454px;width:386px;height:110px;">
    Hello joicol</div>
    http://www.parkeston.com/php-test-2/index.htm

    While I am absolutely not an expert in this, this does not look php to me

    While on my published test page the embedded code is:

    <?php
    echo "Hello joicol";
    ?>
    http://www.cirkelvaneenheid.be/Welenhoeck/

    The only thing I did was to copy your rectangle to my test page and publish it on my server. Or is it because mine is a normal page and your's is an index page ?

 

 

Tags for this Thread

Bookmarks

Posting Permissions

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