Raphael Hamzagic wrote:
Thanks,
But, if the client don't accept cookies?
And if the user open a new browser window with the same url, the new
window will use the same opened session.
If the user opens a new window, without closing the old one first, then it
will use the same session.
If
Victor wrote:
Why not unregistered the session variables first, destroy the session
second and redirect the user with a header location to a plain html
page that includes a one line JavaScript in the body tag like
onload+thiswindow cloase or something like that, and a message that
please
Hello,
You can try Krysalis to solve your problems.
We have fully implemented UTF-8 support in both XML generation and XSL
transformation, using a CDATA passthrough technique.
http://www.interakt.ro/products/Krysalis/
As we have developed the site of the Romanian Ministry of ITC using
I'm having trouble with the newest version of PHP (4.2.2).
For example in a page I'm using the following code:
if ($_GET['action'] == logout) {
//do something
}
But I'm getting an error message that says:
...log_message reports: PHP Notice: Undefined index: action in
Ealier (other
Hi,
Can you help me?
I want to send the button name to the another page when that button is
pushed...Is it possible by using type=hidden or I need to use another way
...??
thanks alot
meltem demirkus
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
a form with two buttons:
---
form action=script.php method=post
input type=submit name=button value=option 1 /
input type=submit name=button value=option 2 /
/form
---
script.php
---
if($_POST['button'] == option 1)
{
echo option 1 was clicked;
}
elseif($_POST['button'] == option 2)
Jens Winberg wrote:
I'm having trouble with the newest version of PHP (4.2.2).
For example in a page I'm using the following code:
if ($_GET['action'] == logout) {
//do something
}
But I'm getting an error message that says:
...log_message reports: PHP Notice: Undefined index: action
im looking for a program which will take what is avaliable in the ENV
variables and create a log file in the apache log file format. does anyone
know of any existing scripts?
what im trying to do is, run a log file analysis program for a website, but
i have no logs from the apache server - i
im unable to access the web without first authenticating with the proxy. how
can i still use fsockopen and authenticate myself with php?
cheers
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi there
In my shop a had this code to add a product to the shoppingcart:
session_start();
session_register(cart);
if($action == addtocart)
{
$cart[] = $id,$amount;
}
To view the cart i had to explode the session_variable $cart and get
more data from the database.
session_start();
Hi,
I am using this on a page to move 'new_id' to another page:
input type=hidden name id value=? echo $new_id ?
and onthe other page I qm tring to get the data like this:
$id= $_POST['id'] ;
even I tried
echo $new_id; (directly use the data)
but it is not working..WHY?
you're missing an equals sign.
try this:
input type=hidden name=id value=? echo $new_id ?
dave
-Original Message-
From: Meltem Demirkus [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 06, 2002 1:42 AM
To: [EMAIL PROTECTED]
Subject: [PHP] cant find the wrong?
Hi,
I am using
I am correcting I used
echo $id;
but did not work
thanks.
meltem
- Original Message -
From: Meltem Demirkus [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, September 06, 2002 11:42 AM
Subject: [PHP] cant find the wrong?
Hi,
I am using this on a page to move 'new_id'
if you have an array in javascript:
array1 = [1,2,3,4,5,6,7,8,'test'];
etc...
you can join it in JavaScript to make it a one string as:
array1 = array1.join('|');
then split in PHP to make it back an array:
?
$array1 = explode('|', $array1);
?
good luck,
Kale [EMAIL PROTECTED] wrote in
Is there anyway to direct my page to another after the php and output
process work on the page?
thanks
meltem demirkus
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hello
I have A LOT of files that are already made, but does now
Want to make a printerfriendly version of every file, but
Ran into some problems
How can i solve this without have to change every READILE.HTM files ??
FILE 'DEFAULT.HTM'
if (eregi (PRINT.HTM, $PHP_SELF)) {
exit;
}
HERE IT
exec(arp $_SERVER[REMOTE_ADDR], $output);
$output[0] should be something like
? (192.168.1.37) at 00:E0:4C:00:30:2D [ether] on eth0
Chris Cook wrote:
Hello all,
I am working on a LAN application and am interested in obtaining the
user's network card address to limit usage of the program.
Hi,
Split the calculation up an use echo to find the problem.
David Rice wrote:
Hi:
I am attempting to calculate a mortgage payment using the following code.
?PHP
$P = 10;// principal outstanding
$I = 4.5;// annual interest rate percentage
$N = 20;// number of
4.09.2002, 17:48, Victor V. Evtushenko wrote:
Donpro wrote:
Hi,
Using I.E. 5.5. I can't seem to keep a page from caching. When I click on
Have you read HOWTO: Prevent Caching in Internet Explorer?
http://support.microsoft.com/default.aspx?scid=kb;EN-US;q234067
According to the
I mean I made a page with php and other stuff..And there is form .When I
click on okbutton php is dpoing what it should . But after want the page
to
come to another link.I asked that before and they told me that .. there
must
be no uotput but I am using ?...? which means output..
so I
? ? doesn't mean output unless you use echo or print or whatever to
output from there anything.
Just use header(Location: yournewpage.php); at the end.
Meltem Demirkus wrote:
I mean I made a page with php and other stuff..And there is form .When I
click on okbutton php is dpoing what it
I tried to use $HTTP_SERVER_VARS['HTTP_HOST'] but the result is null.
Is there an option so I can turn it on?
Please help.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Cirstoiu Aurel Sorin wrote:
I tried to use $HTTP_SERVER_VARS['HTTP_HOST'] but the result is null.
Is there an option so I can turn it on?
If PHP 4.1.0:
try $_SERVER['HTTP_HOST'] instead. You can also set register_globals = On in
the php.ini file (not recommended!)
HTH
Erwin
--
PHP
I also tried $_HTTP['HTTP_HOST']. Not working. The host has php 4.1.2
version
--
Cirstoiu Aurel Sorin
InterAKT Support
http://www.interakt.ro
Erwin [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
I tried , but it is giving this error:
Warning: Cannot add header information - headers already sent by (output
started at C:\FoxServ\www\debugger\project_module\project_update_.php:2) in
C:\FoxServ\www\debugger\project_module\project_update_.php on line 37
the line 2 is ? include
that's: $_SEVER['HTTP_HOST']
Cirstoiu Aurel Sorin wrote:
I also tried $_HTTP['HTTP_HOST']. Not working. The host has php 4.1.2
version
--
Cirstoiu Aurel Sorin
InterAKT Support
http://www.interakt.ro
Erwin [EMAIL
Yes, I ment $_SEVER['HTTP_HOST']
but I wrote wrong.
Still nothing. What is the problem??
This should work but is not.
--
Cirstoiu Aurel Sorin
InterAKT Support
http://www.interakt.ro
Brad Bonkoski [EMAIL PROTECTED] wrote in
This is not the problem. I understand what you mean.
Now you wrote wrong and I copy pasted.
I tried with $_SERVER['HTTP_HOST'] . No effect.
--
Cirstoiu Aurel Sorin
InterAKT Support
http://www.interakt.ro
Cirstoiu Aurel Sorin
Are you needing to output anything to your users before the page is sent to
this new page? If not, then simple answer, don't send output before
redirecting.
Brief example (coming from a submitted form)
?php
extract($_POST);
if ($action)
{ // something's been submitted.
// Process all of
see, if you output anything for the user, then you cannot use a header
if your include files have echo/print statements or errors that are
displayed then it is considered output.
use JavaScript to redirect the page
look up window.location=url in JavaScript reference
embed that script in php.
or
Put your code that takes care of the post before the line 2, output the
header and exit. Like this
?
if($_POST['submit']) {
do what needs to be done
header(Location: nextpage.php);
exit;
}
include start_html.php
Meltem Demirkus wrote:
I tried , but it is
make sure there is no whitespace before first ?
- Original Message -
From: Marek Kilimajer [EMAIL PROTECTED]
To: PHP [EMAIL PROTECTED]
Sent: Friday, September 06, 2002 11:34 AM
Subject: Re: Fw: [PHP] question about Location
Put your code that takes care of the post before the line 2,
ok thans , I am trying
meltem
Meltem Demirkus wrote:
I tried , but it is giving this error:
Warning: Cannot add header information - headers already sent by (output
started at C:\FoxServ\www\debugger\project_module\project_update_.php:2)
in
How I show in IE source code of html page with php ?
roman
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
are u using the exact code (below, as given by u)
input type=hidden name id value=? echo $new_id ?
if yes,
the 1st page has the problem (missing = ), replace with this
input type=hidden name=id value=? echo $new_id ?
name=id
not name id
-Naintara
-Original Message-
From: [EMAIL
You can't.
--
Nicos - CHAILLAN Nicolas
[EMAIL PROTECTED]
www.WorldAKT.com - Hébergement de sites Internet
Roman Duriancik [EMAIL PROTECTED] a écrit dans le message de
news: [EMAIL PROTECTED]
How I show in IE source code of html page with php ?
roman
--
PHP General Mailing List
showsource.php:
html
body
span style='border:dashed 2px red'
?
$mem = join('', file('THEFILE.HTM'));
$mem = htmlspecialchars($mem);
echo $mem;
?
/span
Good luck,
Roman Duriancik [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
How I show in IE source code of
Hi everybody,
I am trying to create a unix timestamp which dates back a certain amount of
days. Lets say I would like to have a unix timestamp from 7 days ago.
what I tryed is just to subtract values since this are counted s since the
start of the unix epoche, but this does not work in cases
Hi Andy,
I am trying to create a unix timestamp which dates back
a certain amount of days. Lets say I would like to have
a unix timestamp from 7 days ago.
what I tryed is just to subtract values since this are
counted s since the start of the unix epoche, but this
does not work in
Hi,
Is it possible to refresh a php page by a code?Or I should use meta or
javascript?.
thanks
meltem
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Meltem Demirkus [EMAIL PROTECTED] wrote in message
001b01c2559c$11d3af60$5583@hiborya">news:001b01c2559c$11d3af60$5583@hiborya...
Hi,
Is it possible to refresh a php page by a code?Or I should use meta or
javascript?.
thanks
meltem
Most of the responses I get when I ask Qs
add nl2br() to make it look pretty e.g
span
?
$mem = join('', file('index.htm'));
$mem = htmlspecialchars($mem);
$mem = nl2br($mem);
echo $mem;
?
/span
- Original Message -
From: Roman Duriancik [EMAIL PROTECTED]
To: PHP-General [EMAIL PROTECTED]
Sent: Friday, September 06, 2002 11:53
You should use mktime()
mktime
(PHP 3, PHP 4 )
mktime -- Get UNIX timestamp for a date
Description
int mktime ( int hour, int minute, int second, int month, int day, int year
[, int is_dst])
www.php.net/mktime
--
Nicos - CHAILLAN Nicolas
[EMAIL PROTECTED]
www.WorldAKT.com - Hébergement de
You can use header() : header(Refresh: time; URL:http://php.net);
Or in javascript: A HREF=#
onclick=document.location.reload();return(false)BRefresh/B/Abr
(on click)
Or in meta : META HTTP-EQUIV=REFRESH CONTENT=time
--
Nicos - CHAILLAN Nicolas
[EMAIL PROTECTED]
www.WorldAKT.com - Hébergement
On Fri, 06 Sep 2002 13:52:08 +1000, you wrote:
Hi,
I'd like to be able to define multiple variables within a function, and have
it available outside the function from the point the function is called...
How about this:
?
function foo()
{
return array (
foo = aaa,
bar = bbb
);
Hi All,
I have recently subscribed to the list and would like to thank everyone for their
support and guidance in the use of the PHP scripting language. I am trying to find a
low cost host for testing out PHP web applications on the Internet. I have a similar
account set up with Brinkster for
I think it is also good to fetch $mem as:
$fp = fopen('index.htm', 'r');
$mem = fread($fp, filesize('index.htm'));
fclose($fp);
that will keep index.htm formatted as is.
Adrian Murphy [EMAIL PROTECTED] wrote in message
To get the hardware address you need to dig down through the network
layers. If you look at the OSI 7 network model (used on all systems),
you will see that PHP really operates on layers 6 7. The hardware
address (MAC Address) is down on layer 2, the data link layer. The
layered model is
[snip]
I´m quite a newbie in making php, but I managed to run the test you
suggested,
but nothin happened. This time it was propably the code I did:
first I added the or die(Invalid query: $sql); part and ran the form,
but everything happened just like when refreshing a page.
Then I did this:
Hi,
is there any function which removes white spaces inse a string?
thanks
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I am implementing gettext into a website, but for some reason, the pages
keep swapping between the intended translated language (French), and the
primary language (English).
I'm using RedHat 7.3, with gettext-0.11.1-2 RPM.
At the top of every page, I have this code:
setlocale(LC_ALL,
str_replace()
Meltem Demirkus [EMAIL PROTECTED] wrote in message
001201c255a4$6253ece0$5583@hiborya">news:001201c255a4$6253ece0$5583@hiborya...
Hi,
is there any function which removes white spaces inse a string?
thanks
--
PHP General Mailing List (http://www.php.net/)
To
Take a look at str_replace function ...
Bård Tommy
-Opprinnelig melding-
Fra: Meltem Demirkus [mailto:[EMAIL PROTECTED]]
Sendt: 6. september 2002 14:53
Til: [EMAIL PROTECTED]
Emne: [PHP] about whitespace
Hi,
is there any function which removes white spaces inse a string?
Just and FYI update, in case someone else has this problem...
The problem was the example was using $PHP_SELF as the form action variable,
of course it has been discussed on this list that in the newer versions
of PHP, register_globals is turned off in php.ini, so $PHP_SELF had no real
Philip,
I've found UK Linux (http://www.uklinux.net) to offer a good service at low cost.
They also offer 50% discount for charities.
Michael Egan
-Original Message-
From: Philip Radford [mailto:[EMAIL PROTECTED]]
Sent: 06 September 2002 05:47
To: [EMAIL PROTECTED]
Subject: [PHP] Low
Hello
I have a string with the html source, but want to fetch only some
Of the code ...
I want to use alle the codes inside start-end ..
Example:
!-- start
HTML CODES HERE
HTML CODES HERE
HTML CODES HERE
HTML CODES HERE
HTML CODES HERE
HTML CODES HERE
HTML CODES HERE
// end --
--
PHP
[snip]
is there any function which removes white spaces inse a string?
[/snip]
eregi_replace(), there are others as well.
http://www.php.net/manual/en/function.eregi-replace.php
rtfm(); HTH!;
Jay
I bet I can stop gambling
*
* Texas PHP
[snip]
I have a string with the html source, but want to fetch only some
Of the code ...
I want to use alle the codes inside start-end ..
Example:
!-- start
HTML CODES HERE
HTML CODES HERE
HTML CODES HERE
HTML CODES HERE
HTML CODES HERE
HTML CODES HERE
HTML CODES HERE
// end --
[/snip]
Have
[snip]
I have A LOT of files that are already made, but does now
Want to make a printerfriendly version of every file, but
Ran into some problems
How can i solve this without have to change every READILE.HTM files ??
[/snip]
If I understand you have a look at CSS on http://www.w3c.org.
HTH!
Isn't the gmdate() supposed to return the same value when run from two
different timezones?
I run it on GMT+2 system and EDT system, and I get 1 hour difference,
please advise.
Elias
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I have been trying to figure out the best way to resize photo quality images
to thumbnail size and have them come out looking good. I have read about the
function http://www.php.net/manual/en/function.imagecreatetruecolor.php
imagecreatetruecolor() and it looks like it may do this. However I do
Hi Phil,
I am trying to find a low cost host for testing out PHP web applications
on the Internet.
http://34sp.com/ are pretty good, and at £15 a year (about US$20 I believe),
they're certainly low cost :-)
I'd stay away from http://zenithtech.com/ though, lots of people I know have
had a
Hey,
321go.biz
no problems so far...
hope that helped.
Cheers.
-Ryan.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi everybody,
here is the code which does unfortunatelly not work as I want. The goal is
to produce a unix timestamp which is a date 7 days ago and one 14 days ago
and so on.
code:
switch ($ts){
case 1: // today
$timestamp = mktime (0,0,0,date(m) ,date(d),date(Y));
break;
case 2:
Michael Egan wrote:
Philip,
I've found UK Linux (http://www.uklinux.net) to offer a good service at low cost.
They also offer 50% discount for charities.
Phil,
Yes, in the UK, UK Linux is good, I have an account. They do a free
account too (just use the phone line for 1hour per month).
I might be missing something, but Wouldn't this suffice?
: http://www.php.net/manual/en/function.highlight-file.php
Maintains formatting *and* colours things up nicely.
-James
Lallous [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
I think it is also good
$mem = '
!-- start
HTML CODES HERE
HTML CODES HERE
HTML CODES HERE
HTML CODES HERE
HTML CODES HERE
HTML CODES HERE
HTML CODES HERE
// end --
';
if (preg_match('/!--.+?--/is', $mem, $result))
{
var_dump($result);
}
good luck,
Bård tommy nilsen [EMAIL PROTECTED] wrote in message
Hi there,
this is a add on a post I did a few hours ago regarding timestamp.
I was able to locate the error, but not to fix it. The code :
$timestamp = date('YmdGis',(mktime (0,0,0,date(m)
,date(d)-1,date(Y) ) ) );
produces a string like this: 200209050
There is one 0 missing. Because
str_replace() works ..
thanks
meltem
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I was able to locate the error, but not to fix it. The code :
$timestamp = date('YmdGis',(mktime (0,0,0,date(m)
,date(d)-1,date(Y) ) ) );
produces a string like this: 200209050
There is one 0 missing. Because of this my querry is not working, How
come this timestamp is wrong?
Hi,
You can just use :
$output = strtotime(+1 day);
$output = strtotime(-7 day);
http://dk.php.net/manual/en/function.strtotime.php
-Morten Skou
-Original Message-
From: andy [mailto:[EMAIL PROTECTED]]
Sent: 6. september 2002 13:50
To: [EMAIL PROTECTED]
Subject: [PHP] unix
Contents of the Host: header from the current request, if there is one.
Does your browser send Host: ? If you use IP it doesn't
Cirstoiu Aurel Sorin wrote:
This is not the problem. I understand what you mean.
Now you wrote wrong and I copy pasted.
I tried with $_SERVER['HTTP_HOST'] . No
The server needs to be set up correctly - it needs to know what time
zone it is in and if the BIOS time is GMT or local.
lallous wrote:
Isn't the gmdate() supposed to return the same value when run from two
different timezones?
I run it on GMT+2 system and EDT system, and I get 1 hour
[snip]
I'm having trouble with the newest version of PHP (4.2.2).
For example in a page I'm using the following code:
if ($_GET['action'] == logout) {
//do something
}
[/snip]
As a quick troubleshooting method echo or print $_GET['action'] to see what,
if anything, is contained there. I would
I am trying to build or find a web FTP client.
I can create a server side FTP app in PHP no problem, but I would like the
user to be able to browse their own file system. I thought about using
upload functions with PHP FTP functions on the server but I didn't want just
an input box with a
I had the say problem,
try this
if($_POST['update'] == Update)
{
someting to do...
}
- Original Message -
From: Jay Blanchard [EMAIL PROTECTED]
To: 'Jens Winberg' [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Friday, September 06, 2002 5:12 PM
Subject: RE: [PHP] Undefined index, Undefined
I don't own the server, and the server is probably set up correctly as it is
a web hosting server.
anyway, how should that RedHat 6 server be set up ?
Elias
Marek Kilimajer [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
The server needs to be set up correctly -
hi
What version combinations of php and mysql should be used?
regards
anil
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
lets say,
ServerOne has TimeZone GMT+2
ServerTwo has TimeZone GMT+3
the gmdate() will return diff values for the same timestamp.
essentially there will be a diff of 1 hour in the return values from these
two servers.
-Naintara
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL
i used the stable versions avalible at each website.
mysql 3.23
and apache 1.3 something
never given me a problem and ive been running it for a few weeks.. let alone
some ppl running them for months/years
cheers
Anil Garg [EMAIL PROTECTED] wrote in message
015701c255b3$a2704990$[EMAIL
Hi Anil,
What version combinations of php and mysql should be used?
PHP 4.2.2 is the latest and is highly recommended.
For MySQL it depends somewhat on which features you need - if you can live
without the stuff in the 4.x versions, you're probably best off with
3.23.52.
Cheers
Jon
--
Hi Mark,
I am trying to build or find a web FTP client.
I want it to look like a windows based FTP client a list box on one
site for the user's file system and a list box on the other for the
ftp server.
A couple of iframes side by side should let you do that.
The biggest problem I can
You should use both latest versions.
PHP 4.2.2 www.php.net/downloads and MySQL 3.23.52
--
Nicos - CHAILLAN Nicolas
[EMAIL PROTECTED]
www.WorldAKT.com - Hébergement de sites Internet
Anil Garg [EMAIL PROTECTED] a écrit dans le message de news:
015701c255b3$a2704990$[EMAIL PROTECTED]
hi
What
I sent this email out earlier this morning and got no response. It was quite
early so I thought I would send it again now that more people are hopefully
at work :-)
I have been trying to figure out the best way to resize photo quality images
to thumbnail size and have them come out looking
What I found works very well for this is the function:
getimagesize();
$image_file = something.jpg;
$size = getimagesize($image_file);
//$size[0] = height and $size[1] = width (double check on php.net)
//Then just divide them...
$width = $size[1]/2;
$height=$size[0]/2;
DISPLAY IMAHE
If you can use exec you may use convert, or also imlib module provides
very good results.
Fifield, Mike wrote:
I sent this email out earlier this morning and got no response. It was quite
early so I thought I would send it again now that more people are hopefully
at work :-)
I have been
Hi,
we are sending plain-text-emails from php not using the mail-command but
with port-operations. Everything works fine BUT outlook 2000 eats the
linefeeds. We tried several things: copying the header from an original
(functional) email from outlook, sending with \n or \r\n to seperate
Kai Hinkelmann wrote:
Hi,
we are sending plain-text-emails from php not using the mail-command
but with port-operations. Everything works fine BUT outlook 2000 eats
the linefeeds. We tried several things: copying the header from an
original (functional) email from outlook, sending with \n
At 08:04 PM 9/5/02 -0500, Richard Lynch wrote:
I use persistant database connections and I wonder, if one connection is
always in use by one page or by more?
Each thread will end up having a connection.
Actually, it will have a connection for *each* username/password combination
used to
Hello,
How to create a link that when click it will lauch file downloading at
client's end.
And another question which might be biased from this topic, but
still related with the subject of this message: why some downloading
link will lauch a ftp client such as NetAnts or Download Accelerator
First, to create a link thats just a a href=.. that point to the file.
ie a href=file.zipfile/a
Second, that depend of your windows's default configuration.
--
Nicos - CHAILLAN Nicolas
[EMAIL PROTECTED]
www.WorldAKT.com - Hébergement de sites Internet
Alex Shi [EMAIL PROTECTED] a écrit dans
Question 1:
I think this has to do with how you attribute your file extensions in
httpd.conf (Apache thing, not PHP), so check out the docs on apache.org
Question 2:
I woudl tend to believe it depends what kind of link it is...
is it and HTTP downlaod site (which would use the windows save file
[thinking out loud]
For small result sets where I am looking for column totals I generally issue
2 queries to the database, one for the data and one for the totals. This
works fine, but for some things the database returns 100's or 1000's of
records. To make this easier to use I page the records,
One thing I would add to Jay's out loud thoughts...
Always consider alternative approaches. Using a single query and
calculating the totals at the same time is fine if you have a small
dataset, or (as in this case) are producing page totals (I'm assuming
the dataset is paged to fit all on one
Hi Jay,
while($row = mysql_fetch_object($result)){
print(td . $row-value . /td\n);
print(td . $row-another_value . /td\n);
$value1 = $value1 + $row-value;
$value2 = $value2 + $row-another_value;
}
Challenge; Can this be made as simple for rows too?
thinking out loud :-)
Reading the users hard drive is impossible from php, but it's really easy
with Java.
-Original Message-
From: Jon Haworth [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 06, 2002 7:49 AM
To: [EMAIL PROTECTED]
Subject: RE: [PHP] Web based FTP client
Hi Mark,
I am trying to
Is there any easy way of creating,editing and deleting virtual hosts using
PHP via a website?? I have already thought of a way but seems a little long
winded.
Thanks in advance.
Tim
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Thanks for your answer. Here is a genereted email:
Return-Path: [EMAIL PROTECTED]
Delivered-To: [EMAIL PROTECTED]
Received: (qmail 21481 invoked from network); 6 Sep 2002 15:47:03 -
Received: from notused.i-dea.de (HELO mail.e-h.de) (62.26.122.219)
by ns.i-dea.de with SMTP; 6 Sep 2002
I can't believe that I hit wrong buttons two times... so my answer for the
third time...
Thanks for your answer. Here is a genereted email:
Return-Path: [EMAIL PROTECTED]
Delivered-To: [EMAIL PROTECTED]
Received: (qmail 21481 invoked from network); 6 Sep 2002 15:47:03 -
Received: from
Thanks...but how to use header() to generate such a download link?
Alex
[EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
First, to create a link thats just a a href=.. that point to the file.
ie a href=file.zipfile/a
Second, that depend of your windows's
1 - 100 of 190 matches
Mail list logo