the
> site and find out how they did it. Or, you can read articles like this:
>
> http://www.alistapart.com/stories/netscape/
>
> And one for "easy printing":
>
> http://www.alistapart.com/stories/goingtoprint/
I gotta go back and refresh myself. Thanks fo
php
someone put a link to another good explanation:
http://www.zend.com/zend/tut/using-strings.php
And of course take care of the magic (imho, black magic) that can go on
with auto escaping, quoting etc. that I should fathom but haven't.
the php.net site is wealth of info, good search, I
work. This what I
looked for in PHP and I've got one now that is equal or better to my
Perl framework. I use the same pattern I do in Perl. Isolate data
manipulation, functions are the sort of "programming by contract" where
functions expect input and return output. It gets messy when I have to
handle errors ... I'm trying to componentize my stuff to decouple it
all ...
Peter
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On 22 Sep 2002 at 13:52, Michael Sims wrote:
> Well, that is basically my question. I considered both SOAP and
> XML-RPC (which you mention later) but I wasn't sure what the impact on
> performance would be. I am basically looking for anecdotal evidence
> from people who have implemented this s
);
if($cookie{$username}) {
return 1;
}else {
return undef;
}
}
##
1;
Now, if you reckon I should have only given a solution as above in PHP,
well, I would have if I had known one. The solutions I've seen so far
are not very elegant or evolutionary imho. Ca
of a
reason that would trump the personalization that I like so much. But
I'm all ears.
Peter
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
.phpbb.com/
I've never used any bb systems to say one way or another. Certainly
easy to install.
Peter
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
a variable is intialiazed and modified (can
be anywhere)? Is there an easy way to handle this? Drives me nuts :)
Maybe I've just not recognized the nutcracker.
Peter
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
> [ "trim" ],
field_filters => { phone => ["phone"] },
},
The Perl module that does this is:
HTML::FormValidator
So far I'm find PHP stuff that does everything under the sun.
Anyone know of something like this?
Peter
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
e the function return the 3 arrays
: good, invalid, missing. I've been very happy with this in Perl.
The formgen is very powerful, too powerful and too intrusive into the
other things I'm doing. I only need a small part of it. What I want has
nothing really to do with html forms, just data validation.
Peter
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
) {
> $rowdata[$i] = $row;
> $i++;
I don't think you need the $i.
Are you sure you have data in $rowdata?
Your use of section looks good to me. You've got those if statements.
Sure they are all true.
I'm using section in lots of stuff and it's working fine.
Was written
> > > while( $row = $result->fetchRow( DB_FETCHMODE_ASSOC ) ) {
> > > $rowdata[$i] = $row;
> > > $i++;
> >
> > I don't think you need the $i.
>
> I need the $i because I'm assigning the every row from the result into
> an array.
http://www.php.net/manual/en/language.ty
means of tracing them. And it gets real interesting when one
file inherits another which inherits another and in any one of them the
value of your global variable can be changed. Does anyone know a good
way for tracing such things?
Peter
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
uently in PHP but
since I don't mind the pop up box that's not a big deal and since most
of my apps go through just a few php handlers I do my own auth/access
for every request and return my custom login page when needed.
Peter
--
PHP General Mailing List (http://www.php
On 10 Oct 2002 at 0:48, Andrew Brampton wrote:
> Sorry for this slightly off topic question, but I beleive many of you
> will have delt with this kind of thing before.
Yeah off-topic but I was wondering the same thing myself as I have not
done many carts in awhile.
> So can anyone recommend a
much time to see how easy it is to
extend. It doesn't use Smarty or any better template system and for
that reason I'm leery. But I like it better than Nuke which a customer
is using and I've had to work with.
Peter
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Key][$SubKey] = $SubValue;
}
}else {
$FormVariables[$Key] = $Value;
}
} # End of foreach
return $FormVariables;
} # End ProcessFormData
?>
Hello
hello %s!",$textbox);
print "";
print_r($input);
print "";
?>
__end
Of course
s an interesting company:
http://www.mailerssoftware.com/zipcodesolutions/index.htm
Peter
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Here is the example:
Why does the above return true? There is no whitespace in the string.
What am I missing?
Peter
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
template class (strong preference for Smarty) and it uses as many
Pear classes as possible.
Anyone know of one?
Thanks,
Peter
http://www.coremodules.com/
Web Development and Support at Affordable Prices
901-757-8322[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To uns
.. If your designers use GUIs and
think they know what they are doing ... well I don't know. Maybe M$ has a
solution that works for that
environment.
Peter
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
and Verio used much of their website but
renamed it to viaverio.com (was iserver.com). It looks like they've done the same
thing with Oracle. The above people have done it with Linux. I've only used
iserver for 7 years now at 3 different companies but that freeVSD really looks good.
he Disenchanted Developer
> March 19, 2002
http://zope1.devshed.com/zope.devshed.com/Server_Side/PHP/DateTime/page1.html
In Perl I happen to use this moduel for date manipulation:
http://search.cpan.org/doc/STBEY/Date-Calc-5.0/Calc.pod
There must be something similar in PHP but since I too am a
know they are accepted heartily on the
mod_perl list.
Anything simple but effective like this site for PHP?
http://jobs.perl.org/
Peter
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hello,
I'm posting this ad for the company looking for a PHP programmer. I have no clue if
the company
is good or not. Do your due dilligence.
__BEGIN JOB POST
We are a Houston, Texas based company in need of 1-2 VERY GOOD AND
EXPERIENCED PHP programmers for 4-6 weeks to build a new web site.
7;m with Justin on this. Here is a very good article that goes into depth on the
subject by a guy who seems to have disappeared:
http://philip.greenspun.com/internet-application-workbook/content-management
Peter
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
KEY idx_zip(zip),
KEY idx_state(state),
KEY idx_city(city),
KEY idx_latitude(latitude),
KEY idx_longitude(longitude),
KEY idx_sure(sure)
) TYPE=MyISAM;
More stuff about this here:
http://mathforum.org/library/drmath/view/51711.html
http://www.movable-type.co.uk/scripts/LatLong.html
on and keep it on the server side.
Oh heck, but now as I read your email closer I guess you are asking how it can be done
from a form the first time. Perhaps with javascript but then use post instead of get
and of course make
it via a secure connection if security is a concern.
Peter
--
PH
ata store so I have no examples myself.
Peter
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ore advanced GUI and knowing that it is
faster for you as opposed to starting with an IDE or GUI because
you'll probably end up like most people and begin to think
possiblities are what your tool allows you.
Peter
-- http://www.readbrazil.com/
Answering Your Questions About Brazil
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
p itself was in java I believe). We only had to provide
coordinates from the web form to
these apps and they'd return a slice of an image.
Peter
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
to serve up any images as they are dreadfully slow.
Peter
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
#x27;=>1,'why'=>1,'are'=>1,'there'=>
1,'where'=>1,'find'=>1,);
What do you think? Do I just build up $ignoreWords like I'm doing or this there
another way I've missed? Also, does someone have a list of "common words
to ignore"?
Thanks,
Peter
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
s = explode(" ",$_string);
$ignoreWords =
array('brazil','like','the','this','that','why','are','there','where','find',);
$FindTheseWords = array_diff($words, $ignoreWords);
Peter
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
urpose, using the browser history, Can
> someone show-me how can I do that.
Sounds like you want the REFERER, misspelling on purpose.
Take a look here:
http://www.php.net/manual/en/reserved.variables.php
http://www.php.net/manual/en/ref.url.php
Peter
--
PHP General Mailing List (http://
50) default NULL,
visibility tinyint(4) default NULL,
editor int(11) default NULL,
PRIMARY KEY (Message_ID)
) TYPE=MyISAM;
Peter
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
a few images. The guy
who wanted that wanted to sort by last in first up.
There are probably many more ways of doing this. Hope we see some more responses. I
never thought to use the LIMT X,Y option. I will test that later.
Peter
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
files ... but I wonder. I've even
got access to imagemagick but I have to call it direct.
Anyone with some experience or advice on ezpublish? It's about 14 meg
uncompressed. Bloatware or is it worth the effort?
Thanks,
Peter
--
PHP General Mailing List (http://www.php.net/)
To
OO imho. I'm a
die hard modular programmer who is trying to think in a more OO way.
But of course when you just gotta get something done, do it. The
value in spending a bit more time going the modular/OO route is that
your application will be easier to evolve and debug.
Peter-- http://www.re
> This is a short-hand in PHP for:
>
>
I have come across some of this in the documentation but not in your face like it is
here (and
should be).
Does anyone have any more links to articles like that?
Thanks,
Peter
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
on about that in 15 minutes.
It's just amazing what
passes for competence in the IT world. I had a boss who I swear sincerely said he
could "double click a mouse". The guy was serious. I did not last at that job :)
Peter
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Pardon my sloppy explanation but here it is:
how can i sort an array based on key element ie.
key values are: a1, a2 ,a3 ..., b1, b2 ,b3, ...c1, c1, c3...
so doing this:
while (list($k, $v) = each($data)) {
for ($i=0; $i";
}
will list all the $k $v .
a = foo
a = bar
b = another foo
...
and s
do a print_r on the array passed to
ldap_mod_replace and run ldap_modify from the commandline on it (after
properly formatting it) and it works absolutely and quickly.
I can't figure this out. Any help would be very very nice. If you need
me to provide more information, let me know.
Peter
the
= $output;
ldap_mod_replace($conn, $dn, $array);
Setting the top of $i to 170 or above hangs (consistently) ldap_mod_replace.
Technically, 161-180 (thus, 17000-18000 characters) hangs inconsistently,
while 160 and belows never hangs (16000 characters) and 181+ (181000
chars) hangs everytime.
Any he
Just to note:
the problem holds true for: ldap_mod_add, ldap_modify, and ldap_mod_replace.
Also, adding ldap_set_option($conn, LDAP_OPT_SIZELIMIT, 20) doesn't
resolve the problem (or setting it to 0).
Peter
On Tue, 2 Dec 2003, Peter J Hartman wrote:
> Here's a followup to my
I am PETER MBA, an attorney at law, personal attorney to this
engineering contractor, a National of your country, who used to be a
contractor with a Mining Company here in South Africa. Herein shall be referred to as
my client.
On the 21st of April 2001, my client, his wife and their only
s at all? I've been stuck on this for the entire afternoon...
thanks
Peter
~
http://liga1.com ,a weblog on:
- Localisation
- Internationalisation
- Globalisation
- Accessibility
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
F
any resources on how mysql deals with i18n
thanks
Peter
~
http://liga1.com ,a weblog on:
- Localisation
- Internationalisation
- Globalisation
- Accessibility
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional comm
"Ok the next part of this message is an article I thought would be
generally interesting so I'm not hesitating to post it entirely. It was
forwarded to me so I'm not sure of the source."
here:
http://www.zend.com/zend/cs/newbold.php
Peter
~
http://lig
just put it outside fo
the generic function.
Any hints?
Thanks!
Peter
~
http://liga1.com ,a weblog on:
- Localisation
- Internationalisation
- Globalisation
- Accessibility
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
my own server (linux, php4, ...)
thanks!
Peter
~~
http://liga1.com: building multiple language/culture websites
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To
ys of debugging it right now).
I need something stable to start working with straight away. And preferably
something easy to use.
Which one should I use?
Peter
~~
http://liga1.com: building multiple language/culture websites
--
PHP General Mailing List (htt
What's with all the spam on this list anyway? Is there no moderation at all?
I'm working on some i18n issues, and I'll have some questions / answers
soon, but this list is way too spammy for now.
Also: since it's so low traffic, can we set it to reply to the list by d
($row = mysql_fetch_array($res)) {
$node = "node" . $count;
$$node = $tree->add_folder ($root, $row["name"] . " " . $row["id"] . "", "");
$count++;
}
}
generate_nodes($id);
T
I just tried out
http://sourceforge.net/projects/phpmyedit/
it's like Paul's dbadmin script for generating admin, but seems bettter
(has paging, ...).
Peter
~~
http://liga1.com: building multiple language/culture websites
--
PHP General Ma
But when I enter a url that doesn't exist I get this error in the browser:
Not found
The requested URL /peter personal/applications
development/generic/htdocs/subfolder/dfdfdf was not found on this server.
Additionally, a 500 Internal Server Error error was encountered while
trying to u
Also,
I am trying to find a way to get this to work:
within the directory I'm in,
1/5/2/3
should be rewritten to
index.php?a=1&b=5&c=2&d=3
I'm sure lots of people have done this before, but the Apache examples
don't seem to include this. Where can I find a working e
ype: text/xml Content-length: 13805
id 80
title Data
...
So it looks like getting the info of the server is working fine...
Any ideas?
Peter
~~
http://liga1.com building multiple language/culture websites
http://poorbuthappy.editthispa
Also, when I uncomment stuff, the line that seems to be giving the problems is:
$response = $client->send($msg);
When I comment that no more errors. (but nothing else either ofcourse)
Peter
~~
http://liga1.com building multiple language/culture websi
hints!
Peter
~~
http://liga1.com building multiple language/culture websites
http://poorbuthappy.editthispage.com online ethnology, up&down
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional command
gest you try uninstalling your version
of PHP and installing the PHP4 rpm that comes with RedHat instead.
Works fine for me.
Peter
"." wrote:
>
> Yes, it has that in there right out of the box like this:
>
>
> LoadModule php4_modulemodules/libphp4.so
me. I have all the libraries, can do just
about any image manipulation but this transparency thing has
escaped me.
Does anyone have a good tutorial on this that doesn't start with
jpeg and images they shouldn't use.
Peter
---
"Reality is that which,
ed your above code and on my
FreeBSD box with PHP Version 4.0.6 it returned 7.
Peter
Good Perl5/mod_perl/Apache/RDBMS/Unix developer seeking work
call 901-652-2002 or email [EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For addition
above might say "hey .. this
sounds like ..".
You can see my beginning of this here:
http://www.readbrazil.com/
Thanks,
Peter
---
"Reality is that which, when you stop believing in it, doesn't go
away".
-- Philip K. Dick
--
ecall having this situation appear for me in the past ... I think it
may be an error in design when one cannot be sure if it's an
INSERT for a new record or an UPDATE to an existing record.
Perhaps you could dissuage me otherwise with your example.
Peter
---
"Real
tion.
afaik, this is the book for regexes:
> Mastering Regular Expressions
> Powerful Techniques for Perl and Other Tools
http://www.oreilly.com/catalog/regex/
I would reckon it and the RFC are the places to go for full
understanding of the matter.
Peter
---
&
e PHP
template systems I see in comparison.
Thanks,
Peter
---
"Reality is that which, when you stop believing in it, doesn't go
away".
-- Philip K. Dick
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PR
Hi,
Seems mysql_escape_string will just escape, seems like
addslashes and quotemeta.
quote in DBI will escape and quote if passed value is not an
integer (don't know about float).
Peter
---
"Reality is that which, when you stop believing in it, doesn
// catch on the line
break which I did not explode on
$row = preg_replace ("/(http[^\s]+)/","\\1", $row);
}
$new_data .= "$row ";
}
return $new_data;
} # End Get
Peter
--
Hi,
I'd appreciate any pointers you recommend to good sources of
information on how to use PHP and XML.
Thanks,
Peter
---
"Reality is that which, when you stop believing in it, doesn't go
away".
-- Philip K. Dick
--
PHP Genera
Hi
If I use $snippet = ""; and escape the quotes in the block then it
works. But if I use it as is below, it fails with no useful error
message. Why?
Thanks,
Peter
function GetAddCommentSnippet($args) {
$topic_id = $args[id];
$return_pag
change that. I'd
look at something like metabase were I you.
http://phpclasses.upperdesign.com/browse.html/package/20/
Peter
---
"Reality is that which, when you stop believing in it, doesn't go
away".
-- Philip K. Dick
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
at .. they just say download XYZ and there is
no question or discussion of their "way".
Now, perhaps I've missed these sites, if so please bombard me
with the urls. Othewise, consider a site which does this. I have no
end of bookmarks for sites with the tactical questions.
Pete
ture of Perl/PHP. "code repositories"
bring to mind cut and paste and I try and avoid that at all costs.
Just my thoughts. I'd certainly like to know when your site goes live. I'm too
busy to help with anything myself. Unemployed and spending all my time
trying to find work :)
iscouraged from indexing my site plus I'm going to create pages
and nav snippets with links to all those pages.
Peter
---
"Reality is that which, when you stop believing in it, doesn't go
away".
-- Philip K. Dick
--
PHP General Ma
templates (header,footer,navigation,boxes) that will be created
on the fly depending upon variables when a client requests an html
file and I want to know if I can do this in PHP without rewriting the
url (which is not such a bad option perhaps).
Peter
---
"Real
nd of course phtml is set as an option in my httpd.conf file. I want
to control just one directory. I'm sure this is not a PHP question as
much an Apache question.
Anyone have some clues?
Thanks
Peter
---
"Reality is that which, when you stop believing in it,
w years
ago. Now ... nothing. Incredible.
Hit the pavement. See if there is some local PHP group (like a Perl
mongers group) or a linux users group if you're into that. Talk to
people.
Peter
---
"Reality is that which, when you stop believing in i
array($Value)) {
foreach($Value as $SubKey=>$SubValue) {
$FormVariables[$Key.$SubKey] = $SubValue;
}
}else {
$FormVariables[$Key] = $Value;
}
} # End of foreach($input as $Key=>$Value)
return $FormVariables;
} # End of function DisplayArrayVariables
Peter
http://www.readbrazil.com/
Answering Your Questions About Brazil
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
estriction.
Guilty as charged. Not that CONFIG.inc has anything of value in it
but nonetheless I've just made it off limits.
Peter
http://www.readbrazil.com/
Answering Your Questions About Brazil
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ttp://www.linuxdoc.org/HOWTO/PHP-HOWTO-12.html
http://utvikler.start.no/code/php_coding_standard.html
Any othes out there?
I know I have my pet peeves about Perl but Perl, as hard as it may
seem, appears more rigid than PHP :)
Peter
http://www.readbrazil.com/
Answering Your Questions About B
ld have been a module) he
just copied that script to the root directory. It worked. But gosh ...
when we evolved that cgi script we did not know that there was
another copy out there. It was a real fun bug to track down. The
database was getting screwed up from that old script but no one
recal
t using cookies? If not what? It must be using something?
I bet it's using cookies. Sounds a lot like what you normally do with
sessions. I don't follow the "send message from one session to
another" ... is this not just normal course for sessions? I'd like
more ex
x27;,),'me'=>array(display
=>'Maine',value=>'me',),'de'=>array(display=>'Delaware',value=>'de',
),'sd'=>array(display=>'South
Dakota',value=>'sd',),'ok'=>array(display=>
e likes.
Well it started from the above where some guy said this magic
could track users. I assumed the cookies and if it's tracking users
it uses a session id in the url or a cookie, I know of no other way
and would really appreciate the education.
> Tom Rogers wrote:
> - it is dat
along with a bit of code example in
> PHP, is in a PDF at
>
> http://demo.logicreate.com/index.php/filemgt/main/event=view/pkey=6/ph
> pfaq.pdf
Yes, I responded to quickly as after reading someone else's
response to one of your emails it became clear the original poster
was m
Y-m-d");
> $this->name = $GLOBALS['firstname'];
> /* etc. . . */
> }
I don't see the point in doing
var $todays_date;
and
$this->todays_date = date("Y-m-d");
The latter works without the need for the "var". Why should i use
see what your class
variables where (but I can see this easily enough).
I don't NEED to use var even in classes. I'm writing a class right
now without it. But perhaps there is a SHOULD that I am not aware
of (just helping me see .. well I don't need that).
Peter
http://www.readbr
necessarily for mod_perl (very good) but just to generate code for
yourself. Perl is an excellent tool but you can't get it with a GUI.
You use text editors for which there is keyboard command for 99%
of the actions you do. If you already KNOW PHP then Perl will be
simple.
Peter
http://www.
but it's a question of balance.
Peter
Despite considerable evidence that it doesn't work, many
projects seem to rely on telepathy as the mechanism for
communicating requirements from users to developers.
--Karl E. Wiegers
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
username=> '',
password=> ''',
);
my $sql = "SELECT Subject,body,article_id,Born FROM news WHERE
visibility is NULL ORDER BY article_id LIMIT 500";
my $sth = $dbh->{dbh}->prepare($sql);
$sth-&
nd_keys = array_rand ($books, 2);
while (list ($key, $val) = each ($rand_keys)) {
$display = $books[$val][display];
Why do I have to do this:
$display = $books[$val][display];
rather than
$html.= " Yaddda yadda $books[$val][display]";
$books[$val][display] in th
example.
Note the single quote for the literal. I myself prefer{} and I'll
single quote all literals contained therein.
And then this is a nice page which kind of goes over the problem.
I've got a dense head and don't fully understand it all.
http://www.zend.com/ze
) or by HTTP upload, you'll
find the file's MIME type in the session headers. Since most people's
mail or web client runs on the same machine as their application, these
headers are usually pretty accurate.
Peter
- Original Message -
From: "Nick Wilson" <[EMAIL P
ld output a blank page (no array members,
therefore no iterations). However, script1.php output a list of
numbers from 0 to when I terminated script execution by pressing
Ctrl-C.
Try checking your iteration conditions and try again. ;-) Sorry if
I'm barking up the wrong tree
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Ooops, incorrect scripts. Let's try again:
--script1.php--
// for loop as in Zachery's example
--script2.php--
// modified for loop
That's much better. ;-)
Peter Brett
- ---
Hi,
I use NT for development and I like to write snippets of code and
test them on my local box. I can do this in Perl. How can I do that
in PHP without installing a webserver etc. etc. I guess I can install
a version of PHP and just make sure I've got the path in my env.
Thanks,
Peter
f ($a[2] == $b[2]) return 0;
//return strcmp ( $a[2], $b[2]); // thought this would work
return ($a[1]>$b[1])?1:-1;
}
uksort ($ArrayOfNewsLinks, "cmp");
But then I do this:
while (list ($key, $val) = each ($ArrayOfNewsLinks)) {
$NewsLinks .= "
$val[title]
";
On 6 Apr 2002, at 14:38, Chris Adams wrote:
> On Sat, 6 Apr 2002 10:36:18 -0600, Peter J. Schoenster
> <[EMAIL PROTECTED]> wrote:
> > $ArrayOfNewsLinks = array(
> > "http://dailynews.yahoo.com/fc/World/Brazil/"; => array(
> > title => &
sender and $name for each recipient
$sendmail="/usr/sbin/sendmail -odq -t -i -f$sender '$name'";
# construct the header
$headers=
"Sender: $sender
From: $from
To: $to
Subject: $subject
";
# mail the message (write to sendmail socket; queue for delivery)
$sm=pope
1701 - 1800 of 1886 matches
Mail list logo