Hey,
Now, that being said, there was a discussion on here a while ago that you
don't _really_ have to close PHP mode at the end of your file and there
were
certain pros and cons to doing so. Adapt to your needs.
Sounds like I missed a good discussion because I was awayany idea of
what
the
Ryan A wrote:
snip
Do I have to start and end the included files with ?php ? ?
Yes.
--
By-Tor.com
It's all about the Rush
http://www.by-tor.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Wednesday, January 21, 2004, at 05:11 AM, Ryan A wrote:
Do I have to start and end the included files with ?php ? ?
Did you try it? Then you'd have your answer :)
Did you read http://www.php.net/include/ ? Because all the examples
show what you need to know too.
Read the manual, and
On Tue, 2004-01-20 at 18:07, Justin French wrote:
On Wednesday, January 21, 2004, at 05:11 AM, Ryan A wrote:
Do I have to start and end the included files with ?php ? ?
Did you try it? Then you'd have your answer :)
Did you read http://www.php.net/include/ ? Because all the
Hey,
I am creating a complete PHP driven site for the first time and I am finding
my files growing bigger and bigger. Each page of my site includes the main
function library, which itself includes an html library.
The file for the page itself contains functions that only that page
requires.
(sorry if this message is repeated, I got an email saying it wasn't
delivered)
Hey,
I am creating a complete PHP driven site for the first time and I am finding
my files growing bigger and bigger. Each page of my site includes the main
function library, which itself includes an html library.
On Monday, January 5, 2004, at 07:05 AM, Carey Baird wrote:
(sorry if this message is repeated, I got an email saying it wasn't
delivered)
Hey,
I am creating a complete PHP driven site for the first time and I am
finding
my files growing bigger and bigger. Each page of my site includes the
This looks like it should do exactly what I need. Thanks for pointing that
out.
Marek Kilimajer wrote:
See function debug_backtrace(), it's available since 4.3.3
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
Is it possible under PHP4 to get the name of the file that a function was
called from? To clarify, here's an example of what I'd like to do:
--- main.php ---
?php
include('include.php');
function foo(){
$include_file=file_that_called_foo
Todd mailto:[EMAIL PROTECTED]
on Thursday, December 18, 2003 9:57 AM said:
Is it possible under PHP4 to get the name of the file that a function
was called from? To clarify, here's an example of what I'd like to do:
[snip]
Does anyone know of a way to do this? I've tried several
See function debug_backtrace(), it's available since 4.3.3
Todd wrote:
Hi,
Is it possible under PHP4 to get the name of the file that a function was
called from? To clarify, here's an example of what I'd like to do:
--- main.php ---
?php
include('include.php
On maandag 1 december 2003 15:23 Rasmus Lerdorf told the butterflies:
On Mon, 1 Dec 2003, Wouter van Vliet wrote:
?php
print !!!;
ob_start();
include 'http://server.com/test/echo.php';
$XML = ob_get_clean(); // or use ob_get_contents(); and
ob_end_clean() for PHP 4.3 print ???;
Hi!
I'm having a problem with including files. What I want to achieve is to
execute a PHP-script on another server, and then to include the result
(which will be XML-output) in another PHP-script (currently on my local
computer).
On the server I have the file http://server.com/test/echo.php
Victor Spng Arthursson wrote:
Hi!
I'm having a problem with including files. What I want to achieve is
to execute a PHP-script on another server, and then to include the
result (which will be XML-output) in another PHP-script (currently on
my local computer).
On the server I have the file
On Mon, 1 Dec 2003, Sophie Mattoug wrote:
Victor Spng Arthursson wrote:
Hi!
I'm having a problem with including files. What I want to achieve is
to execute a PHP-script on another server, and then to include the
result (which will be XML-output) in another PHP-script (currently on
Rasmus Lerdorf wrote:
On Mon, 1 Dec 2003, Sophie Mattoug wrote:
Victor Spång Arthursson wrote:
Hi!
I'm having a problem with including files. What I want to achieve is
to execute a PHP-script on another server, and then to include the
result (which will be XML-output) in another
On Mon, 1 Dec 2003, Wouter van Vliet wrote:
?php
print !!!;
ob_start();
include 'http://server.com/test/echo.php';
$XML = ob_get_clean(); // or use ob_get_contents(); and ob_end_clean() for
PHP 4.3
print ???;
print '[Between this you'll get your XYZ]';
print $XML;
print '[Between this
This statement demonstrates a lack of understanding on your part. PHP is
free. Completely free. It costs nothing. Nada, zilch, zero. It is not
owned by any company or induhvidual. There are acknowledged leaders in
the community.
Did a worker from Zend just say that if there is going to be an
Not at all. If enough decide to include some other encoding engine
in PHP then Zend can happily withdraw all of their support from PHP,
perhaps making a new product called zPHP or such, and the PHP camp is
not controlled in any way. It seems a bit extreme and probably not
worth it, but no
[snip]
Yes, I think it would be a good idea to make *PHP free*. IMHO, one
company has now too much control in it, it's not good for the language
in general. Unless, of course, you are willing to put the encoding
feature into PHP core
by default.
[/snip]
This statement demonstrates a lack of
want to know is ... Turck MMCache is open source and php is open
source so how hard is it to create that?
-Original Message-
From: David T-G [mailto:[EMAIL PROTECTED]
Sent: November 16, 2003 7:23 PM
To: PHP General list
Cc: John Smith
Subject: Re: [PHP] Include an encoder into PHP
Hello,
On 11/17/2003 05:17 AM, Michael wrote:
Zend will never include a free encoder/accelerator into php by default.
What I am waiting for is Turck MMCache to offer a download of a file like
php-4.3.4.tar.gz with Turck included. So when I need to upgrade php, I
would go download a new version
Boyan Nedkov wrote:
Initializing data members (var-s) of a class with non-constant values
is completely legal operation in PHP, so I don't think this could be a
reason for the problem.
hmmm... PHP manual says something else...
http://www.php.net/manual/en/language.oop.php
In PHP 4, only
.
Step 3. Configuring Turck MMCache
Add the following lines into your php.ini file (usually
c:\winnt\php.ini)
-Original Message-
From: Manuel Lemos [mailto:[EMAIL PROTECTED]
Sent: November 17, 2003 2:31 AM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] Include an encoder into PHP distribution
Michael --
...and then Michael said...
%
% I've tried installing it but I need MS Visual Studio C++ so they have to
% make it even easier.
It's easier already: abandon Windows for some *NIX system ;-)
I hate to sound like a curmudgeon, but if you want this then you should
build it, just like
David T-G wrote:
...and then Michael said...
I've tried installing it but I need MS Visual Studio C++ so they have to
make it even easier.
I hate to sound like a curmudgeon, but if you want this then you should
build it, just like John anyone else who wants it should.
That's not really the
Hello,
On 11/17/2003 06:57 AM, Michael wrote:
I've tried installing it but I need MS Visual Studio C++ so they have to
make it even easier.
Yes, you are right for those that want to build it from source on
Windows, having to buy MSVC++ may be a drag. I think I saw somewhere
that there is a
[snip]
In practice it seems that Zend has the final say on PHP, and I think
it's
bad for the language.
[/snip]
That is just plain incorrect. If there were a final arbiter PHP would
cease to be truly open source, and I think the folks on the PHP-DEV list
would be quick to correct you.
--
PHP
David T-G says
I hate to sound like a curmudgeon, but if you want this then you should
build it, just like John anyone else who wants it should. No, I haven't
looked at either (I don't even know what an encoder does; I *think* that
it could be a precompiler or an obfuscator but don't really
* Thus wrote Michael ([EMAIL PROTECTED]):
I've tried installing it but I need MS Visual Studio C++ so they have to
make it even easier.
There is a compiled version on the website for windows. Go to the
download section and you'll see that they have it available for
multiple version of php
Michael, et al --
...and then Michael said...
%
% David T-G says
% I hate to sound like a curmudgeon, but if you want this then you should
% build it, just like John anyone else who wants it should. No, I haven't
...
%
% 1. An obsfuscator scrambles all the variable, function and class names
[mailto:[EMAIL PROTECTED]
Sent: November 17, 2003 10:29 AM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] Include an encoder into PHP distribution?
* Thus wrote Michael ([EMAIL PROTECTED]):
I've tried installing it but I need MS Visual Studio C++ so they have to
make it even easier.
There is a compiled
I was not saying or implying that Zend controls PHP alone. In practice
they have the knife and the cheese in their hands, meaning currently
PHP programs depend on Zend Engine to run. Maybe when somebody develops
real PHP compilers things will be different.
I know that you were not implying
Manuel Lemos wrote, in reply to Chris Shiflett:
IMHO, if you really want to start some political debate or push your
warped ideas on everyone, you can do it on another list.
I am not pushing anything. I am just explaining why GPL extensions and
libraries will not be accepted by the PHP group.
However, I think that an encoder
should not be part of the default php distribution, because it would
*force* people to use the encoder supplied
and
Also, it would seem that PHP was endorsing one product over another, and
such things are never good.
Yes. The problem that you are
John, et al --
...and then John Smith said...
%
% I was not saying or implying that Zend controls PHP alone. In practice
% they have the knife and the cheese in their hands, meaning currently
% PHP programs depend on Zend Engine to run. Maybe when somebody develops
% real PHP compilers
Hello,
On 11/16/2003 08:44 PM, Burhan Khalid wrote:
IMHO, if you really want to start some political debate or push your
warped ideas on everyone, you can do it on another list.
I am not pushing anything. I am just explaining why GPL extensions and
libraries will not be accepted by the PHP
On 11/16/2003 09:50 PM, John Smith wrote:
However, I think that an encoder
should not be part of the default php distribution, because it would
*force* people to use the encoder supplied
and
Also, it would seem that PHP was endorsing one product over another, and
such things are never good.
Ok then, that's nice to hear.
How about then the idea of including a reasonably good compiler/encoder into
standard PHP distribution? For example Turck MMcache is one, gpl'd and comes
as a php/zend extension.
I don't think there are other free encoders as this, so there wouldn't even
be a
, 2003 12:24 PM
Subject: Re: [PHP] Include an encoder into PHP distribution?
Ok then, that's nice to hear.
How about then the idea of including a reasonably good compiler/encoder into
standard PHP distribution? For example Turck MMcache is one, gpl'd and comes
as a php/zend extension.
I
--- John Smith [EMAIL PROTECTED] wrote:
How about then the idea of including a reasonably good
compiler/encoder into standard PHP distribution? For example Turck
MMcache is one, gpl'd and comes as a php/zend extension.
I don't think there are other free encoders as this, so there wouldn't
I think Zend even has their business model partly in the encoder software,
there must be some need for it. Don't you think so?
Granted, this would increase the size of the download by a hundred
kilobytes.
I have no connection to Turck MMcache in any way than just a user who needs
it. But
I don't think there are other free encoders as this, so there wouldn't
even be a dispute over which to choose?
Which one should be chosen? Doesn't it seem a bit ridiculous for the PHP
development team to be picking a winner? Open source is all about choice,
in my opinion.
If I had to
On Sat, Nov 15, 2003 at 07:52:28PM +0200, John Smith wrote:
:
: I have no connection to Turck MMcache in any way than just a user who needs
: it. But distributing software encoded with it is difficult while it is not
: so easily available (have to be separately downloaded and installed).
I'm
Yes, it's still quite a new piece of software, at least so I have
understood. But anyway, as an idea for the future. Just about any encoder
would be great.
If it's really built-in, always-on, that would be even better.
Besides encoding, I think code profiling features should be (almost) built
in
On Sat, Nov 15, 2003 at 11:58:18AM -0600, Eugene Lee wrote:
On Sat, Nov 15, 2003 at 07:52:28PM +0200, John Smith wrote:
:
: I have no connection to Turck MMcache in any way than just a user who needs
: it. But distributing software encoded with it is difficult while it is not
: so easily
Hey,
Or CodeSecure from http://securecents.com
Cheers,
-Ryan
P.S - biased opinion as i work with them.
Ok then, that's nice to hear.
How about then the idea of including a reasonably good compiler/encoder
into
standard PHP distribution? For example Turck MMcache is one, gpl'd and
comes
Hello,
On 11/15/2003 03:24 PM, John Smith wrote:
Ok then, that's nice to hear.
How about then the idea of including a reasonably good compiler/encoder into
standard PHP distribution? For example Turck MMcache is one, gpl'd and comes
as a php/zend extension.
I don't think there are other free
Anyway, I don't think Zend people will allow a competing extension be
included in the core PHP distribution precisely because it compromises
their business.
This is exactly the reason I started this thread by asking Who controls
PHP? ... Thanks for clearing this out.
Either way, another
--- Manuel Lemos [EMAIL PROTECTED] wrote:
Anyway, I don't think Zend people will allow a competing extension be
included in the core PHP distribution precisely because it compromises
their business.
[snip]
IMHO, if you really want to make software free without confusion, forget
GPL.
Hello,
On 11/15/2003 07:46 PM, Chris Shiflett wrote:
Anyway, I don't think Zend people will allow a competing extension be
included in the core PHP distribution precisely because it compromises
their business.
[snip]
IMHO, if you really want to make software free without confusion, forget
Hello,
On 11/15/2003 07:31 PM, John Smith wrote:
Anyway, I don't think Zend people will allow a competing extension be
included in the core PHP distribution precisely because it compromises
their business.
This is exactly the reason I started this thread by asking Who controls
PHP? ... Thanks
Ryan A wrote:
...
class ads_DB extends DB_Sql {
var $Host = $MR_Host;
var $Database = $MR_Database;
var $User = $MR_User;
var $Password = $MR_Password;
}
I think, Your problem is here. If i remember correctly, then PHP4
doesn't allow to initialize var-s with non-constant
Ryan, Pavel,
Pavel Jartsev wrote:
Ryan A wrote:
...
class ads_DB extends DB_Sql {
var $Host = $MR_Host;
var $Database = $MR_Database;
var $User = $MR_User;
var $Password = $MR_Password;
}
I think, Your problem is here. If i remember correctly, then PHP4
doesn't allow to
Hey guys,
Thanks for replying.
This is the solution that actually works.
class ads_DB extends DB_Sql {
var $Host = ;
var $Database = ;
var $User = ;
var $Password = ;
/* public: constructor */
function ads_DB($query = ) {
global $MR_Host,$MR_Database,$MR_User,$MR_Password;
Hi,
I have a database class that is working perfectly by itself, the only
problem is it works fine when the login details to the database are in that
file...but since i have other apps using that login info I want to have the
login info in a seperate file an include it in this class...but when i
Hi,
I have a database class that is working perfectly by itself, the only
problem is it works fine when the login details to the database are in that
file...but since i have other apps using that login info I want to have the
login info in a seperate file an include it in this class...but when i
Hi,
I have a database class that is working perfectly by itself, the only
problem is it works fine when the login details to the database are in that
file...but since i have other apps using that login info I want to have the
login info in a seperate file an include it in this class...but when i
Hi,
I have a weird problem which must be stupid for sure. I'm trying to do
an include in my code run as a cgi. The include works fine in the
form:
include (directory/file);
even it works as:
include (directory/../directory/file);
but it doesn't work as:
include (./directory/file);
nor
Few days ago I asked the same question and got several excellent answers
that helped me to solve the same problem - check the mailing list for
'including files from different sub directories' on 24-10-2003.
Nevertheless all those suggestions helped me to solve the problem from a
normal browser
Dear List,
I have a library of functions which I was thinking of including all from one
file, in a kind of
heirarchy. That way I can just include the one file in each php page and
have all the functions
available to me. (a kind of lazy approach I know)
What I was wondering, if using the apache
Gustave Bernier wrote:
I'm new to PHP and I'm trying to use the include function but with no
success... My server's ini file is set as (allow_url_fopen, 0) so I'm
having some trouble to pass different values for the php file I'm
calling. The address is:
Hi everyone,
I'm new to PHP and I'm trying to use the include function but with no
success... My server's ini file is set as (allow_url_fopen, 0) so I'm
having some trouble to pass different values for the php file I'm calling.
The address is: http://mydomain.com/forums/ssi.php?a=active
The
Gustave Bernier mailto:[EMAIL PROTECTED]
on Thursday, October 02, 2003 6:20 AM said:
The address is: http://mydomain.com/forums/ssi.php?a=active
The code I'm trying now is:
$_GET['a'] = 'active';
include('forums/ssi.php');
You're including the parent file in itself. This could be the
-- snip --
From: Chris W. Parker [EMAIL PROTECTED]
The address is: http://mydomain.com/forums/ssi.php?a=active
The code I'm trying now is:
$_GET['a'] = 'active';
include('forums/ssi.php');
You're including the parent file in itself. This could be the problem.
--SNIP --
especially if the
Hi,
if I have a statement like this;
$success = @include somefile.inc;
under normally runnning in win2000 php 4.3.3 $success is true if the file
somefile.inc exists, but when run under the server debugger, $success is
false, unless somefile.inc has a return statement such as;
return 1;
in
Hi,
Sunday, September 14, 2003, 3:25:57 PM, you wrote:
TT Hi,
TT Normally to change a sites include directory for PHP I'd use a .htaccess
TT file and the following command:
TT php_value include_path .:/path/to/web/
TT Again normally, I would get the path to the site by doing a simple
TT
Hi,
Normally to change a sites include directory for PHP I'd use a .htaccess
file and the following command:
php_value include_path .:/path/to/web/
Again normally, I would get the path to the site by doing a simple
phpinfo(); command and find the _ENV[DOCUMENT_ROOT] line near the end of
the
Tim Thorburn wrote:
Normally to change a sites include directory for PHP I'd use a .htaccess
file and the following command:
php_value include_path .:/path/to/web/
Again normally, I would get the path to the site by doing a simple
phpinfo(); command and find the _ENV[DOCUMENT_ROOT] line near
: Monday, August 25, 2003 12:56 AM
Subject: [PHP] include () problems
Hi,
When I run the line:
include (fnord.php);
with the file looking like:
?php
define (fnord_included, true);
function fnord ($arg = true) {
// 450 lines
return $msg;
}
?
it prints out
statemetns anywhere...
Oh, yeah, FYI, the pattern goes like this:
file: index.php
?php include (standard.php); /* rest of page */ ?
file: standard.php
?php /* a few defines */ include(fnord.php); /* rest of stuff */ header
(Content-type: text/html; encoding=utf-8); ?
and it prints it right up
I have a PHP included page that takes quite a time to load. I would like to
have the entire main page loaded and displayed and then the final include
page executed.
Is this possible?
Thanks for your help - appreciate it.
-Doug
--
PHP General Mailing List (http://www.php.net/)
To
[snip]
I have a PHP included page that takes quite a time to load. I would like
to
have the entire main page loaded and displayed and then the final
include
page executed.
Is this possible?
Thanks for your help - appreciate it.
[/snip]
Why do people insist on sending two e-mails to the list
i am looking to use includes on my page,
this is the code that i want to use to call my files with:
INDEX.PHP
?php
require 'files.inc.php';
$page = '$home';
include '$page';
?
FILES.INC.PHP
?php
$home = 'home.html';
$forum = 'forum/index.php';
$contact = 'contact.html';
?
I try to load up
Hi,
Take the quotes off around the $page variable.
-Dan Joseph
-Original Message-
From: LoonySalmon [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 31, 2003 4:07 PM
To: [EMAIL PROTECTED]
Subject: [PHP] include help please
i am looking to use includes on my page
--- LoonySalmon [EMAIL PROTECTED] wrote:
$page = '$home';
...
Warning: main($page) [function.main]: failed to create stream:
No such file or directory in C:\swamp\www\site\index.php on line
109
You're trying to include a file named $home, and it doesn't exist. I think you
mean this instead:
snip
INDEX.PHP
?php
require 'files.inc.php';
$page = '$home';
include '$page';
?
the problem must be when i am trying to include the $page variable
/snip
get rid of the ' around the variable.
$page = something.php;
include $page;
--
PHP General Mailing List (http://www.php.net/)
To
);
imagedestroy($im);
return $newim;
} ?
and the calling script:
?php
include 'image.php';
$image = resize('Capri.jpg',200,'Capri');
imagejpeg($image);
imagedestroy($image);
?
Any ideas?
Oli
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net
my phpinfo output does not have that particular init
value disable-url-fopen-wrapper. allow_url_fopen
is enabled, safemode is off, and include_path is set
to .:/usr/local/lib/php. further ideas?
--- Curt Zirzow [EMAIL PROTECTED] wrote:
* Thus wrote Police Trainee
([EMAIL PROTECTED]):
When the
PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Without seeing what you have in your includes, it will be hard to
determine where your scope is messed up.
?php
$subnav = home;
include(incHeader.php);
!--- CONTENT AREA ---
The content would go here.
!--- END CONTENT AREA ---
?php
[EMAIL PROTECTED]
Police Trainee:
my phpinfo output does not have that particular init
value disable-url-fopen-wrapper. allow_url_fopen
is enabled, safemode is off, and include_path is set
to .:/usr/local/lib/php. further ideas?
What happens when you try to include it? Is there an error?
Warning: main(http://143.43.222.103/sga)
[function.main]: failed to create stream: Invalid
argument in
/hsphere/local/home/domain/mydomain.com/includesite.php
on line 2
Warning: main() [function.main]: Failed opening
'http://143.43.222.103/sga' for inclusion
(include_path='.:/usr/local/lib/php')
Police Trainee [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Warning: main(http://143.43.222.103/sga)
[function.main]: failed to create stream: Invalid
argument in
/hsphere/local/home/domain/mydomain.com/includesite.php
on line 2
Warning: main() [function.main]: Failed opening
I am having some problems using variables in included files. Can someone
please look at my code below and see how I might accomplish what I am trying
to do?
?php
$subnav = home;
include(incHeader.php);
?
!--- CONTENT AREA ---
The content would go here.
!--- END CONTENT AREA ---
?php
On Jul 24, 2003, Eric Fleming claimed that:
|I am having some problems using variables in included files. Can someone
|please look at my code below and see how I might accomplish what I am trying
|to do?
[snip]
|Now, when I try to reference the subnav variable in the inHeader.php or
[snip]
?php
$subnav = home;
include(incHeader.php);
?
!--- CONTENT AREA ---
The content would go here.
!--- END CONTENT AREA ---
?php include (incFooter.php); ?
Now, when I try to reference the subnav variable in the inHeader.php or
incFooter.php files, it comes up blank. I am basically
Without seeing what you have in your includes, it will be hard to determine
where your scope is messed up.
?php
$subnav = home;
include(incHeader.php);
?
!--- CONTENT AREA ---
The content would go here.
!--- END CONTENT AREA ---
?php include (incFooter.php); ?
Now, when I try
problems using variables in included files. Can someone
please look at my code below and see how I might accomplish what I am trying
to do?
?php
$subnav = home;
include(incHeader.php);
?
!--- CONTENT AREA ---
The content would go here.
!--- END CONTENT AREA ---
?php include
--
Jay Blanchard [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
[snip]
?php
$subnav = home;
include(incHeader.php);
?
!--- CONTENT AREA ---
The content would go here.
!--- END CONTENT AREA ---
?php include (incFooter.php); ?
Now, when I try to reference the subnav variable
Eric, If you want to check to see if $subnav is equal to home you want
to use == and not =. Perhaps this is your problem.
Jason
On Thu, 2003-07-24 at 15:35, Eric Fleming wrote:
Here is a snippet from the header file. You can see that I am just trying
to determine what the value of the subnav
Yeah, that is a problem, but I can't even print out the value of the subnav
variable. It prints nothing when I try to print the variable.
Jason Giangrande [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Eric, If you want to check to see if $subnav is equal to home you want
to use ==
.
!--- END CONTENT AREA ---
?php include (incFooter.php); ?
Now, when I try to reference the subnav variable in the inHeader.php or
incFooter.php files, it comes up blank. I am basically trying to
adjust the
navigation on each page depending on the page I am on. I am just
learning
[snip]
-incHeader.php--
html
head
title[Site Name]/title
/head
body
table cellpadding=0 cellspacing=0 border=0 align=left
tr
td
? if($subnav == home){ ?b? }?a
href=index.phphome/a? if($subnav == home){ ?b? }?
/td
/tr
/table
-incHeader.php--
What is different about the code that you wrote except that you have the
html being output by php?
Jay Blanchard [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
[snip]
-incHeader.php--
html
head
title[Site Name]/title
/head
body
table cellpadding=0 cellspacing=0 border=0
Eric, I tried your code on my machine and it seems to print the name of
the variable just fine. The only change I had to make to your code was
add the long PHP tags (i.e. ?php instead of ?) since I have short tags
disabled. Here's the header as I ran it.
I have ran it on my local machine and at my hosting company and it doesn't
work for me. I even tried using ?php instaed of ?
Jason Giangrande [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Eric, I tried your code on my machine and it seems to print the name of
the variable just
[snip]
What is different about the code that you wrote except that you have the
html being output by php?
[/snip]
I just cleaned it up some, used non deprecated formatting tags and sis
it all in one shot.
HTH
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
Jay Blanchard mailto:[EMAIL PROTECTED]
on Thursday, July 24, 2003 1:12 PM said:
I just cleaned it up some, used non deprecated formatting tags and sis
it all in one shot.
Yeah but Jay, you didn't allow for an else. Your code should have an
else in there so that even if he's not at home
I figured out what was wrong with it, thanks for all your help. I hate
syntax errors. I needed to echo the variable when trying to display it and
the double = helped resolve the other problem. Thanks everyone.
Chris W. Parker [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Jay
When the server upgraded to php 4.3.1 from 4.2.x, I
was no longer able to include remote html files.
allow_url_fopen is still enabled and no other settings
have changed. Running Apache 1.3.27 on Linux.
This is one line that I use to call the remote html
file. It also has not changed since the
401 - 500 of 950 matches
Mail list logo