Hi,it outputs a corrupt image (I think the function imagepng)Am 30.05.2013, 11:17 Uhr, schrieb Alex Pojarsky divine.ra...@gmail.com:Hey.Afaik - only in case if your PHP process instance exeeds allowed memory limit.Other then this - explain how does it fail exactly. Any error messages? Errorous
Is the echo $mySQL_user; inside of a function? I believe you'll
need to say global $mySQL_user; to gain access to it if so.
On 29 May 2013 12:39, Ron Piggott ron.pigg...@actsministries.org wrote:
Good morning all:
I have recently purchased a computer and am using it as a dedicated server.
What do your performance measurements show so you have actual data
comparisons to make a valid decsion?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Tue, Aug 28, 2012 at 3:49 AM, Adam Richardson simples...@gmail.com wrote:
On Mon, Aug 27, 2012 at 6:54 PM, Matijn Woudt tijn...@gmail.com wrote:
On Mon, Aug 27, 2012 at 10:56 PM, Haluk Karamete
halukkaram...@gmail.com wrote:
Now, the question is... should you use a global include that
On Tue, Aug 28, 2012 at 4:39 AM, Matijn Woudt tijn...@gmail.com wrote:
First of all, I believe [A] PHP is smart enough to not generate bytecode
for functions that are not used in the current file. Think about the
fact that you can write a function with errors, which will run fine
until you
On Tue, Aug 28, 2012 at 7:39 AM, Matijn Woudt tijn...@gmail.com wrote:
On Tue, Aug 28, 2012 at 3:49 AM, Adam Richardson simples...@gmail.com wrote:
On Mon, Aug 27, 2012 at 6:54 PM, Matijn Woudt tijn...@gmail.com wrote:
On Mon, Aug 27, 2012 at 10:56 PM, Haluk Karamete
halukkaram...@gmail.com
On Tue, Aug 28, 2012 at 6:55 PM, David Harkness
davi...@highgearmedia.com wrote:
On Tue, Aug 28, 2012 at 4:39 AM, Matijn Woudt tijn...@gmail.com wrote:
First of all, I believe [A] PHP is smart enough to not generate bytecode
for functions that are not used in the current file. Think about the
On Tue, Aug 28, 2012 at 7:18 PM, Adam Richardson simples...@gmail.com wrote:
On Tue, Aug 28, 2012 at 7:39 AM, Matijn Woudt tijn...@gmail.com wrote:
On Tue, Aug 28, 2012 at 3:49 AM, Adam Richardson simples...@gmail.com
wrote:
On Mon, Aug 27, 2012 at 6:54 PM, Matijn Woudt tijn...@gmail.com
On Tue, Aug 28, 2012 at 3:28 PM, Matijn Woudt tijn...@gmail.com wrote:
On Tue, Aug 28, 2012 at 7:18 PM, Adam Richardson simples...@gmail.com wrote:
Finally, you're the first one that actually has measured something.
You should redo your test with real world files, because in real world
On Tue, Aug 28, 2012 at 12:11 PM, Matijn Woudt tijn...@gmail.com wrote:
On Tue, Aug 28, 2012 at 6:55 PM, David Harkness
davi...@highgearmedia.com wrote:
On Tue, Aug 28, 2012 at 4:39 AM, Matijn Woudt tijn...@gmail.com wrote:
First of all, I believe [A] PHP is smart enough to not generate
On Mon, Aug 27, 2012 at 10:56 PM, Haluk Karamete
halukkaram...@gmail.com wrote:
With this question, I aim to understand the inner workings of PHP a
little better.
Assume that you got a 50K library. The library is loaded with a bunch
of handy functions that you use here and there. Also assume
On Mon, Aug 27, 2012 at 6:54 PM, Matijn Woudt tijn...@gmail.com wrote:
On Mon, Aug 27, 2012 at 10:56 PM, Haluk Karamete
halukkaram...@gmail.com wrote:
Now, the question is... should you use a global include that points to
this library - across the board - so that ALL the pages ( including
On 20 Nov 2011 at 23:46, Tamara Temple tamouse.li...@tamaratemple.com wrote:
Tim Streater t...@clothears.org.uk wrote:
At the moment I'm using an instance of apache to run PHP scripts, as
and when required via AJAX. Having got some understanding of web
sockets, I'm minded to look at having
On Mon, Nov 21, 2011 at 2:56 AM, Tim Streater t...@clothears.org.uk wrote:
On 20 Nov 2011 at 23:46, Tamara Temple tamouse.li...@tamaratemple.com wrote:
Tim Streater t...@clothears.org.uk wrote:
At the moment I'm using an instance of apache to run PHP scripts, as
and when required via AJAX.
On 21 Nov 2011 at 11:10, Tommy Pham tommy...@gmail.com wrote:
On Mon, Nov 21, 2011 at 2:56 AM, Tim Streater t...@clothears.org.uk wrote:
I'm looking for confirmation that:
include $fn;
is an allowed form of the include statement.
RTFM [1] example #6 ;)
[1]
Tim Streater t...@clothears.org.uk wrote:
I'm looking for confirmation that:
include $fn;
is an allowed form of the include statement.
Yes, it is definitely allowed. The syntactic sugar of using parens
around the include subject is optional, as it is in other parts of php
as well. That
On Sat, Nov 19, 2011 at 2:16 PM, Tim Streater t...@clothears.org.uk wrote:
At the moment I'm using an instance of apache to run PHP scripts, as and when
required via AJAX. Having got some understanding of web sockets, I'm minded
to look at having a small server to execute these functions as
On 20 Nov 2011 at 10:36, Tommy Pham tommy...@gmail.com wrote:
I think you're approaching this the wrong way.
1) have a clear understanding of PHP - syntax, capabilities, etc.
That's what I'm doing - gathering information about bits of PHP that I've not
used (or not used very much) before to
On Mon, Nov 21, 2011 at 3:34 AM, Tim Streater t...@clothears.org.uk wrote:
On 20 Nov 2011 at 10:36, Tommy Pham tommy...@gmail.com wrote:
I think you're approaching this the wrong way.
1) have a clear understanding of PHP - syntax, capabilities, etc.
That's what I'm doing - gathering
Tim Streater t...@clothears.org.uk wrote:
At the moment I'm using an instance of apache to run PHP scripts, as
and when required via AJAX. Having got some understanding of web
sockets, I'm minded to look at having a small server to execute these
functions as required. The scripts, some 50 or
On Sun, Nov 20, 2011 at 1:34 PM, Tim Streater t...@clothears.org.uk wrote:
On 20 Nov 2011 at 10:36, Tommy Pham tommy...@gmail.com wrote:
I think you're approaching this the wrong way.
1) have a clear understanding of PHP - syntax, capabilities, etc.
That's what I'm doing - gathering
On Sun, Nov 20, 2011 at 4:44 PM, Tommy Pham tommy...@gmail.com wrote:
On Sun, Nov 20, 2011 at 1:34 PM, Tim Streater t...@clothears.org.uk wrote:
On 20 Nov 2011 at 10:36, Tommy Pham tommy...@gmail.com wrote:
And here's another question. Can a child forked by pcntl_fork() use a socket
that the
On Wed, 3 Nov 2010 17:59:06 +0800, David Nelson
comme...@traduction.biz wrote:
Hi, :-)
I'm making a child theme for WordPress. I need to rewrite one
function
defined in ../sometheme/functions/actions.php and put that
rewritten
function in
You can check with function_exists to see if a function is already defined.
If not, create it.
Regards
Peter
On Nov 3, 2010 11:40 AM, David Nelson comme...@traduction.biz wrote:
Hi Thijs, :-)
On Wed, Nov 3, 2010 at 18:18, Thijs Lensselink d...@lenss.nl wrote:
As far as I know it is not
Hi Peter, :-)
On Wed, Nov 3, 2010 at 18:44, Peter Lind peter.e.l...@gmail.com wrote:
You can check with function_exists to see if a function is already defined.
If not, create it.
The function is definitely already defined, I just need to replace it
without touching the file in which it's
That's not going to happen. My point was you could check in the original
file if the function is defined and if not then define it.
On Nov 3, 2010 11:55 AM, David Nelson comme...@traduction.biz wrote:
Hi Peter, :-)
On Wed, Nov 3, 2010 at 18:44, Peter Lind peter.e.l...@gmail.com wrote:
You can
Hi, :-)
On Wed, Nov 3, 2010 at 19:29, Peter Lind peter.e.l...@gmail.com wrote:
That's not going to happen. My point was you could check in the original
file if the function is defined and if not then define it.
OK, thanks, Thijs and Peter, it looks like I'm trying to do something
that is not
On Wed, 3 Nov 2010 19:53:52 +0800, David Nelson
comme...@traduction.biz wrote:
Hi, :-)
On Wed, Nov 3, 2010 at 19:29, Peter Lind peter.e.l...@gmail.com
wrote:
That's not going to happen. My point was you could check in the
original
file if the function is defined and if not then define it.
On Thu, 2010-11-04 at 00:00 +0800, David Nelson wrote:
Hi Thijs, :-)
On Wed, Nov 3, 2010 at 20:38, Thijs Lensselink d...@lenss.nl wrote:
I re-read your original post. And noticed you include the function inside
your child action.php
Is there a special reason for that? You want to
Hi guys, :-)
Just FYI, I got this answer from the theme dev:
David,
You don't need the include statement. If you create your function in
wp-content/themes/suffusion-child/functions.php it will get
automatically included.
Secondly, using the same function name wouldn't work, because it would
On Nov 2, 2010, at 12:37 AM, Nathan Nobbe wrote:
On Mon, Nov 1, 2010 at 11:22 PM, Karl DeSaulniers
k...@designdrumm.com wrote:
I need to basically grab the source of the page as text. Then I can
do a replace() on the link tag. Then insert the text into an
Iframe. In theory, this I thought
On Sunday, October 31, 2010, a...@ashleysheridan.co.uk
a...@ashleysheridan.co.uk wrote:
This can only be done with javascript, as the iframe is client-side, which
php knows nothing about.
sounds to me like OP is building the page which will have the iframe
in it which means this is totally
I need to basically grab the source of the page as text. Then I can do
a replace() on the link tag. Then insert the text into an Iframe. In
theory, this I thought would be handled better server side. Is this
possible? I think the problem I'm having is that the domain I'm
requesting from is
On Mon, Nov 1, 2010 at 11:22 PM, Karl DeSaulniers k...@designdrumm.comwrote:
I need to basically grab the source of the page as text. Then I can do a
replace() on the link tag. Then insert the text into an Iframe. In theory,
this I thought would be handled better server side. Is this possible?
This can only be done with javascript, as the iframe is client-side, which php
knows nothing about.
Thanks,
Ash
http://www.ashleysheridan.co.uk
- Reply message -
From: Karl DeSaulniers k...@designdrumm.com
Date: Sun, Oct 31, 2010 03:32
Subject: [PHP] include html
To: php-general
What do ya'll think? Any suggestions?
Sorry for the duplicate posting... I had some problems signing-up for
the list. :(
Also, I moved my test code to sniplr:
http://snipplr.com/view/32192/php-security-include-path-cleansing/
TIA!
Cheers
M
--
PHP General Mailing List (http://www.php.net/)
if allow_url_include is turned off, you don't have to worry much about http,
if '.' is a invalide char, you can't include *.php...
the include path probably should be the inc(whatever the name)
folder(not accessible from web) instead of the web root and '..'
should be disallowed
On Fri, Apr 16,
if allow_url_include is turned off, you don't have to worry much about http,
if '.' is a invalide char, you can't include *.php...
the include path probably should be the inc(whatever the name)
folder(not accessible from web) instead of the web root and '..'
should be disallowed
Hi Ryan!
Ash,
Nice call. .htaccess was not being processed at all which led me to a
cname configuration error for the sub domain.
Thanks!.
On 4/5/2010 8:27 PM, Ashley Sheridan wrote:
On Mon, 2010-04-05 at 19:40 -0400, ad wrote:
I have several virtual hosts on a dedicated server.
In a IFmodule
On Fri, 2009-09-04 at 18:21 -0500, phphelp -- kbk wrote:
On Sep 4, 2009, at 5:03 PM, sono...@fannullone.us wrote:
Depends on what you are including. The only tags that can be
inside the
head are base, link, meta, script, style, and title.
Everything else is either body or prologue.
From: sono-io at fannullone.us
In my readings, I've run across examples showing include files
being
called from within the head/head tags, and other examples showing
them called within body/body. I've always put them in the header
section myself, but I was wondering if one is
Bob McConnell wrote:
From: sono-io at fannullone.us
In my readings, I've run across examples showing include files
being
called from within the head/head tags, and other examples showing
them called within body/body. I've always put them in the header
section myself, but I was
On Sep 4, 2009, at 1:05 PM, Bob McConnell wrote:
Depends on what you are including. The only tags that can be inside
the
head are base, link, meta, script, style, and title.
Everything else is either body or prologue.
I meant PHP includes like this one:
?php
- Original Message
From: sono...@fannullone.us sono...@fannullone.us
To: PHP General List php-general@lists.php.net
Sent: Friday, September 4, 2009 12:57:08 PM
Subject: [PHP] Include Files in HTML
In my readings, I've run across examples showing include files being
called
- Original Message
From: Tommy Pham tommy...@yahoo.com
To: php-general@lists.php.net
Sent: Friday, September 4, 2009 4:11:31 PM
Subject: Re: [PHP] Include Files in HTML
- Original Message
From: sono...@fannullone.us
To: PHP General List
Sent: Friday, September 4
On Sep 4, 2009, at 5:03 PM, sono...@fannullone.us wrote:
Depends on what you are including. The only tags that can be
inside the
head are base, link, meta, script, style, and title.
Everything else is either body or prologue.
I meant PHP includes like this one:
?php
Could you post some of the code that you have used.
--
Conor
http://conormacaoidh.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Wed, Aug 12, 2009 at 10:02 AM, Julian Muscat Doublesin
opensourc...@gmail.com wrote:
I had a problem with the include and require paths when using AJAX. This I
have solved by using the document root. However since doing so I am
experiencing performance issues. Loading 20 records has
SORRY BUT
I CAN'T GET OFF THIS LIST, I CAN'T GET OFF THIS LIST, I CAN'T GET OFF THIS LIST
I'VE TRIED. NO RESPONSE. IS THERE AN ADMIN OUT THERE? PLEASE GET ME
OFF THIS LIST!
This message has been scanned for
viruses and dangerous content by
On Wed, 2009-08-12 at 12:03 -0400, Rick Duval wrote:
SORRY BUT
I CAN'T GET OFF THIS LIST, I CAN'T GET OFF THIS LIST, I CAN'T GET OFF THIS
LIST
I'VE TRIED. NO RESPONSE. IS THERE AN ADMIN OUT THERE? PLEASE GET ME
OFF THIS LIST!
This
On Wed, Aug 12, 2009 at 12:06 PM, Ashley
Sheridana...@ashleysheridan.co.uk wrote:
On Wed, 2009-08-12 at 12:03 -0400, Rick Duval wrote:
SORRY BUT
I CAN'T GET OFF THIS LIST, I CAN'T GET OFF THIS LIST, I CAN'T GET OFF THIS
LIST
I'VE TRIED. NO RESPONSE. IS THERE AN ADMIN OUT THERE? PLEASE
Have you gone here:
http://www.php.net/unsub.php
Make sure you input the email address with which you registered:
r...@duvals.ca
It's really not very hard... my 10 month old baby could do it.
Cheers,
Rob.
Rick Duval wrote:
SORRY BUT
I CAN'T GET OFF THIS LIST, I CAN'T GET OFF
a rap song hihi haha
best comment I've ever read on a mailing list. reminds me that live is fun
thanks for making my day
thanks sheridan for ur shakespear like abbilities
thanks bastien for ur humor
GREAT
Bastien Koert phps...@gmail.com wrote in message
Martin Scotta wrote:
Where is $vars? there is no $vars in your code...
You can extract all the global space in the CScope method, it's quite
simple, but less performant.
class CScope {
public $vars = 'class scope\n';
function cinclude($filename) {
Hello,
I've cleaned up my question a bit.
I want the included file which is called within a method of a class to
have the same scope as the instantiation of the class's object. That
is, i want a class to include a file in the calling object's scope. How
would one do this?
'test.php'
?php
Daniel Kolbo wrote:
Hello,
I've cleaned up my question a bit.
I want the included file which is called within a method of a class to
have the same scope as the instantiation of the class's object. That
is, i want a class to include a file in the calling object's scope. How
would one do
Shawn McKenzie wrote:
Daniel Kolbo wrote:
Hello,
I've cleaned up my question a bit.
I want the included file which is called within a method of a class to
have the same scope as the instantiation of the class's object. That
is, i want a class to include a file in the calling object's
From: Patrick Moloney
I have a simple web site with a simple page that all works well,
although I have had a similar problem a couple of times that seems to
be
caused by Comment Lines in the included files. I wonder if I have it
entirely right.
All my files are .php files, but almost all
Patrick Moloney wrote:
Does PHP preprocess the file but treat the comments as text because I
never said it was HTML?
I've not had it do that.
Would PHP comments have to be inside PHP tags?
Yes. If you use a php comment it has to be inside a php tag.
One issue I have seen though is
Patrick Moloney wrote:
I have a simple web site with a simple page that all works well,
although I have had a similar problem a couple of times that seems to be
caused by Comment Lines in the included files. I wonder if I have it
entirely right.
All my files are .php files, but almost all the
Daniel Brown wrote:
On Fri, Mar 6, 2009 at 08:53, Stuart stut...@gmail.com wrote:
1.) We use regular open tags to be compatible with all stock
PHP configurations.
2.) We echo out the response from dirname() so that it's
output to the HTML source.
3.) We use dirname() twice,
On Fri, Mar 6, 2009 at 08:37, PJ af.gour...@videotron.ca wrote:
good morning all,
How can I include src and href in include files that will refer the
right paths from files in different hierarchies(directory tree levels)?
Example:
include dirname(_FILE_)./../lib/header1.php; ?
This does
2009/3/6 Daniel Brown danbr...@php.net
On Fri, Mar 6, 2009 at 08:37, PJ af.gour...@videotron.ca wrote:
good morning all,
How can I include src and href in include files that will refer the
right paths from files in different hierarchies(directory tree levels)?
Example:
include
On Fri, Mar 6, 2009 at 08:53, Stuart stut...@gmail.com wrote:
1.) We use regular open tags to be compatible with all stock
PHP configurations.
2.) We echo out the response from dirname() so that it's
output to the HTML source.
3.) We use dirname() twice, so it gives the
Daniel Brown wrote:
On Fri, Mar 6, 2009 at 08:53, Stuart stut...@gmail.com wrote:
1.) We use regular open tags to be compatible with all stock
PHP configurations.
2.) We echo out the response from dirname() so that it's
output to the HTML source.
3.) We use dirname()
On Fri, Jan 30, 2009 at 12:41 PM, R B rbp...@gmail.com wrote:
Hello.
Supose that i have this script:
?php
require_once(lib.php);
lib_function();
?
I want to know if there is a way to call the lib.php library from the
.htaccess instead of the PHP script?
Thanks.
.htaccess won't
Am having this error in the apache log files WHat does it imply really. I
have no idea. Am trying to run Zf but my pages are all blank so i was
wondering if this has anything to do with it. Thanks will appreciate any
help:
[Wed Dec 10 11:15:03 2008] [warn] [client 190.30.20.221] mod_include:
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 the virtual host:
[CODE]
#
Cc: php-general@lists.php.net
Subject: Re: [PHP] Include directive..
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
On Tue, Dec 9, 2008 at 12:47 AM, dele454 [EMAIL PROTECTED] 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
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:
[CODE]
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
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(){
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));
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]
===
А ещё говорят
[snip]
foreach ($lines2 as $line_num = $line2) {
echo pLine #b{$line_num}/b : . htmlspecialchars($line2) .
/p;
}
include ('http://www.mysite.com/calculate.php');
My problem is that when I use a blank file that only has
?php include 'http://www.mysite.com/calculate.php'; ?
The code
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 pLine #b{$line_num}/b : . htmlspecialchars
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 pLine #b{$line_num}/b
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 Blanchard
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
any
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.net
Subject: Re: [PHP
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:
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] wrote
-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
: 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: [PHP] Include Problem
-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 two more questions regarding this issue
-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. [mailto:[EMAIL PROTECTED]
Sent: Tuesday
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
will (most likely
-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. [EMAIL PROTECTED]
Sent: Tuesday, June
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
-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 pass variables,
you could do
.; 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,
If you simply need to execute
-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 be used by that code
to
do perform
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 it reads
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);
} else
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
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, what happens
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
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 file?
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 - no
1 - 100 of 688 matches
Mail list logo