setting the character set. My web
site is on a virtual host, and I don't know if I have access to make
such adjustments.
Can someone please explain in beginners terms how do I set up my
PHP scripts to enter Japanese kanji safely into a database and into an
email?
--
Cheers!
Dave G
[EMAIL
loop's
control structure. It doesn't ever say anything like $subscriber ++1.
Nor does $result have anything act upon it which would change it. So to
me they both look static, and this loop looks endless.
--
Cheers!
Dave G
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net
(), but the
technical vocabulary is beyond me.
Can someone help me tweak this code to successfully send a kanji
email?
--
Cheers!
Dave G
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
, $mailcontent, $fromaddress);
}
Why is this not parsing?
--
Cheers!
Dave G
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
!
In any case, I very appreciative of the many valuable tips
offered, and I believe tightening up the code as suggested by people on
this list helped me see my script better and isolate the problem.
Many thanks to David, Jay, Hanuska, Leif, and Teren for their
comments!
--
Cheers!
Dave G
.
--
Cheers!
Dave G
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
.
Optimistically looking forward to seeing more technical discussion on
how to accomplish this.
--
Cheers!
Dave G
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
table roughly 30 times each time
the page is accessed, and that can't be right. I'm sure this is better
handled with arrays, but I can't quite figure out the logic and the
commands.
Can anyone help me out with this?
--
Cheers!
Dave G
[EMAIL PROTECTED]
--
PHP General Mailing List (http
to get the results of multiple rows into
an array. But that seems unnecessarily complicated. Is there no command
to take multiple rows and place them into an array?
--
Cheers!
Dave G
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net
looking? What's going on?
--
Cheers!
Dave G
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
://www.devshed.com/Server_Side/PHP/MilesToGo/page1.html
--
Cheers!
Dave G
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
() and
mysql_fetch_row(), but the results, were exactly the same (or close
enough that I don't remember otherwise). So I suspected that the problem
lay elsewhere and didn't mention it. But thank you for suggesting
alternatives.
--
Cheers!
Dave G
[EMAIL PROTECTED]
--
PHP General Mailing List (http
, like so:
[EMAIL PROTECTED]
Then it passes.
Looking at my eregi() function, I've included hyphens as a valid
character, and escaped them out with slashes in order that they work
within the square brackets.
Why would this email be rejected?
--
Cheers!
Dave G
[EMAIL
legal in an email address...
If it wasn't, the user couldn't have emailed me to tell me that he
wasn't having success in registering on my form. Or could he?
--
Cheers!
Dave G
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
confused why hyphens wouldn't still need escaping. Hyphens
are used to express a range of characters. If there's a hyphen there,
won't PHP think I'm looking for a range from nothing to nothing? Or is
it clever enough to figure out what's going on?
(!eregi('[EMAIL PROTECTED]', $email)
--
Cheers!
Dave
for a
reference. Thanks!
--
Cheers!
Dave G
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
on a time zone. If anyone has pointers on
that as well, that would be greatly appreciated.
--
Cheers!
Dave G
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
. So,
question two is, how can I tell which is the right code to set TZ to?
JST? Japan?
Your help is much appreciated.
--
Cheers!
Dave G
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
on the same server.
So I need to compensate for different time zones between my
script and my MySQL server. But I can't figure out how to do that since
I don't know why there is a difference in the first place.
Any help would be much appreciated.
--
Cheers!
Dave G
[EMAIL PROTECTED
This is, I suppose, a completely off topic thread. However, I just
read the web page
http://www.unicom.com/pw/reply-to-harmful.html
and I was completely unconvinced. In all the years that I have belonged
to and run mailing lists, I have never experienced any difficulties.
Period. Never. It has
of considering alternate
viewpoints seems oxymoronic to me.
--
Cheers!
Dave G
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
that the point of a list is to have open discussion, that
people join precisely for the advantage of participating in a group, and
so the postings should default to going to the group, with secondary
options for posting off list.
--
Cheers!
Dave G
[EMAIL PROTECTED]
--
PHP General Mailing List (http
. That is where I am starting from, it's
got nothing to do with anyone's choice of software on either the client
or server side.
--
Cheers!
Dave G
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
!
Dave G
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I'm on XP. I would change over to Linux in a heartbeat if Adobe
products were available on that OS, but alas, they are not, and the GIMP
is, by their own description, not a Photoshop killer.
I'm considering the Opera M2 mailer, but it looks kind of immature.
--
Cheers!
Dave G
[EMAIL
please point me in the right direction?
--
Cheers!
Dave G
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
to the database
as possible. Is that a correct assumption, or am I wrong there?
--
Cheers!
Dave G
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
table WHERE id IN (' .
implode(',',$array) . ');
... ?
--
Cheers!
Dave G
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I'm
after something like the following (I put in question marks where I'm
not sure how that variable would be formed)?
SELECT date(?) FROM table WHERE DATE_ADD(now(?), INTERVAL 72
HOURS)
--
Yoroshiku!
Dave G
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net
Why is this test failing?
If (ereg(^[a-zA-Z0-9\s.\-_']+$, $data)) {
I'm very new to PHP, so I may be barking up the wrong tree, but what is
that s doing after the slash? I don't know if it's the cause of the
problem, but as far as I know it's superfluous.
--
Yoroshiku!
Dave G
[EMAIL PROTECTED
.
--
Yoroshiku!
Dave G
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
type=text name=episodeTitle size=75br';
echo 'Text:br';
echo 'textarea name=episodePP rows=10 cols=55/textareabr';
echo 'input type=submit name=submitButton value=Upload';
echo '/form';
}
--
Yoroshiku!
Dave G
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe
. And so quickly, too!
Much appreciated!
--
Yoroshiku!
Dave G
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
FROM members WHERE active = yes AND
member_id = . $query1Results
But surely there's a way to collapse this into one MySQL line.
--
Yoroshiku!
Dave G
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Chris,
Thank you! I will look on the net for left joins, which is a
bit new to me, and I'll join a MySQL list, since I can see I'm going to
have more MySQL questions in the future.
Your reply is much appreciated, especially since it came so
fast!
--
Yoroshiku!
Dave G
[EMAIL
? Is it
the mail() command that takes time, or the mysql_fetch_array(), or both?
Any suggestions would be greatly appreciated.
--
Yoroshiku!
Dave G
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
. Is it that there are two many periods?
--
Yoroshiku!
Dave G
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
. Thank you for the
link.
--
Yoroshiku!
Dave G
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
of blah blah blah./p
The output I desire is this:
p class=contentBlah blah blah blah./p
p class=contentAnother line of blah blah blah./p
p class=contentA third line of blah blah blah./p
How do I correct my code to accomplish this?
Thank you.
--
Yoroshiku!
Dave G
[EMAIL
! That's done the trick.
--
Yoroshiku!
Dave G
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Shouldn't the syntax that I have place the new line *after* the
/p tag? I'm trying to get it to look like this:
p class=contentblah blah blah blah/p
p class=contentblah blah blah blah/p
p class=contentblah blah blah blah/p
Any advice would be most welcome.
--
Yoroshiku!
Dave G
[EMAIL
how the string input going into the command is parsed
(it comes from a MySQL query), or about how the command interprets line
breaks.
Perhaps someone could offer something a little more concrete than
essentially recommending I just 'try different stuff'.
--
Yoroshiku!
Dave G
[EMAIL PROTECTED
that the person asking is
not willing to work or that they haven't already attempted to work at
it. Sometimes it just means that the person asking doesn't know all the
angles possible.
Thanks for your help.
--
Yoroshiku!
Dave G
[EMAIL PROTECTED]
--
PHP General Mailing List (http
I was searching for a php function which fills empty spaces in string
varibales with nbsp;, but could not find one.
Wouldn't str_replace do it?
http://jp2.php.net/str_replace
--
Yoroshiku!
Dave G
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit
. If you're
running your own server, then you'll need to consult someone more
advanced than I. Also, I can't ensure there aren't any errors or
drawbacks to my advice, I'm just relaying how my web hosting service
seems to handle the issue.
Hope that helps.
--
Yoroshiku!
Dave G
[EMAIL PROTECTED
to some experimenting as well, as
I'm not sure if all servers behave the same on this issue.
Hope that helps.
--
Yoroshiku!
Dave G
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
to access PHP functions that I'm not
aware of.
Can someone please shed a little light on this matter? Naturally
I want to try and be as secure as possible.
--
Yoroshiku!
Dave G
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net
held in a TEXT column?
I'm not totally sure I have the concepts right, but in any case,
would anyone be willing to explain a little further what one would do to
ensure proper validation and escaping of text input from users in
order to increase security?
--
Yoroshiku!
Dave G
[EMAIL
48 matches
Mail list logo