mike wrote:
On Tue, Feb 17, 2009 at 4:26 PM, mike mike...@gmail.com wrote:
i tried that kind of stuff - it did not seem to work.
i will try again... if anyone has any ideas i.e. use iconv to convert
to A, then use DOM stuff, then use iconv to move it back to UTF8...
etc. i am all ears.
'Twas brillig, and Ian at 18/02/09 07:09 did gyre and gimble:
We dont have registration - its a once off vote anonymously using the hash
in the original email. We dont want registration otherwise it would be much
easier - but this was the best way I could think of without user
registration :/
Forgot to send to list.
-- Forwarded message --
From: Ian barnrac...@gmail.com
Date: Wed, Feb 18, 2009 at 11:12 AM
Subject: Re: [PHP] Re: Unique User Hashes
To: Colin Guthrie gm...@colin.guthr.ie
'Twas brillig, and Ian at 18/02/09 07:09 did gyre and gimble:
We dont have
What are some good php classes/scripts to work with:
Parsing XML data/files.
Building SOAP/WDML (Im not too familiar with this so still trying to
work it out)
So far, I have a class from :
PHP WSDL Generator - Version 1.1.0 b
http://www.protung.ro
Basically what I need to do is connect
Clancy schreef:
I have a function to process a data file. This process opens the file, and
then calls
another function to process each entry. This function in turn calls another
function to
process each line of the entry. A set of fairly complex arrays specifies how
all the
possible
Anton Heuschen wrote:
What are some good php classes/scripts to work with:
Parsing XML data/files.
xpath() or xslt.
/Per
--
Per Jessen, Zürich (-4.6°C)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
2009/2/17 PJ af.gour...@videotron.ca:
Stuart wrote:
2009/2/17 PJ af.gour...@videotron.ca:
Dotan Cohen wrote:
So put it all in one place:
?php
include path.inc;
printa href=\$path/dir/file.php\;
?
Full URLs don't break when users save the pages to disk.
That would be fine if the
On Tue, 2009-02-17 at 18:54 +0200, Thodoris wrote:
Hi,
This is probably a bit stupid, but I've been having issues getting any
of the good FTP servers running on my Ubuntu 6.06 (LTS) box.
I've tried Pro-FTP, Pure-FTP, and briefly installed some others, but
the versions available for my
2009/2/18 PJ af.gour...@videotron.ca:
Stuart wrote:
2009/2/17 PJ af.gour...@videotron.ca:
Stuart wrote:
2009/2/17 PJ af.gour...@videotron.ca:
Dotan Cohen wrote:
So put it all in one place:
?php
include path.inc;
printa href=\$path/dir/file.php\;
?
Full URLs don't break when
Stuart wrote:
2009/2/17 PJ af.gour...@videotron.ca:
Stuart wrote:
2009/2/17 PJ af.gour...@videotron.ca:
Dotan Cohen wrote:
So put it all in one place:
?php
include path.inc;
printa href=\$path/dir/file.php\;
?
Full URLs don't break when users save the
To focus on mysql_real_escape_string, I am recapping... questions below
QUOTE:==
Instead of doing this (for an imaginary table):
$sql = insert into table1(field1, field2) values ('$value1', '$value2');
do
$sql = insert into table1(field1, field2) values (' .
Stuart wrote:
?php include dirname(__FILE__)./../header.php; ?
This generates a Fatal error: Cal to undefined function dirname()
I must be really dense...
What I don't understand in the above is this - dirname refers to what
directory? -- the directory of the file that is including?
Yeah, I don't want local user access (SSH, their own entries in passwd,
etc..). Too much work to ensure they all have the correct file
permissions, etc..
I think I'll just skip the PHP bit and use a proper FTP server. I've
configured them a few times, but all the examples I found only had
2009/2/18 PJ af.gour...@videotron.ca:
Stuart wrote:
?php include dirname(__FILE__)./../header.php; ?
This generates a Fatal error: Cal to undefined function dirname()
The dirname function is present in both PHP 4 and 5 and does not rely
on any external libraries. Are you sure you're
---
Use FreeOpenSourceSoftwares, Stop piracy, Let the developers live. Get
a Free CD of Ubuntu mailed to your door without any cost. Visit :
www.ubuntu.com
--
On Wed, Feb 18, 2009 at 8:34 AM, PJ af.gour...@videotron.ca wrote:
To focus on mysql_real_escape_string, I am recapping... questions below
QUOTE:==
Instead of doing this (for an imaginary table):
$sql = insert into table1(field1, field2) values ('$value1', '$value2');
do
$sql =
Robert Cummings schreef:
On Tue, 2009-02-17 at 11:48 -0800, Michael A. Peters wrote:
Robert Cummings wrote:
I think what you all are missing is that physics is just a framework for
reality.
I think you are missing that reality is just a construct of strawberry
fields forever.
Carl Sagan
Thodoris a écrit :
Here's a question related to my last post. When specifying a link in a
HTML file (like to the css or an image file), there are two ways of
doing it. One is to simply include the relative path to the file
(relative to the doc root), like:
/graphics/my_portrait.gif
Or you
On Wed, Feb 18, 2009 at 4:12 AM, Ian barnrac...@gmail.com wrote:
Forgot to send to list.
-- Forwarded message --
From: Ian barnrac...@gmail.com
Date: Wed, Feb 18, 2009 at 11:12 AM
Subject: Re: [PHP] Re: Unique User Hashes
To: Colin Guthrie gm...@colin.guthr.ie
'Twas
I've had a bit of a problem with a function I'm using for a form.
Essentially, the function looks like this:
function addEvent($values = Array('name' = '', 'venue' = '',
'description' = '', 'errors' = Array()))
{
// code here displays the form
}
The function is used to both display an
On Wed, 2009-02-18 at 15:55 +0100, Jochem Maas wrote:
Robert Cummings schreef:
On Tue, 2009-02-17 at 11:48 -0800, Michael A. Peters wrote:
Robert Cummings wrote:
I think what you all are missing is that physics is just a framework for
reality.
I think you are missing that reality is
On Wed, Feb 18, 2009 at 8:34 AM, PJ af.gour...@videotron.ca wrote:
To focus on mysql_real_escape_string, I am recapping... questions below
QUOTE:==
Instead of doing this (for an imaginary table):
$sql = insert into table1(field1, field2) values ('$value1', '$value2');
do
$sql =
Jochem Maas wrote:
Robert Cummings schreef:
On Tue, 2009-02-17 at 11:48 -0800, Michael A. Peters wrote:
Robert Cummings wrote:
I think what you all are missing is that physics is just a framework for
reality.
I think you are missing that reality is just a
Thodoris wrote:
I've had a bit of a problem with a function I'm using for a form.
Essentially, the function looks like this:
function addEvent($values = Array('name' = '', 'venue' = '',
'description' = '', 'errors' = Array()))
{
// code here displays the form
}
The function is used
PJ wrote:
Stuart wrote:
2009/2/17 PJ af.gour...@videotron.ca:
Stuart wrote:
2009/2/17 PJ af.gour...@videotron.ca:
Dotan Cohen wrote:
So put it all in one place:
?php
include path.inc;
printa href=\$path/dir/file.php\;
?
Full URLs don't break when users
Stuart wrote:
2009/2/18 PJ af.gour...@videotron.ca:
Stuart wrote:
?php include dirname(__FILE__)./../header.php; ?
This generates a Fatal error: Cal to undefined function dirname()
The dirname function is present in both PHP 4 and 5 and does not rely
on
On Wed, Feb 18, 2009 at 12:05 PM, PJ af.gour...@videotron.ca wrote:
Stuart wrote:
2009/2/18 PJ af.gour...@videotron.ca:
Stuart wrote:
?php include dirname(__FILE__)./../header.php; ?
This generates a Fatal error: Cal to undefined function dirname()
The dirname
---
Use FreeOpenSourceSoftwares, Stop piracy, Let the developers live. Get
a Free CD of Ubuntu mailed to your door without any cost. Visit :
www.ubuntu.com
--
On Wed, Feb 18, 2009 at 12:05:21PM -0500, PJ wrote:
Stuart wrote:
2009/2/18 PJ af.gour...@videotron.ca:
Stuart wrote:
?php include dirname(__FILE__)./../header.php; ?
snip
What confused me here is that often, in examples, there are all sorts of
references to files and there
Bastien Koert wrote:
On Wed, Feb 18, 2009 at 12:05 PM, PJ af.gour...@videotron.ca wrote:
Stuart wrote:
2009/2/18 PJ af.gour...@videotron.ca:
Stuart wrote:
?php include dirname(__FILE__)./../header.php; ?
This generates a Fatal error: Cal to undefined function dirname()
The
Paul M Foster wrote:
On Wed, Feb 18, 2009 at 12:05:21PM -0500, PJ wrote:
Stuart wrote:
2009/2/18 PJ af.gour...@videotron.ca:
Stuart wrote:
?php include dirname(__FILE__)./../header.php; ?
snip
What confused me here is that often, in examples, there are all sorts of
references to
Is there a function or variable that will tell me if a file has asked
another file to include something much the same as
$_SERVER['HTTP_REFERER'] works. I have a script that is included on
every page of a site but also needs to include some javascript only if
it's called from a certain URL.
On Wed, Feb 18, 2009 at 1:16 PM, Ed Curtis e_cur...@homes2see.com wrote:
Is there a function or variable that will tell me if a file has asked
another file to include something much the same as $_SERVER['HTTP_REFERER']
works. I have a script that is included on every page of a site but also
2009/2/13 Dan Shirah mrsqua...@gmail.com:
Use the system() command, and enclose both your command and its
parameters in a pair of single quotes, as:
system('mycmd -a alfa -b bravo');
Paul
--
Paul M. Foster
Using both exec() and system() I am getting the error: Unable to fork
This
Ed Curtis wrote:
Is there a function or variable that will tell me if a file has asked
another file to include something much the same as
$_SERVER['HTTP_REFERER'] works. I have a script that is included on
every page of a site but also needs to include some javascript only if
it's called from
On Wed, 2009-02-18 at 23:57 +0530, Sudheer wrote:
Ed Curtis wrote:
Is there a function or variable that will tell me if a file has asked
another file to include something much the same as
$_SERVER['HTTP_REFERER'] works. I have a script that is included on
every page of a site but also
Johnny wrote:
Hi Thodoris,
In my opinion, the best use is to include your file with relative urls,
like :
img src=/path/to/img.jpg /
I believe that it best.
Including the hostname use to cause a dns lookup in some browsers which
made it slower but I don't believe that is the case
Ed Curtis wrote:
Is there a function or variable that will tell me if a file has asked
another file to include something much the same as
$_SERVER['HTTP_REFERER'] works. I have a script that is included on
every page of a site but also needs to include some javascript only if
it's called from
Ed Curtis wrote:
Is there a function or variable that will tell me if a file has asked
another file to include something much the same as
$_SERVER['HTTP_REFERER'] works. I have a script that is included on
every page of a site but also needs to include some javascript only if
it's called from
At 5:47 AM +0200 2/18/09, Ian wrote:
Anyone had to deal with this in the past and does anyone have any
suggestions/ideas as to how I could better this setup?
Many thanks in advance,
Ian
Ian:
As other people have said, using IP's are not really a good solution.
If it was me, I would ask the
Yannick Mortier wrote:
2009/2/13 Dan Shirah mrsqua...@gmail.com:
Using both exec() and system() I am getting the error: Unable to fork
This sounds to me like it is an restriction on the server that doesn't
allow php to fork so it could start another process.
Maybe you should ask your
Michael A. Peters wrote:
Ed Curtis wrote:
Is there a function or variable that will tell me if a file has asked
another file to include something much the same as
$_SERVER['HTTP_REFERER'] works. I have a script that is included on
every page of a site but also needs to include some javascript
On Wed, Feb 18, 2009 at 1:41 PM, tedd tedd.sperl...@gmail.com wrote:
At 5:47 AM +0200 2/18/09, Ian wrote:
Anyone had to deal with this in the past and does anyone have any
suggestions/ideas as to how I could better this setup?
Many thanks in advance,
Ian
Ian:
As other people have said,
Robert Cummings wrote:
On Wed, 2009-02-18 at 23:57 +0530, Sudheer wrote:
Ed Curtis wrote:
Is there a function or variable that will tell me if a file has asked
another file to include something much the same as
$_SERVER['HTTP_REFERER'] works. I have a script that is included on
every
Hello every body,
I am a french student, I am using memcache to manage sessions by the
handler, but sometimes I want to manage their from PHP; for example, for
incrementing one or two variables of an other session, I want to know
how I can update an other session, if I know its name ?
http://www.gfx-depot.com/forum/-php-server-php-self-validation-t-1636.html
explains a technique to validate the input as well (don't trust that is
clean)
I do not understand the exploit. How is he spoofing any $_SERVER
variables? The attack description doesn't make sense.
--
Dotan Cohen
At 1:54 PM -0500 2/18/09, Andrew Ballard wrote:
On Wed, Feb 18, 2009 at 1:41 PM, tedd tedd.sperl...@gmail.com wrote:
Granted this is an involved method, but email addresses are unique and thus
ensures one vote per email address.
E-mail addresses are (somewhat unique -- not getting into
On Wed, Feb 18, 2009 at 3:43 PM, tedd tedd.sperl...@gmail.com wrote:
At 1:54 PM -0500 2/18/09, Andrew Ballard wrote:
On Wed, Feb 18, 2009 at 1:41 PM, tedd tedd.sperl...@gmail.com wrote:
Granted this is an involved method, but email addresses are unique and
thus
ensures one vote per
On Wed, 2009-02-18 at 15:54 -0500, Andrew Ballard wrote:
On Wed, Feb 18, 2009 at 3:43 PM, tedd tedd.sperl...@gmail.com wrote:
At 1:54 PM -0500 2/18/09, Andrew Ballard wrote:
On Wed, Feb 18, 2009 at 1:41 PM, tedd tedd.sperl...@gmail.com wrote:
Granted this is an involved method, but
At 3:54 PM -0500 2/18/09, Andrew Ballard wrote:
You're missing my point. Yes, e-mail addresses are unique delivery
points. They can not, however, uniquely identify one and only one
person -- which is what one would need in the OP's situation.
Andrew
Andrew:
No -- I did not miss you point,
On Wed, 2009-02-18 at 10:21 -0600, Shawn McKenzie wrote:
Thodoris wrote:
I've had a bit of a problem with a function I'm using for a form.
Essentially, the function looks like this:
function addEvent($values = Array('name' = '', 'venue' = '',
'description' = '', 'errors' = Array()))
Hi all,
A while ago, i had a problem with shell_exec:
I was writing some code to execute imagemagick to convert a bunch of images.
This could take ages to execute and the page therefore ages to load. The
solution was to get a linux box and append a at the end to do it in the
background or make
Dotan Cohen wrote:
http://www.gfx-depot.com/forum/-php-server-php-self-validation-t-1636.html
explains a technique to validate the input as well (don't trust that is
clean)
I do not understand the exploit. How is he spoofing any $_SERVER
variables? The attack description doesn't make sense.
On Thu, 2009-02-19 at 10:30 +1300, German Geek wrote:
Hi all,
A while ago, i had a problem with shell_exec:
I was writing some code to execute imagemagick to convert a bunch of images.
This could take ages to execute and the page therefore ages to load. The
solution was to get a linux box
Dotan Cohen wrote:
http://www.gfx-depot.com/forum/-php-server-php-self-validation-t-1636.html
explains a technique to validate the input as well (don't trust that is
clean)
I do not understand the exploit. How is he spoofing any $_SERVER
variables? The attack description doesn't make
Michael A. Peters wrote:
Dotan Cohen wrote:
http://www.gfx-depot.com/forum/-php-server-php-self-validation-t-1636.html
explains a technique to validate the input as well (don't trust that is
clean)
I do not understand the exploit. How is he spoofing any $_SERVER
variables? The attack
Did you actually try his example?
No, I could not understand it. Now I see why:
1) Where would the experienced hacker enter the attack? Now I see
that it is the URL of the attacked site. That was not clear, I though
that it was being entered into some form element that I did not see in
the code.
Hello PHPers,
I am quite ignorant about file system security. I was hoping you all
could help me understand things.
How does one restrict php script from going (reading, writing) files in
the file system?
As I see it, a php programmer could change the include_path, with
ini_set(), use ../
Yes, believe it or not, when i was writing this, i thought about a db soln
as well. Just hadnt done it that way back then.
I guess with Linux one could do something like:
shell_exec('{longexecutingprogram -with -params; mysql -uuser -ppass
database query; } ');
Surely it should be possible in
2009/2/18 PJ af.gour...@videotron.ca:
Paul M Foster wrote:
On Wed, Feb 18, 2009 at 12:05:21PM -0500, PJ wrote:
Stuart wrote:
2009/2/18 PJ af.gour...@videotron.ca:
Stuart wrote:
?php include dirname(__FILE__)./../header.php; ?
snip
What confused me here is that often, in examples,
On Thu, 2009-02-19 at 11:15 +1300, German Geek wrote:
Yes, believe it or not, when i was writing this, i thought about a db soln
as well. Just hadnt done it that way back then.
I guess with Linux one could do something like:
shell_exec('{longexecutingprogram -with -params; mysql -uuser
On Wed, Feb 18, 2009 at 4:07 PM, tedd tedd.sperl...@gmail.com wrote:
At 3:54 PM -0500 2/18/09, Andrew Ballard wrote:
You're missing my point. Yes, e-mail addresses are unique delivery
points. They can not, however, uniquely identify one and only one
person -- which is what one would need in
German Geek napsal(a):
Hi all,
A while ago, i had a problem with shell_exec:
I was writing some code to execute imagemagick to convert a bunch of images.
This could take ages to execute and the page therefore ages to load. The
solution was to get a linux box and append a at the end to do it
What are your suggestions folks on how to go about setting a date on a
form
so that a user can not set a start date prior to the current days date?
I've been looking around php.net but is it a javascript thing in the
validation I should be dealing with, basically as it is I have a
Daniel Kolbo wrote:
Hello PHPers,
I am quite ignorant about file system security. I was hoping you all
could help me understand things.
How does one restrict php script from going (reading, writing) files in
the file system?
As I see it, a php programmer could change the include_path,
Guys, I have not seen a poll where you need to input your email address
- and if I would I would not vote - because it's a waste of my time...
if you want me to vote you do everything you can to make it as pleasant
as possible -- certainly that isn't requirement of an email validation.
On Wed, Feb 18, 2009 at 05:25:16PM -0600, Terion Miller wrote:
snip
What about just accepting any date in to the system, and defaulting to
the current date if any numptys/users try to set one before?
Do something maybe like this (untested)
$userDate =
Per Jessen wrote:
Anton Heuschen wrote:
What are some good php classes/scripts to work with:
Parsing XML data/files.
xpath() or xslt.
/Per
you'll do no finer than wso2 wsf/php for anything webservice related
http://wso2.org/projects/wsf/php
--
PHP General Mailing List
I'm trying to build a multi-array menu (but open to using classes or
something if that makes this easier).
Does anyone have a solution already working?
I'm very close, but I can't seem to get my directories to work and I
end up with extraneous ul blocks.
here's what I need to re-create:
div
Any ideas or tutorials on how to build a user profile page sort of like
facebook?
-Jeff
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
The question can be equally rephrased as How an Atom bom/Spaceship be
created?
Answer depends on the level of knowledge you have on coding / developing
sites. Woud you be using any framework? or would you use any readymade CMS?
Or write everything from scratch?
Question can also be generalized
Daevid Vincent wrote:
I'm trying to build a multi-array menu (but open to using classes or
something if that makes this easier).
Does anyone have a solution already working?
I'm very close, but I can't seem to get my directories to work and I
end up with extraneous ul blocks.
here's what I
Daevid Vincent wrote:
I'm trying to build a multi-array menu (but open to using classes or
something if that makes this easier).
Does anyone have a solution already working?
I'm very close, but I can't seem to get my directories to work and I
end up with extraneous ul blocks.
here's what I
Hi all.
Maybe I'm wanting more Java-like functionality out of PHP, but I don't
really like getting and setting members directly (even for public
members) - I'd rather use accessors. This way you can control what is
getting set and what is returning. However, I also don't really want
to
74 matches
Mail list logo