RE: [PHP] Web Site Directory Layout

2009-09-26 Thread Caner Bulut
Thanks for help. Caner. _ From: דניאל דנון [mailto:danondan...@gmail.com] Sent: Saturday, September 26, 2009 2:35 PM To: Caner Bulut Cc: php-general@lists.php.net Subject: Re: [PHP] Web Site Directory Layout There is no standard for that - Its your choice, I usually use

RE: [PHP] Web Site Directory Layout

2009-09-25 Thread Caner Bulut
Bulut Cc: ; Subject: Re: [PHP] Web Site Directory Layout On Sep 25, 2009, at 6:50 PM, "Caner Bulut" wrote: > Hi All, > > > > Is there a stable or standart directory layout for PHP project (like > web > sites)?. > > > > Example; > > > &g

[PHP] Web Site Directory Layout

2009-09-25 Thread Caner Bulut
Hi All, Is there a stable or standart directory layout for PHP project (like web sites)?. Example; index.php img/ css/ js/ lib/ doc/ tools/ Thanks.

RE: [PHP] Cannot exec in my own directory

2009-08-16 Thread Caner Bulut
Dotan, Please copy your script in the Linux include paths. Such as /usr/local/bin and give it neccecary permission and try your script again. If you still have any problem, we understand that it is no related script path problem and permissions. Maybe there is some problems on your php script.

RE: [PHP] Sanitizing mysql inserts of user data

2009-08-16 Thread Caner Bulut
Hi Dotan, You can use htmlentities(), htmlspecialchars() and strip_tags() functions when you show your saved data on your web pages. mysql_real_escape_string function saved data into mysql DB with a secure way. But when you try to show data you still have to control it. Thanks. Caner. -Orig

RE: [PHP] OOP Design Software

2009-07-26 Thread Caner BULUT
Hi Daniel, You can use Eclipse with plugin PDT or Zend Studio. They can track your classes and methods. They can remember your methods and classes also they have code completion abilities. Thanks Caner. -Original Message- From: Daniel Kolbo [mailto:kolb0...@umn.edu] Sent: 26 July 2009

Re: [PHP] Re: XSS Preventing.

2009-06-23 Thread Caner Bulut
I have read somethings about these issues. And i understand that If you use htmlentities() BEFORE insertion, when querying DB from XML, PDF or other data format, there will be some problems. I have some PHP books, the author codding like Martin Zvarík's way. If you have any pros and cons please sh

Re: [PHP] XSS Preventing.

2009-06-23 Thread Caner Bulut
Michael, I can be useful for me. It seems there will be not ant charset problem occurs. Thanks for help. Caner. 2009/6/23 Michael A. Peters > Caner BULUT wrote: > >> Hi Guys, >> >> >> I have a question if you have any knowledge about this please let me know.

RE: [PHP] Re: XSS Preventing.

2009-06-22 Thread Caner BULUT
nýn çýkarýldýðý / takýlacaðý araç modeli Parçanýn çýkarýldýðý / takýlacaðý araç modeli I hope I can explain the problem. Thanks -Original Message- From: Shawn McKenzie [mailto:nos...@mckenzies.net] Sent: 23 June 2009 00:01 To: php-gene

RE: [PHP] Re: XSS Preventing.

2009-06-22 Thread Caner BULUT
2009 23:27 To: php-general@lists.php.net Subject: [PHP] Re: XSS Preventing. Caner BULUT wrote: > Hi Guys, > > > > I have a question if you have any knowledge about this please let me know. > > > > I getting data from a form with POST method like following. > >

[PHP] XSS Preventing.

2009-06-22 Thread Caner BULUT
Hi Guys, I have a question if you have any knowledge about this please let me know. I getting data from a form with POST method like following. $x = htmlentities($_POST['y']); . After getting all form daha I save them into DB, I used mysql_real_escape_string. I have an page wh

Re: [PHP] resubmit form after validation error

2009-06-22 Thread Caner Bulut
ings finally work. > And, to delete the item (all records related to the item), I set up 2 > submits - 1 to "update.php" and one to "delete.php" > Maybe it's all cumbersome and maybe it is possible to streamline the > whole process, but then it does work an

RE: [PHP] resubmit form after validation error

2009-06-20 Thread Caner BULUT
Hi, You can use a variable to that. Like following. Example if the variable is 1 you start to processing form input. Example mailto:af.gour...@videotron.ca] Sent: 20 June 2009 22:55 To: php-general@lists.php.net Subject: [PHP] resubmit form after validation error I'm having a bit of a time fi

Re: [PHP] Search/Replace in entire database?

2009-06-15 Thread Caner Bulut
Hi Chris, MySQL introduced full - text indexing and searching capabilities back in version 3.23.23. The implementation is straightforward and easy to use — define a FULLTEXT index and use MATCH / AGAINST in the query. Consider this example: CREATE TABLE SOCIAL_EVENT ( EVENT_ID INTEGER UNSIGNE