On Wednesday 22 October 2003 22:08, Shaun Campbell wrote:
I've got a problem getting sessions to work and I wondered if anyone could
offer any advice.
The example I am using is to get one page to set variables in a session and
then use another page to retrieve them. I am using 4.3.4RC2 and
On Wednesday 22 October 2003 21:38, Bas wrote:
Is it free?
For details, check us out at http://www.secureCents.com
--
Jason Wong - Gremlins Associates - www.gremlins.biz
Open Source Software Systems Integrators
* Web Design Hosting * Internet Intranet Applications Development *
on 10/22/03 13:32, David T-G at [EMAIL PROTECTED] wrote:
Richard, et al --
...and then Richard Baskett said...
%
% on 10/21/03 16:40, David T-G at [EMAIL PROTECTED] wrote:
%
% ...and then Marco Tabini said...
% %
% % php.general for new messages and send back an e-mail to the list
Hi,
I have a search form that queries the database and returns results in this
order:
company name1
1plan 1
1plan 2
etc
company name2
2plan 1
2plan 2
etc
company name3
3plan 1
3plan 2
etc
etc etc
This is my sql:
$sqlle = select * from $table_namee where price =$max and spacee =$min
order by
It really depends on what you want compiled in. If you are not sure
what options are available, you could try
./configure --help
Jordan S. Jones
Luiz Gustavo Sarubi Macchi wrote:
Hi all,
Please, I´d like to compile my php with interbase. I know that i should
put --with-interbase[=DIR], but
Hallo daniel,
am Mon, 20 Oct 2003 13:45:18 +0200 schrieb ich bereits:
dh But I did not find an answer, how to correct this.. - using
dh ob_implicit_flush(); did also not help.
is there no way to put header('Content-Length: '.$sth) in when you use
ob_gzhandler in output buffering?
that would be
You can always query the database and store the results as arrays in the
session and sort the arrays...this would limit how many times that you
are querying the database (if you are just sorting the results).
--
ray
On Wed, 2003-10-22 at 15:02, Ryan A wrote:
Hi,
I have a search form that
Hallo PHP-general list,
on Wed, 22 Oct 2003 23:07:06 +0200 I already wrote:
dh Hallo daniel,
don't want to talk only to myself.. this is for everyone.. :)
--
shinE!
http://www.thequod.de ICQ#152282665
PGP 8.0 key: http://thequod.de/danielhahler.asc
--
PHP General Mailing List
I hope you check all user inputs for validity. Your order clause should
be order by custno, $TheOrder.
Ryan A wrote:
Hi,
I have a search form that queries the database and returns results in this
order:
company name1
1plan 1
1plan 2
etc
company name2
2plan 1
2plan 2
etc
company name3
3plan 1
Hi Jason,
Did I say something wrong?
A bit puzzled as you just copied what I wrote to the other guy and
reposted
Cheers,
-JB
On Wednesday 22 October 2003 21:38, Bas wrote:
Is it free?
For details, check us out at http://www.secureCents.com
--
Jason Wong - Gremlins Associates -
Hello All--
I'd have to agree with Richard in that there doesn't seem to be a good
way to make this idea fly--at the very least, it would be annoying (also
because there really is no way to guarantee that the results would be
entirely relevant to the contents of the message).
I've sent an
Hi Marek,
Thanks for replying.
If I do that I get the companies neatly but the not sorted according to the
$TheOrder...:-(
Yep, am checkign user inputs.
Cheers,
-Ryan
I hope you check all user inputs for validity. Your order clause should
be order by custno, $TheOrder.
Ryan A wrote:
Hi,
I think he just answered the other guy's question with your answer to another one ;-).
btw. http://www.securecents.com/secureCode_features.php only returns a 404.
thomas
On Wed, 22 Oct 2003 23:20:13 +0200 [EMAIL PROTECTED] (John Black) wrote:
Hi Jason,
Did I say something wrong?
A bit
Hi Ray,
Thanks for replying.
Can you give me a small code example please?
This is what I am using to get the companies in order:
if(empty($Tcompany))
{ $Tcompany = $row[4]; }
elseif($Tcompany != $row[4])
{
//echo plan and html here
$Tcompany = $row[4];
}
(I think the above
How do you mean it? Order by both at once as if they were on the first
place? Is this logicaly possible?
You should post your desired output.
Marek
Ryan A wrote:
Hi Marek,
Thanks for replying.
If I do that I get the companies neatly but the not sorted according to the
$TheOrder...:-(
Yep, am
Hey,
I think he just answered the other guy's question with your answer to
another one ;-).
Oh, ok.
btw. http://www.securecents.com/secureCode_features.php only returns a
404.
DAMN! we changed the name from SecureCode to CodeSecure and I guess forgot
to make the change on the site :-(
anyway,
Hi,
Thanks for replying.
Yes, i know ordering by both at once as if they were on the first place is
illogical, thats why I need a php answer to wangle thisI want the
desired output to be the same when the sort by was by default price..eg:
company1
1plan1
1plan2
company2
2plan1
2plan2
On Thursday 23 October 2003 00:31, DvDmanDT wrote:
How would I get the age of someone if I store the birthdate in a date
field? I just realized FLOOR((UNIX_TIMESTAMP(NOW()) -
UNIX_TIMESTAMP(birthdate))/60/60/24/365.25) wont work for persons born
before 1970... :p I must get the current age in
Hi there the following code doesnt seem to work, i am getting a bad request
sent back from the server, what could be the problem of something so
simple ?
$header .= POST test.php HTTP/1.0\r\n;
$header.= Host: host\r\n;
$header .= Content-Type: application/x-www-form-urlencoded\r\n;
$header .=
Hi again,
I cannot spot any difference from the original that you already have.
Marek
Ryan A wrote:
Hi,
Thanks for replying.
Yes, i know ordering by both at once as if they were on the first place is
illogical, thats why I need a php answer to wangle thisI want the
desired output to be
- Edwin - [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
On Wed, 22 Oct 2003 03:10:44 -0500
jsWalter [EMAIL PROTECTED] wrote:
[snip]
There must be a better way to do this.
[/snip]
http://www.php.net/manual/en/function.parse-ini-file.php ?
thanks.
But, my concern with that
Daevid Vincent [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Here is a snippet from my dhcp web page found on my site below... Not
exactly what you want, but could help you start...
thanks!
// read in the dhcp_map.ini file to map MAC addresses to images
$mapFile =
Hi Marek,
Sorry about the confusion, let me explain.
With default sorting (without $TheOrder) I am getting this:
(using $sqlle = select * from $table_namee where price =$max and spacee
=$min order by custno,price LIMIT $limitvalue1, $limit; )
company1
1plan1
1plan2
company2
2plan1
2plan2
-Original Message-
From: Walter Torres [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 22, 2003 3:27 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] there has to be a better way...
Daevid Vincent [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Here is a snippet from
I am sending an email using mail() and it works fine.
But the formatting of the body of the email is wrong.
I want to format part of it in columns sort of like
this:
Name Quantity Price
Can this be done neatly without using an html email?
Also what is the trick to making line
yo -
\n should work, but it depends on which type of quotes you use... see
the following..
$content = 'this is the first line\n this is the second line\n this is
the third line';
would return
this is the first line\n this is the second line\n this is the third line
as opposed to
$content =
didn't mention this before, but the difference between the two examples
if you hadn't noticed already is that the first is single quoted, and
the second, double quoted.
Rolf
micro brew wrote:
I am sending an email using mail() and it works fine.
But the formatting of the body of the email is
Hello everyone,
I'm upgrading my simple CMS app, and would like to add a [simple]
function to itwhich I'm finding is no so simple (at least for me). To
illustrate:
The user clicks Edit on a particular table row. The CMS then fetches
that row from the table and begins displaying the value of
I'm working on a general purpose database data editor in PHP which can
allow users to edit what you want and also knows about linked record
with no extra coding. I was planning on putting this kind of field
typing and type checking in my code, but haven't gotten around to it
yet. If you're
Still you have shown only how you didn't want the results ordered but
how you want them.
Ryan A wrote:
Hi Marek,
Sorry about the confusion, let me explain.
With default sorting (without $TheOrder) I am getting this:
(using $sqlle = select * from $table_namee where price =$max and spacee
=$min
micro brew wrote:
I am sending an email using mail() and it works fine.
But the formatting of the body of the email is wrong.
I want to format part of it in columns sort of like
this:
Name Quantity Price
Can this be done neatly without using an html email?
\t is a tab. You can
jsWalter wrote:
I need to read (write comes later) from a config file that we used to handle
manually.
I'm getting lazy, so I'm writing a web interface for this.
Don't know if someone said this or not, but why not just use
parse_ini_file() ?
--
---John Holmes...
Amazon Wishlist:
On Thu, 23 Oct 2003 14:01:59 -0500, you wrote:
Is there a simple way to return the key (name) of one element in an
array? I looked up key() in the docs, but there are no examples or
notes...
Ok, to make sure I understand you:
given an array
('apple' = 'red', 'banana' = 'yellow')
you want a
Curt Zirzow wrote:
I do wonder what the rule for those born on Feb 29'th. Do they
celebrate they're birthday before or after it on non leap years?
Neither. They celebrate it on Feb 29th. So while we age every
year, they only age once every four. Make sense?
--
H| I haven't lost my
Hi again Marek,
I want the results like this:
company1
1plan1 // this is the important one as its the least/most (depending on
DESC or ASC)
1plan2 // this is all the other plans company1 offers (which meet the sql
parameters)
company2
2plan1 // this again is important as its the
I have an array... [ sample of contents below]
[0] =
[1] = # words are recognized ceaselessly: true, yes, on, false, no,
off.
[2] = # ---
[3] =
[4] =
[5] = # The mailing address of the list.
[6] = # If empty,
Hi everybody!
Have somebody any idea how I could do something like that?
?
settype($phpScreenWidth, string);
settype($phpScreenHeight, string);
?
script language=javascript
var phpScreenWidth, phpScreenHight;
* Thus wrote Ashley M. Kirchner ([EMAIL PROTECTED]):
Curt Zirzow wrote:
I do wonder what the rule for those born on Feb 29'th. Do they
celebrate they're birthday before or after it on non leap years?
Neither. They celebrate it on Feb 29th. So while we age every
year, they only
* Thus wrote Ashley M. Kirchner ([EMAIL PROTECTED]):
Curt Zirzow wrote:
I do wonder what the rule for those born on Feb 29'th. Do they
celebrate they're birthday before or after it on non leap years?
Neither. They celebrate it on Feb 29th. So while we age every
year,
Exactly.
but it should be only with one step.
That means, just running the file once and get the vars.
cbq
-Original Message-
From: Martin Towell [mailto:[EMAIL PROTECTED]
Sent: Donnerstag, 23. Oktober 2003 03:00
To: 'BQ777'; [EMAIL PROTECTED]
Subject: RE: [PHP] PHP JavaScript
Hi
I do wonder what the rule for those born on Feb 29'th. Do they
celebrate they're birthday before or after it on non leap years?
Neither. They celebrate it on Feb 29th. So while we age every
year, they only age once every four. Make sense?
So their life expectancy is only ~19 years?
Hi,
Thursday, October 23, 2003, 4:05:13 AM, you wrote:
PG Hi all. I'd like to take a brief sentence to introduce myself first.
PG My name is Pablo Gosse, and I've just recently joined the php-general
PG list. I've been using PHP since early 2000, and work as webmaster
PG at the University of
Hi,
Thursday, October 23, 2003, 7:58:19 AM, you wrote:
deo Hi there the following code doesnt seem to work, i am getting a bad request
deo sent back from the server, what could be the problem of something so
deo simple ?
deo $header .= POST test.php HTTP/1.0\r\n;
deo $header.= Host: host\r\n;
Hi,
Is there a way I can get php to call the program fortune then print that a
web page.
Thanks.
Payne
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Chuck PUP Payne wrote:
Hi,
Is there a way I can get php to call the program fortune then print that a
web page.
Thanks.
Payne
echo 'pre';
passthru(fortune);
echo '/pre';
Should do it. I use this for a nice little Server Status page that
iterates through an array of unix commands, works like
Hello Chuck--
You can use a number of PHP functions, such as shell_exec and passthru,
which will run an external app and return its result either in a
variable or directly to the output. Some more info regarding this
specific problem (and a script) here:
Mykroft Holmes IV wrote:
Chuck PUP Payne wrote:
Hi,
Is there a way I can get php to call the program fortune then print
that a
web page.
Thanks.
Payne
echo 'pre';
passthru(fortune);
echo '/pre';
Should do it. I use this for a nice little Server Status page that
iterates through an
Chuck PUP Payne wrote:
Hi,
Is there a way I can get php to call the program fortune
then print that a
web page.
Thanks.
Payne
echo 'pre';
passthru(fortune);
echo '/pre';
Should do it. I use this for a nice little Server Status page that
iterates through an array
On Wed, 22 Oct 2003 22:54:55 -0400, you wrote:
Is there a way I can get php to call the program fortune then print that a
web page.
http://uk2.php.net/system
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Thanks Everyone. This is so cool!!! :)
On 10/22/03 11:15 PM, Mykroft Holmes IV [EMAIL PROTECTED] wrote:
Mykroft Holmes IV wrote:
Chuck PUP Payne wrote:
Hi,
Is there a way I can get php to call the program fortune then print
that a
web page.
Thanks.
Payne
echo
* Thus wrote jsWalter ([EMAIL PROTECTED]):
I need to read (write comes later) from a config file that we used to handle
manually.
I'm getting lazy, so I'm writing a web interface for this.
What I have does this...
- open a given file
- dump entire file into a string
- explode
I am writing a script that will query a database
table for some statistical information, and then
email it (daily, weekly, and monthly) to a list of
subscribers. I don't know ahead of time how many
persons will be subscribed to receive the info
(it could be 20 persons or 2000 or more). Email
I'm not sure if you've considered this possibility--but can't you send
the messages to one recipient at a time? This way, the problem wouldn't
present itself, and the end result would be quite the same (with the
added bonus of not having to disclose your entire mailing list to each
recipient).
It really depends on the mta you use... if your going to use mail(); the
I would put the list of addresses in an array and the do
foreach($addressArray as $address) {
mail($address,'Here is your subject','Here is your content');
}
Rolf Brusletto
http://www.phpexamples.net
John Christopher wrote:
Martin Towell [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hi everybody!
Have somebody any idea how I could do something like that?
?
settype($phpScreenWidth, string);
settype($phpScreenHeight, string);
?
This is a serverside process
This
Hello,
On 10/23/2003 01:35 AM, John Christopher wrote:
I am writing a script that will query a database
table for some statistical information, and then
email it (daily, weekly, and monthly) to a list of
subscribers. I don't know ahead of time how many
persons will be subscribed to receive the
Why does...
// assume October...
setlocale(LC_TIME, de_GR);
echo strftime(%d. %B %Y);
gives me 'October'?
and this...
// assume October...
setlocale(LC_TIME, de);
echo strftime(%d. %B %Y);
gives me 'October'?
and this...
// assume October...
setlocale(LC_TIME, d);
=
This message is for the benefit of new subscribers and those new to PHP.
Those who do not want to be bothered just filter out the [Newbie Guide]
mails. Please feel free to add more points and send to the list.
Hi Walter,
You may want to look into PEAR's config package. It does pretty much all you
have listed here and a lot more. I just started looking into it today. I
haven't looked closely at the code so I don't know how efficiently it
handles everything it does but it may give you some ideas. As far
DvDmanDT wrote:
How would I get the age of someone if I store the birthdate in a date field?
I just realized FLOOR((UNIX_TIMESTAMP(NOW()) -
UNIX_TIMESTAMP(birthdate))/60/60/24/365.25) wont work for persons born
before 1970... :p I must get the current age in years, and I must be able to
select
Hi everybody!
Have somebody any idea how I could do something like that?
?
settype($phpScreenWidth, string);
settype($phpScreenHeight, string);
?
script language=javascript
var phpScreenWidth, phpScreenHight;
phpScreenWidth
Have somebody any idea how I could do something like that?
snip javascript and PHP
You're somewhat out of luck, as the chain of events in your typical HTTP
transaction looks something like this...
[time]-
client request received from browser
Oh I see. Well I thought that, but I wasn't sure.
Ok I will do this way. No I have an direction :)
Thanks a lot.
-Original Message-
From: Mike Migurski [mailto:[EMAIL PROTECTED]
Sent: Donnerstag, 23. Oktober 2003 03:11
To: BQ777
Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject:
101 - 163 of 163 matches
Mail list logo