Re: [PHP] web site link request

2011-03-12 Thread Daniel Brown
On Fri, Mar 11, 2011 at 23:00, Kirk Bailey wrote: > May I have suggestions of websites I would do well to visit to improve my > php skills? Links please, with a breif description if you would be so good. http://php.net/links --- Overall links http://phpbuilder.com/--- General

Re: [PHP] Web Site Directory Layout

2009-09-27 Thread George Langley
On 26-Sep-09, at 2:38 AM, Ashley Sheridan wrote: I tend to usually go with the following, using what fits with the project: index.php styles/ images/ scripts/ includes/ --- Add files/ for any download-able files. Then for multi-lingual projects, I'll add a content/[languag

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-26 Thread דניאל דנון
There is no standard for that - Its your choice, I usually use something like index.php configuration.php template/ template/NAME/template.html template/NAME/template.css template/NAME/images/ modules/ modules/connection/MySQL.php etc. On Sat, Sep 26, 2009 at 1:50 AM, Caner Bulut wrote:

Re: [PHP] Web Site Directory Layout

2009-09-26 Thread Ashley Sheridan
On Fri, 2009-09-25 at 22:26 -0400, Robert Cummings wrote: > Caner Bulut wrote: > > 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] Web Site Directory Layout

2009-09-25 Thread Robert Cummings
Caner Bulut wrote: 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. There's no standard. My advice is to use easily identifiable names. The above are quite obbvious. My own preference thoug

Re: [PHP] Web Site Directory Layout

2009-09-25 Thread Daniel Brown
On Fri, Sep 25, 2009 at 19:30, Caner Bulut wrote: > > I will be out of office between 18th - 28th of June. That's fantastic. Have a nice ten-day vacation nine months from now. Thanks for letting us know so far in advance! ;-P -- daniel.br...@parasane.net || danbr...@php.net http://www.p

Re: [PHP] Web Site Directory Layout

2009-09-25 Thread Daniel Brown
On Fri, Sep 25, 2009, Caner Bulut wrote: > > Is there a stable or standart directory layout for PHP project (like web > sites)?. The very plain, simple answer is: no. There are similarities between projects, and common, logical reasons for doing them but nothing that would quite earn th

Re: [PHP] Web Site Directory Layout

2009-09-25 Thread Jim Lucas
Caner Bulut wrote: > Hi All, > > Is there a stable or standard directory layout for PHP project (like web > sites)?. > > Example; > > index.php > img/ > css/ > js/ > lib/ > doc/ > tools/ > > Thanks. > Here are a few references that I found with a quick G search http://www.shorewalker.com/bl

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

Re: [PHP] Web Site Directory Layout

2009-09-25 Thread Phpster
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; index.php img/ css/ js/ lib/ doc/ tools/ Thanks. It depends. Using of the many frameworks will force you to userheir l

Re: [PHP] Web Site Security Hole

2005-04-07 Thread Brent Baisley
If properly designed, it shouldn't really matter if someone sees your code. Everyone can see the source code for Linux and lots of other systems you may be using (MySQL, PHP, etc.), but they are considered fairly secure. Knowing your methodology will only help someone in finding security holes

Re: [PHP] Web Site Security Hole

2005-04-07 Thread Duncan Hill
On Thursday 07 April 2005 14:55, Don typed: > I was feeling pretty secure until a friend reminded me you can download > complete sites by importing them with such tools as FrontPage and > Dreamweaver. That way, the "protection" provided by the PHP server is > non-existant. This is only possible in

RE: [PHP] web site security: how to hide login info for mysql-connection

2003-07-07 Thread Wendell Brown
On Mon, 7 Jul 2003 21:01:40 +0100 (BST), Graham Rule wrote: >The only place that they are >available is to PHP scripts run in the relevant directory. Which means that if a hacker finds a cross script hack in one of those directories (ie, if you have a security hole in one of your php scripts), t

RE: [PHP] web site security: how to hide login info for mysql-connection

