On Sat, 5 Jan 2013 04:20:09 -0600, Kevin Kinsey wrote:
> Nelson (et al),
>
> I've enjoyed reading this thread and apologize for dredging it up.
> It's interesting to see your progression of thought and the templating
> discussion is indeed a worthy one.
>
> H
> While using the *_once works in many cases, if you're doing a mass
> mailing kind of thing, you want to use the standard include/require so
> you can re-include it as your variables change:
>
> foreach ($customers as $customer) {
> $fullname = $customer['fullname'];
> $address = $customer['addre
ope this helps
>
> --
> Stephen
Aha! Thanks for the more detailed explanation. I totally misunderstood your
first reply. I understood why I was seeing "$user_name" instead of "Nelson",
but I did not understand what you were trying to tell me.
My greeter file is now:
On 2012-12-31, at 4:58 PM, tamouse mailing lists
wrote:
> I use the include("template") method for this alla time, it works
> great. Most especially for HTML emails coming from a web site to a
> group of users, just slick as anything. include does basically just
> what your print_greeting functi
In other words
the greeting on my page becomes:
Hello $user_name. How are you today?
I want to pass the name Nelson to the function, and have it output:
Hello Nelson. How are you today?
after the function reads in text file input that contains a variable placeholder
for the user name. I actually h
On Mon, 31 Dec 2012 19:59:02, Ashley Sheridan wrote:
___
>
> On Mon, 2012-12-31 at 13:39 -0600, Nelson Green wrote:
> My question is, is there another way to do something similar, such as
> embedding a variable name directly into the text file? In
if I don't have to. Plus the
latter seems to be a more robust way of making the changes.
Thanks, and apologies if this has been asked before and I missed it. I'm
just not sure how to phrase this for a search engine.
Nelson
Thank you Nilesh, but ftp_ssl_connect is my problem! I know what it does
now - I'd like to extend it. From that manual page:
"ftp_ssl_connect() opens an explicit SSL-FTP connection to the
specified host."
Todd
From: Nilesh Govindarajan
To: Todd Nelson
Cc:
ce if desired. Thank you.
Todd Nelson
substr($cert_dec, $pos + 8, 11);
echo $birthdate;
echo "";
echo $docnumber;
If anyone has any solution better than this one I would be glad to know.
-Nelson
2011/11/24 Nelson Teixeira
> Hello,
>
> I'm trying to read subjectAltName field from a client certificate with
>
>
" where the
real data should be. There's valid data there because I can see it in
firefox's certificate view. I already have SSLOptions +StdEnvVars
+ExportCertData configured in apache. I can read correctly serveral other
fields.
How can I receive correctly from apache and extract the real data ?
-Nelson
mplate? the function you want to "overwrite", wont be
> used, and therefore, wouldn't your app/template/whatever be updated
> improperly than waht you expect it to be?
Steve, maybe the above informs? In any case, the function to be
overwritten is likely to remain fairly stabl
.
Sticky problem, huh? :-)
In any case, thanks for your kind help, :-)
David Nelson
P.S. Sorry about the direct mails: I keep forgetting to hit the
"Replly to all" button.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ntly possible in PHP. Time for some lateral thinking.
:-)
David Nelson
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi Peter, :-)
On Wed, Nov 3, 2010 at 18:44, Peter Lind wrote:
> You can check with function_exists to see if a function is already defined.
> If not, create it.
The function is definitely already defined, I just need to replace it
without touching the file in which it's defined...
D
ks for your answer. :-)
David Nelson
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi, :-)
I'm making a child theme for WordPress. I need to rewrite one function
defined in "../sometheme/functions/actions.php" and put that rewritten
function in "wp-content/themes/sometheme-child/functions/actions.php".
But I want to preserve "../sometheme/functions/actions.php" unchanged
in any
m the PHP, so right
now I'm quite stucked. I tried to find help online and offline but
wasn't able to find any. I just hope you guys can help me!
Thanks,
Nelson Carreira
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
beginning
to learn how to use PHP. I am now on my way.
"John Nichel" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Gregg Nelson wrote:
>
> > Clicking on the submit button now produces:
> >
ing?If so, can I access the "item" array itself? I tried this in the
script but nothing was echoed:echo $item[0]
"John Nichel" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Gregg Nelson wrote:
> > The first execution of the file below produces the
The first execution of the file below produces the expected output:
Request Method: GET
Clicking on the Submit button outputs:
Request Method: POST
$_POST array contains:
Array
Why don't I see one of the values from the select item?
r. Permissions look like they are working.
A phpinfo() command shows that I have php4.3.10 with pspell enabled.
However, when I run the command pspell_check($pspell_link, "testt") in
my web scripts, the page appears to header redirect on itself
indefinitely.
Please help.
-Ethan Nelson,
Modulus, LLC
To read this list I use thunderbird:
http://www.mozilla.org/projects/thunderbird/
It's an email client instead of a newsgroup reader. Just filter the
php-general messages into a separate folder and sort it by thread.
Super easy to use and a very nice piece of software.
Shane
Zhang Weiwu wr
Hi Folks
A few days ago on the list I saw someone mention a package that
includes apache, mysql and php for Windows. The one install file
included all these programs. Anyone remember what it was?
I've checked google and searched through my email list but I can't
seem to find it!
Thanks,
Sha
Richard Davey wrote:
Hello Axel,
Monday, February 23, 2004, 7:03:38 PM, you wrote:
AIM> Guys, this isn't THAT stupid of a question is it? From my perspective,
AIM> the way PHP seems to see it is that I should already know what kind of
AIM> file I'm looking at. In most cases that's not an unrea
I would highly recomend filezilla:
http://filezilla.sourceforge.net/
It's open source, it works great and it doesn't have any ads or spyware like
some of the other 'free' windows ftp programs.
>
> "Nathan McIntyre" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
> > Hello!
> >
I don't think you can send a POST to a .html page. Maybe your page
(register_new_member.html) should be .php instead? Either that or you might
have to change your :
> When I click the submit button (after completing a [member registration]
> form), I get the following error message:
>
> Me
you to add documentation to
a function/class. It shouldn't be difficult to extend it to parse a
complete script I guess...
--
regards,
----
Nelson Rodríguez-Peña A.
Diseño y Desarrollo
PHP, then this wouldn't
happen, something like:
hope it helps.
--
regards,
----
Nelson Rodríguez-Peña A.
Diseño y Desarrollo
Web & Multimedia
--
PHP Ge
Has anyone managed to get PHP to compile on Mac OS X with the --with-java
flag in the configure command?
I've tried it with PHP 4.3.2, 4.3.3, and 4.3.4, all without any luck.
I'm using Mac OS X Server 10.2.8, with Java 1.4.1.
I've tried
./configure --with-mysql --with-apxs --with-xml
--with-jav
The "Session" documentation IS difficult to understand. I wrestled
with it for some time (and still am).
There's just no clear "cookie_lifetime" variable! All of Lowell
Allen's instructions are the same that I've discovered, save that I set
the 'session.gc_maxlifetime' to a large number - I
--
regards,
Nelson Rodríguez-Peña A.
Diseño y Desarrollo Web y Multimedia
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
includes and I do not get an error, but
I'm unable to get any return from Span.php.
I'm trying to use the method addSpan($span), but I have no idea how to
'phrase' the $span variable. If I want to add a span of 6 months, how
do I do so? Anyone out there with some expe
regards,
----
Nelson Rodríguez-Peña A.
Diseño y Desarrollo Web y Multimedia
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
Matt Babineau wrote:
Hmmwondering why I keep receiving email sent to the list, that has
this stupid attachment...anyone else getting these?
Yes, I also got those mails. It's Sobig-F.
--
regards,
Nelson Rodríguez-Peña A.
D
Hi,
I'm using the FreeBSD Port mod_php4-4.3.1
I have lots of name-based virtual sites which all have:
php_admin_value open_basedir "/domains/sitename.com/
php_admin_value safe_mode "1"
so they can't use PHP to browse around the server.
I do however set a global alias:
Alias /admin "/usr/l
SS.
regards,
----
Nelson Rodriguez-Pena A.
Diseno y Desarrollo Web y Multimedia
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Any
help?
Nelson
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
port Javascript! - Nelson
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
just under the existing slot.
I've got something worked out that is beginning to work, but I wondered
if anyone on the list had faced a similar problem or knows of an
example script that handles a problem like that.
Thanks,
Nelson
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I am trying to configure run PHP4 on Apache on Windows XP.
When I type http://localhost/ all I get is a "File Download" dialogue box,
instead of the normal Apache server page.
Does anyone know whats is going on here?
Please tell me if you need any more information.
-Nelson
an concatenate HOST and URI variables to get what I want, but am
I missing something here?
I am running sessions in this application.
Thank you for any assistance,
Nelson
Nelson Goforth
htt
er "text driver limitations" that I should be able to run select
statements using the odbc_exec command.
http://support.microsoft.com/default.aspx?scid=kb;en-us;Q178717
Anyone know of any really good ODBC resources?
-Original Message-
From: Jay Blanchard [mailto:[EMAIL PROTECTE
in \
***:\***\***\***\basecsv2.html on line 53
-Ethan
-Original Message-
From: Jay Blanchard [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, September 10, 2002 12:03 PM
To: Ethan Nelson; [EMAIL PROTECTED]
Subject: RE: [PHP] ODBC text file connection problem
[snip]
As you can see, If I'
can't guarantee the format of the csv in any
way that is easy to work with... for instance, the first data line might look like
this:
"2","Ethan Nelson","My favorite quote is ""To hell with them"".","just a test"\r\n
As you can se
Good morning...
I've got one for ya. I've been trying to conenct to a csv text file (comma delimited,
\r\n row separators, and " text qualifiers) using the odbc_connect command and then
run simple select statements through it. It doesn't work and I'm at a loss for why.
Here's the meat (I re
Good morning...
I've got one for ya. I've been trying to conenct to a csv text file =
(comma delimited, \r\n row separators, and " text qualifiers) using the =
odbc_connect command and then run simple select statements through it. =
It doesn't work and I'm at a loss for why. Here's the meat (I
Mike Mannakee wrote:
>Does anyone know of a solution to get a script to actually connect with the
>POTS system (even through a 3rd party provider) and send a fax?
>
>Mike
>
There are several "fax over the internet" providers out there. I used
to work for one.
That service was via email. You se
Possible reasons:
1. Perl is not installed;
2. Apache was not compiled with DSO support (--enable-module=so);
3. 'apxs' is not in your path. Try to use --with-apxs=/path/to/apxs
The output of /usr/local/apache/bin follows
./configure: /usr/local/apache/bin: cannot execute
confi
or("$pdf","fill","cmyk",.73,.26,.05,0);
I'm using php 4.05 RC1. I know there was a bug about the last options being
required but ignored for color options, such as RGB, that doesn't make use
of them, but I don't know of one re
HREF="results.php?firstitem=1&items=25&kw=$kw...);
but end up just showing that kw=array.
Can anyone put me on the right track or point me to some resource?
This seems like it should be simple but...
Thanks,
Nelson
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe,
ess .
I found some basic information in the book "Professional PHP
Programming", but could someone point me to another resource that
might give a bit more detail?
Thanks,
Nelson
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional com
Thanks for your help, Andrew, but it didn't seem to work. As I read the
manual (http://www.php.net/manual/en/function.mysql-fetch-array.php),
mysql_fetch_array is much like mysql_fetch_row, except that it uses the
field names instead of numbers as the array key. Somebody correct me if I'm
wrong
I'm working on a basic calendar app in PHP, but I've hit a snag.
The events are stored in a MySQL database, and the goal is to have the
events displayed on the correct day on the calendar. The calendar is
generated through a couple of while() statements that loop through the weeks
and days. I'm
tinker with HTML if you feel the
need) - and for many, many websites at the same time. I'm hoping to
take a little of this a build a single site that will handle
_something_.
Nelson
At 5:07 PM -0500 9/10/01, Michael Champagne wrote:
>I am looking for something like this as w
ion ('one-way') like PGP allows two separate keys
for encryption and decryption, neither of which can be derived from
the other. The encryption key is made public, but the decryption key
is kept secret.
Nelson
>I use a PHP self-validating form for taking orders off my site. (on subm
list into an arry I think I could make this
work.
Or possibly use another JavaScript script inside the PHP portion of
the page in order to force it to mark the appropriate item
"SELECTED"? I tried this but couldn't make it work.
Any help is appreciated - Thanks,
Nelson
--
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]
Use the DirectoryIndex directive in your '.htaccess' file, as Ryan
states. You'll find more information at:
http://httpd.apache.org/
Nelson
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAI
ot to figure out
how to circumvent that.
Thanks again,
Nelson
>I have seen this question alot recently. Maybe it is time for an
>FAQ. Maybe somebody
>else would like to have an attempt at wording this better:
>
--
==
ders.
What have I missed?
Thanks,
Nelson
--
--
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]
I have two functions like the ones below. If the first one creates a
variable as global, shouldn't it be accesible to the second function?
function setGlobal() {
global $test;
$test = "123";
}
function getGlobal() {
global $test;
echo $test;
}
--
PHP General
>I need to format decimals that are percise to the second place in the
>following format:
>
>4.00 to 4
>4.50 to 4.5
>4.25 to 4.25
>
>As you can see, I just want to drop the trailing zeros, and if necessary
the
>decimal.
>
>Thanks
>
>__
I need to format decimals that are percise to the second place in the
following format:
4.00 to 4
4.50 to 4.5
4.25 to 4.25
As you can see, I just want to drop the trailing zeros, and if necessary the
decimal.
Thanks
___
Ethan Nelson, Systems Administrator
Net
Hello,
I've got 4.25, 4.50 and 4.00.
I want to format them so that they give back 4.24, 4.5 and 4
I've already seen a pattern replacement that looks close to what I want, but
not quite.
Thanks ahead of time
Ethan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMA
64 matches
Mail list logo