dele454 schreef:
> Hi,
>
> I am modifying the apache config file on my domain to include the path to
> the Zend Framework on a specified location outside the public folder.
>
> So in my http.conf file i simply include the path to where the includes file
> is to customise the virtual host:
>
> [C
On Dec 8, 2008, at 6:47 AM, dele454 wrote:
Hi,
I am modifying the apache config file on my domain to include the
path to
the Zend Framework on a specified location outside the public folder.
So in my http.conf file i simply include the path to where the
includes file
is to customise th
Hi,
I am modifying the apache config file on my domain to include the path to
the Zend Framework on a specified location outside the public folder.
So in my http.conf file i simply include the path to where the includes file
is to customise the virtual host:
[CODE]
# To customize this VirtualH
> use a decorator pattern or wait till hell freezes over and the core devs
> actually allow the Traits functionality into php.
I must read about patterns, thanks :)
--
===
С уважением, Манылов Павел aka [R-k]
icq: 949-388-0
mailto:[EMAIL PROTECTED]
===
А ещё говорят т
Pavel schreef:
Hello, firstly, sorry for my English...
I have class:
//---
class manageClassError{
private $errorsList=array();
private function addError($ex){
$errorsList[]=$ex;
}
public function isError(){
return (bool)(count($this->errorsList));
On Thu, Aug 21, 2008 at 6:10 AM, Pavel <[EMAIL PROTECTED]> wrote:
> Hello, firstly, sorry for my English...
>
> I have class:
> //---
> class manageClassError{
>private $errorsList=array();
>
>
>private function addError($ex){
>$errorsList[]=$ex;
>}
>public function isError(
Hello, firstly, sorry for my English...
I have class:
//---
class manageClassError{
private $errorsList=array();
private function addError($ex){
$errorsList[]=$ex;
}
public function isError(){
return (bool)(count($this->errorsList));
}
public fu
> -Original Message-
> From: Wei, Alice J. [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, June 24, 2008 4:07 PM
> To: Boyd, Todd M.; php-general@lists.php.net
> Subject: RE: [PHP] Include Problem
---8<--- snip
> > I think that the variables passed to will b
.; php-general@lists.php.net
Subject: RE: [PHP] Include Problem
> -Original Message-
> From: Wei, Alice J. [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, June 24, 2008 3:51 PM
> To: Boyd, Todd M.; php-general@lists.php.net
> Subject: RE: [PHP] Include Problem
>
> Alice,
&
> -Original Message-
> From: Wei, Alice J. [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, June 24, 2008 3:51 PM
> To: Boyd, Todd M.; php-general@lists.php.net
> Subject: RE: [PHP] Include Problem
>
> Alice,
>
> If you simply need to execute a remote PHP script and
Alice,
If you simply need to execute a remote PHP script and pass variables,
you could do it behind-the-scenes with cURL or AJAX, and pass the
variables in the url (i.e.,
http://www.mysite.com/script.php?param=value). cURL is capable of
retrieving the page (read: the results of the executed script
> -Original Message-
> From: Wei, Alice J. [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, June 24, 2008 3:11 PM
> To: Boyd, Todd M.; php-general@lists.php.net
> Subject: RE: [PHP] Include Problem
>
>
> From: Boyd, Todd M.
From: Boyd, Todd M. [EMAIL PROTECTED]
Sent: Tuesday, June 24, 2008 2:53 PM
To: php-general@lists.php.net; Wei, Alice J.
Subject: RE: [PHP] Include Problem
>
> > If you are trying to include() a remote file via HTTP, the remote
> > server
> -Original Message-
> From: Boyd, Todd M. [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, June 24, 2008 1:48 PM
> To: Wei, Alice J.
> Cc: php-general@lists.php.net
> Subject: RE: [PHP] Include Problem
>
> > -Original Message-
> > From: Wei, Alice J. [
> -Original Message-
> From: Wei, Alice J. [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, June 24, 2008 1:39 PM
> To: Boyd, Todd M.
> Cc: php-general@lists.php.net
> Subject: RE: [PHP] Include Problem
>
> Hi,
>
> Thanks for the clarifcations.
> I have
: php-general@lists.php.net
Subject: RE: [PHP] Include Problem
> -Original Message-
> From: Wei, Alice J. [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, June 24, 2008 1:04 PM
> To: Daniel Brown
> Cc: Jim Lucas; Jay Blanchard; php-general@lists.php.net
> Subject: RE: [PH
> -Original Message-
> From: Wei, Alice J. [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, June 24, 2008 1:04 PM
> To: Daniel Brown
> Cc: Jim Lucas; Jay Blanchard; php-general@lists.php.net
> Subject: RE: [PHP] Include Problem
>
> _
From: Daniel Brown [EMAIL PROTECTED]
Sent: Tuesday, June 24, 2008 1:59 PM
To: Wei, Alice J.
Cc: Jim Lucas; Jay Blanchard; php-general@lists.php.net
Subject: Re: [PHP] Include Problem
On Tue, Jun 24, 2008 at 1:55 PM, Wei, Alice J. <[EMAIL PROTECTED]>
On Tue, Jun 24, 2008 at 1:55 PM, Wei, Alice J. <[EMAIL PROTECTED]> wrote:
> Hi,
>
> This is the error I got:
>
> Warning: include() [function.include]: URL file-access is disabled in the
> server configuration in C:\Inetpub\wwwroot\read.php on line 29
> Warning: include(http://www.mysite.com/calc
=
Alice Wei
MIS 2009
School of Library and Information Science
Indiana University Bloomington
[EMAIL PROTECTED]
From: Daniel Brown [EMAIL PROTECTED]
Sent: Tuesday, June 24, 2008 1:51 PM
To: Jim Lucas
Cc: Wei, Alice J.; Jay Blanchard; php-general@lists.php.n
On Tue, Jun 24, 2008 at 1:32 PM, Jim Lucas <[EMAIL PROTECTED]> wrote:
>
> Make sure you have these enabled
>
> allow_url_fopen = On
> allow_url_include = On
In addition to what Jay and Jim already correctly suggested, you
may also want to try this at the top of your files to see if there are
a
From: Jim Lucas [EMAIL PROTECTED]
Sent: Tuesday, June 24, 2008 1:32 PM
To: Wei, Alice J.
Cc: Jay Blanchard; php-general@lists.php.net
Subject: Re: [PHP] Include Problem
Wei, Alice J. wrote:
>
> From: Jay Bla
Wei, Alice J. wrote:
From: Jay Blanchard [EMAIL PROTECTED]
Sent: Tuesday, June 24, 2008 1:10 PM
To: Wei, Alice J.; php-general@lists.php.net
Subject: RE: [PHP] Include Problem
[snip]
foreach ($lines2 as $line_num => $line2) {
echo "Line #{$
From: Jay Blanchard [EMAIL PROTECTED]
Sent: Tuesday, June 24, 2008 1:10 PM
To: Wei, Alice J.; php-general@lists.php.net
Subject: RE: [PHP] Include Problem
[snip]
foreach ($lines2 as $line_num => $line2) {
echo "Line #{$line_num} : " . htm
[snip]
foreach ($lines2 as $line_num => $line2) {
echo "Line #{$line_num} : " . htmlspecialchars($line2) .
"";
}
include ('http://www.mysite.com/calculate.php');
My problem is that when I use a blank file that only has
http://www.mysite.com/calculate.php'; ?>
The code works and displays
Hi, Guys:
Here is a strange scenario that I am attempting to do. I am trying to
extract some information from an external source on a different server, and
then include some of the external calculations as I am running scripts on a
local machine.
Below is my script snippet:
// Get
On Sat, Apr 12, 2008 at 11:06 PM, Bojan Tesanovic <[EMAIL PROTECTED]> wrote:
>
> On Apr 12, 2008, at 8:28 AM, GoWtHaM NaRiSiPaLli wrote:
>
>
> > if(file_exists("../common/config.ini")) {
> > $configData = parse_ini_file("../common/config.ini");
> > } else {
> >
>
>
> Try changing above code so i
On Apr 12, 2008, at 8:28 AM, GoWtHaM NaRiSiPaLli wrote:
if(file_exists("../common/config.ini")) {
$configData = parse_ini_file("../common/config.ini");
} else {
Try changing above code so it reads
if(file_exists("common/config.ini")) {
$configData = parse_ini_file("common/config.ini");
Hi PHP Experts,
I am writing a wrapper over some existing code and when I hoped that I
almost successfully completed it, I ran into the wall.
The wrapper file is in /var/www/sites/project/ as xyz.php and the file
includes some of the files from various paths.
Starting with
==
// Impor
I appreciate the help guys. I don't understand what's going on. Here's
what I've tried since posting:
Copied over the PHP binaries and php.ini from my old server to my new one.
No luck.
Copied over the phpMyAdmin from my old server to my new one. No luck.
I've double-checked all permission
Lester Caine <[EMAIL PROTECTED]> wrote:
> Daniel Brown wrote:
> > On Mon, Apr 7, 2008 at 12:24 PM, Noah Spitzer-Williams <[EMAIL PROTECTED]>
> > wrote:
> >> Here's the error I get:
> >>
> >> Warning: include(.\file.inc.php) [function.include]: failed to open stream:
> >> No such file or dir
On Mon, Apr 7, 2008 at 1:05 PM, Lester Caine <[EMAIL PROTECTED]> wrote:
>
> People seem to be missing the point here. These are PUBLIC applications
> that are failing to work for Noah. He should not need to re-write PHPMyAdmin
> in order to get it to work?
>
> Next people will be saying that we s
Daniel Brown wrote:
On Mon, Apr 7, 2008 at 12:24 PM, Noah Spitzer-Williams <[EMAIL PROTECTED]>
wrote:
Here's the error I get:
Warning: include(.\file.inc.php) [function.include]: failed to open stream:
No such file or directory in C:\Inetpub\httpdocs\test.php on line 3
Warning: include() [fun
On Mon, Apr 7, 2008 at 12:24 PM, Noah Spitzer-Williams <[EMAIL PROTECTED]>
wrote:
> Here's the error I get:
>
> Warning: include(.\file.inc.php) [function.include]: failed to open stream:
> No such file or directory in C:\Inetpub\httpdocs\test.php on line 3
>
> Warning: include() [function.include
age you're receiving?
>
> Also, what happens if you create two simple files in the same
> directory like so:
> // file1.php
> echo "Okay.\n";
> ?>
>
> // file2.php
> include(dirname(__FILE__).'/file1.php');
> ?>
>
> --
>
> Ask me about:
> Dedicated servers starting @ $59.99/mo., VPS starting @ $19.99/mo.,
> and shared hosting starting @ $2.50/mo.
> Unmanaged, managed, and fully-managed!
>
Wolf wrote:
Daniel Brown <[EMAIL PROTECTED]> wrote:
On Mon, Apr 7, 2008 at 11:52 AM, Wolf <[EMAIL PROTECTED]> wrote:
Noah,
Looks like you need to be deciding on whether or not you are on windoze or
*Nix.
If on Windoze, your include path is \
If on *Nix, your include path is /
Noti
Daniel Brown <[EMAIL PROTECTED]> wrote:
> On Mon, Apr 7, 2008 at 11:52 AM, Wolf <[EMAIL PROTECTED]> wrote:
> >
> > Noah,
> >
> > Looks like you need to be deciding on whether or not you are on windoze or
> > *Nix.
> >
> > If on Windoze, your include path is \
> > If on *Nix, your includ
On Mon, Apr 7, 2008 at 11:52 AM, Wolf <[EMAIL PROTECTED]> wrote:
>
> Noah,
>
> Looks like you need to be deciding on whether or not you are on windoze or
> *Nix.
>
> If on Windoze, your include path is \
> If on *Nix, your include path is /
>
> Notice the direction of the slashes and code app
On Mon, Apr 7, 2008 at 11:52 AM, Wolf <[EMAIL PROTECTED]> wrote:
> Noah,
>
> Looks like you need to be deciding on whether or not you are on windoze or
> *Nix.
>
> If on Windoze, your include path is \
> If on *Nix, your include path is /
>
> Notice the direction of the slashes and code appropriat
c.php");
>
> That's pretty vague, Noah. Is it unable to locate the file?
> What's the error message you're receiving?
>
> Also, what happens if you create two simple files in the same
> directory like so:
> // file1.php
> echo "Okay.\n&qu
On Mon, Apr 7, 2008 at 11:24 AM, Stut <[EMAIL PROTECTED]> wrote:
>
> To the OP: Check that your include_path contains '.', if it doesn't add it
> and see if that fixes your problem.
He has . in the include path
On Sun, Apr 6, 2008 at 2:17 PM, Noah Spitzer-Williams <[EMAIL PROTECTED]> wro
On Mon, Apr 7, 2008 at 11:20 AM, Philip Thompson <[EMAIL PROTECTED]> wrote:
>
> It's Windows. From experience, I know that it provides little to no error
> reporting in some instances. For example, if you're missing a semi-colon and
> you have error reporting turned on, all you get is a blank page
Philip Thompson wrote:
On Apr 7, 2008, at 9:36 AM, Daniel Brown wrote:
On Sun, Apr 6, 2008 at 5:17 PM, Noah Spitzer-Williams
<[EMAIL PROTECTED]> wrote:
This works:
include("file.inc.php");
This doesn't:
include("./file.inc.php");
That's pretty vague, Noah. Is it unable to locate the
On Apr 7, 2008, at 9:36 AM, Daniel Brown wrote:
On Sun, Apr 6, 2008 at 5:17 PM, Noah Spitzer-Williams <[EMAIL PROTECTED]
> wrote:
This works:
include("file.inc.php");
This doesn't:
include("./file.inc.php");
That's pretty vague, Noah. Is it unable to locate the file?
What's the error
On Sun, Apr 6, 2008 at 5:17 PM, Noah Spitzer-Williams <[EMAIL PROTECTED]> wrote:
> This works:
>include("file.inc.php");
>
> This doesn't:
>include("./file.inc.php");
That's pretty vague, Noah. Is it unable to locate the file?
What's the error message you're receiving?
Also, wha
Casey -- nope. the include statement is being issues from the parent page.
both files are in the same directory.
Nitsan -- the problem is apps like phpMyAdmin are littered with
include("./file.inc.php"); i'd have to replace all those to use full
paths. it's not a good idea from a servicability
On Sun, Apr 6, 2008 at 2:17 PM, Noah Spitzer-Williams <[EMAIL PROTECTED]> wrote:
> This works:
>include("file.inc.php");
>
> This doesn't:
>include("./file.inc.php");
>
> I can't figure it out! PHPMyAdmin uses "./" so it's obviously not working.
>
> Here's my environment:
>Win2003 S
This works:
include("file.inc.php");
This doesn't:
include("./file.inc.php");
I can't figure it out! PHPMyAdmin uses "./" so it's obviously not working.
Here's my environment:
Win2003 Server w/ IIS 6
PHP 5.2.5 setup as ISAPI
All PHP and httpdoc directories have read, write, and
[EMAIL PROTECTED] wrote:
Hi,
I'm using include to display a html file from a different directory to
the current working directory.
This page displays, but is missing all the CSS formating.
I'm assuming this is because it can't find the CSS because it's in the
different directory to the CWD.
Hi,
I'm using include to display a html file from a different directory to
the current working directory.
This page displays, but is missing all the CSS formating.
I'm assuming this is because it can't find the CSS because it's in the
different directory to the CWD.
So, the easy way out
on 12/2/07 2:22 AM, wmac at [EMAIL PROTECTED] wrote:
>
> Hello,
>
> I have been working with PHP 5.0 and my "register_globals" has always been
> Off since PHP 4.1
>
> Today I upgraded to PHP 5.2 and now neither of my include "config.php" work.
>
> Neither of the variables defined in include fi
I never never thought my config.php might have problem. I have used
this config.php for almost 6 years and never had problem (the first
time I have forgotten to add it 6 years ago because I had migrated
from ASP. I have copied this wrong config.php to some other projects.
Have you ever migrated
> -Original Message-
> From: wmac [mailto:[EMAIL PROTECTED]
> Sent: Sunday, December 02, 2007 6:35 AM
> To: php-general@lists.php.net
> Subject: Re: [PHP] include "config.php" does not work anymore after PHP
> 5.2
>
>
> Thank you People. Someone
Thank you People. Someone mentioned the problem.
It is the starting PHP tag.
I never never thought my config.php might have problem. I have used
this config.php for almost 6 years and never had problem (the first
time I have forgotten to add it 6 years ago because I had migrated
from ASP. I have
Okay... show us config.php.
On Dec 1, 2007 11:22 PM, wmac <[EMAIL PROTECTED]> wrote:
>
> Hello,
>
> I have been working with PHP 5.0 and my "register_globals" has always been
> Off since PHP 4.1
>
> Today I upgraded to PHP 5.2 and now neither of my include "config.php" work.
>
> Neither of the var
Hello,
I have been working with PHP 5.0 and my "register_globals" has always been
Off since PHP 4.1
Today I upgraded to PHP 5.2 and now neither of my include "config.php" work.
Neither of the variables defined in include files are even included. Anyone
knows what has been changed and what can I
On Thu, June 28, 2007 8:39 am, Marek wrote:
> It's not really a limitation but a personal goal.
>
> I develop a small public script that is meant to be very compact and
> portable. All of its functionality fits nicely in one php file. But at
> the moment it requires a bunch of tiny icons. I would l
On Fri, 2007-06-29 at 00:20 -0400, Robert Cummings wrote:
> On Thu, 2007-06-28 at 22:56 -0500, Larry Garfield wrote:
> > Skip raster images and just output the images as SVG. OK, only works in
> > Firefox 1.5+, but it would get you everything in one file without bloated
> > encoding. :-)
>
> No
On Thu, 2007-06-28 at 22:56 -0500, Larry Garfield wrote:
> Skip raster images and just output the images as SVG. OK, only works in
> Firefox 1.5+, but it would get you everything in one file without bloated
> encoding. :-)
No need to have bloated encoding.. just have the file check itself for a
Skip raster images and just output the images as SVG. OK, only works in
Firefox 1.5+, but it would get you everything in one file without bloated
encoding. :-)
On Thursday 28 June 2007, Marek wrote:
> It's not really a limitation but a personal goal.
>
> I develop a small public script that is
Jim Moseby wrote:
>
>> ...it is more handy to have just one file instead of a
>> folder system.
>
> Thats why $deity gave us gzip. ;-)
>
whihc makes me think ...
maybe the phar extension could be a good option?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http:/
>...it is more handy to have just one file instead of a
> folder system.
Thats why $deity gave us gzip. ;-)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Jochem Maas wrote:
> yes. well done for taking the time to search:
And thank you for those links and a lovely sarcastic comment.
If i had known to search for "base64", i would not have asked, really.
Other keywords like "image in php jpg gif png include embed serialize"
in various combinations
On Thu, 2007-06-28 at 16:39 +0300, Marek wrote:
> It's not really a limitation but a personal goal.
>
> I develop a small public script that is meant to be very compact and
> portable. All of its functionality fits nicely in one php file. But at
> the moment it requires a bunch of tiny icons. I
It's not really a limitation but a personal goal.
I develop a small public script that is meant to be very compact and
portable. All of its functionality fits nicely in one php file. But at
the moment it requires a bunch of tiny icons. I would like to eliminate
this and just have a single file
Marek wrote:
> Hi,
>
> I want to display images with my php script but i want it to be just ONE
> file. I can't have separate image files or folders etc.
>
> I suppose I could get this result by writing a function that generates
> the right image by drawing it from scratch. But that way I can't h
Marek wrote:
I want to display images with my php script but i want it to be just ONE
file. I can't have separate image files or folders etc.
Why not? This seems like a rather daft limitation.
I suppose I could get this result by writing a function that generates
the right image by drawing it
Hi,
I want to display images with my php script but i want it to be just ONE
file. I can't have separate image files or folders etc.
I suppose I could get this result by writing a function that generates
the right image by drawing it from scratch. But that way I can't have
any photos.
My q
On 5/25/07, Richard Davey <[EMAIL PROTECTED]> wrote:
Hi Tijnema,
Friday, May 25, 2007, 5:58:46 PM, you wrote:
> On 5/25/07, Robert Cummings <[EMAIL PROTECTED]> wrote:
>> Very. Each directory contains very specific types of code/content.
>> Tracking down where any given function, class, custom t
Hi Tijnema,
Friday, May 25, 2007, 5:58:46 PM, you wrote:
> On 5/25/07, Robert Cummings <[EMAIL PROTECTED]> wrote:
>> Very. Each directory contains very specific types of code/content.
>> Tracking down where any given function, class, custom tag, behaviour,
>> etc is defined is extremely simple.
>
On 5/25/07, Robert Cummings <[EMAIL PROTECTED]> wrote:
On Fri, 2007-05-25 at 18:20 +0200, Tijnema wrote:
> On 5/25/07, Robert Cummings <[EMAIL PROTECTED]> wrote:
> > On Fri, 2007-05-25 at 18:04 +0200, Tijnema wrote:
> > > On 5/25/07, Robert Cummings <[EMAIL PROTECTED]> wrote:
> > > > On Fri, 2007
On Fri, 2007-05-25 at 18:20 +0200, Tijnema wrote:
> On 5/25/07, Robert Cummings <[EMAIL PROTECTED]> wrote:
> > On Fri, 2007-05-25 at 18:04 +0200, Tijnema wrote:
> > > On 5/25/07, Robert Cummings <[EMAIL PROTECTED]> wrote:
> > > > On Fri, 2007-05-25 at 17:07 +0200, Tijnema wrote:
> > > > > I like to
On 5/25/07, Robert Cummings <[EMAIL PROTECTED]> wrote:
On Fri, 2007-05-25 at 18:04 +0200, Tijnema wrote:
> On 5/25/07, Robert Cummings <[EMAIL PROTECTED]> wrote:
> > On Fri, 2007-05-25 at 17:07 +0200, Tijnema wrote:
> > > I like to keep it simple, just like this:
> > > /
> > > /data
> > > /
On Fri, 2007-05-25 at 18:04 +0200, Tijnema wrote:
> On 5/25/07, Robert Cummings <[EMAIL PROTECTED]> wrote:
> > On Fri, 2007-05-25 at 17:07 +0200, Tijnema wrote:
> > > I like to keep it simple, just like this:
> > > /
> > > /data
> > > /http
> > > /project1
> > > /includes
> > >
On 5/25/07, Robert Cummings <[EMAIL PROTECTED]> wrote:
On Fri, 2007-05-25 at 17:07 +0200, Tijnema wrote:
> On 5/25/07, Edward Kay <[EMAIL PROTECTED]> wrote:
> >
> > > -Original Message-
> > > From: Tijnema [mailto:[EMAIL PROTECTED]
> > > > >
> > > > > It's just the way you write script, m
On Fri, 2007-05-25 at 17:07 +0200, Tijnema wrote:
> On 5/25/07, Edward Kay <[EMAIL PROTECTED]> wrote:
> >
> > > -Original Message-
> > > From: Tijnema [mailto:[EMAIL PROTECTED]
> > > > >
> > > > > It's just the way you write script, my included files contain only
> > > > > functions & varia
On 5/25/07, Edward Kay <[EMAIL PROTECTED]> wrote:
> -Original Message-
> From: Tijnema [mailto:[EMAIL PROTECTED]
> > >
> > > It's just the way you write script, my included files contain only
> > > functions & variables, no executing code. 99% I have a class around
> > > it.
> > > If you
> -Original Message-
> From: Tijnema [mailto:[EMAIL PROTECTED]
> > >
> > > It's just the way you write script, my included files contain only
> > > functions & variables, no executing code. 99% I have a class around
> > > it.
> > > If you write it like that, than there's no problem with ex
At 2:46 PM +0100 5/25/07, Richard Davey wrote:
Hi Tedd,
Friday, May 25, 2007, 2:42:34 PM, you wrote:
At 3:28 PM +0100 5/23/07, Richard Davey wrote:
if ($_POST['status_code'] == 'C')
^^
Read-up on the if/else structure and comparison operators. You'd never
use a
On Fri, 2007-05-25 at 16:17 +0200, Tijnema wrote:
> On 5/25/07, Edward Kay <[EMAIL PROTECTED]> wrote:
> > Why are your include files in your web root in the first place? Move them
> > elsewhere on your filesystem and then it's not even possible to access them
> > via the web.
> >
> > Edward
> >
> O
On 5/25/07, Edward Kay <[EMAIL PROTECTED]> wrote:
> -Original Message-
> From: Tijnema [mailto:[EMAIL PROTECTED]
> Sent: 25 May 2007 15:00
> To: tedd
> Cc: Kevin Murphy; Stephen; php
> Subject: Re: [PHP] Include file questions
>
>
> On 5/25/07, tedd &l
At 9:49 AM -0400 5/25/07, Robert Cummings wrote:
On Fri, 2007-05-25 at 09:42 -0400, tedd wrote:
At 3:28 PM +0100 5/23/07, Richard Davey wrote:
>
>
>if ($_POST['status_code'] == 'C')
> ^^
>
>Read-up on the if/else structure and comparison operators. You'd never
>
> -Original Message-
> From: Tijnema [mailto:[EMAIL PROTECTED]
> Sent: 25 May 2007 15:00
> To: tedd
> Cc: Kevin Murphy; Stephen; php
> Subject: Re: [PHP] Include file questions
>
>
> On 5/25/07, tedd <[EMAIL PROTECTED]> wrote:
> > At 1:55 PM -0700
On Fri, 2007-05-25 at 16:00 +0200, Tijnema wrote:
> On 5/25/07, tedd <[EMAIL PROTECTED]> wrote:
> > At 1:55 PM -0700 5/23/07, Kevin Murphy wrote:
> > >.inc files have a disadvantage in that if you view the file:
> > >
> > >http://www.yoursite.com/file.inc
> > >
> > >you can see the php code. I pref
On 5/25/07, tedd <[EMAIL PROTECTED]> wrote:
At 1:55 PM -0700 5/23/07, Kevin Murphy wrote:
>.inc files have a disadvantage in that if you view the file:
>
>http://www.yoursite.com/file.inc
>
>you can see the php code. I prefer not to use those just on the off
>chance that someone can see my code a
On Fri, 2007-05-25 at 09:42 -0400, tedd wrote:
> At 3:28 PM +0100 5/23/07, Richard Davey wrote:
> >
> >
> >if ($_POST['status_code'] == 'C')
> > ^^
> >
> >Read-up on the if/else structure and comparison operators. You'd never
> >use a single equals sign in this example.
>
Hi Tedd,
Friday, May 25, 2007, 2:42:34 PM, you wrote:
> At 3:28 PM +0100 5/23/07, Richard Davey wrote:
>>
>>
>>if ($_POST['status_code'] == 'C')
>> ^^
>>
>>Read-up on the if/else structure and comparison operators. You'd never
>>use a single equals sign in this example.
At 3:28 PM +0100 5/23/07, Richard Davey wrote:
if ($_POST['status_code'] == 'C')
^^
Read-up on the if/else structure and comparison operators. You'd never
use a single equals sign in this example.
Rich:
Read up on different font sizes that people use and you'll nev
At 1:55 PM -0700 5/23/07, Kevin Murphy wrote:
.inc files have a disadvantage in that if you view the file:
http://www.yoursite.com/file.inc
you can see the php code. I prefer not to use those just on the off
chance that someone can see my code and use that as the basis for
figuring out a way
On Wed, May 23, 2007 10:53 am, Daniel Brown wrote:
> don't need a space in your include command. Just type it out as if it
> were
> a function: include('complete_save.php');
You don't need the parens either -- It's NOT a function at all.
It's a language construct.
The space should probably be l
On Wed, May 23, 2007 9:24 am, Dan Shirah wrote:
> Okay, I think I'm doing everything right, but for whatever reason my
> include
> isn't working.
>
> echo $_POST['status_code'];
Perhaps there is some whitespace before/after the 'C'...
echo "'$_POST[status_code]'\n";
You should then see some whi
On Wed, May 23, 2007 3:48 pm, Stephen wrote:
> 1) Does the filename extension matter? I prefer *.inc? It seems to
> work fine, but I only see others using *.php
>From a strictly "will it work" stand-point, the extension can be
anything you want or none at all.
HOWEVER, there are various security
Stephen escribió:
1) Does the filename extension matter? I prefer *.inc? It seems to work fine,
but I only see others using *.php
2) Does the include file need an opening ?
Not big issues, but I am curious.
Thanks
Stephen
If you use .inc extension you will have to modi
Kevin Murphy <[EMAIL PROTECTED]> wrote: .inc files have a disadvantage in that
if you view the file:
http://www.yoursite.com/file.inc
you can see the php code. I prefer not to use those just on the off chance
that someone can see my code and use that as the basis for figuring out a wa
.inc files have a disadvantage in that if you view the file:
http://www.yoursite.com/file.inc
you can see the php code. I prefer not to use those just on the off
chance that someone can see my code and use that as the basis for
figuring out a way to exploit it (especially true of password fi
1) Does the filename extension matter? I prefer *.inc? It seems to work fine,
but I only see others using *.php
2) Does the include file need an opening ?
Not big issues, but I am curious.
Thanks
Stephen
Thank you for all of the quick responses. I guess jumping between
ColdFusion, PHP and Informix all day long got the better of me.
Thanks again!
Dan
On 5/23/07, Daniel Brown <[EMAIL PROTECTED]> wrote:
On 5/23/07, Greg Donald <[EMAIL PROTECTED]> wrote:
>
> On 5/23/07, Tijnema <[EMAIL PROTECTE
On 5/23/07, Greg Donald <[EMAIL PROTECTED]> wrote:
On 5/23/07, Tijnema <[EMAIL PROTECTED]> wrote:
> include is a control structure, I believe it isn't required, but
> preferred to use the include without (), like this:
> include "complete_save.php";
What variable or escape sequence are you inte
On 5/23/07, Tijnema <[EMAIL PROTECTED]> wrote:
include is a control structure, I believe it isn't required, but
preferred to use the include without (), like this:
include "complete_save.php";
What variable or escape sequence are you interpolating in that double
quoted string?
include 'complet
On 5/23/07, Daniel Brown <[EMAIL PROTECTED]> wrote:
On 5/23/07, Jim Lucas <[EMAIL PROTECTED]> wrote:
>
> Dan Shirah wrote:
> > Okay, I think I'm doing everything right, but for whatever reason my
> > include
> > isn't working.
> >
> > > echo $_POST['status_code'];
> > if ($_POST['status_code'] =
101 - 200 of 977 matches
Mail list logo