Ryan Vennell wrote:
h ok i did a searh in it and found no reference to php. is there anywhere else i would find a place in apache settings that would be telling it where to find php? Thanks
If you are using RH 8 its not in httpd.conf but /etc/httpd/conf.d/php.conf.
HTH
Chris
--
PHP Genera
Liam Gibbs wrote:
So which is it that will keep my files from having ^M after PHP is finished fopen(), fputs(), and fclose() with them? \n, \r, and \n\r all seem to reinsert ^M at the ends of all my lines.
It looks like you are viewing a dos/windows file on unix. The ^M is
carriage return, which
I need to compare dates which opens commenting system.
For example: If show starts 2003.05.01 20:00 then I need that only from
that date and time the commenting system apears on my site ant would
be there all the time from the start of the show. But in my code the
commenting system opens only for
Well, you could do what the sunmanagers mailing list does...every so
often (every month? every other month?) a 95KB FAQ is sent to all
subscribers. However, the main problem is getting people to READ it.
And those people likely to read it are probably the same people who'd
do the requisite docu
On Friday 04 April 2003 15:29, b b wrote:
> It would be:
> href="downloadFile.php?daFile=path/fileName">path/fileName
>
> I tried to print the _GET['daFile'] however if I am
> using the header function in the same file then it
> won't print a thing.
Well, disable the file downloading section
Sorry for mistakes. It should be:
...
if ($year_now >= $year_show && $month_now >= $month_show && $day_now
>= $day_show && $hour_now == $hour_show && $minute_now >= $minute_show) {
COMMENTING SYSTEM OPENED
{
else { COMMENTING SYSTEM CLOSED }
...
--
PHP General Mailing List (http://www
Hi,
Message of Friday, 4th April 2003, 12:28:44:
PK> STRICTLY CONFIDENTIAL
PK> WE ARE MEMBERS OF A SPECIAL COMMITTEE FOR BUDGET AND PLANNING OF
PK> THE NIGERIAN NATIONAL PETROLEUM CORPORATION (NNPC). THIS COMMITTEE
PK> IS PRINCIPALLY CONCERNED WITH CONTRACT AWARDS AND APPROVAL.
I mean than when you run PHP in CGI mode, PHP doesn´t read default php.ini
location. It first to look php in your actual path. An example...
ecazfe04:/home3/www# php -v
PHP 4.3.1 (cgi), Copyright (c) 1997-2002 The PHP Group
Zend Engine v1.3.0, Copyright (c) 1998-2002 Zend Technologies
ecazfe04:
hi guys apart for getimagesize for images is there a way to get mimetypes
for other files ?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hallo,
> -Original Message-
> From: Fritz [mailto:[EMAIL PROTECTED]
> Sent: Saturday, March 29, 2003 8:26 PM
> Subject: [PHP] automatic link execution after form submit
> I am stuck on "executing" automaticaly
> a URL-string to be sent to a perl-script.
1) Redirect, using HTTP functiona
Hi,
Is there anyway to define a fixed window size using PHP as we do with
JavaScript?
Regards,
DT
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Ryan Vennell <[EMAIL PROTECTED]> escribió en el mensaje de noticias
> h ok i did a searh in it and found no reference to php. is there
anywhere else i would find a place in apache settings that would be telling
it where to find php? Thanks
>
> -Ryan
>
Hi Ryan.
Remember to check a phpinfo
No.
Niklas
-Original Message-
From: Deependra b. Tandukar [mailto:[EMAIL PROTECTED]
Sent: 4. huhtikuuta 2003 12:45
To: Justin French; Diana Castillo; [EMAIL PROTECTED]
Subject: [PHP] window size...
Hi,
Is there anyway to define a fixed window size using PHP as we do with
JavaScript
What´s wrong with my question?, can anybody help me?
-Mensaje original-
De: Jose Luis Pérez Ruiz [mailto:[EMAIL PROTECTED]
Enviado el: viernes 4 de abril de 2003 10:57
Para: [EMAIL PROTECTED]
Asunto: [PHP] Why PHP reads local php.ini?
I mean than when you run PHP in CGI mode,
David T-G wrote:
It's certainly a start :-)
Remember that your clients would have to install the java application on
their computer, because java applets (the one running from web) don't
have permission to access files on local computer. The same limitation
has javascript. I have heard abo
What window? Do you mean the one in the server room? ;-)
Simply echo javascript code that will do it. Remember: php runs on the
server, if you want to do something within the browser without
interacting with the server, use javascript.
Deependra b. Tandukar wrote:
Hi,
Is there anyway to define
oo bugger is there an open source version ?
-Original Message-
From: Marek Kilimajer [mailto:[EMAIL PROTECTED]
Sent: Friday, April 04, 2003 8:05 PM
To: David T-G
Cc: PHP General list; Awlad Hussain
Subject: Re: [PHP] uploading entire directory, with or without
compression ...
David T-G
Jose luis pérez ruiz <[EMAIL PROTECTED]> escribió
>
> What´s wrong with my question?, can anybody help me?
Hola Jose Luis.
Nothing's wrong with your post. Personally I can't help because I havn't any
experience
at using php as a cgi module.
PS-Deberías esperar a la tarde-noche, cuando se conect
If there is it would not be signed :-(
Dan Rossi wrote:
oo bugger is there an open source version ?
-Original Message-
From: Marek Kilimajer [mailto:[EMAIL PROTECTED]
Sent: Friday, April 04, 2003 8:05 PM
To: David T-G
Cc: PHP General list; Awlad Hussain
Subject: Re: [PHP] uploading enti
Even if it would be fixed right now, you cannot count on it for several
years ;-)
Daevid Vincent wrote:
Anyone know if this annoying behaviour will ever be 'fixed' in future HTML
specs? I can't believe what a glaring oversight this is that the 'value'
doesn't get GET/POSTED like with a normal 's
Thank you to Rich who saved me from going nuts.
Have now got my members registration and login working.
Also thank you to Janet and Ed who kindly offered to help.
I would like to build an admin area allowing users to upload course work
when completed, so don't think you have heard the last from me
How could I have individual pages for each member who registers?
(ie) Pages only that member can see.
Would this be easy(ish) to do or should I study PHP a little more first?
Andrew
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
hmm what do u mean y signed ? applets simply load dont they ? also maye
activex is the way to go ?
-Original Message-
From: Marek Kilimajer [mailto:[EMAIL PROTECTED]
Sent: Friday, April 04, 2003 8:17 PM
To: Dan Rossi
Cc: PHP General list
Subject: Re: [PHP] uploading entire directory, with
> -Original Message-
> From: Chris Hewitt [mailto:[EMAIL PROTECTED]
> Sent: 03 April 2003 09:26
> To: Justin French
[snip]
>
> What I have done is to do the addslashes/stripslashes assuming
> magic_quotes_runtime is off then force it off within my code
> beforehand
> with:
>
>
Hi -{,
Nachricht vom Donnerstag, 3. April 2003, 16:27:56:
> If(!$_GET['sub_x'] && !$_GET['sub_y']) {
> // display form
> } else {
> // it was submitted
Use "isset" to test the variables... it is cleaner code. PHP will
complain if you do not. (Except of course if you silence it an
They are signed by a trusted authority (micro$oft) that grants that they
are secure to use and therefore can use features (file access) that
would be otherwise forbiden (if the user chooses to trust it). The
integrity of the component is also ensured.
Dan Rossi wrote:
hmm what do u mean y sign
Sorry I wasn't clear before. It goes like this.
I have a Virtual Airline and I have a DB called pilots with these tables:
pilot_id, pilot_name, ivao, vatsim, status
Also have a report DB which contains these tables:
pilot_id, pilot_name, aircraft, flight_time, origin, destination,
originweathe
string *mime_content_type* ( string filename)
Dan Rossi wrote:
hi guys apart for getimagesize for images is there a way to get mimetypes
for other files ?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Fri, 4 Apr 2003 11:16:49 +0100, you wrote:
>How could I have individual pages for each member who registers?
>(ie) Pages only that member can see.
>
>Would this be easy(ish) to do or should I study PHP a little more first?
This is a very general question. Yes it's possible, and yes you should
When calling up a page on my web with the extension of .php, I presently get
the following notice. (please see below)
Before yesterday, I had been able to load any .php page on my web.
The ISP which hosts this web is on NT.
Please advise.
Thank you.
Tony Ritter
..
Take a look at auto_prepend_file within php.ini
Bobby Rahman wrote:
***
This Message Was Virus Checked With : SAVI 3.66 February 2003
Last Updated 2nd April 2003
**
José Pereira wrote:
Sorry I wasn't clear before. It goes like this.
I have a Virtual Airline and I have a DB called pilots with these tables:
To make it cleaner: database has tables, tables have columns, pilots and
report are tables, these are columns:
pilot_id, pilot_name, ivao, vatsim, st
Ok, but won't this count ALL the reports and ALL the hours together???
"Marek Kilimajer" <[EMAIL PROTECTED]> escreveu na mensagem
news:[EMAIL PROTECTED]
José Pereira wrote:
>Sorry I wasn't clear before. It goes like this.
>
>I have a Virtual Airline and I have a DB called pilots with these t
Anthony Ritter wrote:
[ snip ]
.
Security Alert! The PHP CGI cannot be accessed directly.
This PHP CGI binary was compiled with force-cgi-redirect enabled. This means
that a page will only be served up if the REDIRECT_STATUS CGI variable is
set, e.g. via an Apac
No, because the query specifies
SELECT *, COUNT ...
^
and GROUP BY p.pilot_id
Just try it
José Pereira wrote:
Ok, but won't this count ALL the reports and ALL the hours together???
"Marek Kilimajer" <[EMAIL PROTECTED]> escreveu na mensagem
news:[EMAIL PROTECTED]
José Pereira wrote:
dear all,
hi!
i am creating an html file through a php script.
i am drawing a table in one of whose cells i want
to include and image.
but this image does not appear when i open the html page
in internet explorer.
i think the syntax is correct and the picture is very much
present in the given dest
Hi all, I have a real quick question. I'm trying to learn PHP and right now im
working with variables, anyway, I cannot get the code below to work
correctly, could anyone help me out here the problem is, when you submit the
name, the name will not appear at all.
Name:
Your name is:
Burhan Khalid" wrote in message:
> You need to edit the php.ini file (or if this is hosted, have your host
> change the php.ini file).
>
> The setting you want is : force-cgi-redirect
>
> You need to change this to false (0) for it to work on IIS.
>
> IIRC, it says something along those lines in th
Your problem is not with PHP but with basic HTML.
Your tag needs an action="www.somepage.com" in order to "do"
something. With PHP, you can call the same page back onto itself.
On Fri, 2003-04-04 at 14:37, David McGlone wrote:
> Hi all, I have a real quick question. I'm trying to learn PHP and r
Working on a project where we have an off shore developer. We
are runnig 4.3 and have turned register globals off. He says that
this option is not ready for production use and breaks php internally.
I have never heard this before. Has anyone heard this, or
experienced this.
--
On Friday 04 April 2003 03:56 am, Timo Boettcher wrote:
> Hi,
>
> Message of Friday, 4th April 2003, 12:28:44:
> Apart from this being as Off-topic as I have ever seen, I think we
> should help him:
> So that he doesn't have to spend his valuable funds and time for
> coping with spam, we should al
> Working on a project where we have an off shore developer. We
> are runnig 4.3 and have turned register globals off. He says that
> this option is not ready for production use and breaks php internally.
> I have never heard this before. Has anyone heard this, or
> experienced this.
Ummm...
I know this is OT, but I caught a story somewhere about the American
Embassy in Nigeria actually having to REGULARLY rescue Americans who go
over there to claim their moneythat's just sad.
-Original Message-
From: Leif K-Brooks [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 03, 2003
> Hi all, I have a real quick question. I'm trying to learn PHP and
right
> now im
> working with variables, anyway, I cannot get the code below to work
> correctly, could anyone help me out here the problem is, when you
submit
> the
> name, the name will not appear at all.
>
>
>
>
>
> Name:
Petre Agenbag wrote:
Your problem is not with PHP but with basic HTML.
Your tag needs an action="www.somepage.com" in order to "do"
something. With PHP, you can call the same page back onto itself.
On Fri, 2003-04-04 at 14:37, David McGlone wrote:
Hi all, I have a real quick question. I'm tryin
> I've been trying to add line-numbers to my source code, but can't seem
to
> work out how to do it.
This works. The line numbers end up colored the same as the line,
though.
","1 ",$h_file);
$count=2;
$nh_file = preg_replace("//e",'"".$count++." "',$h_file);
echo $nh_file;
?>
---John W. Hol
If no action tag is specified, it'll default to the current page. Just
FYI. It's up to the browser, though, so some may decide not to do
anything...
---John W. Holmes...
PHP Architect - A monthly magazine for PHP Professionals. Get your copy
today. http://www.phparch.com/
> -Original Messag
At 09:51 04.04.2003, Ray Todd Stevens said:
[snip]
>Working on a project where we have an off shore developer. We
>are runnig 4.3 and have turned register globals off. He says that
>this option is not ready for production use and breaks php internally.
Ok, here's what I have. I want to insert some values into a table with
an auto_increment field, but I want to get the Serial of the record I
just inserted so I can name an image $Serial.jpg. I could just select
the serial of the last record entered but what happens (and I know it's
unlikely b
Relatively easy-ish. . But you'll have to study PHP a bit more.
This is a situation where sessions work really well - read up on them in
the manual. Authenticate the user by means of a login page, which
establishes the session. Then put something like the following at the top
of each page.
se
use mysql_insert_id(), it keeps its value per connection so you don't
need to worry about anything
[EMAIL PROTECTED] wrote:
Ok, here's what I have. I want to insert some values into a table with
an auto_increment field, but I want to get the Serial of the record I
just inserted so I can name
On Friday 04 April 2003 07:43 am, Petre Agenbag wrote:
> Your problem is not with PHP but with basic HTML.
> Your tag needs an action="www.somepage.com" in order to "do"
> something. With PHP, you can call the same page back onto itself.
Hi Petre, Thanks for the reply, I have actually tried this
Wonderful! Thanks!
-Original Message-
From: Marek Kilimajer [mailto:[EMAIL PROTECTED]
Sent: Friday, April 04, 2003 8:18 AM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] MySQL Insert with Auto-Increment
use mysql_insert_id(), it keeps its value per connection so you don'
Hi Alan,
Another solution is to use the HighlightParser that comes with
phpDocumentor (http://www.phpdoc.org)
Regards,
Greg
--
phpDocumentor
http://www.phpdoc.org
Alan McFarlane wrote:
I've been trying to add line-numbers to my source code, but can't seem to
work out how to do it.
As an example,
just found this http://talks.php.net/show.php/php5intro/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
i've seen this mentioned here a few times , ok its jsript , but i dont think
there is anyone here who doesnt use any jscript or even html ?? heh
basically all u do is disable the button once pressed