, etc is
(theoretically) safe from being served directly.
Erik
Those files should be placed outside DocumentRoot (if you control the server).
Then set include_path in php.ini to include that dir, and you're done. No
need to rely on apache for this.
--
Meir Kriheli
--
PHP General Mailing List
or when a page has moved, but the
technique is not very effective since users may not even be looking at the
window that is to be refreshed and since it messes up the user's history on
many browsers. Some search engines penalize pages that use a Refresh of a few
seconds or less.
--
Meir Kriheli
,
A quick search at freshmeat shows several projects doing the same thing
already, you might want to check them out for reference:
http://freshmeat.net/search/?q=jukebox%20php
--
Meir Kriheli
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
session data in a DB instead of files.
All servers sharing session vars should use this DB for session storage. This
works if the servers are on the same site.
If the server is in some other place that is problem. Allowing access to your
DB via the 'net is asking for trouble.
--
Meir Kriheli
phpinfo()
in it and access it with your browser. Examine the output to see where the
ini is expected (you can define this while running configure during the build
process)
--
Meir Kriheli
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
(there
are good examples about formatting in sprintf()'s documentation).
--
Meir Kriheli
- Original Message -
From: Christian Dechery [EMAIL PROTECTED]
To: Kurth Bemis [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Tuesday, September 25, 2001 9:41 AM
Subject: Re: [PHP] 2 decimal places
On Tuesday 25 September 2001 19:38, Evan Nemerson wrote:
Yeah, but what if they don't JUST want to print it...
/*untested*/
$i=524;
$n=5-strlen($i);
$outnum=;
for($x=1;$x=$n;$x++){
$outnum.=0;
};
$outnum.=$i;
$outnum = sprintf('%05d' , 524);
--
Meir Kriheli
On Tuesday 25
://www.phpbuilder.com/columns/allan20010115.php3
The best way to know what the class does and its method is reading the source.
--
Meir Kriheli
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact
: mail() in ...
Regards,
Salty
You can use some SMTP class to send mail without the mail() function if you
have a mail account to use. You can search for it on
http://phpclasses.upperdesign.com
And the SMTP class is found at
http://phpclasses.upperdesign.com/browse.html/package/14
--
Meir
.
See:
http://www.zend.com/zend/spotlight/creating-zip-files1.php
--
Meir Kriheli
--
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]
On Friday 21 September 2001 00:31, Raphael Pirker wrote:
this link refers to a function READING zip files, not actually creating
one...
Sorry, forgot to send the link to the zip creation class,
http://www.zend.com/codex.php?id=535single=1
Have fun
--
Meir Kriheli
--
PHP General Mailing
On Monday 17 September 2001 06:01, Nikola Veber wrote:
Hi !
I have a form
form target = ?php echo $PHP_SELF ?; METHOD = get
Is there a way to open PHP_SELF in the same window, not in the new one ?
It should be
form action = ?php echo $PHP_SELF; ? METHOD = get
target is used as the name of
On Saturday 15 September 2001 17:08, Joaquin wrote:
Hello, i ask to the listo for a problem.. and they say me that i havent
flex.. yhe error is this.. when i put ./configure to install PHP it says
...
checking lex output file root... ./configure: lex: command not found
configure: error:
free ones, i don't want to have to pay for them..
- James ReDucTor Mitchell
Hi,
See http://www.oswd.org
--
Meir Kriheli
--
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
On Tuesday 14 August 2001 23:52, Marc Hanlon wrote:
I was wondering if anyone knows how to make a script that is capable of
doing it's own POST to a page without needing a form to be filled in.
Basically it needs to perform the same sort of action as:
On Thursday 02 August 2001 23:12, Daniel Goldin \(E-mail\) wrote:
Anybody know of any good project management scripts? Nothing too bloated.
Just a good simple way to organize projects and groups remotely. I've found
phpGroupware to be unwieldy and slow.
From a quick search at freshmeat.net
On Wednesday 01 August 2001 02:02, Yasuo Ohgaki wrote:
Meir Kriheli [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Hi,
I need another pair of eyes to see if I've overlooked something.
SNIP
so
'{pass1}=={pass2}'
is converted to
'$GLOBAL
On Wednesday 01 August 2001 10:20, Richard Lynch wrote:
But I'm not
using eval()
directly on user entered data, and I can't see where it is possible.
Yes, you are.
pass1 is coming from the user, is it not?
You are using eval() to decide if pass1 and pass2 are equal, are you not?
You
On Wednesday 01 August 2001 10:20, Richard Lynch wrote:
But I'm not
using eval()
directly on user entered data, and I can't see where it is possible.
Yes, you are.
pass1 is coming from the user, is it not?
You are using eval() to decide if pass1 and pass2 are equal, are you not?
You
On Wednesday 01 August 2001 13:54, Yasuo Ohgaki wrote:
I don't think this is much of a problem. I unset() all the global
session
variables before I use them so this should be no problem.
All inputs (GET/POST/COOKIE) from users must be checked if you worriy
about security. You might done
On Wednesday 01 August 2001 15:46, Phil Driscoll wrote:
Is this staement safe ?
eval('$a = $GLOBALS[pass1]==$GLOBALS[pass2]');
Maybe I'm missing the point, but why not just go:
$a = $GLOBALS[pass1]==$GLOBALS[pass2];
I'm writing a form class which can also validate the form and I want to
input from users, always check it.
--
Meir Kriheli
MKsoft computer systems
'There's someone in my head but it's not me - Pink Floyd
--
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
the post
vars
but what are these header informations?
how can I handle that?
Thanks,
Pascal
You can use the http class from Manuel Lemos, see:
http://phpclasses.upperdesign.com/browse.html/package/3
--
Meir Kriheli
There's someone in my head, but it's not me - Pink Floyd
On Tuesday 08 May 2001 00:39, elias wrote:
Is it a windows app (I hope it isn't)?
--
Meir Kriheli
There's someone in my head, but it's not me - Pink Floyd
Hello.
Good work!
Hope it beats DreamWeaver4+EditPlus2
-elias.
José León Serna [EMAIL PROTECTED] wrote in message
the scp (secure copy ?)
protocol. For windows there's is a freeware called winscp (loop it up in
google). But this has nothing to do with php.
--
Meir Kriheli
There's someone in my head, but it's not me - Pink Floyd
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail
user data
--
Meir Kriheli
There's someone in my head, but it's not me - Pink Floyd
--
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]
skills are basic so any help would be much appreciated
Geoff Caplan
I had the same problem, and solved it by creating a symlink name postgres.h
to fostgres-fe.h, and it is working great.
In ypur postgres include dir do:
ln -s postgres-fe.h postgres.h
Meir Kriheli
MKsoft computer systems
to use it,
so use session_register(myvar) before echoing it (You should
increment it as well).
--
Meir Kriheli
There's someone in my head, but it's not me - Pink Floyd
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail
info in?
regards,
jaxon
Sure you can, set the include_path in your php.ini file.
--
Meir Kriheli
There's someone in my head, but it's not me - Pink Floyd
-Original Message-
From: Toby Miller [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 23, 2001 3:44 PM
To: indrek
PHP as a standalone executeable (without
--with-apxs or without --with-apache) and in the top of your script you
should put
#!/usr/bin/php -q
or whatever the path to PHP is (check the output of phpinfo() ).
the -q flag is to supress headers.
--
Meir Kriheli
There's someone in my head
You should use the urlencode() function.
See
http://www.php.net/manual/en/function.urlencode.php
--
Meir Kriheli
MKsoft computer systems
'There's someone in my head but it's not me" - Pink Floyd
- Original Message -
From: "Thomas Edison Jr." [EMAIL PROTECTED]
To: [
On Friday 02 March 2001 00:23, Shaun Thomas wrote:
On Thu, 1 Mar 2001, Meir kriheli wrote:
I use both of the databases (Interbase 6.01 and PostgreSQL 7.1beta4).
PostgreSQL has more features comapared to Interbase (the procedureal
language is very robust and there are many datatyps
f you wish.
--
Meir Kriheli
There's someone in my head, but it's not me - Pink Floyd
Hi Manuel,
All is great, working hard to make WeberDev.com a better place
for the community and trying to make people understand we don't
make $$$ from it :)
The IE / NN war was one that left no cha
compared to commerical DB, in my
tests the deafult install of Interbase outperfomed the default install of
Oracle 8i about 10X, tested on P166 with 96MB and PII400 with 192MB).
--
Meir Kriheli
There's someone in my head, but it's not me - Pink Floyd
--
PHP General Mailing List (http
As Boaz suggested look into hebrev and hebrevc functions. They are the only
ones I can think about right now.
check
http://php.net/hebrev
http://php.net/hebrevc
the manual states that this functions are defined in PHP3 and PHP4.
HTH
--
Meir Kriheli
There's someone in my
to a field.
* Select the text of a field.
* Set the input focus and select the text of a field.
* Enable and disable input fields
- Automatic capitalization of the text of a field:
* Upper case.
* Lower case.
* Word initials
- Etc.
/snip
HTH
--
Meir Kriheli
There's someone in my head, but it's not me
try the LinuxFromScratch project, there you can install the
minimum needed stuff, and tweak it to your liking.
It will take you a few days but IMHO it's worth the trouble (and you'll learn
much more about linux that way).
check
http://www.linuxfromscratch.org
--
Meir Kriheli
There's someone
hi..
..i am curious if theres anny linux (x, KDE, Gnome) php editor with syntax
highliting and this things...
markus
You can also try quanta+ for the KDE desktop,
http://quanta.sourceforge.net
Meir Kriheli
MKsoft computer systems
'There's someone in my head but it's not me" -
use
localhist:path_to_your_db/your_db.gdb
example :
on *nix:
localhost:/opt/interbase/db/my_db.gdb
on win*
localhost:c:\ib_db\my_db.gdb
Meir Kriheli
MKsoft computer systems
'There's someone in my head but it's not me" - Pink Floyd
- Original Message -
From: "Ric
39 matches
Mail list logo