2003-07-07 Thread Graham Rule
On Mon, 30 Jun 2003, Peter Janett wrote: > This issue seems to be a huge issue, and I've been looking for a good > solution for quite a long time. My concern is that a shell emulating PHP or > Perl script run as Apache can read or copy ANY PHP script used with PHP as > an Apache module. The reaso

RE: [PHP] web site security: how to hide login info for mysql-connection

2003-07-01 Thread Peter Janett
ECTED] (303)828-9882 -Original Message- From: Derick Rethans [mailto:[EMAIL PROTECTED] Sent: Monday, June 30, 2003 2:59 PM To: Wendell Brown Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: RE: [PHP] web site security: how to hide login info for mysql-connection On Mon, 30 Jun 2003, We

RE: [PHP] web site security: how to hide login info for mysql-connection

2003-07-01 Thread Mark
That's where this thread started... --- Wendell Brown <[EMAIL PROTECTED]> wrote: > On Mon, 30 Jun 2003 13:50:21 -0600, Peter Janett wrote: > > >My concern is that a shell emulating PHP or > >Perl script run as Apache can read or copy ANY PHP script used > with PHP as > >an Apache module. > > It

RE: [PHP] web site security: how to hide login info for mysql-connection

2003-06-30 Thread Wendell Brown
On Mon, 30 Jun 2003 13:50:21 -0600, Peter Janett wrote: >My concern is that a shell emulating PHP or >Perl script run as Apache can read or copy ANY PHP script used with PHP as >an Apache module. It seems to me like the safest way to handle this would be to create a function that opens the databa

RE: [PHP] web site security: how to hide login info for mysql-connection

2003-06-30 Thread Derick Rethans
On Mon, 30 Jun 2003, Wendell Brown wrote: > On Mon, 30 Jun 2003 13:50:21 -0600, Peter Janett wrote: > > > > > php_value mysql.default_user fred > > php_value mysql.default_password secret > > php_value mysql.default_host server.example.com > > > > H what about phpinfo()? It shows

RE: [PHP] web site security: how to hide login info for mysql-connection

2003-06-30 Thread Mike Migurski
>> >> php_value mysql.default_user fred >> php_value mysql.default_password secret >> php_value mysql.default_host server.example.com >> > >H what about phpinfo()? It shows those settings in the clear. solution: don't leave stray phpinfo's on a production site. :) -

RE: [PHP] web site security: how to hide login info for mysql-connection

