ile with the
> .inc extension, so my database connection info, password, 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
oved, 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
--
P
;
> Thanks in advance.
>
> -Scott
Hi Scott,
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/
That depends,
You can store 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 i
copy it create a php file containing 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-m
o, you can check out the tutorial at
phpbuilder.com:
http://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]
F
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
) and sprintf() functions (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:
.com/browse.html/package/14
--
Meir Kriheli
> -Original Message-
> From: Felix [mailto:[EMAIL PROTECTED]]
> Sent: Friday, September 21, 2001 4:58 PM
> To: Salty Marine; [EMAIL PROTECTED]
> Subject: Re: [PHP] Any Free Web Hosts that still support the mail( )
> function out
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=535&single=1
Have fun
--
Meir Kriheli
--
P
a series of them.
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 Monday 17 September 2001 06:01, Nikola Veber wrote:
> Hi !
>
> I have a form
>
> Is there a way to open PHP_SELF in the same window, not in the new one ?
It should be
target is used as the name of the frame or window used for the submission.
see:
http://www.w3.org/TR/REC-html40/interact/f
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: erro
e..
>
> BTW, I am after 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
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:
>
> www.anyplace.com/script.php?action=s
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 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 fo
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 m
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
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
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.
>
> S
Hi,
I need another pair of eyes to see if I've overlooked something.
I'm developing a form class for a project. The class can generate the form
and upon submission validate it through a rules system.
Rules are a valid php command which can evaluate as boolean, e.g.:
$form->addRule('strlen({una
user enters into the $u_name field:
' and '1'='1
Ouch...
However, if those dashes were escaped with slashes, the query
will execute and return no values.
Never trust input from users, always check it.
--
Meir Kriheli
MKsoft computer systems
'There's someone
ing
> names?
>
>Thank you very much in advance.
>
> George
Hi George,
In your httpd.conf there is an entry called DirectoryIndex. Just add to this
whatever you like, e.g:
DirectoryIndex index.php index.html index.php3
--
Meir Kriheli
There's someone in my head, but it's not me - Pink Floyd
re $PostVarsData must contains the header informations to send 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
You can try the forms class from Manuel Lemos, which handles
this and more.
For more details:
http://phpclasses.upperdesign.com/browse.html/package/1
--
Meir Kriheli
MKsoft computer systems
'There's someone in my head but it's not me" - Pink Floyd
- Original Messag
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é L
roblem.
Always validate 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 admin
on Windows.
>
> -Rasmus
If you're running ssh on the server you can try 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
SID is: SID
>
> Who can tell me what happend !!
>
> Thank you in advanced !!!
>
> --
> M. Sc. Hassan Arteaga Rodríguez
> Microsoft Certified System Engineer
> Network Admin, WEB Programmer
> FUNDYCS, Ltd
> [EMAIL PROTECTED]
It should be echo $SID (I think) as this is a
n my /usr tree.
>
> Is this a bug with the rpm or am I doing something dumb? My linux
> 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.
I
r files without
> putting any path 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 [mail
Thanks
>
>
> Chris
while($count<4) {
$count++;
$strname="name$count";
echo $$strname;
}
--
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]
should configure and compile 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&
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." &
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 ver
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
indows implemenation is very hard (at least for me, I like to compile it).
As for speed both are very fast (even when 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).
:-) , the
majority of users in Israel are using IE.
One more problem you'll have with visaul hebrew is the ugly line breaks which
cause the end of the sentence to appear before the start of it.
I had a long discussion of this subject with Manuel off this mailing list. I
can send you a
cus 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.
HTH
--
Meir Kriheli
There's someone in my head, but it
gt; do I need to install?
You can also 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://ww
Hi
ibase_num_fields returns the column count of the result,
not the row count !
Meir Kriheli
MKsoft computer systems
'There's someone in my head but it's not me" - Pink Floyd
- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent:
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 -
> 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 som
44 matches
Mail list logo