Hi all,
So this is an aesthetic question, the code all works, thank goodness.
The issue is that whenever I call/execute my php scripts, which all
require the path as the first line, i.e., #!/usr/pubsw/bin/php ... and
I want to know why that line shows up on the web browser?! (None of the
other code shows, except for whatever other html things that are
supposed to show).
My "workaround" at the moment is to have <body text="FFFFFF"> which
makes it white like the background, but there's gotta be a reason for
this, right? :-) Any ideas?
Thanks,
Kerri 5 1287
On 18 Feb 2005 10:49:34 -0800, ke*********@gmail.com wrote: So this is an aesthetic question, the code all works, thank goodness.
The issue is that whenever I call/execute my php scripts, which all require the path as the first line, i.e., #!/usr/pubsw/bin/php ... and I want to know why that line shows up on the web browser?! (None of the other code shows, except for whatever other html things that are supposed to show).
My "workaround" at the moment is to have <body text="FFFFFF"> which makes it white like the background, but there's gotta be a reason for this, right? :-) Any ideas?
You only require that line if you're running PHP as CGI. If it's showing,
you're not running as CGI, you're probably running as an Apache module, in
which case you should remove that line.
--
Andy Hassall / <an**@andyh.co.uk> / <http://www.andyh.co.uk>
<http://www.andyhsoftware.co.uk/space> Space: disk usage analysis tool
Nope, doesn't work if you remove the path... that was one of the first
things I tried... I wish it were a server I was admin on, I'm putting
this stuff through a cgi-bin on a university's server to run, and Lord
knows what they have set up.
I noticed that Message-ID:
<11**********************@f14g2000cwb.googlegroups .com> from ke*********@gmail.com contained the following: Nope, doesn't work if you remove the path... that was one of the first things I tried... I wish it were a server I was admin on, I'm putting this stuff through a cgi-bin on a university's server to run, and Lord knows what they have set up.
I never used PHP in this mode but I was just wondering if it still works
if you comment it out?
--
Geoff Berrow (put thecat out to email)
It's only Usenet, no one dies.
My opinions, not the committee's, mine.
Simple RFDs http://www.ckdog.co.uk/rfdmaker/
<ke*********@gmail.com> wrote in message
news:11**********************@f14g2000cwb.googlegr oups.com... Nope, doesn't work if you remove the path... that was one of the first things I tried... I wish it were a server I was admin on, I'm putting this stuff through a cgi-bin on a university's server to run, and Lord knows what they have set up.
Try putting a ob_end_clean(); at the beginning of the script.
.oO(Andy Hassall) On 18 Feb 2005 10:49:34 -0800, ke*********@gmail.com wrote:
The issue is that whenever I call/execute my php scripts, which all require the path as the first line, i.e., #!/usr/pubsw/bin/php ... [...]
You only require that line if you're running PHP as CGI.
Depends on server configuration. On my systems it's not needed.
Micha This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Peter Schwalm |
last post by:
I'd like to modify the python search path depending on the source
directory of the script being started. The reason is: I use a version
control system, and the python scripts and modules are...
|
by: laredotornado |
last post by:
Hello, I am looking for a cross-browser way (Firefox 1+, IE 5.5+) to
have my Javascript function execute from the BODY's "onload" method,
but if there is already an onload method defined, I would...
|
by: Indiana |
last post by:
Situation: in an ASP page i have created i read a table and i display an ID
from the table then i have a button and when i click on a run a new query and
then the window has to be closed. (This...
|
by: TLM |
last post by:
I am trying to build a web application that will contain
links to files on a users local computer. I am assuming
that the files will be in a known location and can display
in a browser window.
...
|
by: Nick |
last post by:
Hi,
I have some simple html:
<table>
<tr>
<td background="~/images/category_background.jpg" runat=server></td>
</tr>
</table>
|
by: hufaunder |
last post by:
I have a website that uses a web service that is located on the same
machine. This webservice calls a program which in return modifies a
file in c:\documents and Settings\All Users\Application...
|
by: Ben Sizer |
last post by:
I've installed several different versions of Python across several
different versions of MS Windows, and not a single time was the Python
directory or the Scripts subdirectory added to the PATH...
|
by: Schmidty |
last post by:
Okay...I have another 'newbie' question;
I have a function that loads a page and the action is
$_SERVER;
In the form that is in a function(method?) within a class a variable
is passed back to...
|
by: Christopher Nelson |
last post by:
I have a little menu system which essentially takes HTML like:
<div id='foo'></div>
and retrieves foo.shtml from the server and inserts it inside the
<div>. But sometimes I'd like foo.shtml...
|
by: taylorcarr |
last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
|
by: ryjfgjl |
last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
|
by: ryjfgjl |
last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
| |