php-general Digest 15 Mar 2006 04:11:21 - Issue 4016
Topics (messages 231897 through 231921):
Execute a shell command using thttpd-php
231897 by: Nelson Carreira
231914 by: Chris
Is this password protection script secure?
231898 by: IG
231900 by: Anthony
Thanks, I could also use Tidy and make it do the convert.
Jacob
On 3/9/06, Robin Vickery [EMAIL PROTECTED] wrote:
On 06/03/06, Jacob Friis Saxberg [EMAIL PROTECTED] wrote:
Does anyone know of a Php funtion that can do this:
http://golem.ph.utexas.edu/~distler/blog/NumericEntities.html
Hi all,
I would like to setup a login authentication based on users'
certificates bundled into the customer's browser.
I've added a valid SSL Certificate in my browser, signed with a
third-party CA, and I would like that the user connected to my website
would be automatically authenticated if
jonathan wrote:
I'd like to return the first key value in the following array such
that England would return 1 rather than 3 which is the second key
value. Any help would be greatly appreciated.
$c[1][]=Vietnam;
$c[1][]=China;
$c[1][]=Thailand;
$c[1][]=England;
$c[2][]=USA;
$c[2][]=Japan;
It worked fine and does fill well except when it comes to the downloading of
the file. I tried to provide a hyperlink so that the fdf will be downloaded
as a filled pdf when the link is clicked in internet exploreer. I also make
sure that this particular file type is downloaded with acrobat
List Manager wrote:
jonathan wrote:
I'd like to return the first key value in the following array such
that England would return 1 rather than 3 which is the second key
value. Any help would be greatly appreciated.
$c[1][]=Vietnam;
$c[1][]=China;
$c[1][]=Thailand;
$c[1][]=England;
I have a few PHP scripts where I log hit to a page i.e. IP and
hostname via a look up.
What I want to do is create essentially a blacklist to prevent bots
and other hosts and IP from being logged and skewing my stats. My
local IP/host and the MSN and Googlebot hits should not be in my
Hello,
I'm quite new to PHP language and although I got into it pretty fast I'm
having some trouble executing system commands using php. I'm using
thttpd-php_2.21b-2_mipsel in a Linksys router and I can only execute
system commands like ls and cd from the PHP. I tried using the
different
Hello.
I got a password protected login script of t'internet a while back and
have implemented it. I just want to make sure it is secure. I am aware
that the password is stored directly in the database and I don't think
this is a good thing. If the following could be looked at to see if
On 3/14/06, IG [EMAIL PROTECTED] wrote:
Hello.
I got a password protected login script of t'internet a while back and
have implemented it. I just want to make sure it is secure. I am aware
that the password is stored directly in the database and I don't think
this is a good thing. If the
-Mensagem original-
De: David Dorward
So the value attribute contains an encrypted representation of the country
name ... which is transmitted in clear text right next to it?
If you want encryption, why not just use SSL?
The value attribute contains an encrypted value of a row id
Which someone could do this, is another question I have. The user? He's do
something to his own computer, no?
Gerry
On 3/14/06, tedd [EMAIL PROTECTED] wrote:
Hi:
I've been using a php style switcher allowing users to change css.
The code follows:
Within the head tags.
link
On 3/14/06, IG [EMAIL PROTECTED] wrote:
Hello.
I got a password protected login script of t'internet a while back and
have implemented it. I just want to make sure it is secure. I am aware
that the password is stored directly in the database and I don't think
this is a good thing. If the
I have a few PHP scripts where I log hit to a page i.e. IP and hostname via a
look up.
What I want to do is create essentially a blacklist to prevent bots and other
hosts and IP from being logged and skewing my stats. My local IP/host and
the MSN and Googlebot hits should not be in my stats
On 14/03/06, IG [EMAIL PROTECTED] wrote:
Hello.
I got a password protected login script of t'internet a while back and
have implemented it. I just want to make sure it is secure.
It's not.
1. It only works with register_globals turned on. Not a good idea -
register_globals has been off by
tedd wrote:
link rel=stylesheet type=text/css media=screen href=?php
echo (!$thestyle)?'style1':$thestyle ?.css
It's not entirely clear from this example, but am I correct in assuming
that $thestyle is the same as $_COOKIE['thestyle'] in this case? In
other words, are you relying on
- Original Message -
From: Anthony Ettinger [EMAIL PROTECTED]
You should encrypt the password in the database, with a one-way hash,
then you simply compare what's in your db to what the login form
submits.
That way if you get hacked, or your admin goes postal, you won't have
people's
pedro mpa wrote:
So the value attribute contains an encrypted representation of the
country name ... which is transmitted in clear text right next to it?
If you want encryption, why not just use SSL?
The value attribute contains an encrypted value of a row id in the
database table for
Hi,
I have a big problem with my Debian server (Apache 2, PHP 5, Oracle
Instant Client). I've modified the environment variable NLS_LANG and,
with SQL*Plus, everything is ok ! But, in a PHP page, I can't insert a
value with accent (ex: Irène). I can read data with accent, but not
inserting !!!
I
Instead of using a hash if the password string, i prefer to save the
following in the password field of my user's table:
md5($user . $password)
There are some md5 databases around that can be used to get the
cleartext password from the hash if your database is compromised, if
you use this method
Hi all,
I have been working on a page where I have a form. I currently have
the form in an else block with no access to it if I need to redisplay
the form incase of errors. To be more specific I want to redisplay the
page with the errors displayed. I would like to have the form coded
once. It
Class validation
{
//functions
}
if(isset($submit))
{
//calls to validation code
}
else
{
//display webpage
}
On 3/14/06, Paul Goepfert [EMAIL PROTECTED] wrote:
Hi all,
I have been working on a page where I have a form. I currently have
the form in an else block with no access to it if
Hi Manuel,
I am trying to print from the client side. The client will be windows.
Thanks.
On 3/13/06, Manuel Lemos [EMAIL PROTECTED] wrote:
Hello,
on 03/13/2006 09:44 AM robert mena said the following:
I am currently migrating an application originally written with Delphi
to
PHP.
Nelson Carreira wrote:
Hello,
I'm quite new to PHP language and although I got into it pretty fast I'm
having some trouble executing system commands using php. I'm using
thttpd-php_2.21b-2_mipsel in a Linksys router and I can only execute
system commands like ls and cd from the PHP. I tried
tedd wrote:
link rel=stylesheet type=text/css media=screen href=?php
echo (!$thestyle)?'style1':$thestyle ?.css
It's not entirely clear from this example, but am I correct in
assuming that $thestyle is the same as $_COOKIE['thestyle'] in this
case? In other words, are you relying on
M. Sokolewicz wrote:
List Manager wrote:
jonathan wrote:
I'd like to return the first key value in the following array such
that England would return 1 rather than 3 which is the second key
value. Any help would be greatly appreciated.
$c[1][]=Vietnam;
$c[1][]=China;
$c[1][]=Thailand;
This is more of an HTML question than it has to do with PHP, and you
sound like a noobie :)
Only useful info I can give you is to use THEAD in tables to hold
headers, browsers put that row first on every page when breaking large
table on several pages.
Boban.
robert mena wrote:
For
I am currently migrating an application originally written with Delphi to
PHP. Everything is going fine except the printing of the reports that does
not produce the same visual result (i.e does not look the same or has some
aligmment issues).
We generate all of our printed reports using FPDF
I have a project where I need to connect to a remote SQL Server and move
data from their to my localy MySQL server. On the remote SQL Server, I only
have access to a few views but need to get their data and move it to my
local MySQL db. What is the best way to do this? I have freetds compiled
I have a project where I need to connect to a remote SQL Server and move
data from their to my localy MySQL server. On the remote SQL Server, I only
have access to a few views but need to get their data and move it to my
local MySQL db. What is the best way to do this? I have freetds compiled
Paul Goepfert wrote:
Hi all,
I have been working on a page where I have a form. I currently have
the form in an else block with no access to it if I need to redisplay
the form incase of errors. To be more specific I want to redisplay the
page with the errors displayed. I would like to have the
Mark wrote:
Can anyone help me with this problem please!
the code below shows a football fixture for the entire season , round 1-22
but this takes up to much space on the webpage (very long page).
Is it possible to display one round at a time so its automatic.
At the moment- each week the
32 matches
Mail list logo