Welcome, Guest
  • Author Topic: stripslashes () problem  (Read 3232 times)

    helmut

    • Server what's that
    • *
    • Posts: 5
      • View Profile
      • Email
    stripslashes () problem
    « on: 06/11/02, 10:37 »
    hello,
    i have a problem with the SendEcard.php file. when I type the script in the browser window, i became a error message. in this message the line7-11 ($ToName = stripslashes($ToName); ... is called as function  stirpslahes();. I think stripslahes() delete only the Escape sign ? so tell me, what is wrong???
    greetings
    max

    Flash-db

    • Administrator
    • Systems Administrator
    • *****
    • Posts: 1876
      • View Profile
      • Flash-db.com
    Re:stripslashes () problem
    « Reply #1 on: 06/11/02, 10:52 »
    What is the exact error you are getting from that line (copy and paste it) - Here's some info on stripslashes and what it does:

    http://www.php.net/manual/en/function.stripslashes.php

    let us know.
    Flash-DB

    helmut

    • Server what's that
    • *
    • Posts: 5
      • View Profile
      • Email
    Re:stripslashes () problem
    « Reply #2 on: 06/11/02, 11:01 »
    dear jeff,
    the error message on the browser windows has been changed.the stripslashes problem is never actuell, sorry.

    Warning: fopen("./dBText/1023810992.txt", "w") - No such file or directory in /homepages/30/d17611776/htdocs/beta/perkins/Ecards/SendEcard.php on line 22

    Warning: Supplied argument is not a valid File-Handle resource in /homepages/30/d17611776/htdocs/beta/perkins/Ecards/SendEcard.php on line 23

    Warning: Supplied argument is not a valid File-Handle resource in /homepages/30/d17611776/htdocs/beta/perkins/Ecards/SendEcard.php on line 24
    this.Status=Success your Card Has Been Sent!

    helmut

    Flash-db

    • Administrator
    • Systems Administrator
    • *****
    • Posts: 1876
      • View Profile
      • Flash-db.com
    Re:stripslashes () problem
    « Reply #3 on: 06/11/02, 13:27 »
    Ok sounds like a permissions problem.

    Have you changed the permissions of the dBText folder to 777?

    That should be it - It's definitly a file permissions problem. (could be a path problem as well - but I assume it's not).
    Flash-DB

    helmut

    • Server what's that
    • *
    • Posts: 5
      • View Profile
      • Email
    Re:stripslashes () problem
    « Reply #4 on: 06/12/02, 01:22 »
    thank you for your fast answer and sorry for my delay answer. i will check the permission a second time. ..

    regards
    helmut

    helmut

    • Server what's that
    • *
    • Posts: 5
      • View Profile
      • Email
    Re:stripslashes () problem
    « Reply #5 on: 06/12/02, 01:47 »
    now, on the 3īrd permission check the warning message is a 403 message. the permissions are not enough, please check an give them new permissions. but if the permission are on the right status (766), i became the old error message on the top.....

    helmut

    • Server what's that
    • *
    • Posts: 5
      • View Profile
      • Email
    Re:stripslashes () problem
    « Reply #6 on: 06/12/02, 02:56 »
    hello again,
    i think i have found the error. in my php (ver 4.1.1.) configuration the directive at allow_url_fopen ist the master and local value =1. I think it is set on 1=false.
    if you want, you can see the whole configuration on:
    http://www.nuova-media.de/Ecards/phpdirec.html

    thanks for all
    best regards
    helmut