Hi
My host, Host Papa (yes, they are rubbish) has disabled mod_deflate,
mod_gzip and php_value auto_prepend_file so can't use them in
.htaccess file. I would move host but I did not realise this was the
case until I wanted to make use of them. I am tied in for three years
so need to find a workaro
Ashley Sheridan wrote:
> On Mon, 2010-03-08 at 22:39 +0800, Edward. S. P. Leong wrote:
>
>>Ashley Sheridan wrote:
>>
>>>On Mon, 2010-03-08 at 01:07 +0800, Edward. S. P. Leong wrote:
>>>
>>>
>>>
>>>>Dear All,
>>>>
>
Ashley Sheridan wrote:
> On Tue, 2010-03-09 at 23:06 +0800, Edward. S. P. Leong wrote:
>
>>Ashley Sheridan wrote:
>>
>>> On Mon, 2010-03-08 at 22:39 +0800, Edward. S. P. Leong wrote:
>>>
>>>>Ashley Sheridan wrote:
>>>>
>&
Ashley Sheridan wrote:
>On Mon, 2010-03-08 at 01:07 +0800, Edward. S. P. Leong wrote:
>
>
>
>>Dear All,
>>
>>Which can we download pear ann install into fc 11 system ?
>>
>>Thank for your help !
>>
>>Edward.
>>
>>
>
Dear All,
Which can we download pear ann install into fc 11 system ?
Thank for your help !
Edward.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Richard Quadling wrote:
>2010/1/20 Edward S.P. Leong :
>
>
>>Richard Quadling wrote:
>>
>>http://www.microsoft.com/downloads/details.aspx?FamilyId=C6C3E9EF-BA29-4A43-8D69-A2BED18FE73C&displaylang=en
>>
>>
>>Sorry,
>>
>>Would
Richard Quadling wrote:
>>http://www.microsoft.com/downloads/details.aspx?FamilyId=C6C3E9EF-BA29-4A43-8D69-A2BED18FE73C&displaylang=en
>>
>>
>>Sorry,
>>
>>Would you mind to tell me which for connecting MS-SQL 2000 and PHP ?
>>
>>Thanks !
&g
Richard Quadling wrote:
>2010/1/19 Edward S.P. Leong :
>
>
>>Richard Quadling wrote:
>>
>>
>>
>>>But having said all of that, the php_mssql.dll uses a very old library
>>>which may give you issues.
>>>
>>>For the time bei
Richard Quadling wrote:
>But having said all of that, the php_mssql.dll uses a very old library
>which may give you issues.
>
>For the time being, using ODBC (php_odbc is built in for PHP on
>Windows) is a much safer solution. You can also use the latest SQL
>Native Client driver so you can talk t
Dear All,
I had config the php.ini as the following :
extension=php_mssql.dll
Then run the cli "iisreset" and reboot the web server machine...
After that, there is NO any MS-SQL within the phpinfo()...
So, would you mind to help more ?
Thanks !
Edward.
--
PHP General Mailing
Dear All,
If the OS is Windows 2003 64Bit (IIS)...
So, which php package must download and how to config it for running
with IIS ?
Due to I don't quite the online manual:
http://www.php.net/manual/en/install.windows.iis.php
Which installation mode is suitable of it ?
Thanks !
Edward.
--
Dear All,
Where can we download the 64bit php package for running on 64bit Windows
platform ?
Thanks !
Edward.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Chris wrote:
Edward Diener wrote:
Chris wrote:
Any light anyone can throw on the 'nob...@myserver.com' address
would be
most welcome.
It is using the apache user @ your host name as the default. Try
this:
ini_set('sendmail_from', 'whate...@wherever.com'
Chris wrote:
Any light anyone can throw on the 'nob...@myserver.com' address
would be
most welcome.
It is using the apache user @ your host name as the default. Try this:
ini_set('sendmail_from', 'whate...@wherever.com');
I will try this but I do not understand why it should work. I have
Shawn McKenzie wrote:
Edward Diener wrote:
Phpster wrote:
On Apr 21, 2009, at 20:32, Edward Diener wrote:
I have a PHP script which uses the PHP 'mail' function. When the
script's 'to' address is an AT&T address, such as my own as an AT&T
ISP customer, the
Phpster wrote:
On Apr 21, 2009, at 20:32, Edward Diener wrote:
I have a PHP script which uses the PHP 'mail' function. When the
script's 'to' address is an AT&T address, such as my own as an AT&T
ISP customer, the mail never gets to me. If the 'to
scubak1w1 wrote:
"Edward Diener" wrote in message
news:d9.64.21597.c829e...@pb1.pair.com...
Chris wrote:
kranthi wrote:
of u are sure that the mail was not received as spam...
check the log files of the mail server on the server to be sure that
the mail actually reached the mail s
Chris wrote:
kranthi wrote:
of u are sure that the mail was not received as spam...
check the log files of the mail server on the server to be sure that
the mail actually reached the mail server from the http server
Somehow I doubt AT&T gives out that sort of access ;)
Exactly.
The idea
kranthi wrote:
of u are sure that the mail was not received as spam...
check the log files of the mail server on the server to be sure that
the mail actually reached the mail server from the http server
I doubt AT&T will give me access to the log files on their incoming mail
server.
--
PHP
Phpster wrote:
On Apr 21, 2009, at 20:32, Edward Diener wrote:
I have a PHP script which uses the PHP 'mail' function. When the
script's 'to' address is an AT&T address, such as my own as an AT&T
ISP customer, the mail never gets to me. If the 'to
I have a PHP script which uses the PHP 'mail' function. When the
script's 'to' address is an AT&T address, such as my own as an AT&T ISP
customer, the mail never gets to me. If the 'to' address is anything
other than an AT&T address, the mail gets to the recipient. The PHP code
for sending the
, Per Jessen wrote:
Edward Diener wrote:
Phpster wrote:
In reading the license I believe it refers to the gnupg itself, not
the application it may be embedded in. You are completely free to use
gnupg as you choose including modifying it to meet your needs.
I always thought the GNU public li
Per Jessen wrote:
Edward Diener wrote:
Phpster wrote:
In reading the license I believe it refers to the gnupg itself, not
the application it may be embedded in. You are completely free to use
gnupg as you choose including modifying it to meet your needs.
I always thought the GNU public
, which use any software distributed with this license, make
their source code freely available to end users. If this is either not
the case or no longer the case, then I will be glad to use GnuPG.
Bastien
Sent from my iPod
On Dec 30, 2008, at 10:50 PM, Edward Diener wrote:
My client
My client application needs to send data to a PHP page in encrypted form
and have the PHP code able to decrypt it. Likewise the PHP code needs to
return data to my application encrypted and my client application needs
to be able to decrypt it.
My application is written in C++ and naturally the PH
Per Jessen wrote:
Edward Diener wrote:
Is there any PHP functionality for sending mail and attaching a high
priority to the mail item ?
printf() ?
All you need to do is a add header like "X-Priority: High". It's just a
line of text.
Thanks for pointing this header out. M
Per Jessen wrote:
Edward Diener wrote:
Is there any PHP functionality for sending mail and attaching a high
priority to the mail item ?
printf() ?
All you need to do is a add header like "X-Priority: High". It's just a
line of text.
Thanks for pointing this header out. M
Is there any PHP functionality for sending mail and attaching a high
priority to the mail item ?
In Outlook ( and Outlook Express ) there is the notion of a high
priority mail item, but I do not know if this corresponds to anything in
an RFC for mail. Nor do I know how to mimic this in PHP. If
I have a JPG file on the server which I want to convert to a Windows BMP
file. How can I do this in PHP ? I did not see a GD image function for
doing this.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Dan Joseph wrote:
On Fri, Aug 29, 2008 at 11:33 AM, Edward Diener <[EMAIL PROTECTED]>wrote:
I am fairly new to PHP. What is the best way of debugging PHP scripts ?
I have put in echo statements to tell me what is happening, but perhaps
there are better methods.
I have a PHP scrip
I am fairly new to PHP. What is the best way of debugging PHP scripts ?
I have put in echo statements to tell me what is happening, but perhaps
there are better methods.
I have a PHP script on a server, which I access from a client side
program ( written in C++ ) and the script is not returni
Maciek Sokolewicz wrote:
Edward Diener wrote:
Benjamin Hawkes-Lewis wrote:
Edward Diener wrote:
Does not the script 'exit' when the PHP code reaches the ending
'?>' tag ?
Not exactly. PHP processes the remainder of the file too, it just
doesn't find any PHP code
Benjamin Hawkes-Lewis wrote:
Edward Diener wrote:
Does not the script 'exit' when the PHP code reaches the ending
'?>' tag ?
Not exactly. PHP processes the remainder of the file too, it just
doesn't find any PHP code to execute therein. It does find some text t
brian wrote:
Edward Diener wrote:
Maciek Sokolewicz wrote:
Edward Diener wrote:
I have a PHP file which does an:
echo "someresponse"
to return some data. When I run it from a Windows client program,
the response I am seeing is not only the "someresponse" above but
also
Maciek Sokolewicz wrote:
Edward Diener wrote:
I have a PHP file which does an:
echo "someresponse"
to return some data. When I run it from a Windows client program, the
response I am seeing is not only the "someresponse" above but also has
the entire HTML form in the PHP
I have a PHP file which does an:
echo "someresponse"
to return some data. When I run it from a Windows client program, the
response I am seeing is not only the "someresponse" above but also has
the entire HTML form in the PHP file appended to it.
Naturally I do not want the form to be includ
In handling an HTTP POST request I came across some PHP code, which I
need to modify for my own purposes, which has code like this:
if ( ! (isset($_GET['x']) && $_GET['x'] == 20) )
{
// Do something by returning an error
}
Can this ever be correct when the form looks like:
>
> What would you like on your Tombstone? (<-- that's actually a
> trademarked saying)
>
I've always liked Spike Milligan's:
"I told you I was ill"
:)
http://news.bbc.co.uk/1/hi/england/southern_counties/3742443.stm
Edward
--
PHP Gener
t;Expires: Mon, 26 Jul 1997 05:00:00 GMT");
header("Last-Modified: ".gmdate("D, d M Y H:i:s")."GMT");
header("Cache-Control: no-store, no-cache, must-revalidate, post-check=0,
pre-check=0");
header("Pragma: no-cache");
These work fine for me in all browsers.
HTH,
Edward
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
IFRAME method mentioned by Iv would work OK.
If you like Scribd though, why not use their platform?
http://www.scribd.com/platform/home
Edward
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
;> Thanks in advance.
> >>> Mathijs.
> >>>
> >>
> >> I didn't work with IMAP much. So one suggestion could be to check
> >> if your dev box is behind a proxy server. If you're using SSL check
> >> if it's enabled on your
"\n" => '\n',
> "\t" => '\t',
> "'" => "\\'",
> '\\' => '');
>
> return strtr($string, $js_escape);
> }
Just what was needed - thanks Richard.
Edward
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
sed to the JS function doesn't work
as this causes JS errors:
DOESN'T WORK:
var sCopy = 'String to copy
to clipboard';
Any ideas?
Thanks,
Edward
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
gt;
> Also, I noticed that in your script where you have "default:" in your
> switch, you have a : instead of a ;
>
Actually, the colon is correct: http://uk.php.net/switch
You also need to enclose your string declarations correctly and add the $
before ext, e.g.
$cmd = "http://www.whois.com/?query=$nom.$ext";;
or
$cmd = 'http://www.whois.com/?query='.$nom.'.'.$ext;
Edward
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
> -Original Message-
> From: tedd
> Chapter 4 is all about l16n, L10n, and Unicode. Makes a good read.
What's l16n?
Did you mean i18n (internationasation)?
(I'm not being a pedant; just wondered if I was missing something) :)
Edward
--
PHP General Mailing List
> Hi,
>
> I am working in page breaking (dividing the result of
> a select query in multiple pages).
>
> Now my problem is not with the php code, but with the
> algorithm that organize the links to the pages. I want
> to do something like google, the pages numbers at the
> bottom of the page mus
;d also add a bit of text near the button saying:
"Please click this button ONCE only. Clicking again may result in your
credit card being billed twice."
I'm always much more precise with my clicking when such warnings are
displayed :)
Edward
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
bit of JavaScript that disabled the button when the form was
submitted? This is used by eBay and Google for their login processes.
Sure, if JS was disabled this could be circumvented but it would be a good
start and work with the majority of users.
Edward
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
erything" and would have figured
> > > that (id) would have been quicker.
> > >
> > >
> >
> > You generally want to explicitly specify column names rather than
> > using SELECT *, because it returns everything even if you don't need
> > it. But for aggregate COUNT, I'm not surprised by the results Nathan
> > got.
> >
> what about SELECT MAX(id) FROM table :)
But that's not the same thing. If any rows have been deleted, then this
would give the wrong answer.
Edward
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
> -Original Message-
> From: Andrés Robinet [mailto:[EMAIL PROTECTED]
> Sent: 12 March 2008 12:33
> To: 'Edward Kay'; 'mathieu leddet'; php-general@lists.php.net
> Subject: RE: [PHP] Comparing files
>
>
> > -Original Message
--
>
> Note that I would like to compare any type of files (text and binary).
>
> Thanks for any help,
>
Depending upon the size of the files, I would expect it would be quicker to
compare a hash of each file.
Edward
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
n Eclipse, just use Ctrl+Alt+Up Arrow.
To see a list of Eclipse short-cuts, use Ctrl+Alt+L
HTH,
Edward
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
> > Ex's are the experience you need to get it to work.
> >
> > I've always said that everyone should go through at least one divorce
> > before getting married.
>
> Marriage?? That's for backwards people stuck in ancient pointless
> traditions >:) And moreso in today's culture... it's just a comme
> On Mon, February 18, 2008 10:36 am, Jay Blanchard wrote:
> > [snip]
> > That's funny... MS defaults to tabs for a file whose extension is .csv
> > which is an acronym for (C)omma (S)eparated (V)alues.
> > [/snip]
> >
> > Welcome to Microsoftwhere do we want you to go today?
>
> I think it de
r how it handles escaping these though...
Edward
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
iles for you.
There is a framework aspect to Qcodo called QForms but this is decoupled
from the generated ORM so you don't have to use it if you don't want it.
HTH,
Edward
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
threaded???
> >
> > No, just the mysql queries.
>
If you're selecting data, could you not reduce the number of queries using
joins?
If you're inserting data, look into MySQL's INSERT DELAYED syntax.
HTH,
Edward
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
> can you help me to export data to a ms excel file using php. i tried to
> export them to an html format and change the extension to .xls that's work
> but i have lost the formatting
Save the data from PHP in comma separated value (CSV) format.
Edward
--
PHP General Mail
impleXML objects do not persist in
sessions. To workaround this, just use the asXML() function so your XML is
stored as a string in the session. You can then recreate the SimpleXML
object from this string as and when you need it.
Edward
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ntrol the look by css.
>
I'm currently doing the same thing to add press releases/news archive in our
existing site. Using Wordpress with a custom theme is working well at the
moment.
HTH,
Edward
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
>
> I'd be interested in reading this thread. OK with me to keep it
> on the list.
>
Ditto.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Nov 6, 2007, at 10:20 AM, Chris Bruce wrote:
Does anyone have some insight here? I am trying to crop an image.
The crop seems to almost work, but I get black bars on the image.
Has anyone had any experience with cropping images using the GD
library?
Thanks.
Chris
On Nov 2, 2007, at
Anybody trying to build php 4.4.7 with xslt/sablotron support? I'm
setting up a new Debian server and configure kept quitting on
Sablotron saying the version was less than 0.96. Looking at /usr/
include/sablot.h, it shows the version at 1.0.3. Configure was saying
it was using /usr, and I co
>
> function salestax($price,$tax) {
> function convert_pound($dollars, $conversion=1.6) {
> return $dollars * $conversion;
> }
> $total = $price + ($price * $tax);
> echo "Total cost in dollars: $total. Cost in British pounds: "
> .convert_pound($total);
> }
> salestax(15.00,.075);
> echo "" . co
> Here's the list :
>
> function salestax($price,$tax) {
> function convert_pound($dollars, $conversion=1.6) {
> return $dollars * $conversion;
> }
> $total = $price + ($price * $tax);
> echo "Total cost in dollars: $total. Cost in British pounds: "
> .convert_pound($total);
> }
> echo convert_po
There is set_time_limit() that works from the script as long as
safe_mode is not enabled.
http://docs.php.net/manual/en/function.set-time-limit.php
Ed
On Oct 24, 2007, at 3:26 PM, Vo, Lance wrote:
you probably won't be able to edit PHP.ini with shared-hosting. The
other solutions, one I c
>
> Can anyone say for sure whether window.open() links get spidered by
> search engines?
>
>From my experience they don't, but I use a custom Javascript function to
open pop-ups.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Sep 28, 2007, at 1:05 PM, Per Jessen wrote:
Edward Vermillion wrote:
I pretty much gave up on the thread when I got the reply along the
lines of "if it breaks something it's their problem, not mine".
Ed, your question was a good one, but so was my answer. In my case, I
On Sep 28, 2007, at 11:34 AM, tedd wrote:
At 2:01 PM -0500 9/27/07, Edward Vermillion wrote:
So back to my original question, what breaks if you're *expecting*
UTF-8 and you don't *get* UTF-8?
Ed
Isn't UTF-8 the big fish here?
Sure there' UTF-16 and larger, but
On Sep 27, 2007, at 1:49 PM, Per Jessen wrote:
Edward Vermillion wrote:
But what happens if you get data that's *not* UTF-8? Just because
your html/form is set to UTF-8 doesn't mean that all your incoming
data will be UTF-8.
Yes it does. If your HTML page was sent in UTF-8, a
On Sep 27, 2007, at 10:09 AM, Colin Guthrie wrote:
Per Jessen wrote:
David Christopher Zentgraf wrote:
Your biggest problem will be if you accept any kind of user input
which could be in any kind of language.
Depending on your server configuration you'll probably have some
serious cleaning a
27;ve used a back tick instead of a single quote before \\$1
2. There's no closing parenthesis to the preg_replace function.
Edward
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ut I think they're primarily
designed for creating new PDF files.
I think http://www.linux.com/articles/36815 will be helpful to you though.
Edward
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
to Martin's good suggestions (and also assuming you're running
php-cli via cron), you could use nice to stop it consuming too many
resources:
http://en.wikipedia.org/wiki/Nice_%28Unix%29
Edward
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ts all, but also methyl ...
> Any suggestion ?
>
Yes, the i pattern modifier makes the search case-insensitive, which is what
you want.
The carat ^ means start of string, so would only word if the pattern was at
the beginning of the line - not what you want.
Try something like this:
e: image/jpeg");
Apparently IE doesn't like image/jpg [1].
[1] http://pear.php.net/bugs/bug.php?id=4586
Edward
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
since it will still
be blocking on whatever port you use.
To resolve this issue, you need to work on why IE is holding the connection
open. Perhaps a better solution is to simply have the client poll a PHP
script to determine when desired condtion occurs.
Edward
--
PHP General Mailing List (
> Dear all,
>
> I hope you can help me. I am running FreeBSD 6.2 and I decided to
> upgrade from php 4.4.7_1 to php5-5.2.3_1. However, after removing php4
> and installing php5 and php5-extensions I am unable to start apache.
What do the Apache error logs say?
Edward
--
PHP
HTML pages are
> rarely syntactically correct, so trying to parse them or even turn them
> into XML is tiresome at best.
For one-off, I'd simply copy/paste the data from the browser into Excel/OO Calc
and save as CSV.
Edward
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
robert mena wrote:
I've checked both /tmp and the session file sess_x in one server is
empty and in another has the data. Both $_SESSION are ok (I've checked with
a var_dump).
Check the permissions on /var/lib/php/session
Edward
--
PHP General Mailing List (http://www.ph
nd look at the exact info been sent
and received:
http://www.fiddlertool.com/fiddler/
Edward
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
> it to generate navigation options. Got a start on it, but if you
> already had some code I'd appreciate getting a gander at it.
>
Hi Ken,
You may want to take a look at Yahoo's YUI menu:
http://developer.yahoo.com/yui/menu/
These can be defined using standard XHTML markup.
Edward
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
print <<< END
> Test
> END;
> ?>
>
>
This won't work because you've indented the closing identifier. Read the big
Warning box at
http://uk2.php.net/manual/en/language.types.string.php#lang
magphpde/psecom,id,26,noeid,26,.html
http://www.phpdeveloper.org/phpdev.rss
Edward
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
e I've found for this kind of info. Not only do
I see the issues people come up against thus getting an idea of their
projects, there are usually a number of solutions and view points presented.
Edward
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
tion.mail]: SMTP
> server response: 504 : Recipient address rejected: need
> fully-qualified address
Is the mail server configured correctly? Can you manually connect to it and
successfully send a message? See http://www.yuki-onna.co.uk/email/smtp.html
Edward
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ent [2] in the PHP manual for
SimpleXML seems to suggest it is still the case. You could probably get
around it by using a string representation in the session variable.
[1] http://bugs.php.net/bug.php?id=20899&edit=1
[2] http://uk2.php.net/manual/en/ref.simplexml.php#74192
Edward
-
nyone help me get mailparse installed or at least figure out what's
> going on? I'm using php-5.2.3.
>
>
> thanks
> Per Jessen
>
Does mbstring show up in phpinfo()?
Edward
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
= 'task';
> const pkFields = 'task_id';
>
> function findWithRelation($id)
> {
> $query = "select * from task LEFT JOIN log ON
> task.id=log.task_id";
> $db = parent::getDB();
> $res = $db-&g
rk, just use the code generator to build
your ORM. I've been using it for about a year now and found it excellent.
Edward
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
il($email, $subject, $body, "From:
> [EMAIL PROTECTED]: [EMAIL PROTECTED]:
> [EMAIL PROTECTED]: PHP 4.x\r\nMIME-Version: 1.0\r\nContent-Type:
> text/html; charset=iso-8859-1\r\n");
>
> If anyone could assist me I'd appreciate it very much,
>
> Matt
>
Hi Matt,
The problem here is that you're using echo statements, which output
directly. Instead you need to build a string containing this output, for
example:
$body = "Hello, here is your quote from Freight Services.";
$body .= "Shipping from: $origin to $destination";
etc.
Note the use of the .= operator. This is the same as saying $body =
$body.'whatever';
At the end, $body will then contain the HTML body of your email which you
pass to the mail function.
Hope this helps,
Edward
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
retty HTML just output to screen
>
> Ta,
>
>
> R.
>
Look up print_r() and var_dump()
Edward
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ted conditionals:
if (getmxrr($domaintld,$mxrecords)) {
if (fsockopen($domaintld,25,$errno,$errstr,30))
$valid = true;
}
There is no need for the second $valid = false in your code below, since
you define that at the start.
Edward
The following works, but needs the conditional mentione
terms of
finding where an instance is created from this is non-sensical. Who's to say
the instance is even created by another class? It could be in a function.
If you want to be able to access an object that created another object, pass
it in via the constructor, e.g.
class A {
...
$b
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of
> Alan Milnes
> Sent: 31 July 2007 12:41
> To: php-general@lists.php.net
> Subject: Re: [PHP] if inside an echo.
>
>
> On 31/07/07, Hulf <[EMAIL PROTECTED]> wrote:
> > I am outputting a selectbox and want t
statement inside the the echo?
>
>
> for ($value = 0; $value <= 2000; $value += 100) {
>
> echo " selected="selected" }> $value";
>
> }
>
Just split it into multiple echo statments:
for ($value = 0; $value <= 2000; $value += 100) {
echo "
> date? For example:
> >>
> >> $person = array('name'=>'bob', 'sex'=>'male', 'date_of_birth'=>
> >> $someDateHere);
> >>
> >> Thanks for any help
> >>
> >> Ken
> >>
You won
On Jul 20, 2007, at 2:39 PM, Nathan Nobbe wrote:
i recently attached an image, .png i believe.
-nathan
AH HAAA
;)
Ed
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
array_rand($quote_arr, min(count($quote_arr), 10));
foreach ($random_keys as $quote_index) {
// get quote at $quote_index and return it
$herequote = $quote_arr[$quote_index];
echo "$herequote";
}
?>
This won't produce any duplicates and will cope with any number of
On Jul 3, 2007, at 12:35 PM, Jim Lucas wrote:
Edward Vermillion wrote:
On Jul 3, 2007, at 8:52 AM, Stut wrote:
Andrei wrote:
Muhammad Hassan Samee wrote:
ASP.net VS PHP?
how PHP is batter?
.
In short words it's not Micro$oft and you don't need to buy
stuff to
develop in
1 - 100 of 698 matches
Mail list logo