t there's "this Saturday" coming up and "next
> Saturday" the one after that?
>
> And if I can't figure it out, why would you expect PHP to figure it out?
>
> :-)
>
> On Thu, January 31, 2008 10:27 am, Mike Morton wrote:
>> Ya - the other se
n of PHP,and it works ok.
>>
>> More info:
>>
>> Shell date: Thu Jan 31 09:44:50 EST 2008
>> echo date("Y-m-d g:i A T", time()); = 2008-01-31 10:00 AM EST
>> echo date("Y-m-d g:i A T", strtotime("next saturday
.9 (highest version we can have at the moment)
I could not find this in the known bugs from this version
So - is this something that is server or version specific?
TIA!
--
Cheers
Mike Morton
**
I missing another alternative for securely encrypting/decrypting data
in PHP? Short of re-compiling or such.
Thanks in advance!
--
Cheers
Mike Morton
*
* Tel: 905-465-1263
* Email: [EMAIL
the database.
Running PHP 4.3.2, Mysql 3.23.whatever The 'orders' database you see here
is really light, 16K rows only, and the sessions_id field is indexed.
I am seeing a number (50-60) sleeping processes in the mysql server, not
sure ho
ards
> :.. Martin Hudec
> :.:
> :.: =w= http://www.aeternal.net
> :.: =m= +421.907.303393
> :.: [EMAIL PROTECTED] [EMAIL PROTECTED]
> :.:
> :.: "When you want something, all the universe
> :.: con
raber" <[EMAIL PROTECTED]> wrote:
> Using a Cobalt Raq 4 w/php 4.3.1. The sendmail_path is :
> /usr/sbin/sendmail -t -iThis seems to be right.
>
> Can't get mail to send. Script works on other servers without fail.
>
> PHP Info here: http://www.ncafp.com/cgi-
2/php
combo?
Any suggestions are appreciated :)
TIA
--
Cheers
Mike Morton
*
* Tel: 905-465-1263
* Email: [EMAIL PROTECTED]
*
"Indeed, it would not be an exaggeration to describ
the help is called by the key, I need the index to call the array
> MM> item in the url:
> MM> Help.php?tip=onlinusignuphelp_password
>
> MM> I cannot seem to find a way to get even the current index number (i.e. 0)
> so
> M
nd a way to get even the current index number (i.e. 0) so
that I can add and subtract one to that index number... Can anyone help out
with a pointer on how to get the next and prev keys?
Thanks ;)
--
Cheers
Mike Morton
*
* Tel: 905-465-
zine -
> http://www.rbdeveloper.com
> Webmaster for REALbasic Game Central - http://www.freaksw.com/rbgames
>
> "When purchasing that gift for your Special Someone guys remember, girls
> like cute things. If it makes you want to puke, your chick will totally
> love it.&
l server - still - this error is showing for ALL emails going out - not
just the ones being delivered internally - and their internal mail server is
running on an entirely different server anyhow.
So - is there something that I am missing - and if it is not a php error
just say so WITHOUT FLAMES an
get the result you want by doing:
>>
>>$array[] = array($k, $v);
>>
>> (with, of course, appropriate values for $array, $k and $v substituted to
>> suit your code!).
>
> Shouldn't that be:
>
> $array[$k] = $v;
--
Cheers
Mike Morton
then concat'ing it to the
target array. "
On 8/29/03 11:18 AM, "Mike Morton" <[EMAIL PROTECTED]> wrote:
> Look - David - I do appreciate your efforts to help - and I realize that
> working blind on an email list is tough, but the question is not about the
> s
cause it's
> never faster to do it in software when you can push it all up into the
> database instead.
Thanks for the opinion - but I have tried it both ways. Software in this
case is faster. 25 seconds execution in PHP, 3 mins in mysql. But this
STILL does not answer the original q
>> seem to be taking the keys I just get a Parse error message for the
>> line. (the first array_push)
>
> Ahem. Count the brackets? :)
>
> (On a style point, your code would be easier to read for bugs like this if
> you added some whitespace.)
--
Cheers
Mike Morton
is a bug ;) ) or am I trying to do something that is better accomplished
with another function?
TIA.
--
Cheers
Mike Morton
*
* Tel: 905-465-1263
* Email: [EMAIL PROTECTED]
*
"In
#x27;anonymous' countries willing to
> take
>> money for server hosting in the world.
>
> Yes, but they're taking money *from* American companies, for the most
> part. You don't have to punish the remailers if you prev
> wrote:
>
>> and how will this be enforced. waste of legislation imo.
>
> The same way any law is: by filing criminal charges after the fact.
>
--
Cheers
Mike Morton
*
*
eplace with a container
function like this...
TIA
--
Cheers
Mike Morton
*
* Tel: 905-465-1263
* Email: [EMAIL PROTECTED]
*
"Indeed, it would not be an exaggeration to describe the hi
ere the %body is the actual code represented by 'execute this code only'
above.
So, the question is, is there a way to create a function like an if function
that does not only reply on the arguments between the ( and ) in the
function call?
Thanks ag
want?
>
> if(ereg("192.168.0.",$_SERVER['SERVER_ADDR']))
> {
> $local = 1;
> }
> else
> {
> $local = 0;
> }
>
>
> if($local)
> {
> // do whatever you want
> }
>
>
> Justin
>
>
> On Monday, August 11, 2003, at 12:50 AM, Mike
; the template. Use a variable to define the language and use an assign to
> dynamically change the language file in the template.
>
> Then build a function that displays a form, one input box per string, that
> then writes to the language specific string file.
> Chris
>
>
&
nistration is the key here, and the method above
leaves some UI questions such as 'when viewing the administration page, how
can the user relate the label called CART_EDIT to the edit button in the
cart page?'
If anyone has some experience in doing this, I would apprec
>
> and of course
> fclose($found); //we dont want the rest of the page.
>
>
> hmm.. I think I did to much.. just that other peoples code frighten me
> sometimes
>
> btw, the above code is copyrighted so dont use it.
>
> cheers,
>
> Curt
--
Cheers
o retrieve
that in a loop? Foreach, for, while or otherwise?
--
Cheers
Mike Morton
*
* Tel: 905-465-1263
* Email: [EMAIL PROTECTED]
*
"Indeed, it would not be an exaggeration to describe
netti napsal(a):
>>>
>>>
>>>> Anyone know where I can download a demo point-of-sale program from?
>>>> preferably written in php and preferably a point-of-sale designed for
>>>> restaurants? any links etc will be great
>>>>
>
move to the future.
And BTW - there is no such thing as CANNOT be done, only that some one has
not done it yet
On 7/16/03 9:04 AM, "Andrei Verovski (aka MacGuru)"
<[EMAIL PROTECTED]> wrote:
>
> On Wednesday, Jul 16, 2003, at 15:58 Europe/Helsinki, Mike Morton wrot
POS) is too serious to be written in PHP(via browser).
> Maybe in PHP-GTK or in PHP as CLI... But I've never heard about it.
>
--
Cheers
Mike Morton
*
* Tel: 905-465-1263
* Email: [EMAIL PROTECTED]
*
y using the third optional paramater for the exec
> function to retrieve the return status of the command you are executing.
>
> David.
--
Cheers
Mike Morton
*
* Tel: 905-465-1263
* Email: [EMAIL PROTECTED]
*
ear it!
>
> Put this line of code in your script:
>
> echo "/bin/sed -f $GLOBALS[TMP_MAIL_DIR]"."cmdfile
> $GLOBALS[TMP_MAIL_DIR]"."$mailid >
> $GLOBALS[TMP_MAIL_DIR]"."$mailid"."tmp";
>
> and check that it contains wha
no
problem.
If anyone has run into this with exec commands before or can suggest a
different way to run this command, I would love to hear it!
TIA
--
Cheers
Mike Morton
*
* Tel: 905-465-1263
* Email: [EMAIL PROTECTED]
*
*
ll have to check the other scripts to see if
they were modified to a redirect, but I do not think that they were...
Thanks George :)
>
> Hope this solves your problem.
>
> Cheers
>
> George in Oxford
>
>> -Original Message-
>> From: Boaz Yahav [mai
>
> Sincerely
>
> berber
>
> Visit http://www.weberdev.com/ Today!!!
> To see where PHP might take you tomorrow.
>
>
> -Original Message-
> From: Mike Morton [mailto:[EMAIL PROTECTED]
> Sent: Thursday, July 03, 2003 4:03 PM
> To: [PHP - GENERAL]
- 30 mins from now.
$cookieexpiry=time()+$COOKIE_EXPIRY;
setcookie($ADMIN_COOKIE_NAME,"$cookieid",$cookieexpiry,"/",$_SERVER["HTTP_HO
ST"],0);
unset($cookieexpiry);
}
unset($cookieid);
}
adminCookie(); //issue the cookie
--
Cheers
Mi
ories setting, and the webserver must
have read permissions for that file.
--
Cheers
Mike Morton
*
* Tel: 905-465-1263
* Email: [EMAIL PROTECTED]
*
"Indeed, it would not be an e
aving never setup a multi-server web environment before, I'm a bit
>> curious. How would the public server communicate with the private
>> server, passing in database queries and getting results, if it can't
>> connect directly to the database? Are we talking abo
them to httpd.conf on production:
>
> http://httpd.apache.org/docs/mod/mod_env.html#setenv
> http://php.net/getenv
>
> Also it helps with version control, since you can keep the
> environment-specific stuff out of CVS (and PHP entirely).
>
>
> --- Mike Morton <[EMAIL PROTECTED]> wrote:
>> That is precisely my point - if the user has shell access of any
>> type you are compromised - but if they do not get server access -
>> how could they possibly get the dotabase.inc.php? If that is
>> called direct
tly then it will
be parsed, and as long as you are not outputting anything in this page, they
will not see the user/pass that you have in there...
>
> -----
> michal migurski- contact info and pgp key:
> sf/cahttp://mi
ng something totally obvious, but if the server is set up to
properly parse php files - having configs outside of the doc root should not
make much of a security difference?
--
Cheers
Mike Morton
*
* Tel: 90
yone know of a website (for dummies) that can teach me how to start
> enabling my website into an e-commerce website?
>
> Thanks in advance guys! :)
>
--
Cheers
Mike Morton
*
* Tel: 905-465-1263
* Email: [EMAIL PROTECTED]
*
**
gt;> been discussing the location of the php.ini all morning long? I thought
>> we were, but I could be mistaken.
>>
>> Jay
>>
>> --
>> PHP General Mailing List (http://www.php.net/)
>> To unsubscribe, visit: http://www.php.net/unsub.php
>>
>
sorting to this point anyhow!)
TIA
--
Cheers
Mike Morton
*
* Tel: 905-465-1263
* Email: [EMAIL PROTECTED]
*
"Indeed, it would not be an exaggeration to describe the history of the
com
point me in the direction of some info on .htaccess files?
> Could someone send me one, tell me where to put it in my
> server? I hope this is not a stupid question. I am running Apache on a Mac
> with Jaguar OSX.
>
> Thanks for your help,
>
>
Ah ha - the semi colon does not work - but colon does - thanks Jason!
On 6/17/03 5:04 PM, "Jason Wong" <[EMAIL PROTECTED]> wrote:
> On Wednesday 18 June 2003 03:08, Mike Morton wrote:
>> I have an application that I set the include directory using the ini_set
>>
do I set additional paths like in the ini file? If I try to do
another ini set, then it replaces the initial one, and I cannot seem to find
any way to set more than one path in the initial ini_set above
Does anyone know how this can be done? Thanks :)
--
particular
> search/list/select sequence.
>
> This is one, among many possible, examples of how, by establishing a
> hidden, private, relationship between php scripts, session data
> automatically and inevitably reduces the
ter? Teaching someone the answer to a problem, or teaching
> someone how to find the answer (and future answers) themselves?
>
> "Search google" may not be a detailed answer, or even a polite one, but in
> many cases (not necessarily this OP of this thread) a lazy question
cool, by try to use
some restraint on the list why don't you!
That is all, back to our regular programming :)
On 5/29/03 10:28 AM, "Jason Wong" <[EMAIL PROTECTED]> wrote:
> On Thursday 29 May 2003 21:49, Mike Morton wrote:
>> I have to get this off my chest, and I t
ng with Netbilling.com,
>> does anybody know of a PHP based Netbilling gateway script or class?
>
> Have you searched google?
--
Cheers
Mike Morton
*
* Tel: 905-465-1263
* Email: [EMAIL PROTECTED]
*
lso like a single quote to be removed
> if it is in the filename. I think it has to be escaped in the command
> though. How do I do this?
>
> TIA,
>
> Ed
>
>
--
Cheers
Mike Morton
vb??
>>>
>>> One language across the whole web ;-)
>>>
>>> Posted this question in the evangelism so I'd be interested in more
>>> reaction:
>>>
>>> Pete
>>>
>>>
>
usands of previous emails for what may take someone a quick 5 min to
write it. :)
Thanks :)
--
Cheers
Mike Morton
*
* E-Commerce for Small Business
* http://www.dxstorm.com
*
* DXSTORM.COM
* 824 Winston Churchill Blvd,
* Oakville, ON, CA L6J
p://www.ioncube.com/
>
> Encrypt PHP scripts (there pretty cheap to).
>
> On Thu, 2003-01-30 at 09:30, Mike Morton wrote:
> I want to use the mcrypt functions to encrypt credit card numbers for
> storage in a mysql database, which mycrypt does admirably:
>
> $key = "thi
through PHP as opposed to a
compiled binary? Can anyone suggest a solution to this problem?
Thanks :)
--
Cheers
Mike Morton
*
* E-Commerce for Small Business
* http://www.dxstorm.com
*
* DXSTORM.COM
* 824 Winston Churchill Blvd,
* Oakvi
t{'Oid'};
Etc...
}
Specifically the use ClearLink line.
I know that this is not a perl list - but if anyone has suggestions on how
to get that file included, or executed properly through php, I would
appreciate it - keeping in mind that I have no access to perl library
directorie
As well as books there are some great PHP/MYSQL tutorials that cover all
aspects that the book do in a more visual way.
http://www.vtc.com - there are mysql and php tutorials there - you can view
the first few tutorials online to see if that is what you are looking for.
On 1/19/03 11:31 PM, "Arm
rce Software Systems Integrators
>> * Web Design & Hosting * Internet & Intranet Applications Development *
>>
>> /*
>> Stenderup's Law:
>> The sooner you fall behind, the more time you will have to catch up.
>> */
>>
>>
>> --
>&g
59 matches
Mail list logo