Welcome, Guest. Please login or register.
Did you miss your activation email?
05/23/12, 12:28
Home Help Search Login Register
News: Parsley Flex framework review featuring quiz application, in our Flex frameworks series
Flex SDK 4.5 mobile roadmap: begin with your mobile development
Swiz Flex framework review featuring quiz application
New homepage we release our new Homepage, take a look ...

+  Flash-db
|-+  Recent Tutorial Support
| |-+  Flash Ecards (Moderators: Flash-db, vesa kortelainen, Ronald Wernecke, Mohsin Sumar, Jorge Solis)
| | |-+  stripslashes () problem
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Print
Author Topic: stripslashes () problem  (Read 2985 times)
helmut
Server what's that
*
Posts: 5



View Profile Email
« 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
Logged
Flash-db
Administrator
Systems Administrator
*****
Posts: 1867



View Profile WWW
« 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.
Logged

-Jeff.
helmut
Server what's that
*
Posts: 5



View Profile Email
« 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
Logged
Flash-db
Administrator
Systems Administrator
*****
Posts: 1867



View Profile WWW
« 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).
Logged

-Jeff.
helmut
Server what's that
*
Posts: 5



View Profile Email
« 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
Logged
helmut
Server what's that
*
Posts: 5



View Profile Email
« 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.....
Logged
helmut
Server what's that
*
Posts: 5



View Profile Email
« 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
Logged
Pages: [1] Print 
« previous next »
Jump to:  


Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!