Re: [PHP] .inc over .php

2002-04-19 Thread Meir Kriheli
, 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

Re: [PHP] Send output before header location

2002-01-13 Thread Meir Kriheli
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

Re: [PHP] jukebox

2002-01-05 Thread 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

Re: [PHP] session

2001-12-11 Thread Meir Kriheli
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

Re: [PHP] Where is my php.ini?

2001-11-01 Thread 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

Re: [PHP] 2 decimal places

2001-09-25 Thread Meir Kriheli
(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

Re: [PHP] 2 decimal places

2001-09-25 Thread Meir Kriheli
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

Re: [PHP] DB.php, and how to use?

2001-09-25 Thread Meir Kriheli
://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

Re: [PHP] Any Free Web Hosts that still support the mail( ) function out there?

2001-09-22 Thread Meir Kriheli
: 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

Re: [PHP] creating ZIP files

2001-09-21 Thread Meir Kriheli
. 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]

Re: [PHP] creating ZIP files

2001-09-21 Thread Meir Kriheli
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

Re: [PHP] form handling problem

2001-09-19 Thread Meir Kriheli
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

Re: [PHP] Flex...

2001-09-15 Thread Meir Kriheli
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:

Re: [PHP] Site Layouts/Designs

2001-09-09 Thread Meir Kriheli
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

Re: [PHP] POST from the script

2001-08-14 Thread Meir Kriheli
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:

Re: [PHP] project management scripts?

2001-08-05 Thread Meir Kriheli
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

Re: [PHP] Re: Trying to avoid code exploits..

2001-08-01 Thread Meir Kriheli
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

Re: [PHP] Re: Trying to avoid code exploits..

2001-08-01 Thread Meir Kriheli
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

Re: [PHP] Re: Trying to avoid code exploits..

2001-08-01 Thread Meir Kriheli
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

Re: [PHP] Re: Trying to avoid code exploits..

2001-08-01 Thread Meir Kriheli
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

Re: [PHP] Re: Trying to avoid code exploits..

2001-08-01 Thread Meir Kriheli
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

Re: [PHP] Filtering out \ when a ' is user entered?

2001-06-27 Thread Meir Kriheli - MKsoft
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

Re: [PHP] simulate form submission

2001-06-19 Thread Meir kriheli
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

Re: [PHP] ANN: Visual PHP Studio 1.0 Field Test 1

2001-05-07 Thread Meir kriheli
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

Re: [PHP] File Transfer over HTTPS

2001-04-25 Thread Meir kriheli
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

Re: [PHP] user login names/values

2001-04-25 Thread Meir kriheli
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]

Re: [PHP] Anyone got the new Postgres 7.1 .rpms working?

2001-04-24 Thread Meir Kriheli - MKsoft
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

Re: [PHP] About sessions !!

2001-04-24 Thread Meir kriheli
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

Re: [PHP] Site Structure

2001-04-23 Thread Meir kriheli
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

Re: [PHP] PHP standalone script

2001-03-16 Thread Meir kriheli
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

Re: [PHP] NETSCAPE Screws QUERY STRING!!!!!!

2001-03-04 Thread Meir Kriheli - MKsoft
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: [

Re: [PHP] PostgreSQL vs InterBase

2001-03-02 Thread Meir kriheli
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

Re: [PHP] Hebrew websites transition with php3 ..

2001-03-01 Thread Meir kriheli
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

Re: [PHP] PostgreSQL vs InterBase

2001-03-01 Thread Meir kriheli
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

Re: [PHP] Hebrew websites transition with php3 ..

2001-03-01 Thread Meir kriheli
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

Re: [PHP] Forms

2001-02-15 Thread Meir kriheli
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

Re: [PHP] Re:What version of Linux?

2001-02-02 Thread Meir kriheli
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

Re: [PHP] looking for a PHP editor

2001-01-11 Thread Meir Kriheli - MKsoft
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" -

Re: [PHP] ibase (firebird) localhost login ?

2001-01-11 Thread Meir Kriheli - MKsoft
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