On 23-8-2013 16:37, Matijn Woudt wrote:
On Fri, Aug 23, 2013 at 4:03 PM, Emiliano Boragina <
emiliano.borag...@gmail.com> wrote:
Hi everyone, sorry my ugly english. I did an upload file form. Works
very good. Upload the files in the right folder, with the right name.
I use chmod 0644, and for t
On Fri, Aug 23, 2013 at 4:03 PM, Emiliano Boragina <
emiliano.borag...@gmail.com> wrote:
> Hi everyone, sorry my ugly english. I did an upload file form. Works
> very good. Upload the files in the right folder, with the right name.
> I use chmod 0644, and for try I use 0777. But always the files a
Hi everyone, sorry my ugly english. I did an upload file form. Works
very good. Upload the files in the right folder, with the right name.
I use chmod 0644, and for try I use 0777. But always the files are
copyed blocked. I cant see them with windows preview for example. I
read in forums that is Wi
Hi List!
I need to access files outside the DocumentRoot.
I've been looking for info and documentation, and I've read that it can be
done using symbolic links and another way is by using headers.
I want to know, what do you think, what is the best way, and if anyone knows
a good doc about of it.
Jason Pruim
On Apr 27, 2011, at 1:11 PM, Joshua Kehn wrote:
> On Wednesday, April 27, 2011 at 1:08 PM, Jim Giner wrote:
> I have managed to build include files and store them above my public folder
>> and the called pages manage to find them from the public folder and properly
>> include the
On Wednesday, April 27, 2011 at 1:08 PM, Jim Giner wrote:
I have managed to build include files and store them above my public folder
> and the called pages manage to find them from the public folder and properly
> include them. My problem is with the html src= attribute. I have uploaded
> photo
I have managed to build include files and store them above my public folder
and the called pages manage to find them from the public folder and properly
include them. My problem is with the html src= attribute. I have uploaded
photos to be included in my web pages and I didn't want them in th
Michael Alaimo wrote:
> Does special configuration have to take place with PHP to let apache
> process server side include files that are HTML documents?
>
PHP doesn't care, but you will need to configure apache to do both SSI
and PHP processing.
--
Per Jessen, Zürich (17.8°C)
--
PHP Gene
Michael Alaimo wrote:
> Does special configuration have to take place with PHP to let apache
> process server side include files that are HTML documents?
>
> Mike
>
To clarify, you are talking about Apache SSI correct?
If so, then now. PHP has nothing to do with it, nor does it need to be
conf
Does special configuration have to take place with PHP to let apache
process server side include files that are HTML documents?
Mike
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Kevin wrote:
>>> I am having some issues with connecting to a SQLite database right now
>>> ... I'm getting the following error "Fatal Error: 'sqlite_open' is an
>>> unknown function"
>>> But I'm putting that on the side right now.
>>
>> I think the docs are still screwed up. Try sqlite3_open() ins
Kevin wrote:
I am having some issues with connecting to a SQLite database right now
... I'm getting the following error "Fatal Error: 'sqlite_open' is an
unknown function"
But I'm putting that on the side right now.
I think the docs are still screwed up. Try sqlite3_open() instead and
see if th
Paul M Foster wrote:
On Thu, May 13, 2010 at 11:53:54PM -0400, Kevin wrote:
/On a side note:
I am having some issues with connecting to a SQLite database right now
... I'm getting the following error "Fatal Error: 'sqlite_open' is an
unknown function"
But I'm putting that on the side right
At 11:07 PM -0400 5/13/10, Kevin wrote:
Hello All,
I am trying to figure out how to create files when a user submits a form ...
I have seen something about '*fopen*' , is that the direction I
should be going?
Here is what I am trying to accomplish:
I am creating a program to keep track of re
From: Kevin
> I am trying to figure out how to create files when a user submits a
form ...
> I have seen something about '*fopen*' , is that the direction I should
> be going?
>
> Here is what I am trying to accomplish:
>
> I am creating a program to keep track of recipes for my wife. I have
>
On 14 May 2010 04:07, Kevin wrote:
> Hello All,
>
> I am trying to figure out how to create files when a user submits a form ...
> I have seen something about '*fopen*' , is that the direction I should be
> going?
>
> Here is what I am trying to accomplish:
>
> I am creating a program to keep trac
On Thu, 2010-05-13 at 23:53 -0400, Kevin wrote:
> Ashley Sheridan wrote:
> > On Thu, 2010-05-13 at 23:07 -0400, Kevin wrote:
> >> Hello All,
> >>
> >> I am trying to figure out how to create files when a user submits a form
> >> ...
> >> I have seen something about '*fopen*' , is that the directi
On Thu, May 13, 2010 at 11:53:54PM -0400, Kevin wrote:
> /On a side note:
> I am having some issues with connecting to a SQLite database right now
> ... I'm getting the following error "Fatal Error: 'sqlite_open' is an
> unknown function"
> But I'm putting that on the side right now.
I think th
Ashley Sheridan wrote:
On Thu, 2010-05-13 at 23:07 -0400, Kevin wrote:
Hello All,
I am trying to figure out how to create files when a user submits a form ...
I have seen something about '*fopen*' , is that the direction I should
be going?
Here is what I am trying to accomplish:
I am creati
On Thu, 2010-05-13 at 23:07 -0400, Kevin wrote:
> Hello All,
>
> I am trying to figure out how to create files when a user submits a form ...
> I have seen something about '*fopen*' , is that the direction I should
> be going?
>
> Here is what I am trying to accomplish:
>
> I am creating a pro
Hello All,
I am trying to figure out how to create files when a user submits a form ...
I have seen something about '*fopen*' , is that the direction I should
be going?
Here is what I am trying to accomplish:
I am creating a program to keep track of recipes for my wife. I have
have page set
Sándor Tamás (HostWare Kft . ) a écrit :
It isn't really a programming question, but rather a structural.
It is part of our burden ;)
Which is the better approach:
They are no better approch, only bad ones. I'm using to organize my
code in module. Each module require the needed modules. T
Paul M Foster wrote:
On Thu, Jul 23, 2009 at 09:34:37AM -0400, Robert Cummings wrote:
Not that I disagree with your methodology at this time, but you could
have just made that single big file, include all those little files and
still had a single load statement in each of your consumer sour
On Thu, Jul 23, 2009 at 09:34:37AM -0400, Robert Cummings wrote:
> Not that I disagree with your methodology at this time, but you could
> have just made that single big file, include all those little files and
> still had a single load statement in each of your consumer source files.
> With com
'Tis true. I just find dealing with the smaller files much easier.
At the time I was using Komodo IDE and it would get very sluggish with
the larger files.
Take care,
Floyd
On Jul 23, 2009, at 9:34 AM, Robert Cummings wrote:
Floyd Resler wrote:
When I first started programming in PHP I
Floyd Resler wrote:
When I first started programming in PHP I used the second method you
mentioned. I had a single file I called utils.php and it contained
all the functions I could possibly need throughout my site.
Unfortunately, this file grew to be over 10,000 lines and most of the
t
file.
Take care,
Floyd
On Jul 23, 2009, at 5:36 AM, Sándor Tamás (HostWare Kft.) wrote:
Hi,
It isn't really a programming question, but rather a structural.
Let's suppose I have a PHP page, which is built by other PHP files'
includes.
Which is the better approach:
i
> -Original Message-
> From: Dengxule [mailto:dengx...@gmail.com]
> Sent: 23 July 2009 10:53
>
>
> Hoping for the coming of the concept of PACKAGE. Seems that
> NAMESPACE will
> be introduced in PHP6.
Already present in 5.3, actually.
Cheers!
Mike
--
Mike Ford,
Electronic Informatio
2009/7/23 Sándor Tamás (HostWare Kft.)
> Hi,
>
> It isn't really a programming question, but rather a structural.
>
> Let's suppose I have a PHP page, which is built by other PHP files'
> includes.
>
> Which is the better approach:
> in a switch-like
Hi,
It isn't really a programming question, but rather a structural.
Let's suppose I have a PHP page, which is built by other PHP files' includes.
Which is the better approach:
in a switch-like statement I include the required PHP files, which contain
all the functions, and t
On Tue, Apr 14, 2009 at 4:12 AM, Per Jessen wrote:
> Tom Sparks wrote:
>
>>
>> how do I get the creation dates on a file?
>> how do I get the last access date on a file?
>>
>
> http://php.net/manual/en/function.stat.php
Or, perhaps a bit easier:
http://php.net/filemtime
http://php.net/fileatime
Tom Sparks wrote:
>
> how do I get the creation dates on a file?
> how do I get the last access date on a file?
>
http://php.net/manual/en/function.stat.php
/Per
--
Per Jessen, Zürich (14.4°C)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsu
how do I get the creation dates on a file?
how do I get the last access date on a file?
tom_a_sparks
Please avoid sending me Word or PowerPoint attachments.
but instead use OpenDocument File Formats or
use OpenOffice
http://en.wikipedia.org/wiki/OpenDocument
http://en.wikipedia.org/wiki/OpenOf
Hi,
there are two choices (example):
1) file_redirect.php?src=file/root.jpg --- shows an image
2) .htaccess --- if is requested file/root.jpg than redirect to
"xyzfile/root.jpg"
In both cases I can restrict the access to some files only.
If we talk about PHP, the file/image.jpg can be direc
Jochem Maas wrote:
Richard Heyes wrote:
Guus Ellenkamp wrote:
What encoding should a PHP file itself have (so not it's output setting).
Plain ASCII AFAIK.
huh?
I generally save my files in the same encoding as the output encoding of the
site,
this is so that literal strings are output corre
Richard Heyes wrote:
> Guus Ellenkamp wrote:
>> What encoding should a PHP file itself have (so not it's output setting).
>
> Plain ASCII AFAIK.
huh?
I generally save my files in the same encoding as the output encoding of the
site,
this is so that literal strings are output correctly.
>
--
Guus Ellenkamp wrote:
What encoding should a PHP file itself have (so not it's output setting).
Plain ASCII AFAIK.
--
Richard Heyes
0844 801 1072
http://www.websupportsolutions.co.uk
Knowledge Base and HelpDesk software
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
What encoding should a PHP file itself have (so not it's output setting).
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
What encoding should a PHP file itself have (so not it's output setting).
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On 6/14/07, dave peaachepea <[EMAIL PROTECTED]> wrote:
storeFile();
}
?>
I'm not a programmer, and I'm very new at php so im sure there are errors
and stupid logic in my code.
It would be greatly appreciated if anyone here could critique and rip apart
my code.
thank you,
-dave
Si
dave peaachepea wrote:
storeFile();
}
?>
I'm not a programmer, and I'm very new at php so im sure there are errors
and stupid logic in my code.
It would be greatly appreciated if anyone here could critique and rip apart
my code.
thank you,
-dave
A bit easier:
// Not sure where y
why don't you run it and find out. with errors turned on you will have
quickly found out if it worked or not
$filelinks=t3lib_div::_POST('file_name'); // the posting of the file name
ok Ive never seen syntax like that before, maybe some else can help,
looks like your doing this code from wit
storeFile();
}
?>
I'm not a programmer, and I'm very new at php so im sure there are errors
and stupid logic in my code.
It would be greatly appreciated if anyone here could critique and rip apart
my code.
thank you,
-dave
On Tue, April 17, 2007 4:00 pm, Otto Wyss wrote:
> I want move all database access into separate PHP files so I could use
> these files either through an Ajax call from the client or in another
> PHP files (require_once) on the server. Is this possible? What
> interface
> would
On Apr 17, 2007, at 4:00 PM, Otto Wyss wrote:
I want move all database access into separate PHP files so I could
use these files either through an Ajax call from the client or in
another PHP files (require_once) on the server. Is this possible?
What interface would be needed? Has anybody
I want move all database access into separate PHP files so I could use
these files either through an Ajax call from the client or in another
PHP files (require_once) on the server. Is this possible? What interface
would be needed? Has anybody else tried something similar?
Since I plan use
hange the PHP include path via .htaccess or with
set_include_path to have your directory tacked onto the list of
directories PHP will search for include.
>
> --
> View this message in context:
> http://www.nabble.com/Uploading-into-website-directory-for-Php-files-tf3288031.html#a9145868
>
On Feb 26, 2007, at 12:06 PM, Edward Vermillion wrote:
Or you can set a constant to the includes directory:
Ooopps... should be define('INCLUDE_DIR', '/files/include/');
forgot the last '/'...
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/un
On Feb 26, 2007, at 11:22 AM, [EMAIL PROTECTED] wrote:
Thanks alot for your response.. your information really was a help.
but now knowing that I an use a folder in my root DIR.. how do I
let PHP know where to look? For example the location lets say of
my include fold is www.example.
/Uploading-into-
website-directory-for-Php-files-tf3288031.html#a9145868
Sent from the PHP - General mailing list archive at Nabble.com.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
While I will preface this with 'You should ask Yahoo..
view
the fold on my ftp program to upload the file.. do I upload it through php
script? Can I change the path to a folder on my website?? Thank you soo
much everyone!
--
View this message in context:
http://www.nabble.com/Uploading-into-website-directory-for-Php-files-tf3288031.html#a9145868
Sent
There are search engins written in PHP available already. E.g. PHPdig.
http://www.phpdig.net/
PHPdig for example is able to index PDF and doc files (I think - see
the docs). Maybe it would also be a good idea to have a look at the
source code.
/frank
/frank
10 nov 2006 kl. 14.50 skrev Tho
You cannnot just open those files. That things that you see are not
'rubish' or whatever. Those files are in a binary format. You need to
understand the .doc format and the .pdf format. You can get this
infromation by using google and search for 'Binary word format' and so on.
Then you have to
Hi,
I am using the function fopen to open a word document, loading the
contents into a variable and then using a substr_count to count the
number of times a certain string is found, this is allowing me to search
through the file and say how many times the word appears, I can even use
str_repl
On Wed, April 26, 2006 11:18 pm, Peter Lauri wrote:
> Should I put the files outside of the web file system (outside of
> httpdocs)
> so that they can not get the file thru the web browser?
Yes.
> Or should I save the docs in a database instead and control the access
> thru
> that?
I would only
On Thu, 2006-04-27 at 00:18, Peter Lauri wrote:
> Best group member,
>
>
>
> I am creating a file system class. I will have a web based document center
> with different access roles. All users in the system will not be able to
> view the files. It will all be run thru the web tool.
>
>
>
>
Best group member,
I am creating a file system class. I will have a web based document center
with different access roles. All users in the system will not be able to
view the files. It will all be run thru the web tool.
I will have a class that is called file. That file can give an authori
Alan Schneider wrote:
> I tired sending via name-value pairs with the following but it did not work
>
> require (DIR_WS_INCLUDES . 'filenames.php?lv_user_id=$user_id');
>
> "DIR_WS_INCLUDES" is a defined constant and filenames.php is NOT a web page;
> just a php file that sets the file names to
I tired sending via name-value pairs with the following but it did not work
require (DIR_WS_INCLUDES . 'filenames.php?lv_user_id=$user_id');
"DIR_WS_INCLUDES" is a defined constant and filenames.php is NOT a web page;
just a php file that sets the file names to be used in the application.
Is th
Alan Schneider wrote:
What is the best way to pass variable values from one php file to another
thanks
Alan
$_GET is the simplest if:
The size of the variables is small, there aren't too many and whether you care
if users see it.
--
PHP General Mailing List (http://www.php.net/)
To unsubsc
What is the best way to pass variable values from one php file to another
thanks
Alan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Thank you very much. That was the problem, I didn't noticed that I don't use
the server path.
On 3/17/06, Barry <[EMAIL PROTECTED]> wrote:
>
> Karl-Heinz Christian Zeck wrote:
> > Thank you for your quick reply.
> >
> > I tried to modify the file. I removed all it's content and wrote only a
> >
Well on another note I see that you are trying to point to a local file
on a windows machine (i.e. c:\path\to\php-script), that won't work but
if you place the php script on the server it may. i am unfamiliar with
the organization you are refering to.
Karl-Heinz Christian Zeck wrote:
I canno
I cannot use such a code, because the file I'm using is added to the
element in the html page.
The guys from Horde, that created the files say this should work without any
problems, but it doesn't. If you have any other suggestions, please let me
know.
Thank you!
On 3/17/06, Jason Gerfen <[EMA
Karl-Heinz Christian Zeck wrote:
Thank you for your quick reply.
I tried to modify the file. I removed all it's content and wrote only a
single line:
alert("test");
When I refresh the main page, I get the alert message - this means the file
was loaded successfuly.
Then I tried this code: alert
Hi!
On Fri, 17 Mar 2006 17:42:51 +0200
Karl-Heinz Christian Zeck wrote:
> Thank you for your quick reply.
>
> I tried to modify the file. I removed all it's content and wrote
> only a single line:
> alert("test");
>
> When I refresh the main page, I get the alert message - this
> means the file
You will want to write PHP code to output the java-script. Because the
java-script (client side scripting) gets executed without communicating
with the server there is no PHP engine that java-script can push the PHP
through on the client machine.
So you would want to do something like:
alert
Thank you for your quick reply.
I tried to modify the file. I removed all it's content and wrote only a
single line:
alert("test");
When I refresh the main page, I get the alert message - this means the file
was loaded successfuly.
Then I tried this code: alert("");
This way it doesn't work, no
Karl-Heinz Christian Zeck wrote:
Hi everybody,
Are you allowed to do this? I mean, is the php file parsed by the PHP engine
first and a js code is generated that will be used
by the script element?
Yes
--
Smileys rule (cX.x)C --o(^_^o)
Dance for me! ^(^_^)o (o^_^)o o(^_^)^ o(^_^o)
--
PHP
Hi everybody,
Does anybody know if it's possible to specify a php file as the src
attribute of an script element in a html page.
For example:
I've installed the HORDE framework (www.horde.org) and I'm trying to make
their AJAX web client work. It seems that
this line of code causes problems. T
Thanks for the help.
Yeah problem was with php.ini file.
Entry for memory limit is 12MB in the file actually it should read 12M (not
12MB).
sanjay
www.apptility.com
Richard Lynch wrote:
On Thu, January 26, 2006 2:19 pm, sanjay wrote:
I have a strange problem while trying to run php base
have you added .php .php3 .php4 extenstions to be treated as php files?
Thanks,
Richard
On 1/27/06, sanjay <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I have a strange problem while trying to run php based applications.
>
> Lets start with phpMyAdmin, a very popular op
> headers and HTML that is coming out from the broken pages.
>
> --
> Like Music?
> http://l-i-e.com/artists.htm
I ran into this a while ago. My hosting company did some "updates" and messed
up the httpd.conf file. I eventually tracked it down to the php directives
being
On Thu, January 26, 2006 2:19 pm, sanjay wrote:
> I have a strange problem while trying to run php based applications.
>
> Lets start with phpMyAdmin, a very popular open source tool to manage
> MySQL written in php.
> I have already installed phpMyAdmin and was running fine.
> One day suddenly whe
Hi,
I have a strange problem while trying to run php based applications.
Lets start with phpMyAdmin, a very popular open source tool to manage
MySQL written in php.
I have already installed phpMyAdmin and was running fine.
One day suddenly when I pointed my browser at :
http://localhost/phpMyAdm
Hi Jay,
Yes, you can use include(); with cron.
Regards,
Rodolfo Andrade
- Original Message -
From: Jay Paulson (CE CEN)
To: php-general@lists.php.net
Sent: Friday, January 06, 2006 2:29 PM
Subject: [PHP] Included php files in a cron job?
I'm in the process of writing a PHP pr
I'm in the process of writing a PHP program that is going to be called once a
week via a cron job. I don't have a place to really test this hence the reason
why I'm asking about it here. My question is can my php program include other
php files and still get executed correctl
On Sun, November 6, 2005 1:32 pm, Ross wrote:
> Ok been looking into in and know a bit of terminology now.
>
> I have an SMB share on my mac which is my WWWROOT folder on my windows
> computer. These files have all permissions enabled so I can edit in
> dreamweaver (on mac). All I want to so is set
Ok been looking into in and know a bit of terminology now.
I have an SMB share on my mac which is my WWWROOT folder on my windows
computer. These files have all permissions enabled so I can edit in
dreamweaver (on mac). All I want to so is setup PHP/Apache so it recognises
the WWWROOT folder a
Benchmark it both ways and see.
I benched this with a 100 MiB text file (largest I could find at short
notice). Buffer used for fread() calls was 2 KiB as above.
Values are averaged over 100 runs (I would have liked to do more, but I don't
have time). All values are to 4 significant figures
Richard Lynch wrote:
On Tue, August 23, 2005 12:48 am, Jasper Bryant-Greene wrote:
Kim Steinhaug (php list) wrote:
I'm using this method, works fine with 50mb+ files :
if( $fd = fopen ($filepath, 'r')){
while(!feof($fd)) {
$buffer = fread($fd, 2048);
print $buffer;
On Tue, August 23, 2005 12:48 am, Jasper Bryant-Greene wrote:
> Kim Steinhaug (php list) wrote:
>> I'm using this method, works fine with 50mb+ files :
>>
>> if( $fd = fopen ($filepath, 'r')){
>> while(!feof($fd)) {
>> $buffer = fread($fd, 2048);
>> print $buffer;
>>
Kim Steinhaug (php list) wrote:
I'm using this method, works fine with 50mb+ files :
if( $fd = fopen ($filepath, 'r')){
while(!feof($fd)) {
$buffer = fread($fd, 2048);
print $buffer;
}
fclose ($fd);
exit;
}
Is there a reason why you assign the
- Original Message -
From: "Evert | Rooftop" <[EMAIL PROTECTED]>
To: "PHP-Users"
Sent: Monday, August 22, 2005 9:30 PM
Subject: [PHP] Files passing through
> Hi People,
>
> I want to use a PHP script to pass through a file to the browser [ right
&g
On Mon, August 22, 2005 12:30 pm, Evert | Rooftop wrote:
> I want to use a PHP script to pass through a file to the browser [
> right
> after some processing ].
> What is the fastest way to do this? I know
> echo(file_get_contents('myfile')); is not a good idea ;)
Actually, it's a Fine Idea *IF* t
Kevin Waterson wrote:
This one time, at band camp, Philip Hallstrom <[EMAIL PROTECTED]> wrote:
My guess would be because file_get_contents returns the contents as a
string. So if 'myfile' is 100mb, you're going to have to allocate 100mb
of memory to store that string while echo() spits it ba
This one time, at band camp, Philip Hallstrom <[EMAIL PROTECTED]> wrote:
> My guess would be because file_get_contents returns the contents as a
> string. So if 'myfile' is 100mb, you're going to have to allocate 100mb
> of memory to store that string while echo() spits it back out.
>
> But I'
What is the fastest way to do this? I know
echo(file_get_contents('myfile')); is not a good idea ;)
Why not?
My guess would be because file_get_contents returns the contents as a
string. So if 'myfile' is 100mb, you're going to have to allocate 100mb
of memory to store that string while ech
This one time, at band camp, Evert | Rooftop <[EMAIL PROTECTED]> wrote:
> What is the fastest way to do this? I know
> echo(file_get_contents('myfile')); is not a good idea ;)
Why not?
Kevin
--
"Democracy is two wolves and a lamb voting on what to have for lunch.
Liberty is a well-armed lamb
Hi People,
I want to use a PHP script to pass through a file to the browser [ right
after some processing ].
What is the fastest way to do this? I know
echo(file_get_contents('myfile')); is not a good idea ;)
Is fpassthrough the right choice?
maybe virtual, so it won't go through php but apac
27;t it be:
if($groupid == $id)
hth
Chris.
-Original Message-
From: Chris Grigor [mailto:[EMAIL PROTECTED]
Sent: 28 June 2005 11:24
To: PHP General
Subject: [PHP] Files
*
This e-mail has been received by the Revenue Internet
Hey all,
I am having a bash at working with flat files.
What I am trying to achieve is the following
There are 2 files with info in them,
file1 has
id,email
and file2 has
id,filename
what I am trying to achieve is open up file1 get the id and email then
open file2 and match the id of file1 t
Leif Gregory wrote:
Hello Martin,
Sunday, May 29, 2005, 9:24:00 PM, you wrote:
M> I saw files like "file.inc.php" and "file.inc"
M> What is the *.inc suffix good for ?
It's good for a lot of trouble if the webserver hasn't been set up to
parse .inc files as PHP. If it hasn't then someone can re
moving outside the webtree is the best option, where practical.
Calling the files whatever.inc.php allows you to disallow access to
.inc.php files via the apache config file.
On 6/1/05, Richard Lynch <[EMAIL PROTECTED]> wrote:
> On Tue, May 31, 2005 10:55 am, Leif Gregory said:
> > Hello Martin,
>
On 1 Jun 2005, at 06:22, Richard Lynch wrote:
You've got files that people can get executed *COMPLETELY* out of
context,
that *NOBODY* even though about being executed out of context, much
less
*TESTED* in any kind of QA process!
I can surf to http://example.com/admin.inc and who knows what
On Tue, May 31, 2005 10:55 am, Leif Gregory said:
> Hello Martin,
>
> Sunday, May 29, 2005, 9:24:00 PM, you wrote:
> M> I saw files like "file.inc.php" and "file.inc"
> M> What is the *.inc suffix good for ?
>
> It's good for a lot of trouble if the webserver hasn't been set up to
> parse .inc file
Hello Martin,
Sunday, May 29, 2005, 9:24:00 PM, you wrote:
M> I saw files like "file.inc.php" and "file.inc"
M> What is the *.inc suffix good for ?
It's good for a lot of trouble if the webserver hasn't been set up to
parse .inc files as PHP. If it hasn't then someone can request that
file in a b
le name you might see is 'file.class.php' for files
which contain (usually a single) class definitions or
'file.funcs.php' for files which just contain a 'library'
of functions.
basically name your files anyway you see fit, php
does not care - do bare in mind that yor we
[snip]
I saw files like "file.inc.php" and "file.inc"
What is the *.inc suffix good for ?
Thank you for replies.
[/snip]
Once is enough...wait for an answer.
The suffix is good for identifying files. For instance, say you have a
group of standard functions that you use in all applications.
Hi,
I saw files like "file.inc.php" and "file.inc"
What is the *.inc suffix good for ?
Thank you for replies.
Martin
1 - 100 of 354 matches
Mail list logo