hello guru off php
pecl pam seems little buggy
http://pecl.php.net/bugs/bug.php?id=16995
you are coming to run this extension
I'm listening and indication of any return
please help me
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Thu, Aug 19, 2010 at 7:41 AM, Daevid Vincent wrote:
> You've got something jacked. DO NOT proceed with your coding using this
> hack.
>
> Put this in a blank file named whatever_you_want.php and hit it with your
> web browser.
>
>
You've got something jacked. DO NOT proceed with your coding using this
hack.
Put this in a blank file named whatever_you_want.php and hit it with your
web browser.
---
-
foo
ba
This was the complete code of the page (this is the POST version not the
REQUEST version):
Returns an empty array no matter what POST vars are sent. We fixed it by
changing it to this, which I've never even heard of, but so far is working
perfectly:
I have no idea what the problem was. Tha
Does $_SERVER['HTTP_METHOD'] show a GET or POST?
On Wed, Aug 18, 2010 at 4:58 PM, Adam Richardson wrote:
> On Wed, Aug 18, 2010 at 4:55 PM, Adam Richardson >wrote:
>
> > On Wed, Aug 18, 2010 at 4:49 PM, Ashley Sheridan <
> a...@ashleysheridan.co.uk
> > > wrote:
> >
> >> On Wed, 2010-08-18 at 13:
On Wed, 2010-08-18 at 16:55 -0400, Adam Richardson wrote:
> On Wed, Aug 18, 2010 at 4:49 PM, Ashley Sheridan
> wrote:
>
> > On Wed, 2010-08-18 at 13:45 -0700, Brian Dunning wrote:
> >
> > > I'm trying to write a VERY simple script that does nothing but store all
> > the submitted GET and POST var
On Wed, Aug 18, 2010 at 4:55 PM, Adam Richardson wrote:
> On Wed, Aug 18, 2010 at 4:49 PM, Ashley Sheridan > wrote:
>
>> On Wed, 2010-08-18 at 13:45 -0700, Brian Dunning wrote:
>>
>> > I'm trying to write a VERY simple script that does nothing but store all
>> the submitted GET and POST vars in a
On Wed, Aug 18, 2010 at 4:49 PM, Ashley Sheridan
wrote:
> On Wed, 2010-08-18 at 13:45 -0700, Brian Dunning wrote:
>
> > I'm trying to write a VERY simple script that does nothing but store all
> the submitted GET and POST vars in a string and echo it out.
> >
> > $response = print_r($_REQUEST, tru
Sorry, my typo, $_POST is one of the options we tried, not $POST. It returns an
empty array also.
On Aug 18, 2010, at 1:50 PM, Joshua Kehn wrote:
> On Aug 18, 2010, at 4:45 PM, Brian Dunning wrote:
>
>> I'm trying to write a VERY simple script that does nothing but store all the
>> submitted
> $response = print_r($_REQUEST, true);
> echo $response;
I'm sorry I don't have any input on your actual question but tohuhgt
I'd mention that this can be shortened to:
print_r($_REQUEST);
... if I'm not mistaken.
Marc
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
On Wed, 2010-08-18 at 13:45 -0700, Brian Dunning wrote:
> I'm trying to write a VERY simple script that does nothing but store all the
> submitted GET and POST vars in a string and echo it out.
>
> $response = print_r($_REQUEST, true);
> echo $response;
>
> The problem is it only shows GET vars
I'm trying to write a VERY simple script that does nothing but store all the
submitted GET and POST vars in a string and echo it out.
$response = print_r($_REQUEST, true);
echo $response;
The problem is it only shows GET vars. I've tried $POST instead of $_REQUEST
and it always gives an empty a
On Wed, Aug 18, 2010 at 15:01, Ashley Sheridan wrote:
> On Wed, 2010-08-18 at 23:36 +0530, Shreyas Agasthya wrote:
>
> Camilo,
>
> What exactly are you trying to achieve? Meaning:
>
> if (true)
>do this;
> if (false)
>do that;
>
> However, here's a link that I used long back to help me wi
On Wed, Aug 18, 2010 at 12:23 PM, Ashley Sheridan
wrote:
> Hi list,
>
> I know that some languages such as C++ can overload functions and
> methods by declaring the method again with a different number of
> arguments, and the compiler internally sorts things out, but I can't
> seem to find a simil
On Wed, 2010-08-18 at 12:35 -0400, chris h wrote:
>
>
> Would something like this work for you?
>
>
> class foo
> {
>
>
>public function bar($arg1, $arg2, $arg3=null)
> {
>
>
> if (isset($arg3)){
> {
> return $this->_bar3($arg1, $arg2, $arg3);
>
>
> } else {
>
On Wed, 2010-08-18 at 23:36 +0530, Shreyas Agasthya wrote:
> Camilo,
>
> What exactly are you trying to achieve? Meaning:
>
> if (true)
>do this;
> if (false)
>do that;
>
> However, here's a link that I used long back to help me with some RegEx :
> http://www.gskinner.com/RegExr/
>
> R
I am really in need of some help here! Whenever I try to use fopen,
fsockopen, file_get_contents, etc in php to open an https/ssl; resource, i
get the following errors:
Warning: file_get_contents(): SSL: connection timeout
Warning: file_get_contents(): Failed to enable crypto
Here is some relevan
Camilo,
What exactly are you trying to achieve? Meaning:
if (true)
do this;
if (false)
do that;
However, here's a link that I used long back to help me with some RegEx :
http://www.gskinner.com/RegExr/
Regards,
Shreyas
On Wed, Aug 18, 2010 at 11:31 PM, Camilo Sperberg wrote:
> Hello lis
Hello list :)
Just a short question which I know it should be easy, but I'm no expert yet
in regular expressions.
I've got a nice little XML string, which is something like this but can be
changed:
http://tempuri.org/";>false
The boolean value can be true or false, so what I want to do, is filt
Would something like this work for you?
class foo
{
public function bar($arg1, $arg2, $arg3=null)
{
if (isset($arg3)){
{
return $this->_bar3($arg1, $arg2, $arg3);
} else {
return $this->_bar2($arg1, $arg2);
}
}
also you may want to look into the fu
Hi list,
I know that some languages such as C++ can overload functions and
methods by declaring the method again with a different number of
arguments, and the compiler internally sorts things out, but I can't
seem to find a similar way to do this with PHP.
Basically, what I've got at the moment i
On 18/08/2010, Bob McConnell wrote:
> From: e-letter
>
>> On 18/08/2010, chris h wrote:
>>> On Wed, Aug 18, 2010 at 7:10 AM, e-letter wrote:
>>>
On 18/08/2010, chris h wrote:
> What are the actual file permissions when you run ls -o?
>
root
>>>
>>> What's the entire out
On Tue, Aug 17, 2010 at 15:19, tedd wrote:
>
> Bingo -- that worked.
>
> It's interesting that a space is optional between -u and user, but required
> to be absent between -p and password. Seems not symmetrical to me.
The command I sent was because - as I said in the original thread
- passing
From: e-letter
> On 18/08/2010, chris h wrote:
>> On Wed, Aug 18, 2010 at 7:10 AM, e-letter wrote:
>>
>>> On 18/08/2010, chris h wrote:
>>> > What are the actual file permissions when you run ls -o?
>>> >
>>> root
>>>
>>
>> What's the entire output of ls -o?
>>
> [r...@localhost html]# ls -o *
On 18/08/2010, Ashley Sheridan wrote:
> On Wed, 2010-08-18 at 12:10 +0100, e-letter wrote:
>
>> On 18/08/2010, chris h wrote:
>> > What are the actual file permissions when you run ls -o?
>> >
>> root
>> >
>> > Do you know if PHP is installed as an apache mod or cgi? Also you might
>> > check wha
On Wed, 2010-08-18 at 12:10 +0100, e-letter wrote:
> On 18/08/2010, chris h wrote:
> > What are the actual file permissions when you run ls -o?
> >
> root
> >
> > Do you know if PHP is installed as an apache mod or cgi? Also you might
> > check what user apache is running as.
> >
> No. How to ver
On 18/08/2010, chris h wrote:
> On Wed, Aug 18, 2010 at 7:10 AM, e-letter wrote:
>
>> On 18/08/2010, chris h wrote:
>> > What are the actual file permissions when you run ls -o?
>> >
>> root
>>
>
> What's the entire output of ls -o?
>
[r...@localhost html]# ls -o *
-rwxr-xr-x 1 root 182 2010-08
On Wed, Aug 18, 2010 at 7:10 AM, e-letter wrote:
> On 18/08/2010, chris h wrote:
> > What are the actual file permissions when you run ls -o?
> >
> root
>
What's the entire output of ls -o?
> >
> > Do you know if PHP is installed as an apache mod or cgi? Also you might
> > check what user apa
On 18/08/2010, chris h wrote:
> What are the actual file permissions when you run ls -o?
>
root
>
> Do you know if PHP is installed as an apache mod or cgi? Also you might
> check what user apache is running as.
>
No. How to verify?
> possibly...
> $ vi /etc/apache2/envvars
>
No apache2 on my com
What are the actual file permissions when you run ls -o?
Do you know if PHP is installed as an apache mod or cgi? Also you might
check what user apache is running as.
possibly...
$ vi /etc/apache2/envvars
and look for something like...
export APACHE_RUN_USER=www-data
On Wed, Aug 18, 2010 at
On 18/08/2010, Peter Lind wrote:
> On 18 August 2010 12:47, e-letter wrote:
>> On 18/08/2010, chris h wrote:
>>> php is not processing the file. There's a few reasons for this, but the
>>> first thing I would check is the permissions of the file. From the
>>> directory try
>>>
>>> $ ls -oa
>>>
On 18 August 2010 12:47, e-letter wrote:
> On 18/08/2010, chris h wrote:
>> php is not processing the file. There's a few reasons for this, but the
>> first thing I would check is the permissions of the file. From the
>> directory try
>>
>> $ ls -oa
>>
> The file permission was confirmed as roo
On 18/08/2010, chris h wrote:
> php is not processing the file. There's a few reasons for this, but the
> first thing I would check is the permissions of the file. From the
> directory try
>
> $ ls -oa
>
The file permission was confirmed as root, since it was copied (as
root) from a normal user
php is not processing the file. There's a few reasons for this, but the
first thing I would check is the permissions of the file. From the
directory try
$ ls -oa
This should tell you who owns the file and what it's permissions are. You
mentioned that you copied it as root, you could change it'
I changed the code as follows:
php test
Hi, I am a PHP script";
?>
this is a test
The result (http://localhost/test.php):
Hi,
On 18 August 2010 10:44, e-letter wrote:
> Readers,
>
> Copy below of message sent 15 August to php install digest list, but
> to date not including in mail archive?
>
> The tutorial example:
>
>
>
> php test
>
>
> ec
-Original Message-
From: e-letter [mailto:inp...@gmail.com]
Sent: 18 August 2010 10:44 AM
To: php-general@lists.php.net
Subject: [PHP] tutorial failure
Readers,
Copy below of message sent 15 August to php install digest list, but to date
not including in mail archive?
The tutorial examp
Readers,
Copy below of message sent 15 August to php install digest list, but
to date not including in mail archive?
The tutorial example:
php test
Hi, I am a PHP script';
?>
this is a test
Bug reported, see http://pecl.php.net/bugs/bug.php?id=18154
On 08/17/2010 01:13 PM, Colin Guthrie wrote:
> I don't know the internals of APC but that smells like a bug to me.
>
> Can you post the bug number here if you report one?
>
> Cheers
>
> Col
>
>
--
PHP General Mailing List (http://www
Leith Bade wrote:
> I want to take $_SERVER['SERVER_NAME'] and figure out whether the user
> arrived by typing an IPv6-only, IPv4-only or dual IPv4/IPv6 DNS
> address.
>
> It should also handle the case where the user enters a numeric address
> in one of the formats the sockets inet_addr() functi
40 matches
Mail list logo