Welcome to TalkGraphics.com
Results 1 to 10 of 24

Thread: Test php code

Hybrid View

  1. #1
    Join Date
    Aug 2000
    Location
    Harwich, Essex, England
    Posts
    21,936

    Default Re: Test php code

    On the page create a rectangle and with it still selected Web Properties / Placeholder / Body and paste in your simple php test code.

    Publish to your server as an html page. Test. It won't work on the Xara Preview obviously.

    http://www.parkeston.com/php-test/index.htm
    Attached Files Attached Files
    Egg

    Minis Forum UM780XTX AMD Ryzen7 7840HS with AMD Radeon 780M Graphics + 32 GB Ram + MSI Optix Mag321 Curv monitor
    + 1Tb SSD + 232 GB SSD + 250 GB SSD portable drive + ISP = BT + Web Hosting = TSO Host

  2. #2

    Default Re: Test php code

    I have put a rectangle on my welcome/index page with the code, also the same on another page, but nothing visible happens. My site works as usual, but nothing seems to happen. It's as if I modified nothing at all. To make sure nothing goes wrong during the publication I put some text on the page and this appears ok.

    I gave the rectangle a colour and brought it to front, but nothing. I did not rename any pages to *.php neither

    Could it be that the rectangle I created is hidden ?

    (As a further check I also posted your rectangle on 3 pages, also nothing)
    Attached Thumbnails Attached Thumbnails Click image for larger version. 

Name:	Knipsel10.jpg 
Views:	194 
Size:	82.9 KB 
ID:	119151  
    Last edited by joicol; 28 October 2017 at 01:56 PM. Reason: add st

  3. #3
    Join Date
    Aug 2000
    Location
    Placitas, New Mexico, USA
    Posts
    41,522

    Default Re: Test php code

    Egg - Does joicol's web host have to support .php?

  4. #4
    Join Date
    Aug 2000
    Location
    Harwich, Essex, England
    Posts
    21,936

    Default Re: Test php code

    Yes, but I assume it did from what he said.

    Can you attach your home page joicol? I'll upload it to my server to test it.
    Egg

    Minis Forum UM780XTX AMD Ryzen7 7840HS with AMD Radeon 780M Graphics + 32 GB Ram + MSI Optix Mag321 Curv monitor
    + 1Tb SSD + 232 GB SSD + 250 GB SSD portable drive + ISP = BT + Web Hosting = TSO Host

  5. #5

    Default Re: Test php code

    I published the website in a sub-folder of my wordpress blog, so php should be enabled. I have attached the index file.

    I had to rename index-kopie.htm to *.xar because chrome blocks the upload.
    Attached Files Attached Files
    Last edited by joicol; 28 October 2017 at 04:43 PM. Reason: attachment

  6. #6
    Join Date
    Mar 2009
    Posts
    4,503

    Default Re: Test php code

    You have to save the index page in your Xara app to a .xar file and not first export it to .htm.

  7. #7

    Default Re: Test php code

    Save as .xar ? Where ? I can only save as .web under File - save as

  8. #8

    Default Re: Test php code

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

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

    Default Re: Test php code

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

    Minis Forum UM780XTX AMD Ryzen7 7840HS with AMD Radeon 780M Graphics + 32 GB Ram + MSI Optix Mag321 Curv monitor
    + 1Tb SSD + 232 GB SSD + 250 GB SSD portable drive + ISP = BT + Web Hosting = TSO Host

  10. #10
    Join Date
    Mar 2009
    Posts
    4,503

    Default Re: Test php code

    Egg, see post #10

 

 

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
  •