On 2013-09-23 15:42, Aziz Saleh wrote:
Hristo,
Try changing the php.ini config:
mbstring.func_overload 0
See if that helps your issue, more on what it does:
http://php.net/manual/en/mbstring.overload.php [3]
Aziz
On Mon, Sep 23, 2013 at 8:23 AM, Condor wrote:
Hello,
from two days I have
Hristo,
Try changing the php.ini config:
mbstring.func_overload 0
See if that helps your issue, more on what it does:
http://php.net/manual/en/mbstring.overload.php
Aziz
On Mon, Sep 23, 2013 at 8:23 AM, Condor wrote:
>
> Hello,
>
> from two days I have strange problem with this param
> mbst
Fernando A wrote:
> I am working with php and codeigniter, but I have not yet experienced.
> I need create a variable that is available throughout system.
> This variable contains the number of company and can change.
> as I can handle this?
Hi, Fernando, welcome. I'm just a little unsure what y
On 02-10-2012 11:59, Bálint Horváth wrote:
The problem was already solved. I forgot to send a copy to the list...
Rodrigo, break!? Ohh man, it's a crazy idea... A developer DOES NOT use
break at all (in a loop)... (switch is an exception)
I personally find this statement to be utter bullshit.
Make sense, I haven't ever realizad how old the code appears like when it haves
a break. Fell like C. Livin' n' learnin'. Thanks!
Enviado por Samsung Mobile
Bálint Horváth escreveu:
"As a Oo developer, a run away from using switch" - I don't understand this:
OOP and switch could be good toge
"As a Oo developer, a run away from using switch" - I don't understand
this: OOP and switch could be good together and I also prefer switch eg. at
action or page selection...
break is an old stuff and not a nice solution (like "goto")... killing a
procedure!? -means wrong planning of an app! (and
Better solution than mine (that don't even make a code)
As a Oo developer, a run away from using switch, so I should never use break
too... Good to know. By the way, what's the problem with it?
Enviado por Samsung Mobile
Bálint Horváth escreveu:
The problem was already solved. I forgot to se
The problem was already solved. I forgot to send a copy to the list...
Rodrigo, break!? Ohh man, it's a crazy idea... A developer DOES NOT use
break at all (in a loop)... (switch is an exception)
In the other hand Thomas, you should use while and count the lines and u
need to test if username fou
Hello Thomas.
The if are being evaluated in all iterations of the while, the problem is you
didn't stop the loop when it finds what it's searching for. Try putting a break
in the end of the if, them, when the condition match, the while will stop.
And hey! You're using a lot of legacy code for o
> Has anyone ever heard of a problem with the Moodle LMS when trying to edit
an activity (quiz, resource) in which there is a timeout after only a few
seconds and a message saying something to the effect of > that the system is
sorry but there was a time out, please retry. When I look in the URL I
Hi, sorry, I forgot to include the class definition:
class GeneratedFiltersTest extends PHPUnit_Framework_Testcase {
function testUnconfiguredFilter() {
$matcher = array(
'tag' => 'ul',
'children' => array(
'count' => 3,
'only' => array('tag' => 'li')
On 05/02/2012 10:55 AM, Michael Otteneder wrote:
Hi List!
I'm trying to use phpUnit's AssertTag function to make sure that some html
code contains an ul element with exactly li items in it.
My test looks like this:
function testUnconfiguredFilter() {
$matcher = array(
'tag' => 'ul',
'child
> -Original Message-
> From: Jack [mailto:jacklistm...@gmail.com]
> Sent: Wednesday, December 07, 2011 1:49 PM
> To: PHP
> Subject: [PHP] Problem with date
>
> Hello All,
>
>
>
> I have a problem where Dates are coming out as 12.31.1969 19:00:00
> which of
> course we didn't have PC's
> To: PHP
> Subject: RE: [PHP] Problem with date
>
> >
> >
> > How about a little debugging here (and possibly elsewhere):
> >
> > if (isset($pubdate) && ($pubdate >0)) {
> > $pubdate=strtotime($pubdate);
> >
> > How about a little debugging here (and possibly elsewhere):
> >
> > if (isset($pubdate) && ($pubdate >0)) {
> > $pubdate=strtotime($pubdate);
> > } else {
> > die("Barf. Can't run a string to time conversion on 0 or
-1.");
> > }
> >
>
Thanks Kevin,
T
>
>
> How about a little debugging here (and possibly elsewhere):
>
> if (isset($pubdate) && ($pubdate >0)) {
> $pubdate=strtotime($pubdate);
> } else {
> die("Barf. Can't run a string to time conversion on 0 or -1.");
> }
>
Thanks Kevin,
This bombs
On 12/7/2011 10:48 AM, Jack wrote:
> Hello All,
>
> I have a problem where Dates are coming out as 12.31.1969 19:00:00 which of
> course we didn't have PC's in 1969
>
> I'm not able to see where the date is getting screwed up, any ideas??
>
> //
>
$pubdate is probably null or something.
Regards,
–Josh
Joshua Kehn | @joshkehn
http://joshuakehn.com
On Dec 7, 2011, at 1:48 PM, Jack wrote:
> Hello All,
>
>
>
> I have a problem where Dates are coming out as 12.31.1969 19:00:00 which of
> course we didn
In The Name Of Allah
Thank you all for attentions ;
Weird but solved with using another symbolink of Device
Weird because other App in linux in the same time were using for example
/dev/ttyusb1 but php code works with /dev/ttyusb3 ..
Regards dehqan
On Tue, Nov 15, 2011 at 7:39 PM, Richard Quadl
On 15 November 2011 15:12, Mike Mackintosh
wrote:
>
>
> On Nov 15, 2011, at 8:25, Richard Quadling wrote:
>
>> On 15 November 2011 11:50, a dehqan wrote:
>>> \n is for Linux
>>> \r is for Windows
>>>
>>> On 11/14/11, Richard Quadling wrote:
On 12 November 2011 20:02, a dehqan wrote:
>
On Nov 15, 2011, at 8:25, Richard Quadling wrote:
> On 15 November 2011 11:50, a dehqan wrote:
>> \n is for Linux
>> \r is for Windows
>>
>> On 11/14/11, Richard Quadling wrote:
>>> On 12 November 2011 20:02, a dehqan wrote:
dio_write($handle, 'AT') & dio_write($handle, "AT") make fire
On 15 November 2011 11:50, a dehqan wrote:
> \n is for Linux
> \r is for Windows
>
> On 11/14/11, Richard Quadling wrote:
>> On 12 November 2011 20:02, a dehqan wrote:
>>> dio_write($handle, 'AT') & dio_write($handle, "AT") make firefox times out
>>> on Waiting for localhost ... .
>>> But dio_wr
\n is for Linux
\r is for Windows
On 11/14/11, Richard Quadling wrote:
> On 12 November 2011 20:02, a dehqan wrote:
>> dio_write($handle, 'AT') & dio_write($handle, "AT") make firefox times out
>> on Waiting for localhost ... .
>> But dio_write($handle, "AT\n") makes it prints AT exactly the sam
On 12 November 2011 20:02, a dehqan wrote:
> dio_write($handle, 'AT') & dio_write($handle, "AT") make firefox times out
> on Waiting for localhost ... .
> But dio_write($handle, "AT\n") makes it prints AT exactly the same command
> or A > A , ..
>
> On Sat, Nov 12, 2011 at 10:02 PM, Negin
dio_write($handle, 'AT') & dio_write($handle, "AT") make firefox times out
on Waiting for localhost ... .
But dio_write($handle, "AT\n") makes it prints AT exactly the same command
or A > A , ..
On Sat, Nov 12, 2011 at 10:02 PM, Negin Nickparsa wrote:
> are you sure about ATD03518726535\
are you sure about ATD03518726535\n?
can you try if ( dio_write($handle, 'AT') )?
On Thu, Oct 6, 2011 at 7:28 PM, Jason Pruim wrote:
> Have a question about this block of code
I'm not seeing anything immediately standing out as a problem.
> Sometimes... It is dropping the last $mailmessage line... The payment method
> in the actual email it sends...
Can you see if the l
On Thu, Oct 6, 2011 at 7:29 PM, Jason Pruim wrote:
>
> Jason Pruim
> li...@pruimphotography.com
>
>
>
> On Oct 6, 2011, at 9:04 PM, George Langley wrote:
>
> > On 2011-10-06, at 6:28 PM, Jason Pruim wrote:
> >>
> >> >>
> >> //SETUP VARIABLES
> >>
> >> $mailTo = "li...@pruimphotography.com";
> >>
Jason Pruim
li...@pruimphotography.com
On Oct 6, 2011, at 9:04 PM, George Langley wrote:
> On 2011-10-06, at 6:28 PM, Jason Pruim wrote:
>>
>> >
>> //SETUP VARIABLES
>>
>> $mailTo = "li...@pruimphotography.com";
>> $mailFrom = "li...@pruimphotography.com";
>> //These 2 can be changed IF you
On 2011-10-06, at 6:28 PM, Jason Pruim wrote:
>
>
> //SETUP VARIABLES
>
> $mailTo = "li...@pruimphotography.com";
> $mailFrom = "li...@pruimphotography.com";
> //These 2 can be changed IF you know what you are doing and why!
> $returnPath = $mailFrom;
> $replyTo = $mailFrom;
> $mailSubject = "N
On 8/11/2011 9:34 AM, Jason Pruim wrote:
>
> Hey Jim,
>
> Would that still hold true with inserting into a database which is the true
> end of it? This is going to be a one time thing I'm doing and I'm trying to
> make it a learning experience as I go since that's what everything should be
> r
Jason Pruim
pru...@gmail.com
On Aug 11, 2011, at 11:52 AM, Jim Lucas wrote:
> On 8/10/2011 6:22 PM, Jason Pruim wrote:
>> So here I am attempting to generate some numbers to be inserted into a
>> database... eventually they will make up a phone number (Which I've emailed
>> about before and k
Jason Pruim
pru...@gmail.com
On Aug 11, 2011, at 9:35 AM, Andrew Ballard wrote:
> On Wed, Aug 10, 2011 at 9:22 PM, Jason Pruim wrote:
>> So here I am attempting to generate some numbers to be inserted into a
>> database... eventually they will make up a phone number (Which I've emailed
>> ab
On 8/10/2011 6:22 PM, Jason Pruim wrote:
> So here I am attempting to generate some numbers to be inserted into a
> database... eventually they will make up a phone number (Which I've emailed
> about before and know about the bad ideas with it.. But it's the customer :))
>
> Here is the code I
On Wed, Aug 10, 2011 at 9:22 PM, Jason Pruim wrote:
> So here I am attempting to generate some numbers to be inserted into a
> database... eventually they will make up a phone number (Which I've emailed
> about before and know about the bad ideas with it.. But it's the customer :))
>
> Here is t
Jason Pruim wrote:
>Replies below
>
>
>Jason Pruim
>li...@pruimphotography.com
>
>
>
>On Aug 10, 2011, at 11:08 PM, Ken Robinson wrote:
>
>> At 09:22 PM 8/10/2011, Jason Pruim wrote:
>>> So here I am attempting to generate some numbers to be inserted into
>a database... eventually they will mak
Le 11/08/2011 13:08, Tamara Temple a écrit :
On Aug 10, 2011, at 8:22 PM, Jason Pruim wrote:
while ($num != "1") {
Problem is here ^ You are testing a numeric $num with a string
"1", which $num will *never* equal. Leave off the quotes on the
number.
Hum, I suggest you read this
On Aug 10, 2011, at 8:22 PM, Jason Pruim wrote:
So here I am attempting to generate some numbers to be inserted into
a database... eventually they will make up a phone number (Which
I've emailed about before and know about the bad ideas with it.. But
it's the customer :))
Here is the cod
Replies below
Jason Pruim
li...@pruimphotography.com
On Aug 10, 2011, at 11:08 PM, Ken Robinson wrote:
> At 09:22 PM 8/10/2011, Jason Pruim wrote:
>> So here I am attempting to generate some numbers to be inserted into a
>> database... eventually they will make up a phone number (Which I've
om: Tim Streater [mailto:t...@clothears.org.uk]
Sent: Thursday, August 11, 2011 11:22 AM
To: Jason Pruim
Cc: PHP General List
Subject: Re: [PHP] Problem with inserting numbers...
On 11 Aug 2011 at 02:22, Jason Pruim wrote:
> while ($num != "1") {
>while($row = mysql_fetch_as
On 11 Aug 2011 at 02:22, Jason Pruim wrote:
> while ($num != "1") {
>while($row = mysql_fetch_assoc($result)) {
>$padnum = number_pad($num, "4");
>echo $row['areacode'] . "-" . $row['prefix'] . "-" . $padnum . "";
>$num++;
>}
>
>
> }
This is certain to fail.
At 09:22 PM 8/10/2011, Jason Pruim wrote:
So here I am attempting to generate some numbers to be inserted into
a database... eventually they will make up a phone number (Which
I've emailed about before and know about the bad ideas with it.. But
it's the customer :))
Here is the code I am work
when
$num++;
executed
$num will never be '1';
you may change the while loop to
while ($num < 1) {
while ($row = ...
2011/8/11 Jason Pruim
> On Aug 10, 2011, at 9:36 PM, MUAD SHIBANI wrote:
>
> > Basically you can increase time limit for this file to handle your
> request by usi
>
> basically all I'm trying to do is generate the last 4 digits starting at
> and going up to . for testing purposes I'm just echoing back but will
> eventually insert the complete number back into the database as a 7 digit
> string.
>
> The error I'm getting is:
>
> Fatal error: Maxim
On Aug 10, 2011, at 9:36 PM, MUAD SHIBANI wrote:
> Basically you can increase time limit for this file to handle your request by
> using
> set_time_limit function ...
Hi Maud,
Looked into set_time_limit and even tried running it with a value of "120" but
it didn't help...
I'm affraid I have
On Jul 31, 2011, at 6:23 PM, Tamara Temple wrote:
>
> On Jul 31, 2011, at 1:40 PM, Jason Pruim wrote:
>
>> So I'm attempting to redirect back to the main site of a page after a
>> successful insert into a database... Here's my code:
>> >
>> if (!$resp->is_valid) {
>> // What happens whe
On Jul 31, 2011, at 1:40 PM, Jason Pruim wrote:
So I'm attempting to redirect back to the main site of a page after
a successful insert into a database... Here's my code:
is_valid) {
// What happens when the CAPTCHA was entered incorrectly
die ("The reCAPTCHA wasn't entered correctly. G
Jason Pruim
li...@pruimphotography.com
On Jul 31, 2011, at 2:50 PM, Dajka Tamas wrote:
> Try lowercase 'http'. Anything in error log? Try turning on display_errors.
Tried both, upper and lower case http nothing changed... And nothing in the
error log... I try a simple echo with a link and th
Try lowercase 'http'. Anything in error log? Try turning on display_errors.
Cheers,
Tamas
-Original Message-
From: Jason Pruim [mailto:li...@pruimphotography.com]
Sent: Sunday, July 31, 2011 8:40 PM
To:
Subject: [PHP] Problem with header("Location:" )...
So I'm attempting to r
On Sunday, 20 March 2011 at 18:38, Michelle Konzack wrote:
Hello *,
>
> since I have re-installed with Debian/Squeeze on
> a new machine, my /srv/log/apache/error.log ist arround 450 times bigger
> then the access.log du to following (and similar) entries
>
> [ '/srv/log/apache/error.log' ]-
On 03/15/2011 07:30 AM, Steve Staples wrote:
>
> Wouldn't this be better to use, as it is meant to search for the string
> inside the string? (use use regex)
>
> if(stristr($name, 'Jackson'))
> {
> echo "String is in String";
> }
> else
> {
> echo "Failed";
> }
>
> http://ca.php.net
0 AM
> > To: Jack
> > Subject: Re: [PHP] problem with if and exact match
> >
> > http://php.net/manual/en/function.preg-match.php
> >
> > On 14/03/11 23:02, Jack wrote:
> > > I want to be able to match if a string is contained within the string
> &g
gt; Sent: Tuesday, March 15, 2011 1:10 AM
> > To: Jack
> > Subject: Re: [PHP] problem with if and exact match
> >
> > http://php.net/manual/en/function.preg-match.php
> >
> > On 14/03/11 23:02, Jack wrote:
> > > I want to be able to match if a string i
Thanks everyone... great examples...works ( both methods )
Thanks!
Jack
> -Original Message-
> From: Alexis Antonakis [mailto:ad...@antonakis.co.uk]
> Sent: Tuesday, March 15, 2011 1:10 AM
> To: Jack
> Subject: Re: [PHP] problem with if and exact match
>
> htt
On 15/03/2011, at 6:02 PM, Jack wrote:
> I want to be able to match if a string is contained within the string I am
> evaluating.
>
>
>
> I know that if ( $name == "xxjacksonxx"); based on the below would be true.
>
> But I want to be able to say if "jackson" is contained within $name that
>
Try
If(preg_match("/Jackson/i", $name))
{echo 'match'; }else{ echo 'fail'; }
Richard Buskirk
Sent from my iPhone
On Mar 15, 2011, at 1:02 AM, "Jack" wrote:
> I want to be able to match if a string is contained within the string I am
> evaluating.
>
>
>
> I know that if ( $name == "xxjackson
On Tue, Dec 21, 2010 at 1:28 PM, a...@ashleysheridan.co.uk
wrote:
> (Apologies for top posting; on my mobile just now.)
>
> Not true. Refactoring code is one of the main tasks of a developer. None of
> us produce perfect code, and some code is less perfect than other code. It's
> instinct to wan
Hello,
Good points. If you are getting paid to do that then fine. There is a
difference between enhancing code and wasting time. I do my best to come up
with the best I can. I always take notes to perform better in upcoming
projects. It is imperative to make good use of time. Unless it is a securi
(Apologies for top posting; on my mobile just now.)
Not true. Refactoring code is one of the main tasks of a developer. None of us
produce perfect code, and some code is less perfect than other code. It's
instinct to want to fix bad code when we're maintaining it or having to add new
features t
If something is working and you don't know exactly whats under the hood then
you are wasting your time in trying to re-invent your own wheel and waste
your time and resources to modify something that isn't needed to be touched.
Good programmers make good use of their time as well. We need to keep i
On Tue, Dec 21, 2010 at 02:35:33AM -0500, David Hutto wrote:
> On Tue, Dec 21, 2010 at 2:29 AM, Ravi Gehlot wrote:
> > Why mess with something that is already working? If you are trying to make
> > it pretty then you are not solving a problem. You are creating one.
>
>
> Define working. I've ha
On Tue, Dec 21, 2010 at 9:54 AM, David Hutto wrote:
> On Tue, Dec 21, 2010 at 9:50 AM, Daniel P. Brown
> wrote:
>> On Tue, Dec 21, 2010 at 02:48, Ravi Gehlot wrote:
>>> My point is that you tried to take code from one page and put it all
>>> "organized" in another page and the include that page
On Tue, Dec 21, 2010 at 9:50 AM, Daniel P. Brown
wrote:
> On Tue, Dec 21, 2010 at 02:48, Ravi Gehlot wrote:
>> My point is that you tried to take code from one page and put it all
>> "organized" in another page and the include that page of includes back into
>> the pages that you want it to feed
On Tue, Dec 21, 2010 at 02:48, Ravi Gehlot wrote:
> My point is that you tried to take code from one page and put it all
> "organized" in another page and the include that page of includes back into
> the pages that you want it to feed off from. If stuff works the way that it
> does then there a r
On Tue, Dec 21, 2010 at 2:48 AM, Ravi Gehlot wrote:
> My point is that you tried to
Not me personally.
take code from one page and put it all
> "organized" in another page and the include that page of includes back into
> the pages that you want it to feed off from. If stuff works the way that
My point is that you tried to take code from one page and put it all
"organized" in another page and the include that page of includes back into
the pages that you want it to feed off from. If stuff works the way that it
does then there a reason for it to have been done that way. That's why
documen
On Tue, Dec 21, 2010 at 2:29 AM, Ravi Gehlot wrote:
> Why mess with something that is already working? If you are trying to make
> it pretty then you are not solving a problem. You are creating one.
Define working. I've had programs 'work', but more experienced would
say it's flawed in some resp
Why mess with something that is already working? If you are trying to make
it pretty then you are not solving a problem. You are creating one.
Ravi.
On Mon, Dec 20, 2010 at 7:40 AM, Daniel P. Brown
wrote:
> On Mon, Dec 20, 2010 at 02:49, Simcha Younger wrote:
> >
> > Since it is being included
On Mon, Dec 20, 2010 at 02:49, Simcha Younger wrote:
>
> Since it is being included by PHP, and not served by Apache, the extension is
> not important.
Correct, but keep in mind that it will likely be served as plain
text if accessed directly, if the web server is not properly
configured (wh
On Sun, 19 Dec 2010 17:41:20 +
"a...@ashleysheridan.co.uk" wrote:
> Is your server even set up to recognise .inc files as php? You can't just put
> any old extension on and expect the server to know what to do with it.
>
> Thanks,
> Ash
> http://www.ashleysheridan.co.uk
Since it is being i
Is your server even set up to recognise .inc files as php? You can't just put
any old extension on and expect the server to know what to do with it.
Thanks,
Ash
http://www.ashleysheridan.co.uk
- Reply message -
From: "Tamara Temple"
Date: Sun, Dec 19, 2010 17:07
Subject: [PHP] Problem w
On Dec 19, 2010, at 10:43 AM, Bill Guion wrote:
In an effort to clean up some code, I tried taking four lines out of
6 or 7 programs and putting them into an include file. The file
structure is
Root
data
clubs.php
include
fmt.inc
Originally, clubs.php had the following code:
Th
$file_name= basename($_SERVER['PHP_SELF']);
$last_modified = filemtime($file_name);
print("This page last modified ");
print(date("m/j/y", $last_modified));
you need to wrap the contents ^^^ of the include file with php ?>
Govinda
--
PHP General Mailing List (http://www.p
rk
>
>
> -Original Message-
> From: Boyan Penev [mailto:boyan...@googlemail.com]
> Sent: Sunday, October 31, 2010 12:26 PM
> To: ad...@buskirkgraphics.com
> Cc: php-general@lists.php.net
> Subject: Re: [PHP] Problem with "shell_exec"
>
> Hello Ri
On 27 November 2010 13:57, Asmann, Roland wrote:
> Hi all,
>
> I am playing around with PHP and BBCodes and have found some regex's
> that should transform my BBCode into correct HTML when rendering.
> However, I have found that if the BBCode is not correct (eg missing
> closing tag), the regex co
Sorry people for not replying over the list...
On 27-11-10 20:08, Daniel P. Brown wrote:
> On Sat, Nov 27, 2010 at 14:05, Daniel P. Brown
> wrote:
> > On Sat, Nov 27, 2010 at 13:55, Asmann, Roland
> wrote:
> >>
> >> $s = preg_replace("/\[i\]((\s|.)+?)\[\/i\]/", "\\1", $s);
> >
> >This i
On Sat, Nov 27, 2010 at 14:05, Daniel P. Brown
wrote:
> On Sat, Nov 27, 2010 at 13:55, Asmann, Roland wrote:
>>
>> $s = preg_replace("/\[i\]((\s|.)+?)\[\/i\]/", "\\1", $s);
>
> This is exactly what I meant when I erroneously said, "library."
Without seeing the rest of your code, try adjus
Please be sure to hit Reply-All so that the list is CC'd on each
response as well.
On Sat, Nov 27, 2010 at 13:55, Asmann, Roland wrote:
>
> I'm currently running this on a default XAMPP installation on my PC,
> because I was told something similar is running on the server. I thought
> this ha
On Sat, Nov 27, 2010 at 12:50, Asmann, Roland wrote:
>
> Besides, what I don't really understand is WHY does this happen? Any
> other language that has RegEx doesn't match a thing in my example and
> just returns the original input. Why is PHP different in this regard?
All we've seen is your
On 27-11-10 18:44, Asmann, Roland wrote:
> On 27-11-10 17:24, Daniel P. Brown wrote:
> > On Sat, Nov 27, 2010 at 08:57, Asmann, Roland
> > wrote:
> > > Hi all,
> > >
> > > I am playing around with PHP and BBCodes and have found some regex's
> > > that should transform my BBCode into correct
On 27-11-10 17:24, Daniel P. Brown wrote:
> On Sat, Nov 27, 2010 at 08:57, Asmann, Roland
> wrote:
> > Hi all,
> >
> > I am playing around with PHP and BBCodes and have found some regex's
> > that should transform my BBCode into correct HTML when rendering.
> > However, I have found that if t
On Sat, Nov 27, 2010 at 08:57, Asmann, Roland wrote:
> Hi all,
>
> I am playing around with PHP and BBCodes and have found some regex's
> that should transform my BBCode into correct HTML when rendering.
> However, I have found that if the BBCode is not correct (eg missing
> closing tag), the rege
On Nov 21, 2010, at 4:57 PM, Tamara Temple wrote:
On Nov 20, 2010, at 5:31 PM, Jason Pruim wrote:
Maybe it's just me, but using the name of a global as a function
parameter just seems like a bad idea. Yes, you can do it. Should
you? I think not. Especially, as, you are passing it a sca
On 20 November 2010 23:31, Jason Pruim wrote:
> Hey Everyone!
>
> So I came across a problem that I don't know how to fix... I have searched
> and thought and just not having anything click as to where I am messing
> up...
>
> I have a few functions as follows:
>
> function ddbYear($name, $messag
On Nov 20, 2010, at 5:31 PM, Jason Pruim wrote:
Maybe it's just me, but using the name of a global as a function
parameter just seems like a bad idea. Yes, you can do it. Should you?
I think not. Especially, as, you are passing it a scalar below and
treating it here like the global arra
, I cannot
duplicate your error.
Richard L. Buskirk
-Original Message-
From: Boyan Penev [mailto:boyan...@googlemail.com]
Sent: Sunday, October 31, 2010 12:26 PM
To: ad...@buskirkgraphics.com
Cc: php-general@lists.php.net
Subject: Re: [PHP] Problem with "shell_exec"
Hello Richard
Hello Richard,
thank you for the prompt reply. I just tried to follow your suggestion, but
i couldn't solve my problem:
1. I have started the server with user "nobody". All the binaries i was
trying to execute(e.g. /bin/ls) were "chown"-ed to the user "nobody"
Problem presisted. Than i "chown" -
It seems most probably a permission problem. If I were you I would
check the permissions on the bin directory and the files in it. PHP
will probably run under the uid of the webserver, which, on most
systems is either "apache" or "nobody" depending on the configuration.
Richard L. Buskirk
On 12 October 2010 10:52, Rado Oršula wrote:
> I do not know good English.
> In the attached source code.
> Here is erroneous statement:
>
> date: 2010-10-31 00:00:00
> date+0h: 2010-10-31 00:00:00
> date+1h: 2010-10-31 01:00:00
> date+2h: 2010-10-31 02:00:00 <<<
> date+3h: 2010-10-31 02:00:00 <
On 12/10/2010 11:52, Rado Oršula wrote:
I do not know good English.
In the attached source code.
Here is erroneous statement:
date: 2010-10-31 00:00:00
date+*0*h: 2010-10-31 *00*:00:00
date+*1*h: 2010-10-31 *01*:00:00
*date+2h: 2010-10-31 02:00:00 <<<
date+3h: 2010-10-31 02:00:00 <<<*
date+*4*h
Well,
I've captured using wireshark both communications:
The one that works
POST /XISOAPAdapter/MessageServlet?channel=:Y_BS_SIP_DEV:cc_soap_snd_sip_dev
HTTP/1.1
Accept-Encoding: gzip,deflate
Content-Type: text/xml;charset=UTF-8
SOAPAction: "http://sap.com/xi/WebService/soap1.1";
User-Agent: Jak
Hi,
I am using soapUI which is a client soap tester (that works with this
webservice) to compare what is being generated. In the header I see
Authorization: Basic =XYS
So the default (using SoapClient) should also work...
I've captured the tcpdump file and will try to load using wireshark.
On 29 June 2010 22:18, Richard Quadling wrote:
> On 29 June 2010 20:53, robert mena wrote:
>> Hi Richard,
>> Thanks for taking the time.
>>
>> Unfortunately I can't give you access to the actual webservice. I am using
>> Zend_Soap_Client so my code is like this
>> $soapOptions = array(
>>
On 29 June 2010 20:53, robert mena wrote:
> Hi Richard,
> Thanks for taking the time.
>
> Unfortunately I can't give you access to the actual webservice. I am using
> Zend_Soap_Client so my code is like this
> $soapOptions = array(
> "login" => 'xxx',
> "password" => 'y');
Hi Richard,
Thanks for taking the time.
Unfortunately I can't give you access to the actual webservice. I am using
Zend_Soap_Client so my code is like this
$soapOptions = array(
"login" => 'xxx',
"password" => 'y');
$client = new Zend_Soap_Client('http://myproviders.com
On 29 June 2010 13:58, robert mena wrote:
> I was hoping for a "userland" soap library (like nuSoap if I understand
> correctly). I can't change the fact that the remote webservice requires
> http auth.
> Hopefully someone in this list uses either zend_soap or soapClient directly
> with auth to
I was hoping for a "userland" soap library (like nuSoap if I understand
correctly). I can't change the fact that the remote webservice requires
http auth.
Hopefully someone in this list uses either zend_soap or soapClient directly
with auth to confirm or deny that the problem is in this part spe
On 28 June 2010 22:37, robert mena wrote:
> Hi,
> I'll have a look. I am using Zend Framework's Zend_Soap_Client which in
> turn uses SoapClient. I'll try to use SoapClient directly.
> I am not using https and I am not going through a proxy (using a non
> standard port). I've tested with anothe
On 28 June 2010 22:37, robert mena wrote:
> Hi,
> I'll have a look. I am using Zend Framework's Zend_Soap_Client which in
> turn uses SoapClient. I'll try to use SoapClient directly.
> I am not using https and I am not going through a proxy (using a non
> standard port). I've tested with anothe
Hi,
I'll have a look. I am using Zend Framework's Zend_Soap_Client which in
turn uses SoapClient. I'll try to use SoapClient directly.
I am not using https and I am not going through a proxy (using a non
standard port). I've tested with another SOAP client (a standalone
application called Soap
1 - 100 of 1281 matches
Mail list logo