Jump to content

gocondo

New Members
  • Posts

    7
  • Joined

  • Last visited

    Never

Posts posted by gocondo

  1. This is just a warning when you switch to PHP 5.3, you'll start seeing NOTICE messages on your page if you access a variable which is not exist or initialize. For example

     

    $id=($_GET["id"]);

    if ($id='home)

     

    If there is no value to id because it's not part of the link, you'll get an error. These kind of notice messages are not shown in PHP 5.2.

     

    ~ Go Condo Toronto ~

  2. No. That's too much work and I don't know if Go Daddy gave me database access with my plan. I just use include files and spread them around the website. For example one post can be found on the main page, but it is also in the CASA condo page. I hope to switch everything to a database sometimes in the future when I'll have more time.

     

    Thanks for the review.

  3. Does anyone have an example for PHP subscription code? I used Javascript to validate the subscription form and PHP to update the mailing list in my Toronto condo website, but lately some hackers were able to subscribe and bypass the Javascript validation function. How they did it?

     

    I wouldl ike to use only PHP for the subscription to avoid this problem.

  4. I wrote my website in PHP with Eclipse. My main page index.php uses the INCLUDE statement in order to display the sidebar and other part of the page, because these parts are also used by other pages.

     

    My problem is that if I add the "<!DOCTYPE html PUBLIC..." to each include file, I receive error when validating my index.php because it finds several "<!DOCTYPE html PUBLIC..." inside the page.

     

    But if I remove this "<!DOCTYPE html PUBLIC..." line from all include files, then Eclipse cannot validate my files as HTML.

     

    Any idea how to solve this problem? You can check my website below.

     

    GO CONDO TORONTO

     

     

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.