[PHP] Mail()'s not playing nicely :(

2001-06-27 Thread Jamie Thompson

ok so i got

mail([EMAIL PROTECTED], $message, sms alert, Return-Path: $email
$email\nFrom: $email $email\nReply-To: $email $email\nX-Mailer:  .
phpversion());

the email appears as from [EMAIL PROTECTED] istead of [EMAIL PROTECTED] which it
should (and always has done previousy)

I looked at the headers and from reply-to and return path are all set ok but
it sticks in another return path right at the top to [EMAIL PROTECTED]

wtf is going on?/


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




RE: [PHP] Filtering out \ when a ' is user entered?

2001-06-27 Thread Jamie Thompson


use the str_replace() function
 http://www.php.net/manual/en/function.str-replace.php


-Original Message-
From: Marcus James Christian [mailto:[EMAIL PROTECTED]]
Sent: 27 June 2001 05:19
To: [EMAIL PROTECTED]
Subject: [PHP] Filtering out \ when a ' is user entered?


Hello,

I'm pretty new to PHP but all I've seen of it so far I pretty much love!

I've built a web log but when the user enters their data and they use '
or   (and you know they will)   php always shows it from the included
web log as

\'  How can I filter out these backslashes so they don't appear on the
final public viewable page?

Thanks,
Marcus

--
Marcus James Christian - UNLIMITED -
Multimedia Internet Design
http://mjchristianunlimited.com



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




RE: [PHP] informations

2001-06-22 Thread Jamie Thompson

i think you be sendering this to the wrongs peepel.

-Original Message-
From: Mihailescu Emil [mailto:[EMAIL PROTECTED]]
Sent: 21 June 2001 04:52
To: [EMAIL PROTECTED]
Subject: [PHP] informations



Sir/Madame

 Please allow me to introduce myself. My name is Mihailescu Emi. I am sales
manager at
Romcomp SRL and I am contacting you in behalf of the firm. We are a computer
sellers
company from Romania and we are interested to buy Intel Pentium III @ 933
MHz processors
not boxed(tray) and 128 Mb PC 133 memories. If do not have any of this
item please send us
your price list (item/price).
We are interested to get from your company your prices list, including
any other products
and your payments and shipping  methods.

 Please advise,

 Mihailescu Emil,
 sales Manager,
 Romcomp SRL.


 P.S. If this e-mail is send to you by mistake please accept our deepest
apology for any
 disturbement.
  If you have alredy recived this message please ignore it.







E-Mail sent using the Free Trial Version of WorldMerge, the fastest
and easiest way to send personalized e-mail messages. More
information at http://www.coloradosoft.com/worldmrg

199642



--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




RE: [PHP] [php]using sendmail with php

2001-06-19 Thread Jamie Thompson

What is this problem you speak of? I have never come across any problems
with mail().maybe i'm not trying hard enough ;)

-Original Message-
From: Chris Cocuzzo [mailto:[EMAIL PROTECTED]]
Sent: 19 June 2001 05:04
To: PHP General List (E-mail)
Subject: [PHP] [php]using sendmail with php


hey-
i noticed a recent post about the weird email that someone was getting from
a script that emails form data. I was curious on whether or not I could use
sendmail with php, to possibly get around this problem(I've run into it
myself). How might i do this?...

chris




[PHP] PHP Hosting in The UK

2001-06-19 Thread Jamie Thompson

Just a quickieDoes anyone know of any cheap but reliable (i.e. they know
at least something about PHP) Hosting companies in the UK?

By cheap i mean about £10 a month. Speed isn't an issue as long as were not
talking a snails pace.

Cheers

Jamie Funkdaddy Thompson




[PHP] Resize Images 'On The Fly'

2001-05-24 Thread Jamie Thompson

Is there any way you can resize images 'on the fly' with php?

I have images in a directory and i want to pull one out at random and
display it at 50% of it's original size. I was thinking i could read the
file into a variable and then use one of php's image functions on it but I
can't find any documentation for this? is it possible?

Thanks,

Jamie :-)


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] MySQL Select

2001-05-23 Thread Jamie Thompson

ok...sorry to ask a stupid question but

$result = mysql_query(SELECT jazz FROM funk WHERE foo='bar')

but where do you go from there. How would you iterate through the array a
row at a time, doing your thing as you go along?

thanks,

jamie


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] Using html templates

2001-05-23 Thread Jamie Thompson

what is the best way of using html templates to display data from a database?

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] Cobalt Raq Servers PHP

2001-01-31 Thread Jamie Thompson

Has anyone had any experience using php on a Cobalt Raq4 server? any bugs or 
weird stuff i should know about?

--
There are more than 1,000 chemicals in a cup of coffee.
  Of these, only 26 have been tested,
  and half caused cancer in rats.

_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]