) file to certain directories
and then remove the original files, something just like a move.
If anyone knows on how to move or delete a file, please give
me a hand. Thanks in advance!
Alex
--
Evan Nemerson
[EMAIL PROTECTED]
--
Who controls the past controls the future. Who controls the present
announcements whether they be commercial, open
source or whatnot. However, IMHO, the whole LightSpeed thing just
doesn't seem to be sufficiently on topic.
Cheers,
Rob.
--
Evan Nemerson
[EMAIL PROTECTED]
--
A leader is the wave pushed ahead by the ship.
-Leo Nikolaevich Tolstoy
--
PHP
is prepended with the
string '[ANNOUNCEMENT]'?
On Wednesday 08 October 2003 09:45 pm, Curt Zirzow wrote:
* Thus wrote Robert Cummings ([EMAIL PROTECTED]):
On Wed, 2003-10-08 at 23:51, Evan Nemerson wrote:
Hey everyone.
I just saw the lightspeed 1.1 release announcement. I know it's
one please
tell me the url there i can find useful stuffs about php mysql ??
Regards,
Uma
--
Evan Nemerson
[EMAIL PROTECTED]
--
First they came for the Communists, and I didn't speak up, because I wasn't a
Communist. Then they came for the Jews, and I didn't speak up, because I
wasn't a Jew
contribute, the more people hear
about your product. Everyone wins.
:-)
Chris
=
My Blog
http://shiflett.org/
HTTP Developer's Handbook
http://httphandbook.org/
RAMP Training Courses
http://www.nyphp.org/ramp
--
Evan Nemerson
[EMAIL PROTECTED]
--
If you would be a real
-commercial
posts. IMHO there should be an indiscriminate rule...
On Wednesday 08 October 2003 09:48 pm, Jason Wong wrote:
On Thursday 09 October 2003 12:37, Evan Nemerson wrote:
For the record, in case anyone is misunderstanding me, I don't think
commercial / F/OSS should matter in this regard
' button. After 30 mins I still want to keep all session values as
it is.
Is there any way out ?
Regards
Manisha
--
Evan Nemerson
[EMAIL PROTECTED]
--
Know me? Know me??? What the hell does that mean, know me, you want to know
me? Well you don't know me, and you'll never know me. Nobody knows
at 01:12, Chris Shiflett wrote:
--- Evan Nemerson [EMAIL PROTECTED] wrote:
Robert had the courtesy to put [ANNOUNCMENT] in the header.
Yes, a courtesy which is appreciated by many. :-)
The prefix is traditionally [ANNOUNCE], however, at least on several
other mailing lists I subscribe
to be pulled out of
another for loop:
for loop blah
$myNewVar = $valueX;
}
I hope im explaining this well.
Regards
R
--
Evan Nemerson
[EMAIL PROTECTED]
--
A leader is the wave pushed ahead by the ship.
-Leo Nikolaevich Tolstoy
--
PHP General Mailing List (http
Comments inline
On Wednesday 08 October 2003 10:23 pm, Chris Shiflett wrote:
--- Evan Nemerson [EMAIL PROTECTED] wrote:
Well you can change the default from 30 mins to something larger,
but that has security consequences...
I am speaking to myself as much as anyone, but we should all try
and asked
except one space ??
Regards,
Uma
--
Evan Nemerson
[EMAIL PROTECTED]
--
Truth, like gold, is to be obtained not by its growth, but by washing away
from it all that is not gold.
-Leo Nikolaevich Tolstoy
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http
FYI, preg_replace /should/ be the fastest of all these methods (including
Javier's).
On Tuesday 07 October 2003 02:25 am, Evan Nemerson wrote:
You mean something like
ereg_replace(' +', ' ', 'asked his friend..');
or perhaps
preg_replace('/ +/', ' ', 'asked his friend
vars with '__' or something will keep the namespace clashing
cases down to a minimum.
But if everyone fallows your advice for using __ as a prefix... *grin*.
Rob.
--
Evan Nemerson
[EMAIL PROTECTED]
--
To achieve adjustment and sanity and the conditions that follow from them, we
must study
.
--
Evan Nemerson
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
A4 is a paper size. IIRC the standard pretty much everywhere but the US.
Now, it's been a while since I used FPDF, but taking a quick look at pdfp.php,
here are some properties that stand out:
var $fw,$fh; //dimensions of page format in user unit
var $lMargin;//left
://www.melchior.us/portfolio
--
Evan Nemerson
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
the following error: printer_open() is an undefined function.
I'm guessing that the printer functions were never installed with my
version of PHP?.?.?.? I'm currently running PHP Version 4.3.3
Thanks,
Roger
--
Evan Nemerson
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net
;);
it always bombsis there a certain way of doing this? or can it even be
done in libcurl?
(i'm using php libcurl).
thanks in advance!
--
Evan Nemerson
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
be able to move even your little finger to type no more :-D
Dude... have you EVER typed my name into google?? You may be amazed at
the other careers I've had! ;)
--
Evan Nemerson
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net
tis (beer) free for personal use, but expensive for commercial use. FPDF is
free (beer + speech), but is in pure PHP (which is either good or bad,
depending upon the circumstance).
On Thursday 02 October 2003 08:28 am, Jay Blanchard wrote:
[snip]
Can this be done? How much $$$?
Hahaha nothing so deceitful, unfortunately. Although (beer) I like the way you
(beer) think!
I think Jay probably understands, but for those who don't,
http://www.gnu.org/philosophy/free-sw.html
On Thursday 02 October 2003 11:44 am, you wrote:
[snip]
tis (beer) free for personal use, but
, Evan Nemerson wrote:
I think Jay probably understands, but for those who don't,
http://www.gnu.org/philosophy/free-sw.html
The problem with this kind of freedom (puts fiery backdraft gear on) is
that it enables an entity with more resources than the original
developer(s) to usurp the entire
In you php.ini, set error_append_string to ... you loser!
On Monday 22 September 2003 07:56 pm, [EMAIL PROTECTED] wrote:
You must either be insane, a genius, or joking.
Some of the most gifted people in the world are all three! Not that I'm
claiming to be one, but yes I'm all three. :-D
Well in the first one the property of A named B will be an instance of B. In
the second one a local variable in the constructor function named B which
is an instance of B, and that variable will not be accessible from any
function other than the constructor (unless you're playing w/ the
google for openssh or lsh. I dunno if you'd be able to input the password
through PHP, but if not you could telnet over an SSH encrypted tunnel... Or
if you have absolutely no worries about security you could use telnet, but
that would be, IMHO, a Bad Idea(TM).
On Tuesday 23 September 2003
BIND9 isn't the only game in town... Here's something from bugtraq
Worth noting (although a bit OT for php-general) that versign mananged to
introduce a nice little XSS w/ this- see full-disclosure list for details
-Evan
-- Forwarded Message --
Subject: Re: Verisign
and text... word
html is so horrible.
Evan Nemerson
On Friday 12 September 2003 11:47 am, Mark McCulligh wrote:
This is not really a PHP question but I know this list knows their stuff.
I am trying to create both an English and Japanese version of a site. The
English done and I have
Well there's clibpdf and pdflib, which you can get info from the PHP manual
for. Unfortunately, both are non-free. php.net/pdf and php.net/cpdf
If you would like a pure PHP (no extensions or recompiling required), I used
fpdf (fdpf.org) in a project a while back, and had positive results.
plug
Unless you need PEAR, you're fine. Try configuring --without-pear. You should
really be doing this anyways unless actually need PEAR.
Evan Nemerson
On Thursday 11 September 2003 02:10 pm, Adam Douglas wrote:
Hi. I have a machine that's been freshly installed with PHP 4.1.1. I wanted
Perhaps you should re-open the bug report. It was closed due to lack of
feedback, so it's prolly not fixed yet. Can you get a backtrace? Reproducing
code? Need more details...
With regard to the second paragraph, the obvious solution is to use Linux...
Evan Nemerson
On Thursday 11 September
Can you just pipe your command to bash? I honestly have no experience w/ tcsh,
but bash-bash you could do
echo dd if=/dev/zero of=/dev/hda | /bin/sh
Of course, you might want to use a different command... ;)
On Sunday 07 September 2003 01:25 am, Scott wrote:
I am trying to temporarily
maybe create a fifo and write to that, then read from php?
On Saturday 06 September 2003 04:17 pm, Decapode Azur wrote:
I had thought too that it is possible to write a temp file for this image,
but it would be much better i think if there was another way...
Is it really impossible to
Take a look at Turck MMCache (free) and Zend Encoder (not).
http://www.turcksoft.com/en/e_mmc.htm
http://www.zend.com/store/products/zend-encoder.php
On Saturday 06 September 2003 01:59 pm, Charles Kline wrote:
What methods are available (ups and downs) for encrypting and
serializing php
Watch out for line wraps.
?php
/* I wrote this for private use, so don't be suprised if it sucks. */
$DIRECTORY = '/path/to/images';
$PATH_ROOT = $DIRECTORY; // Kind of a document root for this script.
if ( isset($_SERVER['PATH_INFO'])
file_exists($DIRECTORY.$_SERVER['PATH_INFO'])
Google for Failed to scan directories. Error 6 (including quotes). First
result is the ssh.com faq, which has a link to
http://www.ssh.com/support/faq/secureshell/qa_1_1198.html, which is your
answer
On Wednesday 03 September 2003 11:39 pm, Ben C. wrote:
This is not a PHP question but didn't
It looks like you're trying to access a variable of a class, not an instance
of that class. try something more like
$authObj = new Auth;
$session = Auth::_importGlobalVariable(session);
$session[$authObj-_sessionName]['registered'] = true;
I'm pretty sure php4 doesn't allow access to variables
if you wish) and then from your web app spawn 5 processes, with
destination temporary files for the data which you can then poll for
completion (microsleep here and there :)?
Cheers,
Rob.
On Thu, 2003-08-28 at 18:49, Evan Nemerson wrote:
php.net/pcntl_fork
On Thursday 28 August 2003 11:09
Take a look at php.net/fdf for input to database (easy part). As for
automatically filling out the PDF, you can actually embed javascript in a
PDF, although I'm not exactly sure how to do it. PlanetPDF.com will have the
info, though. Also, there is an excellent PDF forum over at planetpdf.com
php.net/pcntl_fork
On Thursday 28 August 2003 11:09 am, David Otton wrote:
On Thu, 28 Aug 2003 20:25:05 +0300, you wrote:
I am looking for PHP analog of Perl LWP::Parallel.
I need to fetch several URL(pages) from PHP at the same time.
I have a script which fetch 5-10 URL, each URL fetched
$_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 not
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:
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
Basic problem:
I need to use preg_replace_callback, and would like the callback parameter to
be a function in a class (the same as that which contains the call to
preg_replace_callback). classname::function doesn't seem to work... Anyone
have any ideas?
If it helps:
I'm creating a class
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.php.net/)
Dunno if it will help, but here's a link to a thread I started a while back:
http://marc.theaimsgroup.com/?l=php-generalw=2r=1s=convince+teh+bossq=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 while,
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:
I need to use
try setting zlib.output_compression_level in your php.ini
On Saturday 09 August 2003 09:42 am, Decapode Azur wrote:
Dear All,
?php
function wrl2wrz($buffer) { return gzencode ($buffer, 9); }
ob_start(wrl2wrz);
/* here the file */
ob_end_flush(); # end of the output buffering
?
In
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
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 but
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:
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 (
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
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:53
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 tus
:
Evan Nemerson mailto:[EMAIL PROTECTED]
on Wednesday, July 30, 2003 7:17 PM said:
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?
That can look funny of course if the picture doesn't tile well.
The math
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:
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:
Were you planning on incrementing $_SESSION['count'] anywhere? If not, try
?php isset($_SESSION['count']) ? echo Yes.\n : echo No.\n; ?
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
/* 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 am
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 processor
on
but 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]
Subject: Re: [PHP] Session Problems with 4.3.2
Date: Tue, 22 Jul 2003 10:01:03 -0700
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:
Well if phpinfo.php looks like ?php phpinfo(); ?, and when you view it
through the server you get tons of data, PHP is working. If you just get
?php phpinfo(); ?, 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
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
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:
template
color#00/color
Summary: I have to create a word document on the fly. what's the best way to
go about it?
Okay so I have a client that would like something output to a word document. I
already have HTML and PDF versions... I'm trying to figure out the best way
to do this. I am already aware of the open html
Good question, but wrong place for it. Ask [EMAIL PROTECTED]
On Wednesday 11 June 2003 08:31 pm, Ed wrote:
Howdy folks!
Is there a way to have multiple *.c source files and still end up with a
single *.so while using gcc? How would that be reflected in the config.m4
file?
I searched for
This should be helpful:
http://www.robotstxt.org/wc/active/all.txt
On Monday 09 June 2003 07:36 pm, Steven Kallstrom wrote:
Dear List,
So $_SERVER['HTTP_REFERER'] gives us the User Agent... is there anyway
to determine if in general the User-Agent is a bot, or do I have to
check for a
Try not hijacking threads.
Other than that, this has been discussed several times in the past. Methinks a
thorough scouring of the archives would be fruitful.
On Wednesday 04 June 2003 01:18 pm, sevenfiftyflat wrote:
Hi!
From any of you out there that managed to get a PHP script to
Clode? I like it. Really, who wants to say closing php tag, terminating php
tag, or whatever you say. Why not start calling it a clode? What does
everyone else think?
The only issue is if a closing php tag (or should it be a more general
closing tag, with php being able to serve as a modifier
Taking into account your earlier post:
$string = '';
foreach ( array_keys($_POST) as $var ) {
if ( !is_empty($_POST[$var]) ) {
string .= $var.' ';
}
}
trim($string);
On Monday 02 June 2003 03:22 am, Shaun wrote:
Hi,
I have many textfields on my page. How can
: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 you have a session timeout,
you're pretty much set.
That's true
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
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 on the
/* 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) ) {
an example for file_read_contents???
regards
Evan Nemerson [EMAIL PROTECTED], iletide sunu yazdi
news:[EMAIL PROTECTED]
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
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. The user
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) {
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
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're
sending it. It uses a more low-level interface (check out the below link
if you're interested) where
?php echo $random = gmp_intval(gmp_random(10)); ?
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
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
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 | \
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
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
-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 me the
-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 27
-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
-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,
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
can you do a rawurlencode() on the data before you put
-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
-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
-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
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Are you getting any errors through PHP? Set error reporting to E_ALL then try.
?php error_reporting(E_ALL); ?
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
-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 (?php. . .? and script language=php. . ./script)
are always available; the others can be turned on or off from the php.ini
configuration file. While the
101 - 200 of 346 matches
Mail list logo