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
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
apache
module it should be available to the CLI as well.
If there is no 'undefined function' error then you should also be
calling 'echo mysql_error()' to see what the error is after connecting.
That error is going to give you more info than any of us can.
Travis
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
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
-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
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
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
;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
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
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
correctly, it sounds like the FTP client is having
troubles uploading the file. Try to minimize the script and see if you
can still reproduce:
Hello";
?>
If you upload a script like that, does it get something simple done
correctly or does that also require a second upload?
Travis
--
P
tore the data in a MySQL database it would be the same
procedure, except you would query the database (BLOB column type) and
echo that data instead of using readfile() to get your data.
Travis
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
les/'.$filename);
>
Pretty sure Richard already squared this one away, I think this is the
article you are looking for:
http://richardlynch.blogspot.com/
Travis
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
anner ads might fall here.) False positives will be
high with beach photos from family vacation, for example.
Travis
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
sage itself and the server sending the message. If
you can send mail from this server using a normal mail client and it
does not get blocked as spam then it is probably your message. If
sending using a normal client still gets blocked as spam in you gmail
account chances are it is the server and n
I am fairly new to the concept of working wity mysql and php. I am looping
thru a text file full of county names and attempting to add these to a database.
Now the table exists and if I enter the SQL statement manually against the
database it works. The user also has read and write permissions
I do not know much about the history of php and do not know why there is
active development on both the 4 and 5 major versions, but is there a
definite reason for me to migrate from 4 to 5 on my servers?
Trav
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.p
"just works".
I was just wondering what would be the main advantage.
- Original Message -
From: "Greg Beaver" <[EMAIL PROTECTED]>
To: "Travis Conway" <[EMAIL PROTECTED]>
Cc: "PHP-GEMERAL" <[EMAIL PROTECTED]>
Sent: Sunday, November 28, 2
which does not require a tick around the value. I also dont
think that the back tick works.
HTH
Travis
- Original Message -
From: "Richard Kurth" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, December 05, 2004 3:05 PM
Subject: [PHP] mysql error
Could
try
for($i=0;$i>$months_arr_length;$i++)
look at it as this:
for(i as starting point; till i is what? greater than my length; increment i
how? by 1) {
HTH
Trav
- Original Message -
From: "R. Van Tassel" <[EMAIL PROTECTED]>
To: "'PHP general'" <[EMAIL PROTECTED]>
Sent: Wednesday, December
- Original Message -
From: "- Edwin -" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: "Travis Conway" <[EMAIL PROTECTED]>
Sent: Sunday, December 12, 2004 10:40 AM
Subject: Re: [PHP] Command Line
Hi,
On Sun, 12 Dec 2004 09:15:46 -0600
"Travi
Ha!
Sorry for that Fedora 3 is causing all kinds of havoc. I would stay away
for a while.
Trav
- Original Message -
From: "Michael Leung" <[EMAIL PROTECTED]>
To: "Andre Dubuc" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Sunday, December 12, 2004 7:25 PM
Subject: Re: [PHP] PHP &
What user did you run your command line as?
Trav
- Original Message -
From: "Michael Leung" <[EMAIL PROTECTED]>
To: "Travis Conway" <[EMAIL PROTECTED]>
Cc: "Andre Dubuc" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Sunday, December
- Original Message -
From: "Paul Reinheimer" <[EMAIL PROTECTED]>
Hi,
I was working with the mail function today to experiment with sending
a few messages, and threw in the apropriate checks so when mail()
can't send the message the apropriate errors were raised, however, I
discovered I co
Did he really ask that question on a PHP board?
That is like walking into a Coke factory, going to the manager and asking
"pepsi or coke?"
- Original Message -
From: "Raditha Dissanayake" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Saturday, December 11, 2004 7:11 AM
Subject: Re: [
() support
it helps out.
Travis
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
What is the default place for php.ini? I have a few copies when I do a
`whereis php.ini`. I figure it is the /etc/php.ini. Anyone shed some
light? Also, is there anything that must be done after I modify the
php.ini?
Trav
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, v
Nevermind. I got it
- Original Message -
From: "Travis Conway" <[EMAIL PROTECTED]>
To: "PHP-GEMERAL" <[EMAIL PROTECTED]>
Sent: Monday, December 13, 2004 9:30 PM
Subject: [PHP] php.ini
What is the default place for php.ini? I have a few copies when I do
Well a simple search on Google for "PHP Encoder" brougt back these:
http://www.ioncube.com/ $199
http://www.rssoftlab.com/downloads.php - Appears to be Free
I am sure there are more. Check http://freshmeat.net for a good Open Source
product. Also try http://www.sourceforge.net.
As always check
Why reinvent the wheel by writing your own webserver? Apache allows for it
to be used within other products. Just redistrbute it according to the
license.
- Original Message -
From: "Shane Mc Cormack" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, December 21, 2004 10:36 PM
.php.net/manual/en/function.gmdate.php
Travis
- Original Message -
From: "Bruno B B Magalhães" <[EMAIL PROTECTED]>
To:
Sent: Tuesday, January 04, 2005 5:04 AM
Subject: [PHP] GMT
Hi you all,
How do you work with GMT time-zones? I mean, I´ve developed a support
system, wit
Maybe this will help. Just keep adding to $var[] until you add all your
weeks. Then execute it. This is written to run on the command line, but
you can replace the \n with to get your breaks in HTML.
$numweeks = count($var);
echo "Number of weeks: " . $numweeks . "\n";
you have to allow others to read it.
You have it so only root can access the file. Try this:
chmod 644 test.php
while logged in as root. This should put the file as
-rw-r--r-- 1 root root test.php
HTH
Travis
- Original Message -
From: "Jason Morehouse" <[EMAIL PROTECTE
o has an unmatched quote.
The actual error message seems clear "No such file or directory" - does
"home/path/temp" exist, did you mean "/home/path/temp".
Travis
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
irectory as PHP best sees fit.
Travis
--
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 "
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
Here's random! I'm going to close my eyes think of some drinking water
and running AT the same time and just start pushing numbers on the pad
however way my fingers desire while not thinking about it!
Here: 7914718845748671454531587148354531452141857
Good enough?
-Travis
he correct colors as the original
14416fed5d4f78.jpg. I figure that I'm missing some small elements to the
process of creating the png...
Anyone have any ideas, pointers, advice, or correct solution to make
this possible?
Sincerely,
Travis L. Font
Interactive Developer
BSN
5901 Broken S
101 - 139 of 139 matches
Mail list logo