about this?
What are the maxsizes given for HTTP and FTP in the RFC (don't care about
php.ini)?
HTTP maxfilesize == 2Gb is it correct?
Do you think is better developing a simple application with C++Builder?
Thanks for your attention,
Evan
--
PHP General Mailing List (http://www.php.net/)
To uns
call so when the objects are
associated I changed the document line to be:
$document->session = $session
But I get the same results.
Anyone have any insight?
Thanks,
Evan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Never mind, I just found and exceptable work around.
$GLOBALS["session"] & $GLOBALS["document"] contain the objects.
(and after all that typing :)
-Evan
On Wed, Jul 24, 2002 at 10:21:32PM -0400, Evan said:
> Hey all,
>
> I'm having a strange problem wi
d this (WinXP +
PHP 4.1.2):
c:\php\php.exe c:\Inetpub\webpub\PHP\agent.php?num=1
BUT IT DOESN'T WORK! ?
Can someone help, please?
Thenks in advance,
Evan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I didn't thought about this, but it's logic (as always).
However I solved my problem:
I've developed a really simple program with C++Builder6 (only ~15 lines of
code :-P) that every X seconds calls the php file (agent.php).
And finally it works!
Thanks for your help,
Evan
&l
Sorry... hurricane electric- www.he.net
On Thursday 31 October 2002 08:37 am, Evan Nemerson wrote:
> Hurrican Electric does... here's a php -m from them:
>
> Running PHP 4.1.2
> Zend Engine v1.1.1, Copyright (c) 1998-2001 Zend Technologies
>
> [PHP Modules]
> xml
&g
What is best:
1) calling n-times the function mail() [with n = numer of emails] or
2) calling 1 time mail() and use CC
?
Or it it is the same thing?
Thanks,
Evan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
n't understand how to use it like
MSD.
My config is:
PHP 4.1.2 + IIS5 + WinXPpro
I'm bored to use echo "$something" for debug :-(
Thanks in advance for your help,
Evan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
POST or
GET parameters I need first to recreate them within the IDE.
Does exists something to debug PHP within the browser, just like M$ Script
Debugger?
DBG listen some port and some host but I didn't found instructions that
explain to use it.
Thanks again,
Evan
<[EMAIL PROTECTED]> h
something wrong in PHP?
Thanks for your help,
Evan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
didn't like it, it seemed not very "elegant" to me.
By the way does someone know where can I find some technical information on
how GET or POST parameters are passed (HTTP specs?) and handled by various
scripting languages (APIs?) ?
Bye,
Evanghelos
> PS nice name ;)
:-)
&q
Is it possible to create an excel file with some data from mySQL, using PHP
?
Thanks,
Evan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Thanks to all :-)
Bye,
Evan
"Evan" <[EMAIL PROTECTED]> ha scritto nel messaggio
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Is it possible to create an excel file with some data from mySQL, using
PHP
> ?
>
> Thanks,
> Evan
>
>
--
PHP
("../".$pathImg.$NomeFile);//800x600
$src_size = GetImageSize("../imgsite/logo.jpg");//50x50
ImageCopy( $dst_im, $src_im, 150, 150, 0, 0, 50, 50);
I don't get errors but it happens nothing to the original img ($dst_im).
The image logo.jpg is 50x50 and the $dst_img
Have a look at my post of 17/05/2002, I got a lot of help from there.
Bye,
Evan
"Jean-Louis Letortorec" <[EMAIL PROTECTED]> ha scritto nel
messaggio 615315231286D21182E40008C7B1EED241EDF7@COMPAQ3000">news:615315231286D21182E40008C7B1EED241EDF7@COMPAQ3000...
> Hello e
mgsite/logoxmail.png");
ImageCopy( $dst_im, $src_im, 0, $dst_size[1] - $src_size[1], 0, 0,
$src_size[0], $src_size[1]);
//***this makes the difference!
ImageJPEG($dst_im,"../".$pathImg.$NomeFile);
ImageDestroy($dst_im);
But now I have another question:
how to mantain the trans
_im,"../".$pathImg.$NomeFile);
ImageDestroy($dst_im);
Thanks for your help,
Evan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
road the demo still works if you try tell
me, please
If this solution doesn't meet your reurements try to have a look at
JavaCards from http://java.sun.com/products/javacard/
Maybe the "write once run anywhere" statement would really help you
(regarding windows clients /linux se
This works for me (WinXPpro, IIS, PHP 4.1.2):
Hope it will help
bye,
evan
"Dani" <[EMAIL PROTECTED]> ha scritto nel messaggio
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hi,
>
> I want to upload image file into a folder in webserver using HTML form.
denied
in c:\Inetpub\webpub\PHP\upload.php on line 4
Warning: Unable to move 'C:\WINDOWS\TEMP\php187.tmp' to
'C:\Inetpub\webpub\PHP\upload' in c:\Inetpub\webpub\PHP\upload.php on line 4
I must leave "register_globals=Off" !!!
Can anyone help?
Thanks,
Evan
--
it doesn't return anything.
I must leave register_globals = Off !
What's wrong?
Thanks,
Evan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
> Try using the same session variable. Right now it looks like the first
one
> is "v_s" and the second is "s_v". HTH.
Ops
I changed it butit doesn't work! :-((
:_(
Evan
"Brian Drexler" <[EMAIL PROTECTED]> ha scritto nel messaggio
[EM
will only be available in the
array $HTTP_SESSION_VARS.
*
I won't use $_SESSION cause it seems that is a bit buggy have a search
with google->user group "$_SESSION".
Anyway thanks for your interest,
Evan
"Erik Price" <[EMAIL PROTECTED]&g
Hope this will help you:
1) Macromedia Ultradev + PHAkt extension (www.macromedia.com) $$
2) www.phpide.de
3) www.phpedit.com
4) http://dd.cron.ru/dbg (debugger)
Evan
"Ciro Martins" <[EMAIL PROTECTED]> ha scritto nel messaggio
[EMAIL PROTECTED]">news:[EMAIL PROTECTE
I try the simplest script and it just shows in Netscape 6.0 and it just
shows the php code, it does not process the information. How do I check
to see it apache processes the information?
Thanks,
Evan P.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL
try:
There is a great book on regular expressions by o'reily.
Evan
*** REPLY SEPARATOR ***
On 10/5/01 at 11:33 AM Chris Aitken wrote:
>Ive been playing around with ereg for about half an hour and having no
>joy
>because I dont really understand the medhod beh
once than query the database for every page,
but I don't know if it would be secure or not- I don't want someone setting
the logged_in variable in their cookie, then getting full access to the
site...
Thanks,
Evan
- --
If you would be a real seeker after truth, you must at least once
This, in my mind, pervents someone from
> supplying a key variable like $_session['logged_in']. This way they have
> to know the username and password.
>
> Robbert van Andel
>
>
> -Original Message-
> From: Evan Nemerson [mailto:[EMAIL PROTECTED]]
> Sent: Wednes
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
I'm not worried about them using the query string for malicious purposes- I
have register_globals off... I'm worried about someone messing with their
cookie and sedding authorized to true- that _will_ change my $_SESSION
variable, unless I can find
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Find the line that looks like "AddType application/x-httpd-php .php", and
change it to "AddType application/x-httpd-php .php .html"
On Sunday 01 December 2002 01:34 pm, Larry Brown wrote:
> I just moved to a machine with RH8 that has their latest ve
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Try changing the username from "username" to "[EMAIL PROTECTED]"
On Sunday 01 December 2002 01:21 pm, Iguider wrote:
> Hi
> Please I need a help, I used to work with asp and now I am migrating to
> php, my site web works perfectly on my PC (windows).
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Are you trying to attach an additional results.csv, or are you trying to name
the output (ie "test")???
If you're trying to name the output, changing
Content-Disposition: attachment;filename="results.csv"
to
Content-Disposition: inline;filename="re
converted to this when I
suspected that was the problem- it wasn't.
I realize that I _could_ get put the id into a PHP variable, then make another
query from that (which is what I'll be doing until i get a response ;)), but
I'd prefer not to.
Any help would be much appreciated, and
I think if you omit the (owner, name), it thinks you want to fill the whole
table, so by doing it this way you can specify only what you want to change.
Thanks for your help, Ernest!
- -Evan
On Monday 16 December 2002 12:13 am, you wrote:
> At 09:01 16.12.
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Is there any way to disable using cookies in sessions? I haven't found a good
reason to do this, only my boss's predisposition against cookies ;).
Thanks in advance,
Evan
- --
A leader is the wave pushed ahead by the ship.
- -Leo N
Sorry about the double post- I got an error message (which i now realize was
from a mirror), so i tried again.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
what does posix_getlogin() return? perhaps you aren't really running the
script as root...
On Wednesday 22 January 2003 08:05 pm, Urb LeJeune wrote:
> Has anyone had success in changing the ownership of a directory
> for within a PHP script? I am running as root an have tries
> exec()
> passthru
I can't think of a way to do this via PHP only- I'm pretty sure the file is
sent in the POST request, therefore the page has not begun to output
anything. Perhaps when you saw it done it was a java applet running in the
browser?
On Wednesday 22 January 2003 08:10 pm, Victor wrote:
> Is there
Q
If it delivers when possible, won't the server flake if it get's 100,000
emails inject into Qmail? If I was to use your class and loop through
100,000 emails into Qmail, will Qmail attempt all at once?
A
The answer was right above the question... "With qmail you do not have to run
the queue lik
Don't chmod .htpasswd- _huge_ security risk... Will your server allow you to
have suid scripts??? If so, you can just write a little wrapper and make it
suid. If you do that, I'd also reccomend using an extension other than PHP,
and/or placing it outside your web root. Wouldn't want people addin
Albert Camus. Your sig has a quote attributed to "unknown". It was Albert
Camus.
Don't walk in front of me, I may not follow, Don't walk behind me, I may not
lead, Just walk beside me, and be my friend. -Albert Camus
On Thursday 23 January 2003 12:28 pm, Richard Baskett wrote:
> Ok I am heari
I'll bet you're trying to mix v4 and v5... Make sure you're using the latest
anoncvs instructions, as they have changed recently...
On Sunday 26 January 2003 07:52 am, Robert Mena wrote:
> Hi, I usually fetch php from cvs a couple of times in
> order to try new features etc.
>
> Unfortunately s
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Change
header("Content-Disposition: attachment; filename=".basename($fname).";");
to
header("Content-Disposition: inline; filename=".basename($fname).";");
On Tuesday 28 January 2003 06:27 pm, Dara Dowd wrote:
> I have the following headers in downlo
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Manually connect and request a page using HTTP
echo -e "GET / HTTP/1.0\r\n\r\n" | nc server 80
works on many boxes... you may have to use telnet and actually type in the
request instead of piping
On Wednesday 29 January 2003 05:29 pm, Dara Dowd wrot
What about $_GET['goto']??? Sounds like another register_globals issue. Also,
instead of base64 encoding, you may want to use the rawurlencode and
rawurldecode functions.
On Saturday 01 February 2003 07:02 pm, Stephen wrote:
> I have a PHP script that works on older versions of PHP but on 4.3,
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
"There are four sets of tags which can be used to denote blocks of PHP code.
Of these, only two ( and . . .)
are always available; the others can be turned on or off from the php.ini
configuration file. While the short- form tags and ASP-style tags
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
// UNTESTED
$tArr = explode('&',$QUERY_STRING);
foreach ( $tArr as $tVar )
{
$a = explode('=',$tVar);
${rawurldecode($a[0])} = rawurldecode($a[1]);
}
???
On Monday 03 March 2003 04:17 pm, Sunfire wrote:
> tried everything except ses
I seem to remember seeing something like that on hotscripts.com...
On Tuesday 15 July 2003 03:58 pm, Michael Smith wrote:
> Hey,
>
> I'm looking for a function to take an XML file and turn it into a PHP
> array with the same structure. So if I have:
>
>
> #00
> image.jpg
>
>
> I
I kinda skimmed, but I think what you want is
foreach ( array_keys($SAVEVARS) as $key )
$query = "update table set $key=$SAVEVARS[$key];";
On Thursday 17 July 2003 02:38 pm, Mike Morton wrote:
> Perhaps I was not that clear on the subject :)
>
> I have the following array:
>
> $SAVEVARS
Well if phpinfo.php looks like , and when you view it
through the server you get tons of data, PHP is working. If you just get
, it's not.
On Thursday 17 July 2003 02:28 pm, jsWalter wrote:
> What part of phpinfo.php tells me that mod_php4 is loaded and running on my
> Apache2/PHP 4.3.2 Win 2k
Since you don't need to put up a server, you can just use fsockopen. If I
recall correctly, passing the timeout argument as 0 means no timeout... If
you use the cli version of php, you can just enter `php -q myscript.php &` on
the command line (doubt this works w/ m$...). The ampersand tells the
Were you planning on incrementing $_SESSION['count'] anywhere? If not, try
On Tuesday 22 July 2003 09:55 am, Joe Sheehan wrote:
> Just noticed my email was messed up because of the html. Sorry
> about that
>
> I've been using up until a day or so ago version 4.0.6.
> I'm moving everything no
/* UNTESTED - and prolly could be more efficient */
$c = $d = '';
natsort($info);
foreach ( $info as $i ) {
$d = substr($i, 0, 1);
if ( $d != $c )
echo "\n";
echo $i;
$c = $d;
}
On Tuesday 22 July 2003 09:40 am, Don Mc Nair wrote:
> Hi folks
>
> I a
Does the cpu spike for all scripts or just this one. If just this one, can you
narrow it down to a single line?
On Tuesday 22 July 2003 08:50 am, Javier wrote:
> Hi, I'm running PHP 4.3.2 (cgi-fcgi) (win32).
>
> Everytime I run a script from the command line:
> php -q myscript.php
>
> The proce
no luck either.
> Anyone have any idea what i'm doing wrong? I'm hoping its just
> a user error.
> Thanks in advance
>
>
>
> From: Evan Nemerson <[EMAIL PROTECTED]>
>
> >To: "Joe Sheehan" <[EMAIL PROTECTED]>
> >CC: [EMAIL PROTECTED]
&g
Ya- you have to have libxml2-devel installed. Possibly
http://rpmfind.net/linux/RPM/rufus/libxml/libxml2-devel-2.5.1-1.i386.html
but check your distro cd first. Or you could rpm -e libxml2-2.5.1-1, get a
tarball, and compile it yourself
On Monday 28 July 2003 07:13 pm, Jonathan Villa wrote:
>
Well you could do
foreach ( $_POST as $var )
${$var} = ( isset($_POST[$var]) ? 1 : 0);
but that's really sloppy. If possible, I'd go more for something like
$vars = Array(
'noPlatform',
'littlePlatform',
'lotsaPlatform',
'yoMommasaPlatform');
foreach ( $v
Is there a reason this can't be solved with a CSS background-repeat: repeat-y;
? Or is download time of individual pages an issue?
This is really a client-side issue. The math is going to vary depending on
each user's settings- which font is used, the size of the font, random
browser stupidity,
Was php configured with --enable-memory-limit?
function_exists('memory_get_usage')??? function_exists('get_memory_usage')???
Did the function even exist in 4.3.3 RC1?
Why is your address @ unix-systems.net and you're asking about win32?
On Wednesday 30 July 2003 04:36 pm, Miha Nedok wrote:
> I
Interesting timing...
http://coggeshall.org/archives/e_65.html
On Wednesday 30 July 2003 04:25 pm, Justin French wrote:
> Sounds great, although I doubt my host will install... has anyone
> considered such a beast running as a PHP function/class?
>
> Justin
>
> On Wednesday, July 30, 2003, at 02
do you have something agains php.net/md5? php.net/crc32? php.net/sha1? They're
all included in 4.3
On Wednesday 30 July 2003 07:40 pm, AECT Listas wrote:
> Hi,
>
> How set up functions hash in php4.3.2
>
> thanks
>
> _
> Charla con
cters, (untested)
background-repeat: repeat-y;
Next page";
?>
On Wednesday 30 July 2003 07:44 pm, Chris W. Parker wrote:
> Evan Nemerson <mailto:[EMAIL PROTECTED]>
>
> on Wednesday, July 30, 2003 7:17 PM said:
> > Is there a reason this can't be solved wit
http://mcrypt.hellug.gr/
http://mhash.sf.net/
On Wednesday 30 July 2003 08:11 pm, AECT Listas wrote:
> Hi,
>
> What is utility of mcrypt and mhash?
>
> Thanks,
>
> _
> Charla con tus amigos en lĂnea mediante MSN Messenger:
> http://m
You usually need to be root to execute /usr/sbin/*
check the permissions of the file you're trying to execute.
On Wednesday 30 July 2003 11:13 pm, tirumal b wrote:
> hello,
>
> i was using system function to invoke useradd
> command but it doesn't work. well it works for all the
> commands bu
php.net/set-time-limit
On Thursday 31 July 2003 09:03 pm, Josh Abernathy wrote:
> My current upload script times out too quickly when users are uploading
> large files. How can I stop this from happening?
>
> Thanks!
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http:
Try getting rid of the quotes around $this->startElement, or changing them to
double quotes.
If you don't understand why, php.net/language.types.string should make for an
exhilarating read :)
On Thursday 07 August 2003 12:40 pm, Donald Tyler wrote:
> Hi,
>
> I am trying to create a Class that
try setting zlib.output_compression_level in your php.ini
On Saturday 09 August 2003 09:42 am, Decapode Azur wrote:
> Dear All,
>
>
> function wrl2wrz($buffer) { return gzencode ($buffer, 9); }
> ob_start("wrl2wrz");
>
> /* here the file */
>
> ob_end_flush(); # end of the output buffering
> ?>
I think php.net/htmlentities will do this.
On Monday 11 August 2003 11:18 am, Liam Gibbs wrote:
> I don't think this has been discussed, although I'm not really sure what
> you would call these accented characters, so I haven't been able to do a
> complete search of the archives, so apologies if
7;m creating a class which will basically parse an enhanced version of phbb2's
bbcode, and output it to XHTML, PDF, etc. If someone puts [size=small] (I
won't be using integers like bbcode does), I need to make sure "small" is a
valid word (rejects [size=foo], [size=bar], bu
Hey everyone.
I put a list of sites running LAMP components @
http://www.coeusgroup.com/qwik-e-wiki.php/lamp
Could help people convince their boss/professor/friend/jealous
spouse/whoever...
It's a wiki, so everyone have a good time!
-Evan
--
PHP General Mailing List (http://www.ph
Dunno if it will help, but here's a link to a thread I started a while back:
http://marc.theaimsgroup.com/?l=php-general&w=2&r=1&s=convince+teh+boss&q=t
Make sure you read the whole thread- a lot of people emailed more info than
was originally posted. Also, check everything first- it's been a whi
Never mind. I can create an anonymous function w/ create_function(), and use
that as the callback. It's not pretty, but it works.
Sorry about wasting everyone's time w/ a brain fart.
-Evan
On Friday 08 August 2003 06:16 pm, Evan Nemerson wrote:
> Basic problem:
>
$_SERVER['REMOTE_HOST'] = gethostbyaddr($_SERVER['REMOTE_ADDR']);
better?
On Tuesday 19 August 2003 01:18 pm, John Taylor-Johnston wrote:
> Aw gee, $_SERVER['REMOTE_HOST'] (only REMOTE_ADDR) does not exist in PHP?
> Bummer.
> Why is that?
--
"Everything has a natural explanation. The moon is
Smarty is LGPL, not GPL. The LGPL allows linking. So no.
PEAR packages typically use the PHP license, but some do use GPL. If you link
to a GPL'd package, you must GPL your package. Otherwise, no.
So unless you link to a GPL'd PEAR package, the answer is no.
Read:
http://www.gnu.org/licenses/gp
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
my _guess_ would be you compiled w/ default (v1) zend engine. v2 has lots of
improvements for oop- perhaps this is one of them. Try compiling with v2 of
the engine and see what happens.
On Tuesday 25 March 2003 02:44 pm, Christopher E. Welton wro
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Are you getting any errors through PHP? Set error reporting to E_ALL then try.
On Wednesday 26 March 2003 04:41 pm, Vernon wrote:
> Is there some thing that needs to be turned on in the php.ini in order to
> be able to upload photos VIA php? I ha
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
If you use \r\n instead of \n notepad should be fine. Winblows uses CRLF for
everything...
On Thursday 27 March 2003 10:07 am, Jay Paulson wrote:
> I have a slight problem. Is there anyway to make a text file with a return
> character that doesn't
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
You might wanna move ipaddr.log outside your server root... or at least use
some .htaccess... wouldn't want someone to just browse to the file...
$fp = fopen("ipaddr.log", "a+");
fputs($fp, $_SERVER['REMOTE_ADDR']."\n");
fclose($fp);
On Thursday 2
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
can you do a rawurlencode() on the data before you put it in the DB, and a
rawurldecode when you suck it out? It's a hack, but it would prolly work
fine.
On Thursday 27 March 2003 09:46 am, Filip De Graeve wrote:
> Hello,
>
> Using PHP 4.3.1 on a W
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Not exactly, but http://pear.php.net/package-info.php?pacid=156
On Thursday 27 March 2003 05:47 am, Gabi Moise wrote:
> Hi,
> Can someone point me to a php and Excel tutorial?
>
> tnx.
- --
First they came for the Communists, and I didn't speak up,
m just talking about a plain text string...
>
> is there anybody else who got any idea ?
> thank you for your quick response...
>
> regards,
>
> Filip
>
> "Evan Nemerson" <[EMAIL PROTECTED]> schreef in bericht
> news:[EMAIL PROTECTED]
>
> > -
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
register globals is of in newer versions of php. you can re-enable it in the
php.ini.. See
http://www.php.net/manual/en/configuration.directives.php#ini.register-globals
On Thursday 27 March 2003 10:57 am, Tom Tsongas wrote:
> I just recently upgra
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Not true- $_SERVER['REMOTE_ADDR'] doesn't rely on anything sent by the
browser. Load up a phpinfo() on your server, then request it by hand...
echo -e "GET /phpinfo.php HTTP/1.0\r\n\r\n" | nc www.yourserver.com 80
You'll see it has your IP address e
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
header("Location: http://www.domain.com/admin.php";);
if you _really_ need to use your syntax, you could
function redirect($uri) { header("Location: ".$uri); }
On Friday 28 March 2003 03:28 pm, Johnny Martinez wrote:
> Hi all,
> Can someone tell m
Nothing, except for the keyboard shortcuts are so damn addictive. I get out of
emacs and it pisses me off that every application doesn't have that kind of
power that easily accessible. Just like Opera & mouse gestures...
On Tuesday 27 May 2003 06:56 am, David Grant wrote:
> Joe Stump wrote:
>
http://dev.maxg.info/projets/projet.ziplib.en.maxg maybe??? haven't tried it
On Tuesday 27 May 2003 12:16 pm, Al wrote:
> I doing a little photos album application and I'd like my, non-techie,
> users to be able to zip together their photos and upload them to a
> folder on the site. I've got eve
Good question! I rarely see this type of question here.
http://www.dwheeler.com/secure-programs/ is a good one- even has a small
section dedicated specifically to PHP
The Shmoo Group has a good list at http://www.shmoo.com/securecode/
And if you're one of the learn by example of how not to do i
Deprecated means that it has fallen out of favor, and is
_in_the_process_of_being_phased_out_ You should not rely on this code in
new applications. Go look it up in a dictionary.
If you have to be backward compatible with < 4.1.0 (which was released
on 10-Dec-2001!) I suggest something like this:
GnuPG doesn't use stdin to read the password, which is where you're
sending it. It uses a more low-level interface (check out the below link
if you're interested) where they interact directly with the virtual
console.
Try piping to your command- that won't work either
echo $PASSPHRASE | \
/usr/bi
work. Any idea? I am unfortunately not familiar with C code, so I
> can difficultly find solutions to my problems by reading the GnuPG source.
>
> Thanks!
>
> Pierre-Luc
>
> Evan Nemerson wrote:
> > GnuPG doesn't use stdin to read the password, which is where you'r
On Thursday 29 May 2003 01:24 pm, Marius wrote:
> $random = gmp_random(10);
> echo "$random";
> ?>
> how to do that it echoes a random number and not a
> Resource id #1,
--
Happy shall he be, that taketh and dasheth thy little ones against the stones.
-Psalms 137:9
--
PHP General Mailing
"limiter" is the maximum number of limbs, not the max random number. A limb,
according to the GMP documentation, is " the part of a multi-precision number
that fits in a single word. (We chose this word because a limb of the human
body is analogous to a digit, only larger, and containing several
"The php-gtk-general list is meant for general discussion about using PHP-GTK.
To subscribe, send blank email to [EMAIL PROTECTED]
The address of the list itself is [EMAIL PROTECTED] The list is
archived at MARC. " - http://gtk.php.net/resources.php
Try there- you'll prolly get a better answer
header("Content-type: application/zip");
header("Content-Disposition: attachment; filename=yourfilename.zip");
readfile("/path/to/yourfilename.zip");
On Friday 30 May 2003 03:34 pm, Vincent M. wrote:
> Hello,
>
> Is there any way to launch a download of a Zip file to the user without
> a link.
IMHO the function()[] syntax should be allowed, but it isn't.
You could use list() or extract(), but then you'd wind up with a lot more date
than you want. What I've been doing is creating a function, then calling when
needed. For example:
function array_get_value($array, $index) {
retu
Send a session ID to the user in a cookie, then lookup that ID in a database
on the server. It's extremely difficult to guess random session ID's (don't
just increment them!), and if you have a session timeout, you're pretty much
set.
It's not perfect, but I don't think anyone has come up with
te:
> On Fri, May 30, 2003 at 11:01:26PM -0700, Evan Nemerson wrote:
> > Send a session ID to the user in a cookie, then lookup that ID in a
> > database on the server. It's extremely difficult to guess random session
> > ID's (don't just increment them!), and if
Don't know about 4.3.2, but at the end of 5.0-dev make, the following message
is output:
Build complete.
(It is safe to ignore warnings about tempnam and tmpnam).
On Saturday 31 May 2003 06:29 am, Volker Augustin wrote:
> hi,
> this sounds like a warning not like an error, your php is suc
file_get_contents() is binary safe.
$binary_data = file_get_contents("/path/to/file");
php.net/file_get_contents
On Saturday 31 May 2003 12:42 pm, Ferhat BINGOL wrote:
> Hi,
>
> I have binary data. I know the format but I do not know how to read it with
> PHP. I saw some articles and comments o
/* UNTESTED. */
function get_http_lm_date($url) {
$d = parse_url($url);
if ( !$fp = fsockopen ($d['host'], (isset($d['port'])) ? $d['port'] : '80') )
return FALSE;
fputs($fp, "HEAD ".$d['path']." HTTP/1.0\r\n\r\n");
while ( !feof($fp) ) {
1 - 100 of 407 matches
Mail list logo