2003-06-30 Thread Wendell Brown
On Mon, 30 Jun 2003 13:50:21 -0600, Peter Janett wrote: > > php_value mysql.default_user fred > php_value mysql.default_password secret > php_value mysql.default_host server.example.com > H what about phpinfo()? It shows those settings in the clear. -- PHP General Mailing List (

RE: [PHP] web site security: how to hide login info for mysql-connection

2003-06-30 Thread Peter Janett
om: Mark [mailto:[EMAIL PROTECTED] Sent: Monday, June 30, 2003 8:34 AM To: Jaap van Ganswijk; [EMAIL PROTECTED] Subject: Re: [PHP] web site security: how to hide login info for mysql-connection How do you handle storing the login info then? Do you encrypt the file and decrypt it on the fly? Where wou

Re: [PHP] web site security: how to hide login info for mysql-connection

2003-06-30 Thread Mark
e to keep the MySQL > login data uncoded on the Unix system, because > other users or the system managers could read it. > Generally these files have to be readable by Apache > and therefore other users on the system can often > also read them. > > Greetings, > Jaap > > > >--

Re: [PHP] web site security: how to hide login info for mysql-connection

2003-06-29 Thread Jaap van Ganswijk
hink it's unwise to keep the MySQL login data uncoded on the Unix system, because other users or the system managers could read it. Generally these files have to be readable by Apache and therefore other users on the system can often also read them. Greetings, Jaap >- Original Messag

Re: [PHP] web site security: how to hide login info for mysql-connection

2003-06-29 Thread Avvio - Frank
ot;include_path").":". "/your/path/here/"); then include/require as normal -- frank - Original Message - From: "anders thoresson" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, June 29, 2003 4:33 PM Subject: Re: [PHP] web site securi

Re: [PHP] web site security: how to hide login info for mysql-connection

2003-06-29 Thread anders thoresson
Be aware that wherever you store the settings folder, your php.ini should have that path in it's include_directories setting, and the webserver must have read permissions for that file. I don't have access to php.ini on my ISP's web server. Is there a way for a user to make their own set ow inclu

Re: [PHP] web site security: how to hide login info formysql-connection

2003-06-29 Thread Mike Morton
Anders: > Somewhere, I've read that settings.php should be placed in a directory > outside the html/php-directories. Today, my web directory is > /home/anders/public_html and subdirectories to public_html. Should > settings.php be placed in /home/anders/include? That is correct - you are always b

Re: [PHP] Web Site

2002-08-21 Thread Justin French
on 22/08/02 1:18 PM, Jason Wong ([EMAIL PROTECTED]) wrote: >> DSL is a cheap option, although you have limited bandwidth and file >> transfers. It would be a good first step. > > Do they give you a permanent IP address? If not, you're going to have to > subscribe to some dynamic IP service so p

Re: [PHP] Web Site

2002-08-21 Thread Jason Wong
On Thursday 22 August 2002 10:44, Justin French wrote: > on 22/08/02 11:41 AM, Peter Goggin ([EMAIL PROTECTED]) wrote: > > I am setting up a web site which will be hosted on my own equipmet at > > home, located in Melbourne, Australia > > I would like some general advice on two questions. > > > >

Re: [PHP] Web Site

2002-08-21 Thread Jason Wong
On Thursday 22 August 2002 10:42, Bogdan Stancescu wrote: > Just for the record, I'm sure you can Google out quite a few nasty > comments on PayPal - I remember reading some along the lines of "dear > all, I know it was much easier for you to send money via PayPal, I know > that giving up on using

Re: [PHP] Web Site

2002-08-21 Thread Justin French
on 22/08/02 11:41 AM, Peter Goggin ([EMAIL PROTECTED]) wrote: > > I am setting up a web site which will be hosted on my own equipmet at home, > located in Melbourne, Australia > I would like some general advice on two questions. > > 1. What sort of permanent interconnect should I look at (Cable

Re: [PHP] Web Site

2002-08-21 Thread Bogdan Stancescu
Just for the record, I'm sure you can Google out quite a few nasty comments on PayPal - I remember reading some along the lines of "dear all, I know it was much easier for you to send money via PayPal, I know that giving up on using it will considerably decrease my income, but after my [...] e

RE: [PHP] Web Site

2002-08-21 Thread Roger Lewis
On Wednesday, August 21, 2002 6:41 PM Peter Goggin wrote < 2. I need to set up credit card payments. Has anyone any experience with < PayPal? Are there any other providers I should consider. Nothing but good to say about PayPal Roger -- PHP General Mailing List (http://www.p

[PHP] Re: PHP Web site down?

2002-08-21 Thread Sami Mahamed
it seems to be just your network, me and a couple of friends on differnt networks were just talking about that place :) works fine for us! -Sami "Adam Williams" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Is it just me having network connectivity problems,

Re: [PHP] Web site counter

2001-08-01 Thread B. van Ouwerkerk
>Is it possible to make a website counter with a PHP script and a text >document? If so can somebody email me a script (unlikely) or send me to a >page with a script (yay) freshmeat.net and sourceforge.net are great sources for scripts.. Be carefull not to use anything you see.. check the cod

Re: [PHP] Web site counter

2001-08-01 Thread Werner Stuerenburg
It is easy, but you need to have write privileges on that file (or rather httpd needs that) - so you may include a test that this file only holds a number as a minimal protection. $filename = "$GLOBALS[DOCUMENT_ROOT]/your_counter.txt"; $fp = fopen($filename,"a+"); $cnt = fread( $fp, filesize($fil