Can't use echo()

Discussion in 'PHP' started by wissam, Jul 8, 2006.

  1. #1
    I can't use the Echo() command in my domain but I can in my subdomain, is there any solution to fix this ...?
    I checked all .htaccess and things, every thing looks well ...????:confused: :confused: :confused:
     
    wissam, Jul 8, 2006 IP
  2. danielbruzual

    danielbruzual Active Member

    Messages:
    906
    Likes Received:
    57
    Best Answers:
    0
    Trophy Points:
    70
    #2
    try using quotes instead. Like this: echo "";
     
    danielbruzual, Jul 8, 2006 IP
  3. wissam

    wissam Well-Known Member

    Messages:
    2,289
    Likes Received:
    78
    Best Answers:
    1
    Trophy Points:
    185
    #3
    The problem is that I use them .. and still not working I used :
    echo "";
    echo ("");
    the page ext is php, I use <?php tags and all set right .. it works on subdomain and not in main domain ...
     
    wissam, Jul 8, 2006 IP
  4. abuzant

    abuzant Well-Known Member

    Messages:
    956
    Likes Received:
    45
    Best Answers:
    0
    Trophy Points:
    140
    #4
    Check your server/vhost settings for:

    php_admin_flag engine off/on
     
    abuzant, Jul 8, 2006 IP
  5. ahref

    ahref Well-Known Member

    Messages:
    1,123
    Likes Received:
    67
    Best Answers:
    0
    Trophy Points:
    170
    #5
    there may be something in .htaccess file
     
    ahref, Jul 9, 2006 IP