Very simple sample:
// Send a mail to [EMAIL PROTECTED]
$headers = From: \Webmaster\[EMAIL PROTECTED];
$mailtext = trim($_POST[email]);
$mailtext .= is joining the family.\n;
mail('[EMAIL PROTECTED]', 'New
issin wrote:
Dear all,
Can you give me a send email sample?
Thanks!
RTFM : http://www.php.net/manual/en/function.mail.php
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
John W. List wrote:
I have an unexpected and perplexing problem.
PHP's mail() function is base64 encoding all message bodies as an
ill-formed MIME attachment resulting in the recipient seeing an
uninteligable base64 encoded string. This only happens to my account
with my host and neither I or the
Try mail([EMAIL PROTECTED],test script,Foo!);
Thanks very much for your suggestion- It did not fix the problem but
it provided a pointer to a workaround.
It appears that my host base64 encodes message bodies if any sort of
header- even an empty one- is supplied. This is a problem the sysadmin
if you check your cookies (if you are using firefox) you should see
multiple cookies from many sites. It is allowed and I think you can
set as much as possible. However I wouldn't because you'll probably
end up forgetting some of them and it'll become a hassle. Besides,
some browsers might reject
Burhan Khalid wrote:
Can you give me a send email sample?
RTFM : http://www.php.net/manual/en/function.mail.php
Burhan,
That's awfully polite. RTFM. How are people supposed to get started? Take
that attitude back over to the Perl newsgroup. One of the joys of PHP has been
a
Hi,
W+ does not work either.
I have resorted to adding a blank, 0 byte text file.
But it needs chmod 666.
Interesting, I add this line:
chmod($defaultfile, 666);
and it send back an illegal error, but it appears to work anyway - the data is
written!
What does the at_sign mean at the start of
If is easy please answer and this : when be online AND OPEN A FILE FROM
A WEB LOCATION HOST - MINE WITH NOTEPAD may after I modify it, save it
again to my hosting space WITHOUT save it to my PC first ? Please note
that I mean using NotePad and I mean entering the host usernamepassword
when OPEN /
I am so sorry for my misunderstanding and leading you to anger. But I
am still not so clear yet...about your demand.
I guess you wanna say, a visitor enter his account and password, and
click 'submit', then the browser navigates to b.php to check if all
are correct. Right?
a.php:
form
On Friday 18 March 2005 10:32, Brian Dunning wrote:
I suspect it's
for sub-domains of sites you administer and not completely different
domains altogether.
If this is true, and it's not possible for a site to set a cookie for a
completely different domain, then why do browsers have
I have been doing some testing and need confirmation that the following
is correct.
You have a DOMDocument that potentially contains UTF-8 encoded data (it
might not however).
You want to search it via DOMXpath-query() using a value that comes
from a $_POST value.
If the page that posts the
If is easy please answer and this : when be online AND OPEN A FILE FROM
A WEB LOCATION HOST - MINE WITH NOTEPAD may after I modify it, save it
again to my hosting space WITHOUT save it to my PC first ? Please note
that I mean using NotePad and I mean entering the host usernamepassword
when
Hello Rob,
Saturday, March 19, 2005, 2:39:08 AM, you wrote:
R could someone possibly point me in the right direction for allow
R PHP on IIS 6 to accept urls with the query string seperated by
R slashes..
This is called slash arguments and IIS can not natively handle it. I
ran into this issue
I'm looking for an address finder where a user types in a postcode and house
number and then the user is given an option of to houses to choose from.
Anything like this available for a small charge?
Ross
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
On 19/03/2005, at 2:36 AM, Marek Kilimajer wrote:
Dan Rossi wrote:
On 19/03/2005, at 2:06 AM, [EMAIL PROTECTED]
wrote:
I think you misunderstood me or I wasnt clear, the links are coming
from a syndicate site to the main site, so we check on that domain. I
am looking at other options, maybe
Hi,
I'm trying to use a global object (declared at a upper level), but all I
got is :
Call to a member function on a non-object in
/home/pooly/public_html/templeet/modules/freedb.php on line 16
part of the code is :
$freedb = new freedbaxs();
Function return_freedb_search($array)
{
global
Hi,
I'm trying to use a global object (declared at a upper level), but all I
got is :
Call to a member function on a non-object in
/home/pooly/public_html/templeet/modules/freedb.php on line 16
part of the code is :
$freedb = new freedbaxs();
Function return_freedb_search($array)
{
Dan Rossi wrote:
On 19/03/2005, at 2:36 AM, Marek Kilimajer wrote:
Dan Rossi wrote:
On 19/03/2005, at 2:06 AM, [EMAIL PROTECTED] wrote:
I think you misunderstood me or I wasnt clear, the links are coming
from a syndicate site to the main site, so we check on that domain. I
am looking at other
Try this:
Goto 'My Network Places' and set up an ftp connection to whereever you
want to save the file. Then in notepad you can access it just 'like' a
directory on your computer.
On Sat, 19 Mar 2005 16:09:05 + (GMT), Philip Olson
[EMAIL PROTECTED] wrote:
If is easy please answer and
pooly wrote:
I'm trying to use a global object (declared at a upper level), but all
I got is :
Call to a member function on a non-object in
/home/pooly/public_html/templeet/modules/freedb.php on line 16
part of the code is :
$freedb = new freedbaxs();
Function return_freedb_search($array)
{
Oops, sorry for double posting. my mistake. accept my apologies :-p
On Fri, 18 Mar 2005 23:51:15 +, pooly [EMAIL PROTECTED] wrote:
Hi,
I'm trying to use a global object (declared at a upper level), but all I
got is :
Call to a member function on a non-object in
The initialisation seems to be ok, since :
Function return_freedb_search($array)
{
global $freedb;
$freedb = new freedbaxs();
[snip]
$freedb-freedb_search($txt); //line 16...
}
works
and also
$freedb = new freedbaxs();
$freedb-freedb_search(ploplop);
Function return_freedb_search($array)
{
Evert - Rooftop Solutions wrote:
pooly wrote:
I'm trying to use a global object (declared at a upper level), but
all I got is :
Call to a member function on a non-object in
/home/pooly/public_html/templeet/modules/freedb.php on line 16
Hmm, perhaps your problem is the failed connection to your
On 20/03/2005, at 5:40 AM, Marek Kilimajer wrote:
If you need only hotlink protection then the current referer checking
is just enough. Most users will not install referer spoofing software.
But if you need to be 100% sure the videos are streamed through
affiliate server, you can use tokens -
Scott Haneda [EMAIL PROTECTED] writes:
Cross domain cookies are indeed possible, look at microsoft.com, msn.com and
msnbc.com which indeed do share your cookies from one site to the next,
however, they do it by redirects and get/post methods, which is perfectly
legit since they control those
there is no database connection involved here. if I displace the
$freedb = new freedbaxs();
inside the function it's works.
I should give a try with a dummy object. (but the constructor, only
initialize empty array)
On Sat, 19 Mar 2005 21:17:02 +0200, BAO RuiXian [EMAIL PROTECTED] wrote:
Hi there,
I'm looking for a good document that describes session ID generation in
PHP 4.3.6. Does somebody have that at hand?
I couldn't find anything googling it, and nothing in the PHP doc. I
would like to know what kind of parameters it uses during the
generation. And also how it is
Hmm its the exact setup with how the video filenames are generated in
the player to prevent hotlinking. I guess I am on my own, my client
has very paranoid customers as they have to pay for the bandwidth.
Lets see how I go. But theoretically we must assume these people dont
have php.
It
On Sun, 20 Mar 2005 09:38:29 +1100, dan rossi [EMAIL PROTECTED] wrote:
Hmm its the exact setup with how the video filenames are generated in
the player to prevent hotlinking. I guess I am on my own, my client
has very paranoid customers as they have to pay for the bandwidth.
Lets see how
Dotan Cohen wrote:
On Sun, 20 Mar 2005 09:38:29 +1100, dan rossi [EMAIL PROTECTED] wrote:
Hmm its the exact setup with how the video filenames are generated in
the player to prevent hotlinking. I guess I am on my own, my client
has very paranoid customers as they have to pay for the bandwidth.
WORK WITH PHP FILES REMOTELY WITH NotePad ? YES/NO ?
I want to know if when be online I CAN OPEN A FILE FROM A WEB LOCATION
HOST - MINE and after I modify it save it again to my hosting space
WITHOUT save it to my PC first using NotePad and I mean entering the
host usernamepassword when OPEN /
dan rossi wrote:
Hmm its the exact setup with how the video filenames are generated in
the player to prevent hotlinking. I guess I am on my own, my client
has very paranoid customers as they have to pay for the bandwidth.
Lets see how I go. But theoretically we must assume these people dont
Leonidas Savvides wrote:
ATTENTION: I DO NOT MEAN
SAVE IT TO MY HDD FIRST AND AFTER UPLOAD IT !!! TELL ME THIS SAMELY FOR
Dreamweaver MX ?
Not in PHP. It's a client side trick (done with machine and/or OS
specific code). Even Web-based Documentum (eRooms) uses a staging
directory on the users
WORK WITH PHP FILES REMOTELY WITH NotePad / Dreamweaver MX ? YES/NO ?
I want to know if when be online I CAN OPEN A PHP FILE FROM A WEB
LOCATION HOST - MINE and after I modify it save it again to my hosting
space WITHOUT save it to my PC first, using NotePad and I mean entering
the host
Hi,
I want to cache a PHP page privately for a week.
What headers should I send to make it work both in Mozilla and IE?
I have set these headers, but those work only for IE:
?php
$max_age=604800;
header(Date: .gmdate(D, d M Y H:i:s,time()));
header(Cache-Control: private);
header(Cache-Control:
WORK WITH PHP FILES REMOTELY WITH NotePad ? YES/NO ?
I want to know if when be online I CAN OPEN A FILE FROM A WEB LOCATION
HOST - MINE and after I modify it save it again to my hosting space
WITHOUT save it to my PC first using NotePad and I mean entering the
host usernamepassword when OPEN /
you can setup an ftp in my network places and use it just like a
folder on your computer from notepad
On Sat, 19 Mar 2005 20:55:49 -0500, Larry E. Ullman
[EMAIL PROTECTED] wrote:
WORK WITH PHP FILES REMOTELY WITH NotePad ? YES/NO ?
I want to know if when be online I CAN OPEN A FILE FROM A
On 20/03/2005, at 10:14 AM, Marek Kilimajer wrote:
The image can be hotlinked too ;)
Bit of a headfuck ey ? Hmm I think we are gonna go with a mixture of
that and a token url.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
38 matches
Mail list logo