Skip Evans wrote:
> Hey all,
>
> I've installed Feisty Fawn on the curmudgeon barber's machine, but it
> won't get any of the outside packages I've tried to get. I've tried an
>
> apt-get install {package}
>
> ...on digikam, kate, gftp, and others. All stuff I had no trouble
> getting with Edgy.
>
later) or a
500 for perm error right at the mail server. Not sure if you can get
your logic in up the stream though before it gets to you. If you can
you never have to deal with bounce messages and the entire queuing
process that goes along with it, mail server maintenance, etc..
Bounce to the enveloper sender, not the "From" header. I also believe
bounces are supposed to have an envelope sender of "<>" to avoid bounce
loops... not sure on that though.
Cheers
Travis Doherty
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
its defined constant
DBVERSION matches that of the database it is running against. This has
actually helped out more than once, though not a solution to the actual
problem.
Travis Doherty
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
whatever info you want into the 'unused' or
'less used' bytes of the image.
With this in mind I imagine even if you did have an image repository of
only 8 images you could add some random bytes to the right spots in the
image without distorting it beyond recognition/corrupting it, and
therefore get a hybrid of static/on-the-fly images, that hashing
couldn't break so simply.
2 cents...
Travis Doherty
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
nsible for their card numbers being stolen.
Travis Doherty
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ng the adoption rates of PHP5 show what
Rob said.
http://www.nexen.net/chiffres_cles/phpversion/16814-php_stats_evolution_for_march_2007.php
I'm sure many of the polled domains are shared hosts, who have users,
which exponentially complicates the task of migration.
Travis Doherty
--
PHP G
Myron Turner wrote:
> Travis Doherty wrote:
>
>>>
>>
>> What about the argument that PHP4 is dead. It's done. It's over.
>> There is no reason anyone should be using it, less perhaps a lack of
>> time to tweak scripts for an upgrade from 4 t
will be dropped at the end of the year, 8 months from
now. So now is the time to start upgrading all your scripts as we won't
be releasing new versions after December 31st, 2007."
http://derickrethans.nl/php_quebec_conference_rip_php_4.php
Travis Doherty
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ree - I agree with "you should migrate to PHP5 *NOW*"
(my emphasis added) and I disagree with "then it's not really needed to
upgrade." (unless you don't care about security.)
Ilia Alshanetsky gave a great talk on this topic recently,
http://ilia.ws/talks/ scroll to the bottom to "(PDF) Migrating to PHP
5.2.1".
Travis Doherty
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Zoltán Németh wrote:
>2007. 03. 28, szerda keltezéssel 15.35-kor Jason Pruim ezt írta:
>
>
>>Hi Everyone,
>>
>>First off, I'm using PHP 5.2.0 and apache 1.3.33
>>
>>I am trying to figure out what format a string is in in a database.
>>It's a timecard system that I have found on-line and I am a
Jason Pruim wrote:
> Hi Everyone,
>
> First off, I'm using PHP 5.2.0 and apache 1.3.33
>
> I am trying to figure out what format a string is in in a database.
> It's a timecard system that I have found on-line and I am attempting
> to figure out how to write a script that would give me everyones
.
- Profile your code and find the right places to optimize.
Optimizing code that takes .0001 seconds to run down to .1 seconds
is great, 10x improvement! Who cares. Find the chunk that takes 0.5
seconds to run and optimize that to 0.05 seconds. 10x improvement still,
except that this time it actu
>
> Tijnema
Taking the Zend ZCE exam puts you under a strict NDA. Nobody can tell
you what you will see on the exam.
Study the exam guide and if design patterns really interest you then
take it to the next level out of personal interest. Since patterns are
not "PHP-only" you can
mated_date > (current_date + 14)
>
> etc. Which functions are best suited for such calculations?
>
> O. Wyss
>
www.php.net/strtotime is probably a good start.
Travis Doherty
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
and was probably choke full of security problems.
Setting up ProFTPd for MySQL authentication was a pain, I'm sure its
easier today. Once you have that setup, its just a simple matter of
CRUD SQL queries.
Travis Doherty
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
op is fastest.
Note that the while loop with a post-increment runs once more than with
a pre-increment.
Everytime I run, the results are *very* different, though still fall
within similar comparitive domains.
Travis Doherty
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Juergen Wind wrote:
>Travis Doherty wrote:
>
>
>>By default the session cookie expires when the browseris closed.
>>
>>
>this is not always true: f.e. FF requires *all* open windows to be closed to
>forget that session.
>
>
Personally I think th
han a string (such as int) than you're
>safe and you don't have to use htmlentities.
>
>
>
Good call. One better is prepared statements. Avoid the problem all
together.
Travis Doherty
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
oring sensitive
data in _SESSION. Anyone local to the system can probably read
plaintext session data from the session cache.
HTTPS only protects communications between the client and the server at
best, do be afraid!
Travis Doherty
--
PHP General Mailing List (http://www.php.net/)
To unsubscri
r as a cookie (unless its in the URL...)
www.php.net/session/
Take a look at cookie_lifetime and you might like the cache_expire docs
on the same page too.
Travis Doherty
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ossible that your OS has a cron job running that clears out that
directory, especially if these complaints are usually around midnight
when these types of jobs typically run.
Travis Doherty
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
.. I'm really not sure if
PHP's functions will take care of moving that username/password
information into the header of the HTTP request or just leave it there.
Travis Doherty
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hello.
Came across some code that startled me. Mostly because it goes against
the generally accepted idea of detecting and rejecting bad input instead
of trying to escape it, secondly because "it just feels wrong."
The only technical case I have so far is for inserting a double/single
quote into
Aslam Bari wrote:
>Hello,
>Just a minute. I know the php script will run on server. Suppose i m working
>on server machine and i need to make a project for myself. The machine is
>only one and same. Also there are a lot of file and directory methods
>available in PHP, Whats that? Actually i want t
Børge Holen wrote:
>On Wednesday 24 January 2007 07:32, Travis Doherty wrote:
>
>
>>Aslam Bari wrote:
>>
>>
>>>Dear All,
>>>I m new in this Forum. I m making a project in which i need to show user a
>>>Browse Folder Dialog Box, In wh
don't see why someone wouldn't just use http://php.net/wordwrap/ .
Travis Doherty
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ime to look into a different language to
do whatever it is you want to do, something like Visual Basic might suit
you well (last time I used it there was a control that would popup the
standard windows 'Select Folder' dialog.)
Travis Doherty
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Tom Chubb wrote:
> On 28/11/06, Dave Goodchild <[EMAIL PROTECTED]> wrote:
>
>> Hi all. I am building a web app and as part of it advertisers can upload
>> their ad image and website URL to go with their ad. Is there a good
>> way to
>> detect whether that site is a porn site via php?
>>
>> --
>>
Brian Dunning wrote:
> Sorry to revisit this issue YET ONE MORE TIME... :) :)
>
> My online store sends out the file for download upon purchase. Below
> are the headers I send, and I understood that it should work for all
> browsers. It does not work for Firefox. Suggestions?
>
> header('Conte
[EMAIL PROTECTED] wrote:
> I need to take a word document or pdf file from either a MySQL db or
> from a
> directory, which will then be sent via php script. How can I go about
> doing
> this? Can anyone provide sample code or point me in the right direction.
>
Brian Dunning started a thread abo
Nicholas Crosby wrote:
>Hello:
>
>I would appreciate any help on this that someone might have. A student of
>mine found this issue. He ftp's a file to a server and looks at it through a
>browser, there are errors. He uploads the file again, it works fine. I am
>stumped. Any ideas? Here is the text
can you
>open up some content that has them using a hex editor and tell us the
>hex codes for the bytes? That will help determine what charset.
>
>Cheers,
>Rob.
>
>
John Walker's insight might be a good lead on some more information on
exactly what these are, even if
pedia.org/wiki/British_Summer_Time> (BST). Similar
circumstances apply in many places.
<<
**
Travis Doherty
TixTime
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
;t happen. Of course there is no
problem for spring, only in the fall time change.
This can be a big problem to some apps, and others might be fine with
the workaround like we've done where you loose a tiny bit of data (It's
08:00 on the day after the timechange, is this ticket from 0
y, you could do something like this:
$reminderStamp = strtotime("+{$addMonths} months",time());
$reminderStamp = strtoTime("+{$addDays} days",$reminderStamp);
$date = date("Y-m-d",$reminderStamp);
$date should have a string like -mm-dd that is $addMonths and
$add
Ron Piggott (PHP) wrote:
>Is there a way I am able to use the DATE command to convert January to
>1, February to 2, etc.
>
>
>
What is wrong with date()?
www.php.net/date
$month = 'Jan';
$numericMonth = date('m', strtotime("$month 01 2000");
Travi
-box' install of SA, most people have special rules in
there, bayes training done, etc... I believe there is also a website
that you can copy paste the message into to perform the same test (see
message on this list, "Peter Lauri - PHP Mailer and SMTP = SPAM?") That
site might have othe
ou have above) into
message_with_headers and run it through SA. Maybe SA is giving you
points for things like too many exclamations, certain ratio of HTML...
I doubt that having a return-path of 'nobody' is the lowest-hanging
fruit you can pick up here to make yourself look less spammy.
Also make sure the sending mail server isn't listed in any blacklists
(yahoo for RBL lookup tool to check.)
Travis Doherty
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
blackwater dev wrote:
> Ok, dumb question but how do I do that? I know how to re-compile the
> standard php. My code also uses mssql via freetds, does that somehow
> need
> to be enabled as it doesn't seem to fail there.
>
> Thanks!
>
>> >
>> > echo "about to connect";
>> > $this->connectionID=
so removes bogus Return-Path header fields
> inserted by other MTAs, this header field is generally guaranteed to
> reflect the last reverse path seen in the MAIL FROM command.
Travis Doherty
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
mmand you
will use to change the timezone of the running script is:
putenv("TZ=$zone");
The equiv to set a MySQL connection to a certain timezone would be:
SET time_zone = '$zone';
http://dev.mysql.com/doc/refman/5.1/en/time-zone-support.html
That URL has the MySQL side of se
efman/5.0/en/date-and-time-functions.html
They should all work on DATETIME type columns, storing seconds since
epoch doesn't quite give you that (you could work it in pretty easily
I'm sure, why not use the native column type!)
Cheers,
Travis
>
> On 9/18/06, Travis Doherty <[EMAIL
Kevin Murphy wrote:
> Not really. If it were always "today" that would work, but in this
> case, I was thinking of storing a day of the week in a database
> ("3"), and then display the info based on that digit. So assuming
> that the number was in fact 3, then:
>
> echo date("D","3");
>
> Would
kartikay malhotra wrote:
> Hi all!
>
> I've use PHP mail to send mail to my Gmail ID. But it gets delivered
> to my
> Spam box and not the Inbox :(
>
> Am I missing a header, signature, certificate?
>
> Thanks
> KM
>
>
Is the system you are sending from listed in any RBLs? If you don't set
a subj
or download it will always be possible for
someone to figure out your counter measures. It doesn't mean you can't
make it trivial enough that they move along to the next site.
Travis Doherty
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
l you are more experienced.
"High Performance MySQL" by Zawodny & Balling, O'Reilly -- not PHP
specific but essential if your MySQL databases will have heavy load on them.
Travis Doherty
Ligaya Turmelle wrote:
> I personally liked George Schlossnagle's book "
Samuel DeVore wrote:
>How does one find the system temp folder? from php? in a platform
>independant way
>
>
>
This should help:
http://www.php.net/manual/en/function.tempnam.php
It does return the name of the temp file created (or FALSE), which could
be parsed to get the temp directory as PHP
zedleon wrote:
>>Warning: fopen(home/path/temp") failed to open stream: No such file or
>>directory
>>I am trying to write a script to work with GnuPG, but can't get past this
>>basic problem.
>>Everything I try gives me the same warning.
>
>I just corrected the code...I had it correct but posted
48 matches
Mail list logo