Recent content by ab.chess

  1. A

    upload downloadable directory

    let me clarify: 1. I created folder 'a' in public_html 2. created folder a/b 3. uploaded file sample.pgn into 'a' results: www.chesspad.elementfx.com/a -> 403 www.chesspad.elementfx.com/a/b -> 403 www.chesspad.elementfx.com/a/sample.pgn -> works fine what i need: 1. upload folder 'a' with all...
  2. A

    upload downloadable directory

    how can i create/upload a downloadable directory recursively?
  3. A

    how to use php

    at the moment i have all my questions cleared. my small program is up and running. i want to thank everyone who helped me.
  4. A

    how to use php

    Apparently you ignore the context. My question about the difference was "why the 1st stmt defines the variable and the 2nd is not". As I can see after changing my code extension, both statements define the variable.
  5. A

    how to use php

    Actually, about 10 years ago I wrote the whole web site using php and I do not recall having issues like these. Unfortunately your answers do not clear much and create more questions. So, why $geturl = $_SERVER['HTTP_HOST']; // Defines the variable and $geturl = "domain"; does not?? What's the...
  6. A

    how to use php

    I have no clue what you mean. "You forgot to define the variable for $geturl!"? what about <?php $geturl = "domain"; ?><br>? "The file your viewing is not a true html/php document."? This is the file: https://chesspad.elementfx.com/ping.html You can see its source there.
  7. A

    how to use php

    Nope. Here is my code: <body> <p> <?php $geturl = "domain"; ?><br> <?php echo $geturl; ?><br> <?php echo $geturl; // don't forget to define variable for $geturl print "<br>See the close after the quotation"; print "<br>No close after quotation" ?> </p> </body> ---------------- the output...
  8. A

    how to use php

    Hmm. This is not the answer that I expect. So each 'print' stmt needs to be within its own php tags? When it should only print the text within quote marks? At least that's how it works with my Ubuntu local php (older version). Why does php ignore the pairing closing quote mark? Any special settings?
  9. A

    how to use php

    I was trying to search for "php" and it does not work because the keyword is too short(?). Anyway, I am new to x10 and I am trying to run a simple script within html page: ------------------- <html> <body> output from php<br> <?php print "<p>mr Mc Donalds<br>"; print "Burger!<br>"; print "I'm...
Top