?
__
Pierre-Yves Lemaire
514.729.8100
Hello,
I do that with this piece of code. ( This will close the window, so open a
new one and put this code inside)
header("Content-disposition: attachment; filename=\"$fileName\"");
header("Content-type: application-download");
header("Pragma: no-cache");
header("Expires: 0");
$fn=fopen($FileNa
check out,
dirname() // Returns directory name component of path
py
- Original Message -
From: Hardy Merrill <[EMAIL PROTECTED]>
To: Jordan Elver <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Tuesday, March 13, 2001 5:21 PM
Subject: Re: [PHP] Getting path of script
> How 'bout usin
movie ?
py
__
Pierre-Yves Lemaire
514.729.8100
Hello,
The header will make netscape offer you a download of the file, and
IE will open it in a excell format.
For the display, just put your result in a nice html table and excell will
convert
it, it's quite simple.
print "";
print "Event";
... print all your header here
while ($row = mysql_f
code, code that is easier to modify and code that is probably faster
no matter what technology you use.
Pierre-Yves
- Original Message -
From: Marian Vasile <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, March 15, 2001 5:59 PM
Subject: [PHP] 3 situations -
Third one would be http://apc.communityconnect.com/ ??
py
- Original Message -
From: Chris Adams <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, March 16, 2001 3:37 PM
Subject: Re: [PHP] Benchmarks
> On 16 Mar 2001 04:39:06 -0800, Phil Driscoll <[EMAIL PROTECTED]>
wrote:
>
>
One solution:
You set up a separate table:
user_level { level_id (unsigned int), level_description (varchar 100 )}
it looks like this:
level_idlevel_description
100 admin
200user
In your user table you add level_id as a field.
After a good validation of the user (username an
The answer, like yahoo, is to also store the username and password in
a database. When the cookie is not set or the option not checked, you will
use a database to validate the username and password.
You will build a session only if the username and password are matched
in the database.
py
- O
Hello,
Yes this should work, but if like me, you still have no redirection and
you are working with IE 4.0, put exit; after header.
$URL="domain.com";
header ("Location: Http://www.$URL/members/index.php");
exit;
I have not seen this anywhere, but putting exit; after a redirection
was the only wa
e, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > To contact the list administrators, e-mail: [EMAIL PROTECTED]
> >
> >
>
>
>--
>PHP General Mailing List (http://www.php.net/)
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>F
eaching the goal you set for
>yourself"
>
>
>--
>PHP General Mailing List (http://www.php.net/)
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>To contact the list administrators, e-mail: [EMAIL PROTECTED]
+ ===
=
>I haven't lost my mind, I've got it backed up on TAPE somewhere...
>
>
>
>--
>PHP General Mailing List (http://www.php.net/)
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>T
On Thu, 24 Jan 2002 15:45:34 -0800
Mike Eheler <[EMAIL PROTECTED]> wrote:
> I disagree based simply on two points:
>
> a) Ideally, the $HTTP_POST/GET and $_POST/$_GET vars should be treated
> as "read only".
I tell more : MUST be treated as readonly, as for every env/server or whatever
you want
Hi,
is the $this variable affectation authorized
(clean enough)?
It's works in 4.1.x, but next php versions...
class X {
function polymorph($class){
// Backup vars here
$this=new $class();
// Restore vars here
}
}
What is the usage?
Hello,
I need to put a small security feature in one of my page.
The page is open as a popup from another web site. By checking the referer I tought
I could block any other call to this page but the referer variable is often not set...
What else could I do? ( no ssl so far is available for this :
do you have a tip to upload big files without the hassle of having
php crunch so much memory? If I upload, say, 20 MB of data, my script
process will end up using 20 MB of memory. I think it stores all received
data
in memory and then flushes it in the temp file at the end.
Regards,
--
PHP Ge
The function mysql_select_db set the db for one
or for all link identifiers?
The table my_table is in db1 but the active database
seems to be test on link #8.
Here the result with PHP 4.1.0 and MySQL 3.23.41-log:
mysql_pconnect() id1=Resource id #8
mysql_select_db(db1,Resource id #8)
mysql_pcon
ad it have it be deleted off the server?
>
>
>thanks
>
>randy
>
>--
>PHP General Mailing List (http://www.php.net/)
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
>
>
>--
>PHP General Mailing List (http://www.php.net/)
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>To contact the list administrators, e-mail: [EMAIL PROTECTED]
tional commands, e-mail: [EMAIL PROTECTED]
>To contact the list administrators, e-mail: [EMAIL PROTECTED]
+ ==
+ Pierre-Yves Lem@ire
+ E-MedHosting.com
+ (514) 729-8100
+ [EMAIL PROTECTED]
+ ==
--
PHP General Mailing List (http://www.php.net/)
To unsu
General Mailing List (http://www.php.net/)
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>To contact the list administrators, e-mail: [EMAIL PROTECTED]
+ ==
+ Pierre-Yves Lem@ire
+ E-MedHosting.com
+ (514) 729-8100
+ [
taking place?
>
>Ade
>
>--
>PHP General Mailing List (http://www.php.net/)
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>To contact the list administrators, e-mail: [EMAIL PROTECTED]
+ =
* Willingness to work weekends/evenings, if need be, to meet deadlines.
And if you are still working weekends and evenings after 9 months on the
job, quit immediately. Start your own company or go fishing :)
py
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMA
gt;To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
>
>
>
>--
>PHP General Mailing List (http://www.php.net/)
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For addit
t the list administrators, e-mail: [EMAIL PROTECTED]
+ ==
+ Pierre-Yves Lem@ire
+ E-MedHosting.com
+ (514) 729-8100
+ [EMAIL PROTECTED]
+ ==
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PR
order to send a long message,
wich is coming multiple db fields to a text file to php mail(),
so it will be formatted nicely on all email client?
Or, is it possible?
Any piece of code, tutorial, newsletter script, good wiches or
old grandma's soup would be so appreciated!
py
+ ===
t
>InterClean Equipment, Inc.
>734-975-2967
>www.InterClean.com
>
>
>--
>PHP General Mailing List (http://www.php.net/)
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>To contact the list administrators, e-mail: [EMAIL PROTE
t;--
>PHP General Mailing List (http://www.php.net/)
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
>--
>PHP General Mailing List (http://www.php.net/)
>To unsubs
t"); }
> echo( $shiny ); //this will return 0
>
>?>
>
>--Dan
>
>
>
>--
>PHP General Mailing List (http://www.php.net/)
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>To contact the list administrators,
$i."\r\n");
> > }
> >
> > ?>
>
>
>try:
>
>header("Content-Type: unknown/unknown");
>
>browswer won't know what type of file it is, so will prompt to save.. should
>get the file-name right from the other.
>
>bkx
>
it.
>
>
>- Original Message -
>From: Pierre-Yves Lemaire <[EMAIL PROTECTED]>
>To: <[EMAIL PROTECTED]>
>Sent: Wednesday, 11 April, 2001 3:54 PM
>Subject: Re: [PHP] Are calling COM applications a trojan?
>
>
> >
> > It can't.
> >
viously doesn't
>work for PHP or ASP(ugh) because the browser parses them THEN sends it to
>the client. Is there anyway to allow the client to download the actual
>unparsed file? Any help would be appreciated ^_^
+ ==
+ Pierre-Yves Lem@ire
+ E-MedHosting.com
+ (
Hi!
something looks strange for me.
Why the method Fils::x is called?
MyConfig: RH7.1 PHP4.0.6
I found something similar in the bug database.
http://bugs.php.net/index.php?id=12313
Open 4.0.6 Linux parent resolving and deep require's
## RESULT
Fils::Fils called
Pere::Pere called
Fils::x calle
I am having problems installing the zip package (PHP5) on Windows Vista. The
output will not come on the browser upon testing. Only the code is being output
to the browser. Apache (Apache 2) was properly installed. Your assistance
please. Regards, Lucson
IniDir "c:/php5"
I added these lines to the DirectoryIndex:
DirectoryIndex index.html index.html.var index.php
Lucson> Date: Mon, 19 Jan 2009 22:49:01 +> From: nrix...@gmail.com> To:
lucsonpie...@hotmail.com> CC: php-general@lists.php.net> Subject: Re:
Installation pr
to process PHP script files. Check > out this page:> >
http://www.ampsoft.net/webdesign-l/how-to-install-apache-php-mysql-3.html> >
-TG> > - Original Message -> From: lucson pierre-charles
> To: > Date: Mon, 19 Jan
2009 22:37:25 +> Subject: [PHP]
Installation problems on Vista> > lucson pierre-charles wrote:> > Dear Nathan,>
> The "short_tags" is sure off but when I changed the > > scripts, they're
still being output to the browser. > > > > These are the lines I added to the
modules section:
Yes. It can't find a file.> To: php-general@lists.php.net> Date: Tue, 20 Jan
2009 17:14:14 -0600> From: nos...@mckenzies.net> Subject: Re: [PHP] Re:
Installation problems on Vista> > lucson pierre-charles wrote:> > Nathan,> > >
> When I remove the #&
Hi!
I'm stuck.
I don't understand why the php CLI dies after 3 hours in my script.
Any idea to solve?
Thanks
PHP 5.2.9-0.dotdeb.2 with Suhosin-Patch 0.9.7 (cli) (built: Apr 7 2009
20:06:36)
Linux ubuntu 2.6.24-19-server #1 SMP Wed Jun 18 14:44:47 UTC 2008 x86_64
GNU/Linux
Conf [php.ini]
max_
Ashley Sheridan a écrit :
On Thu, 2009-06-11 at 10:47 +, Jean-Pierre Arneodo wrote:
Hi!
I'm stuck.
I don't understand why the php CLI dies after 3 hours in my script.
Any idea to solve?
Thanks
PHP 5.2.9-0.dotdeb.2 with Suhosin-Patch 0.9.7 (cli) (built: Apr 7 2009
20:06
Ashley Sheridan a écrit :
On Thu, 2009-06-11 at 20:52 +0200, Jean-Pierre Arneodo wrote:
Ashley Sheridan a écrit :
On Thu, 2009-06-11 at 10:47 +, Jean-Pierre Arneodo wrote:
Hi!
I'm stuck.
I don't understand why the php CLI dies after 3 hours in my script.
A
the mysql client ?
Regards,
Pierre-Gildas MILLON
pg.mil...@gmail.com
Hi all
I searched the internet (probably not hard enough), and couldn't find a
decent answer.
I was wondering why, when calling unset on an object, it doesn't
automatically call the __destruct method (if it exists) on the object.
When unsetting an object, php doesn't automatically remove referen
ly out of date for both PHP 5.0.4
> and 4.3.11, where is the windows build pulling these versions
> from?
Feel like it was not updated on the building host. PEAR should be
1.3.5, I do not remember the other, but the script should be
updated.
Regards,
--Pierre
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ed to poke around all sessions.
That is how cache* work.
pierre
ps: Rush can you use quotes in reply?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
201 - 246 of 246 matches
Mail list logo