[, string
$additional_parameters ]] - i don't know how..
I also posted this at mamp forum but there does not seem much action there...
http://forum.mamp.info/viewtopic.php?f=2t=37583p=53515#p53515
--
Thanks - Dave
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http
is installed and functioning.
I am not using sendmail that I know of. I didn't install anything -
just the basic NON PRO MAMP
Also I did not install postfix.
and I am using the basic php function mail()
--
Thanks - Dave
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http
?
do i just loop through the full set and only display if record is in
month 1 or 2 or whatever?
If there are any links describing this process - that would be great
any help would be appreciated...
--
Thanks - Dave
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http
{${XYZ}}\n;
?
Output:
PHP Notice: Undefined variable: ABC in /home/wilsond/testScripts/l7.php
on line 3
Which appears to mean that PHP is able to pick up the value of the
constant and try to access a variable with that name.
Any ideas?
Cheers
Dave
--
PHP General Mailing List (http
something like echo {{XYZ}} to access the constant value.
Cheers
Dave
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Feln, Richard, Jim,
Thank you for responding.
I understand now that the problem wasn't with variable scope, but with
my lack of understanding of what array_walk_recursive returns.
Thank you all for your explanations.
--
Dave M G
--
PHP General Mailing List (http://www.php.net
($karamohArray, 'test_print');
- - -
Any advice would be much appreciated.
--
Dave M G
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
by
array_walk_recursive has the same name as a global variable, it gets
treated as if it only has local scope and nothing done to it applies to
the global variable.
--
Dave M G
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
fuzzy on what exactly is happening.
Does the PHP mail() command (and by extension, classes built upon it)
listen for responses from the server it is sending to?
--
Dave M G
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
, and the remaining mails stop being sent.
Is there perhaps some way I can force the PHP code to ignore the one
mailing that failed and continue with the rest?
--
Dave M G
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
sending a LF.
This is actually a possiblity. I think I might be only using LF.
Some of the text being sent in the emails is entered via a form on a web
page. Is it possible to enforce CRLF on that text?
--
Dave M G
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http
the connection but cannot find a way to do so for fsockopen. Can a
cipher even be specified?
Thanks,
--
Dave Cundiff
System Administrator
A2Hosting, Inc
http://www.a2hosting.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
= utf8_encode (stripslashes($myArray1));
$myArray = json_decode($myArray2, true);
$jsonerror = json_last_error();
--
Dave M G
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
experimentation is needed.
In any case, your suggestion has got me on the next step, so thanks for
that tip. I'll add 2 cents to your tab!
--
Dave M G
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
SELECT * FROM contacts WHERE state = 'CA' and name = 'bob' or
name = 'sam' or name = 'sara'
--
Thanks - Dave
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
and running.
Or, equally as valuable, would be recommendations on other debugging
environments. The key is finding one that has a clear set of
instructions for how to set it up (On Ubuntu/Debian Linux with a local
LAMP server.)
Thanks for any advice.
--
Dave M G
--
PHP General Mailing List (http
PHP List,
Okay, so I've got a nice situation where a form has a preview button as
well as a submit button. When the user presses Submit, the page
reloads, and it emails a PDF.
If the user presses Preview, it launches a new page in a new window,
and also outputs a PDF directly to the user so they
, they don't need an
in-browser window to view it.
Once the PDF is downloaded/viewed, I want the new window to die by any
means necessary.
Surely there's a way.
--
Dave M G
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
?
--
Dave M G
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
advice.
--
Dave M G
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
to know if/how to write text into a PDF, like I did with
FPDF, but with TCPDF instead.
If this turns out to not be possible, I am going to be suffering a great
deal.
--
Dave M G
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
.
--
Dave M G
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
document. Haven't tried Japanese fonts yet, but it looks
possible.
Thank you for the tip.
--
Dave M G
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
create a body of text
for each email (including the headers) so that I can then store it in
the database, that would be awesome.
Any advice would be much appreciated.
--
Dave M G
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
just want to store in MySQL.
--
Dave M G
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Paul,
Is there a decent tutorial anywhere on the net for the pop3.class.inc
available on phpclasses.org?
http://www.phpclasses.org/browse/package/1120.html
Maybe I'm blind, but I just can't find anywhere a decent description or
tutorial of what calls you can make to its functions. The
with it and then hopefully report back success.
--
Dave M G
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
?
Thank you for any advice.
-- Dave M G
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
the following:
* '--with-gd'
* '--with-ttf'
* '--enable-gd-native-ttf'
--
Dave M G
http://tlug.jp/mediawiki/index.php?title=User:Dave_M_G
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
have shell access, so I'm limited in how much I can poke and prod
at its settings.
--
Dave M G
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ideas.
Thanks for any advice.
--
Dave M G
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
end up with is a ton of text, no more
streamlined or easy to analyze than the original output from phpinfo().
I'm hoping there's a way more targeted way of discerning what settings
one server may have that another server might not.
--
Dave M G
--
PHP General Mailing List (http://www.php.net
the other class can
call them. This seems rather strange as the callback functions have no
meaning when invoked arbitrarily. So I was wondering whether I am doing
something wrong. Could someone comment?
Regards,
Dave
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http
recommendation?
--
Dave M G
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
not seeing?
Any suggestions would be greatly appreciated.
Thanks.
--
Dave M G
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
have any other ideas?
--
Dave M G
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
'], /);
header (Location: /$userRequest);
Any suggestions or help would be greatly appreciated.
--
Dave M G
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
restoreSlashes($string)
{
// Check if Magic Quotes is turned on.
if (get_magic_quotes_gpc())
{
// Add escape slashes.
return addslashes($string);
}
// Return a string that has escape slashes.
return $string;
}
Any advice much appreciated.
--
Dave M G
--
PHP General Mailing List
, there is no reason for the restoreSlashes function to
exist. If you ever think you need it, you're wrong.
I guess that makes sense.
--
Dave M G
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
magic_quotes_gpc off
php_flag magic_quotes_gpc off
Right now I'm using php_value, so I'll stick with that.
This seems to have solved my magic quotes woes.
Thank you Richard, Chris, Roger, Viraj, and the PHP list for responding.
--
Dave M G
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe
the memory limit to?
--
Dave M G
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
[1];
}
else
{
$userRequest = $sessionArray;
}
}
session_start();
}
--- code ends ---
--
Dave M G
Articlass - open source CMS
http://articlass.org
--
PHP General Mailing List (http://www.php.net
PHP list,
Solving my own issue:
It turns out that some PHP scripts had an extra carriage return
character at the end of the file. Once I removed these, the problem went
away.
Strange that it only happened on some servers, not others, but there it is.
--
Dave M G
Articlass - open source CMS
Why are you writing a logging class? Why not use error_log and enable error
logging?
On Fri, Mar 21, 2008 at 1:11 PM, Al [EMAIL PROTECTED] wrote:
int file_put_contents ( string $filename, mixed $data [, int $flags [,
resource $context]] )
This function is identical to calling fopen(),
in php you have a number of constructs that can be used to execute code (or
not) based on certain conditions ie is_defined(). Not sure if
the comparison with C holds true as C is compiled and PHP is interpreted.
On Fri, Mar 14, 2008 at 6:34 PM, Eric Gorr [EMAIL PROTECTED] wrote:
If you are
Will you two pricks cut it out. How fucking tedious.
On Wed, Mar 12, 2008 at 9:34 PM, Robert Cummings [EMAIL PROTECTED]
wrote:
On Wed, 2008-03-12 at 22:26 +0100, Aschwin Wesselius wrote:
Robert Cummings wrote:
On Wed, 2008-03-12 at 16:11 -0500, Greg Donald wrote:
On 3/12/08, Robert
session_register is old school. RTFM.
On Mon, Mar 10, 2008 at 4:26 PM, Al [EMAIL PROTECTED] wrote:
Read the current php manual.
Lamonte H wrote:
Is it necessary to use session_register()? What exactly was the point
of
this function if you can set sessions using $_SESSION it self?
--
phpMyAdmin, it might be simpler not to use it, and use mysqldump instead.
I suppose I'll have to if I can't get phpMyAdmin to behave. It's too
bad, though, as phpMyAdmin is so convenient otherwise.
--
Dave M G
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http
backing up and restoring?
Thanks for any advice.
--
Dave M G
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Methink you're a little confused. A function is a piece of code that
performs a specific job that can be called. You may send it
data, you may not. It may return data, it may not. If your link goes to
logout.php, that script may use functions to do it's job.
You can't call a function in a link as
Said it was a crude example and I was pushed for time
On Jan 24, 2008 8:13 PM, Eric Butera [EMAIL PROTECTED] wrote:
On Jan 24, 2008 3:08 PM, Dave Goodchild [EMAIL PROTECTED] wrote:
header(Location: index.php);
Redirect uri's should be absolute.
Don't be scared of functions, no magic or mystery there, all you are doing
is putting your code in a function like so:
function add($a, $b) {
return $a + $b;
}
..for example and calling it like so:
$a = 12;
$b = 100;
$sum = add(12, 13);
...etc etc, not too much more to learn than that and now
of slowdown.
Is there any way I can diagnose a situation like this to get to the root
of the problem? Perhaps there are common discrepancies between server
settings that I can look out for?
Any advice would be much appreciated.
Thank you.
--
Dave M G
Articlass - open source CMS
http
.
If it were a name server issue, I would expect the slowdown to happen
regardless of which page I load first.
So, I guess to be more specific, the slowdown happens the first time I
load one of my PHP scripts on this site, not the first time I access the
site.
--
Dave M G
--
PHP General Mailing
Also, supply an absolute URL when using header redirects.
On Jan 5, 2008 3:44 PM, Daniel Brown [EMAIL PROTECTED] wrote:
On Jan 5, 2008 9:06 AM, peeyush gulati [EMAIL PROTECTED] wrote:
Greetings on New Year :)
To you, as well!
We have a script, say layer.php, which uses HTTP_REQUEST
It's advisable as the page you will be redirected to will be relative to the
one the browser actually requested, so it's a good habit to get into.
On Jan 5, 2008 4:05 PM, Daniel Brown [EMAIL PROTECTED] wrote:
On Jan 5, 2008 10:59 AM, Dave Goodchild [EMAIL PROTECTED] wrote:
Also, supply
If MVC is too heavy for you it may also be worth exploring templating
engines such as Smarty:
http://www.smarty.net/
On Jan 2, 2008 4:10 PM, Nathan Nobbe [EMAIL PROTECTED] wrote:
On Jan 2, 2008 2:17 AM, Alain Roger [EMAIL PROTECTED] wrote:
Hi,
i would like to improve my coding quality
don't use nonbreaking spaces use CSS to style the input button then
you wont have to deal with redundant presentational gunk in your data
On 1/2/08, David Giragosian [EMAIL PROTECTED] wrote:
On 1/2/08, Nathan Nobbe [EMAIL PROTECTED] wrote:
On Jan 2, 2008 1:34 PM, tedd [EMAIL PROTECTED]
, you've helped me get to the point that I needed to get to,
so I am very grateful for your support.
Thanks.
--
Dave M G
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
enabled
PNG Support enabled
WBMP Supportenabled
GetText Support enabled
Am I missing a necessary module?
Hope this helps
It helps very much. Thank you.
--
Dave M G
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Why not try a css list? css-discuss for example?
On Dec 18, 2007 8:06 PM, Børge Holen [EMAIL PROTECTED] wrote:
On Tuesday 18 December 2007 20:03:53 Stut wrote:
VamVan wrote:
Please apologize for sending this question to PHP forums.
If you know this already why ask the question here?
large
and readable. If there are other options than what I've explored here,
then I would be open to those too.
Thank you for any advice.
--
Dave M G
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
for any advice.
--
Dave M G
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
concerned about what font it is, just that it's large
and readable. If there are other options than what I've explored here,
then I would be open to those too.
Thank you for any advice.
--
Dave M G
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
that they
install it, or I find a different host.
Which assumption should I be proceeding with?
Thank you for any advice or assistance.
--
Dave M G
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
script?
--
Dave M G
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
future
calls will use the correct mysqli or regular syntax.
Thank you for helping me to find this solution. My scripts are that much
more portable now.
--
Dave M G
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi guys. I have the following XML file which I want to convert into a
multidimensional array. I am using PHP5 so don't want to use
SimpleXML as apparently there are issues with sessions and after
conversion I want to pass this array into the session. Any ideas on
the best and cleanest way to do
as an array, I can do a little math on them to
manipulate their scale and whatnot.
The interpolation between points gets lost with this method, but in this
case, I can get by with straight lines.
Thanks for helping me to see the value in using PHP's XML functions.
--
Dave M G
--
PHP General Mailing
Casey,
There is no SVG support in PHP, as far as I know.
Thank you. That clears things up. I'll just go with PNGs then.
--
Dave M G
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
unclear.
--
Dave M G
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
for your help.
--
Dave M G
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Start with Programming PHP and then get Upgrading To PHP5 (both by O'Reilly)
On Nov 17, 2007 2:31 PM, David Giragosian [EMAIL PROTECTED] wrote:
On 11/17/07, joychen [EMAIL PROTECTED] wrote:
tell me :which book is good for newman??
You mean paul?
--
PHP General Mailing List
Start by coding proper semantic xhtml and you will have less headaches
too - that code looks very ugly.
On Nov 12, 2007 8:38 AM, Ronald Wiplinger [EMAIL PROTECTED] wrote:
Chris wrote:
Ronald Wiplinger wrote:
My php program is working with Firefox, but not with Internet Explorer.
Nothing
Support for php4 will be dropped at the end of the year so hosts will be
forced to make the upgrade at some point.
On 10/29/07, Hulf [EMAIL PROTECTED] wrote:
Hi,
It is about time I made the jump to 5, however the only thing that is
holding me back is the problem with hosts. How many hosts
You mean a javscript library? If so, check out jquery and moo.fx.
On 10/23/07, Merlin [EMAIL PROTECTED] wrote:
Hi there,
I am looking for a framework to integrate some AJAX Functionality into
my PHP4 MySQL Apache webapp. First thing I would like to do, is an edit
function that opens up a
that's it.
--
Dave M G
Zend Studio 5.5
Ubuntu 7.04
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Please someone remove me! I can't get out!
___
Yahoo! Mail - Sempre a melhor opção para você!
Experimente já e veja as novidades.
http://br.yahoo.com/mailbeta/tudonovo/
--
PHP General Mailing List
as replacing every instance of mysql_ with mysqli_.
I will look into it further and see if I can migrate to using mysqli_
somehow.
Thank you for the advice.
--
Dave M G
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
, leaving only the
associative key names?
--
Dave M G
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
and
again, but I think I have a handle on that.
Thank you for pointing that out to me. Just the right solution.
--
Dave M G
Ubuntu Feisty 7.04
Kernel 2.6.20-16-386
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
is: Is there a systematic way of determining how to
incrementally include files that people use? Or is it just a constant
process of testing and checking?
Thank you for any advice.
--
Dave M G
Ubuntu Feisty 7.04
Kernel 2.6.20-16-386
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe
to work? What the heck
am I missing?
Thanks,
Dave
**
HTC Disclaimer: The information contained in this message may be privileged
and confidential and protected from disclosure. If the reader of this message
is not the intended
Brown [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 24, 2007 9:01 AM
To: Bosky, Dave
Cc: php-general@lists.php.net
Subject: Re: [PHP] Help needed with Curl
On 7/24/07, Bosky, Dave [EMAIL PROTECTED] wrote:
I downloaded a copy of PHP Version 5.2.3 and installed it on Windows
2003.
Everything
: Tuesday, July 24, 2007 10:56 AM
To: Daniel Brown
Cc: Bosky, Dave; php-general@lists.php.net
Subject: Re[2]: [PHP] Help needed with Curl
Hi Daniel,
Tuesday, July 24, 2007, 2:34:06 PM, you wrote:
In order to enable cURL on a Windows box, you have to copy
libeay32.dll and ssleay32.dll from the DLL
I use something like this:
$_SESSION['profane'] = false;
foreach ($_POST as $value) {
foreach ($swearbox as $profanity) {
if (preg_match(/$profanity/i, $value)) {
$errors = true;
$_SESSION['profane'] = true;
mail(TECHEMAIL, 'profane content
No, because extra processing is done on the other side - now
.
It would be greatly appreciated if anyone here could critique and rip apart
my code.
thank you,
-dave
to fit my needs. But basically it seems
to work like a charm so far.
Thanks for all your advice and assistance.
--
Dave M G
Ubuntu Feisty 7.04
Kernel 2.6.20-15-386
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
that the URI will get set.
Can anyone help me with figuring out at what point I can gain control
over the URI sent back, as Wikipedia does?
Thanks for any advice.
--
Dave M G
Ubuntu Feisty 7.04
Kernel 2.6.20-15-386
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http
Unless some server config error causes that stuff to be output on the page?
I tend to put such functions in a .inc file and amend the .htaccess to
prevent download.
Sure, I usually put these files outside the docroot - unless I am in some
f**ked-up hosting environment that doesn't let me change the include path...
:\Inetpub\scripts\run.php'.
It seems to run ok but nothing happens. Any ideas?
Thanks,
Dave
**
HTC Disclaimer: The information contained in this message may be privileged
and confidential and protected from disclosure
that is not obvious to me. I came
across this page:
http://sam.zoy.org/pwntcha/
... which conveys a feeling that some CAPTCHAs that look good actually
aren't.
According to this page, the Yahoo CAPTCHA image, which looks quite
minimal to me, is actually one of the better ones.
--
Dave M G
Ubuntu Feisty
that distinction, my site would have
malfunctioned immediately.
Thank you for following up.
--
Dave M G
Ubuntu Feisty 7.04
Kernel 2.6.20-16-386
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
.
Best Regards,
Dave Howard Schiff.
-
Novo Yahoo! Cadê? - Experimente uma nova busca.
Why not use umask?
of images?
Can someone maybe point me to an online instructional on how to get a
CAPTCHA image that really works?
Tips on what differentiates a good CAPTCHA from a bad one would also be
really sweet.
Thank you for any advice.
--
Dave M G
Ubuntu Feisty 7.04
Kernel 2.6.20-15-386
--
PHP General
umask
I've got a script that imports several CSV files via the Load Data File
command.
I need to know if each import query was successful or failed.
Is there a way to log the success/failure of each query including how
many rows were inserted?
Thanks,
Dave
1 - 100 of 988 matches
Mail list logo