Re: Function that returns date of file.



On Thu, 13 Dec 2007 22:49:16 -0500, Jerry Stuckle
<jstucklex@xxxxxxxxxxxxx> wrote:

Fred Atkinson wrote:
I think it's deeper than that. Some of the time he's very lucid and
helpful. Then other times he falls into this junk. There seems to be
something else going one.

I guess he has his moments.

Our group uses bottom posting because that's how you normally read.
It's very frustrating to have to keep scrolling up and down to read
posts. And if you don't want to read the previous posts (and the
response is bottom-posted), then just use ctrl-end to get to the bottom
of the post.

I haven't tried that and I don't even know if that works in
Agent. But I'll give it a try.

Of course, that doesn't work with interleaved posting like this.

I see.

But thanks for trying to stay with the group's standards.

No problem.

I still can't figure out why that script returns that weird
string after the date/time when it is used by itself. But as long as
it doesn't return it when I insert it into a page, I guess it doesn't
matter.


I don't see why it should, either, and your code doesn't produce the
extra string on my system. Is that your entire script? Or is there
perhaps something after it which is outputting the string?

When it returned that string, I had it in a .php file that
consisted only of the html, head, title, and body tags with the script
between the body tags. There was nothing else in the page. That's
when it happend.

But when I put it in the page where I wanted it to go (right
after the text that said what it refered to), it gave the date
correctly without that extra string. Incredibly weird.

I look forward to learning some good PHP tricks from your
posts. I've done a little PHP coding and wrote a script that I use on
one of my Web sites for a special application. I wrote it several
years ago and it's been running glitch free all during that time. In
fact, I showed it to one of my colleagues at the University where I
work today. He liked it and analyzed my code.


Several years ago a flat file was probably your most commonly available
option :-)

True.

My first programming language was Fortran IV on punch cards.
This was in the late sixties when I was in high school (back then,
getting computer training in high school was completely unheard of).
Years later, I took a course in the old BASIC when the PCs first hit
the market (with the line numbers). I wrote a couple of programs for
my employer. One was terminal circuit inventory. I took a coursei in
PASCAL but never did anything with it. I later took a course in C but
never wrote anything in C.

I did write scripts for Procomm Plus (it was called 'Aspect
language') which was structurally similar. Before I took the C class,
I make an IF statement that required the 'equals equals'. As an old
BASIC programmer, I never heard of the equals equals (or if I did
learn it in that PASCAL class, I don't remember it. But it was years
before I did this). I finally had to call someone who was fluent in
writing Aspect scripts. Once I added another equals sign, it worked
just fine. As I found out, it's a bit different than the old BASIC.

Flat files did the job, all right. But I suspect that
databases will do better. I just need to learn how to code them.

MySQL isn't that hard to use - just learning SQL is the worst part. And
read up on "database normalization". If you don't start with a well
designed database your job will be all that much harder.

My colleague helped me create the database and the structure
for it today. That's one of his specialities. It only involves three
fields per record. The third one is to track how many times that
record has been retrieved. The first two will be used by the PHP to
code into the pages. All in all, my database needs are fairly simple.
Regards,




Fred
.



Relevant Pages

  • Re: How to genericaly search the entire db for any text string in any stored procedure, function, ta
    ... Hmmm... ... This script will quickly generate DML to search all the tables in the ... current database for a given string. ...
    (microsoft.public.sqlserver.connect)
  • Renaming variables using strings
    ... I have a big database with several variables inside. ... i have a variable in database called F101 and the script ... makes a string 'F101'. ... I would like to rename the variable F101 as ...
    (comp.soft-sys.matlab)
  • Re: Renaming variables using strings
    ... > I have a big database with several variables inside. ... i have a variable in database called F101 and the script ... > makes a string 'F101'. ... I would like to rename the variable F101 as ...
    (comp.soft-sys.matlab)
  • Re: POST Params - getting unknown
    ... I want to modify my script to save the actual POST url into ... > the database so I can see all of the POST parameter names. ... echo 'POST variables in string: ...
    (comp.lang.php)
  • Re: A little Rolodex [revised]
    ... including alpha sort and searching for any embedded string, ... In this application, a database is a directory, ... you may optionally provide any alternate UCASE program, ... NN -> first store NN as key length ...
    (comp.sys.hp48)