Hello,
from two days I have strange problem with this param
mbstring.internal_encoding on nginx and php-fpm.
I use php version 5.4.20 and when I setting mbstring.internal_encoding I
have a problem with mcrypt.
NOTICE: PHP message: PHP Warning: mcrypt_generic_init(): Iv size
incorrect;
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 con...@stz-bg.com wrote:
Hello,
from two days I have strange problem with
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 con...@stz-bg.com wrote:
Hello,
Hi,
I am using a db4 database to store some values (on the local
filesystem). Here the sample code:
$handle = dba_open(/var/cache/mydb.db, cd, db4);
[...]
$result = dba_replace($key, serialize($data), $handle);
[...]
dba_close($handle);
This Code is used in a CLI-Script (in an
Fernando A soporteallpurp...@gmail.com 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
Hello,
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?
Thank you, very much!
Ferd
Hello,
I am starting to make my first soap server/client. I found nice tutorial
(manual pages on PHP is not detailed) and I have this server script:
http://codeviewer.org/view/code:3131
boxing.wsdl looks:
http://codeviewer.org/view/code:3132
and client script looks
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
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
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 hbal...@gmail.com escreveu:
The problem was already
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
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 hbal...@gmail.com escreveu:
As a Oo developer, a run away from using switch - I don't understand this:
OOP and switch
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.
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 see
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,
I have problem with ssh2_Auth_Pubkey_File. I have one server for
connecting to others. On all of theese is FreeBSD installed, but
different versions.
I am using dsa keys for connecting. From command line works everything
fine (with using the same key files). But from php I have problem - a
hi all,i'm having this problem in sending email using pear.
it just wont send :(
here's the code ..
?php
require_once 'Mail.php';
$from_name = My Self;
$to_name = My Friend;
$subject = Sending Trial;
$mailmsg = GOD please make it work;
$From = From: .$from_name.
On Thu, May 24, 2012 at 2:00 PM, As'ad Djamalilleil asad@gmail.com wrote:
hi all,i'm having this problem in sending email using pear.
it just wont send :(
here's the code ..
?php
require_once 'Mail.php';
$from_name = My Self;
$to_name = My Friend;
$subject = Sending
Hi,
I'm having trouble loading a PHP extension that I made.
When starting PHP, I get the following error:
PHP Warning: PHP Startup: Unable to load dynamic library
'/usr/lib/php5/20090626/libtg.so' - /usr/lib/php5/20090626/libtg.so: undefined
symbol: __gxx_personality_v0 in Unknown on line
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',
'children' = array(
'count' = 3,
'only' = array('tag' =
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',
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')
)
Hello all,
I am trying to config some new server
All of my servers are using TCP Socket(127.0.0.1:9000) between nginx and
php-fpm before
But, I run ab(ab -n 2 -c50 http://192.168.74.130:81/) to test the
performance of Unix Socket and TCP Socket,
the result is Unix is little better than TCP
This how I would look at it, if it on the same box use socket, and yes
it is expected that socket is faster than TCP since (as far as I know)
you don't need to deal with the overhead of TCP.
Regards,
Daniel Fenn
On Sat, Mar 3, 2012 at 3:56 AM, Yuchen Wang phob...@gmail.com wrote:
Hello
On Fri, Mar 2, 2012 at 5:56 PM, Yuchen Wang phob...@gmail.com wrote:
Hello all,
I am trying to config some new server
All of my servers are using TCP Socket(127.0.0.1:9000) between nginx and
php-fpm before
But, I run ab(ab -n 2 -c50 http://192.168.74.130:81/) to test the
performance
Something else that should be said: You won't need to muck around with
firewall settings as well (that if your running a firewall on the same
box
On Sat, Mar 3, 2012 at 11:22 AM, Matijn Woudt tijn...@gmail.com wrote:
On Fri, Mar 2, 2012 at 5:56 PM, Yuchen Wang phob...@gmail.com wrote:
Hello
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??
//
#
function
$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't
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??
//
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 and gives me
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 and gives
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);
} else {
die(Barf. Can't run a string to time conversion on 0 or
-1
-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 in 1969
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
\n is for Linux
\r is for Windows
On 11/14/11, Richard Quadling rquadl...@gmail.com wrote:
On 12 November 2011 20:02, a dehqan dehqa...@gmail.com 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
On 15 November 2011 11:50, a dehqan dehqa...@gmail.com wrote:
\n is for Linux
\r is for Windows
On 11/14/11, Richard Quadling rquadl...@gmail.com wrote:
On 12 November 2011 20:02, a dehqan dehqa...@gmail.com wrote:
dio_write($handle, 'AT') dio_write($handle, AT) make firefox times out
on
On Nov 15, 2011, at 8:25, Richard Quadling rquadl...@gmail.com wrote:
On 15 November 2011 11:50, a dehqan dehqa...@gmail.com wrote:
\n is for Linux
\r is for Windows
On 11/14/11, Richard Quadling rquadl...@gmail.com wrote:
On 12 November 2011 20:02, a dehqan dehqa...@gmail.com wrote:
On 15 November 2011 15:12, Mike Mackintosh
mike.mackint...@angrystatic.com wrote:
On Nov 15, 2011, at 8:25, Richard Quadling rquadl...@gmail.com wrote:
On 15 November 2011 11:50, a dehqan dehqa...@gmail.com wrote:
\n is for Linux
\r is for Windows
On 11/14/11, Richard Quadling
On 12 November 2011 20:02, a dehqan dehqa...@gmail.com 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
In The Name Of Allah The compassionate merciful
Hello ;
Am trying to send AT commands to my GSMmodem device , in linux with PHP
Am sure it is /dev/ttyusb1
But with [URL=http://pastebin.com/aut4ygXf]this code[/URL] device respond
the same command and code prints that command
e.g if we send ATD00
are you sure about ATD03518726535\n?
can you try if ( dio_write($handle, 'AT') )?
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 nickpa...@gmail.comwrote:
are you sure about
Hi,
I've got a problem when running PHP with nginx, there are several php-cgi
processes and only one is busy at one time, like this:
500 23868 0.0 0.0 209164 10948 ?S21:23 0:01
/usr/local/websrv/php/bin/php-cgi --fpm --fpm-config
/usr/local/websrv/php/etc/php-fpm.conf
openssl_sign($dados, $signature, $pkeyid)); // return 1
$signatureValue = base64_encode($signature);
$funcionam = base64_decode($dados_que_nao);
$pubKey = file_get_contents('protected/models/nfe/certs/cert.pem');
openssl_verify($funcionam,$signature, $pubKey)); // return 0;
if I remove the de
Hi everyone,
Have a question about this block of code
?PHP
//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 = New
On 2011-10-06, at 6:28 PM, Jason Pruim wrote:
?PHP
//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 = New
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:
?PHP
//SETUP VARIABLES
$mailTo = li...@pruimphotography.com;
$mailFrom = li...@pruimphotography.com;
//These 2 can be changed IF you know what you
On Thu, Oct 6, 2011 at 7:29 PM, Jason Pruim li...@pruimphotography.comwrote:
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:
?PHP
//SETUP VARIABLES
$mailTo = li...@pruimphotography.com;
On Thu, Oct 6, 2011 at 7:28 PM, Jason Pruim li...@pruimphotography.com 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
On Thu, Oct 6, 2011 at 7:28 PM, Jason Pruim li...@pruimphotography.com 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
On 11 Aug 2011 at 02:22, Jason Pruim pru...@gmail.com wrote:
while ($num != 1) {
while($row = mysql_fetch_assoc($result)) {
$padnum = number_pad($num, 4);
echo $row['areacode'] . - . $row['prefix'] . - . $padnum . BR;
$num++;
}
}
This is certain to fail.
...@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 pru...@gmail.com wrote:
while ($num != 1) {
while($row = mysql_fetch_assoc($result
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
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
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
Jason Pruim li...@pruimphotography.com 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
On Wed, Aug 10, 2011 at 9:22 PM, Jason Pruim pru...@gmail.com 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 :))
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 am
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 pru...@gmail.com 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
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 know
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
right?
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 working with:
?PHP
function
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 a
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: Maximum
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 pru...@gmail.com
On Aug 10, 2011, at 9:36 PM, MUAD SHIBANI wrote:
Basically you can increase time limit for this file to handle your
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
Hello List
I want to use Cake PHP ,I have downloaded it from it's site,rename the
folder to first_app
and copied it to
/srv/www/htdocs
my root is here:
/srv/www/htdocs
by entering http://localhost/first_app/
it has some errors like these outputs:
Warning: _cake_core_ cache was unable to
On 8/7/2011 9:53 AM, Negin Nickparsa wrote:
Hello List
I want to use Cake PHP ,I have downloaded it from it's site,rename the
folder to first_app
and copied it to
/srv/www/htdocs
my root is here:
/srv/www/htdocs
by entering http://localhost/first_app/
it has some errors like
Thank you, I found that only the tmp directory must be writable then I used
this one:
also by right clicking and using wwwrun for user I tried to set them as you
told
chmod -R 0777 /srv/www/htdocs/first_app/app/tmp/
and the I get fatal Error:
http://cakephp.org/changelogs/1.3.6 Fatal error:
I have debugger.php in cake/libs I don't know why it doesn't access to this
file and tell me can't find the class
cool I found this hidden file .htaccess:
IfModule mod_rewrite.c
RewriteEngine on
RewriteRule^$ app/webroot/[L]
RewriteRule(.*) app/webroot/$1 [L]
/IfModule
well I don't know that this apache module is enabled or not I changed the
apache2 in /etc/sysconfig and add the rewrite
Finally I solved my problem!
I have downloaded another version of cake that is less than 2 now it works
like a charm:)
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:
?PHP
if (!$resp-is_valid) {
// What happens when the CAPTCHA was entered incorrectly
die (The reCAPTCHA wasn't entered correctly. Go back and try it again. .
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: php-general@lists.php.net
Subject: [PHP] Problem with header(Location
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
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:
?PHP
if (!$resp-is_valid) {
// What happens when the CAPTCHA was entered incorrectly
die (The reCAPTCHA wasn't
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:
?PHP
if (!$resp-is_valid) {
// What happens when the
I'm having a problem with a brand new installation of pmwiki. I've not
encountered this before so I'm unsure why this is happening. The
following two warnings are presented at the top of each page:
Warning: session_write_close() [function.session-write-close]: open(/
I am having a really odd Apache2/PHP problem. My employer set up a new Web
server to migrate our Web sites to. One site requires a log in and I have the
ability to log in a someone else. However, when I do this, Apache throws a
Segmentation fault error. It's happening when it tries to get
On Fri, Jun 3, 2011 at 15:12, Floyd Resler fres...@adex-intl.com wrote:
I am having a really odd Apache2/PHP problem. My employer set up a new Web
server to migrate our Web sites to. One site requires a log in and I have
the ability to log in a someone else. However, when I do this, Apache
Hello *,
since I have re-installed mail.tamay-dogan.net 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' ]-
[Thu Mar 17
On Sunday, 20 March 2011 at 18:38, Michelle Konzack wrote:
Hello *,
since I have re-installed mail.tamay-dogan.net 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
[
I am having problems compiling 5.3.? with postgresql support.
'./configure' '--with-apxs2=/usr/local/apache2/bin/apxs'
'--with-pdo-pgsql=/usr/local/postgresql-9.0.3'
'--with-pgsql=/usr/local/postgresql-9.0.3'
This configure works with 5.2.?, but 5.3.? gets this
ext/standard/.libs/dns.o: In
, 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 is contained within the string
I am evaluating.
I know that if ( $name
On Tue, 2011-03-15 at 01:20 -0400, Jack wrote:
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
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;
}
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
it's a match.
I tried the below without success..
Not
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 jacklistm...@gmail.com wrote:
I want to be able to match if a string is contained within the string I am
evaluating.
I know that if ( $name
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
it's a
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
http://php.net/manual/en
On Tue, Dec 21, 2010 at 2:48 AM, Ravi Gehlot r...@ravigehlot.net 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
On Tue, Dec 21, 2010 at 02:48, Ravi Gehlot r...@ravigehlot.net 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
On Tue, Dec 21, 2010 at 9:50 AM, Daniel P. Brown
daniel.br...@parasane.net wrote:
On Tue, Dec 21, 2010 at 02:48, Ravi Gehlot r...@ravigehlot.net 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
On Tue, Dec 21, 2010 at 9:54 AM, David Hutto smokefl...@gmail.com wrote:
On Tue, Dec 21, 2010 at 9:50 AM, Daniel P. Brown
daniel.br...@parasane.net wrote:
On Tue, Dec 21, 2010 at 02:48, Ravi Gehlot r...@ravigehlot.net wrote:
My point is that you tried to take code from one page and put it all
On Tue, Dec 21, 2010 at 02:35:33AM -0500, David Hutto wrote:
On Tue, Dec 21, 2010 at 2:29 AM, Ravi Gehlot r...@ravigehlot.net 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
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
://www.ashleysheridan.co.uk
- Reply message -
From: Ravi Gehlot r...@ravigehlot.net
Date: Tue, Dec 21, 2010 18:12
Subject: [PHP] Problem with Include
To: Paul M Foster pa...@quillandmouse.com
Cc: php-general@lists.php.net
If something is working and you don't know exactly whats under the hood then
you are wasting
,
Ash
http://www.ashleysheridan.co.uk
- Reply message -
From: Ravi Gehlot r...@ravigehlot.net
Date: Tue, Dec 21, 2010 18:12
Subject: [PHP] Problem with Include
To: Paul M Foster pa...@quillandmouse.com
Cc: php-general@lists.php.net
If something is working and you don't know exactly
. To not do so seems to me to avoid
ones nature really!
Thanks,
Ash
http://www.ashleysheridan.co.uk
- Reply message -
From: Ravi Gehlot r...@ravigehlot.net
Date: Tue, Dec 21, 2010 18:12
Subject: [PHP] Problem with Include
To: Paul M Foster pa...@quillandmouse.com
Cc: php-general
On Mon, Dec 20, 2010 at 02:49, Simcha Younger sim...@syounger.com 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
1 - 100 of 3027 matches
Mail list logo