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
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,
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
On Friday 04 April 2003 15:29, b b wrote:
It would be:
a
href=downloadFile.php?daFile=path/fileNamepath/fileName/a
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 for
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.php.net/)
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.
PK
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
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 functionality:
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
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
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
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
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 conectan
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
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
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
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:
if
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 and turn
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
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,
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
do
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
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,
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 tables:
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
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
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.
code below
HTML
FORM
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 the
Your problem is not with PHP but with basic HTML.
Your FORM 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
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 all get
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... no.
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,
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.
code below
HTML
FORM
Petre Agenbag wrote:
Your problem is not with PHP but with basic HTML.
Your FORM 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
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.
?
$fp = fopen('example.php','r');
$file = fread($fp,filesize('example.php'));
$h_file = highlight_string($file,TRUE);
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
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.
I
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
Relatively easy-ish. g. 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.
?
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 FORM 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
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
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
script language=JavaScript!--
function Localize(pStr){return pStr;}
var ProcessingText =
Isn't it easy just to do an onClick Disable Button kinda thing?
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
script
What happens when the refresh? How about this...when the form loads
the first time it generates a unique_id, and when you submit the form
it has to match that unique_id. That would stop people from being able
to refresh because once the unique_id is submitted, it won't accept any
more
http://talks.php.net/show/php5intro/3 :
Parse error: parse error in
/local/Web/sites/talks/presentations/slides/php5intro/namespace.php on
line 2*
*Is this how it should work? ;-)*
*
Dan Rossi wrote:
just found this http://talks.php.net/show.php/php5intro/
--
PHP General Mailing List
Try to put your image into your web directory
Diksha Neel [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
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
At 08:24 04-04-03 -0500, you wrote:
On Friday 04 April 2003 07:43 am, Petre Agenbag wrote:
Your problem is not with PHP but with basic HTML.
Your FORM 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
You aren't required to be subscribed to post to the list, so if you are
not subscribed you will not see the FAQ or the discussion about how to
post properly.
You could make it be sent in the confirmation email when someone first
posts to the email address but then you are making the mail
If anyone's intersted, I've got that same presentation in .pdf format
available.
Just send me an email and I'll send you the link to it.
--
Burhan Khalid
phplist[at]meidomus[dot]com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
It looks like you are viewing a dos/windows file on unix. The ^M is
carriage return, which is needed as part of a dos/window end of line
sequence (carriage return, line feed) whereas unix uses just line feed.
Nope. They're UNIX-created and UNIX-modified. Does it matter if I downloaded
them
Clint Tredway wrote:
I would like it
-Original Message-
From: Burhan Khalid [mailto:[EMAIL PROTECTED]
Sent: Friday, April 04, 2003 8:02 AM
To: Marek Kilimajer; [EMAIL PROTECTED]
Subject: Re: [PHP] php5 writeup
If anyone's intersted, I've got that same presentation in .pdf format
I have registered_globals on so this shouldn't matter, but:
echo $_POST['ttt'];
returns the same problem as simple
echo $ttt;
Here is my phpinfo();
http://psyche.govst.edu/test.php
I'm in the process of upgrading to apache 2.0.45 and php 4.3.1, so maybe
that will fix things as I have heard that
Does anyone know how I can make a PHP form select box that has the dates in
it for the next 7 days including today and the remaining days from this week?
eg:
SELECT NAME=date
OPTION VALUE=2003-04-05Friday, April 5
OPTION VALUE=2003-04-06Saturday, April 6
OPTION VALUE=2003-04-07Sunday, April 7
From a class I wrote...
-- snip --
// hack to work around the inability to use a method as
// a callback for the set_error_handler function
// NOTE: if you forget the '', then all of the settings
// to class properties will be lost
-Original Message-
From: Jay Fitzgerald [mailto:[EMAIL PROTECTED]
Sent: Friday, April 04, 2003 9:17 AM
Subject: [PHP] PHP Auto-Date Select Box
Does anyone know how I can make a PHP form select box that
has the dates in
it for the next 7 days including today and the remaining
for($i = 0; $i = 7; $i++) {
$day=strtotime(+$i day);
echo 'option value='. date('Y-m-d',$day) .''. date(' *your
format here* ',$day).'/option';
}
Jay Fitzgerald wrote:
Does anyone know how I can make a PHP form select box that has the
dates in it for the next 7 days including today and
\r shows up as ^M in many unix editors, so if you don't want ^M there,
don't put \r into the file
Liam Gibbs wrote:
It looks like you are viewing a dos/windows file on unix. The ^M is
carriage return, which is needed as part of a dos/window end of line
sequence (carriage return, line feed)
Hi there, I am currently writing a number of guides on PHP, SMARTY and
Syntax and I was wondering if there is a set schema for the colouring of
code within these guides. Is there a website that can give me an idea?
Regards, Ian.
--
PHP General Mailing List (http://www.php.net/)
To
I am working through the beginning php 4 book by wrox and I can not get
the example to work.
It is reading and passing the form data but the cookies is not being
written or read here is my code.
Also why can I not place these variables in line with the echo
statement. If I do it doesn't work.
I
Also when I first run this at the top I get this error...
Notice: Undefined index: typeset in
c:\inetpub\wwwroot\testing\cookies.php on line 4
Notice: Undefined index: size_sel in
c:\inetpub\wwwroot\testing\cookies.php on line 5
I assume its because the var have not been filled but I still need
At 16:16 4-4-2003, you wrote:
It looks like you are viewing a dos/windows file on unix. The ^M is
carriage return, which is needed as part of a dos/window end of line
sequence (carriage return, line feed) whereas unix uses just line feed.
Nope. They're UNIX-created and UNIX-modified. Does it
Liam Gibbs wrote:
It looks like you are viewing a dos/windows file on unix. The ^M is
carriage return, which is needed as part of a dos/window end of line
sequence (carriage return, line feed) whereas unix uses just line feed.
Nope. They're UNIX-created and UNIX-modified. Does it matter if I
Chances are register_globals is off...
Try using $_POST['UserName'] instead of $UserName
John
-~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~-
John Coggeshall
john at coggeshall dot org http://www.coggeshall.org/
He's wrong.
John
-~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~-
John Coggeshall
john at coggeshall dot org http://www.coggeshall.org/
-~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~-
-Original Message-
From: Ray Todd
Parse error: parse error in
/local/Web/sites/talks/presentations/slides/php5intro/namespace.php on
line 2*
*Is this how it should work? ;-)*
In Sterling's Defense, the server running this code isn't PHP5 :) Hence,
some of the examples don't work.
John
check phpinfo()... it lists the colors that
highlight_file()/show_source() uses.
Better yet, here's the values:
highlight.bg#FF #FF
highlight.comment #FF9900 #FF9900
highlight.default #CC #CC
highlight.html #00 #00
highlight.keyword
Good stuff thanks Pete.
check phpinfo()... it lists the colors that
highlight_file()/show_source() uses.
Better yet, here's the values:
highlight.bg #FF #FF
highlight.comment #FF9900 #FF9900
highlight.default #CC #CC
highlight.html
Yes, I got that, the correct link is
http://ny1.php.net/talks/show.php/php5intro - it runs on php5 ;-)
John Coggeshall wrote:
Parse error: parse error in
/local/Web/sites/talks/presentations/slides/php5intro/namespace.php on
line 2*
*Is this how it should work? ;-)*
In Sterling's Defense,
Randum Ian wrote:
Hi there, I am currently writing a number of guides on PHP, SMARTY and
Syntax and I was wondering if there is a set schema for the colouring of
code within these guides. Is there a website that can give me an idea?
Regards, Ian.
RTFM
-Original Message-
From: Paul Kraus [mailto:[EMAIL PROTECTED]
Sent: 04 April 2003 15:42
Also why can I not place these variables in line with the echo
statement. If I do it doesn't work.
I thought I could just echo face=$_POST['type_sel'] - but it does
not work.
Please read
-Original Message-
From: Paul Kraus [mailto:[EMAIL PROTECTED]
Sent: 04 April 2003 15:44
Also when I first run this at the top I get this error...
Notice: Undefined index: typeset in
c:\inetpub\wwwroot\testing\cookies.php on line 4
Notice: Undefined index: size_sel in
Just tried the example and i can upload a file to a directory on my server.
So i can do both uploads and attachments seperately, now it's just a matter
of doing them at the same time.
-Mike
- Original Message -
From: Jason Wong [EMAIL PROTECTED]
Newsgroups: php.general
To: [EMAIL
Long... I have included everything in an attempt not to leave anything
out.
I think this book is dated and causing me some issues.
Following is data before and after form data
My source Code
The php generated source code.
Paul Kraus
I have made the changes.
Here is my output before any form
Ben Whitehead wrote:
Having looked at it, it seems to be along the lines of what I was thinking
of... I would be very grateful if you could post the code, since I do think
it will be very useful. The main difference I was thinking of was to have a
menu in the form of a page of links, rather than a
Ford, Mike [LSS] wrote:
-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:
Randum Ian wrote:
[ snip ]
RTFM
http://www.php.net/manual/en/function.highlight-string.php
http://www.php.net/manual/en/function.highlight-file.php
Hi Burhan,
I wasn't wanting to highlight anything like that, I am writing a guide
which will be printed out in colour and wanted to
what exactly do namespaces do , i can sorta see whats its doin
and this is what i want !!
?php
define('NUM', 10);
try {
if (NUM 20) {
throw new Exception(
NUM . is too small!
);
}
} catch (Exception $e) {
echo $e-getMessage();
echo \nbr /\n;
}
?
I apologize in advance for my constant nub questions..
How can I round the current time up or down to the nearest 1/2 hour?
eg:
timeranges:
0900 through 0915 == 0900
0916 through 0930 == 0930
0931 through 0945 == 0930
0946 through 1000 == 1000
Jay Fitzgerald, Design Director
Bayou Internet -
On Fri, 2003-04-04 at 10:45, Dan Rossi wrote:
what exactly do namespaces do , i can sorta see whats its doin
and this is what i want !!
?php
define('NUM', 10);
try {
if (NUM 20) {
throw new Exception(
NUM . is too small!
);
}
} catch (Exception
Here are the results:
Array
(
[ttt] = javattt=java
)
Array
(
[ttt] = javattt=java
)
Tim Van Zee
ITS Network Specialist
Governors State University
[ snip ]
Would be curiuos to see the the results of :
echo pre; print_r($_REQUEST); echo/pre;
echo pre; print_r($_POST); echo/pre;
That
I though we already covered that this was an PHP / Apache 2 bug?? Stop using
Apache 2 with PHP.
---John Holmes...
- Original Message -
From: VanZee, Timothy [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, April 04, 2003 11:01 AM
Subject: RE: [PHP] Html forms to php scripts
Here
preface: have RTM on mysql GROUP BY
I have a mysql db with a number of entries...
table| id | name | info | version
1 x foo1
2 x foob 2
3 x foobar 3
my sql is similar to
select id,name,info from
preface: have RTM on mysql GROUP BY
I have a mysql db with a number of entries...
table| id | name | info | version
1 x foo1
2 x foob 2
3 x foobar 3
my sql is similar to
select id,name,info
Jay Fitzgerald wrote:
I apologize in advance for my constant nub questions..
How can I round the current time up or down to the nearest 1/2 hour?
eg:
timeranges:
0900 through 0915 == 0900
0916 through 0930 == 0930
0931 through 0945 == 0930
0946 through 1000 == 1000
I'm sure there's a
I haven't quite thought this through, but I think something like this:
$remainder = $ts % 60;
if( $remainder 15 ) {
$ts = $ts - $remainder;
}else if( $remainder 15 $remainder 30 ) {
$ts = $ts + (30 - $remainder);
}else if( $remainder 30 $remainder 45 ) {
$ts = $ts
After reading the file_upload section on PHP.net i got the following script
working on the server..it sends an attachment from a form now but it's just
of size 0 and always a txt file. I know it must be some little thing wrong
then this will work, maybe you can eye it for me and let me know if
Jay Fitzgerald wrote:
I apologize in advance for my constant nub questions..
How can I round the current time up or down to the nearest 1/2 hour?
eg:
timeranges:
0900 through 0915 == 0900
0916 through 0930 == 0930
0931 through 0945 == 0930
0946 through 1000 == 1000
I'm sure there's a better way
1 - 100 of 222 matches
Mail list logo