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
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
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
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:
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.
>
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
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
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
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
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
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
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
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
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
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
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
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
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
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
>>
>> 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. :)
-
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 (
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
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
>
>
> >--
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
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
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
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
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
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.
> >
> >
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
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
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
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
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,
>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
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
36 matches
Mail list logo