Just thought I'd send in my testimonial. I run a web site for a
relatively small business (4 employees including the President ;).
Anyway, I had been using JSP and Servlets to manage our smallish web
site, but in preparation for graduation and moving on to another job, we
need a web site that
Matt's Script Archive was just updated a couple days ago and includes a
fix similar to mine--I just discovered.
Thanks,
Sterling
Andrew Sterling Hanenkamp wrote:
> Actually, if you use telnet you can write your own headers and say
> you've been refered by whoever you want
I am having some trouble with storing a class in a session variable.
According to the information in the manual, an object will be serialized
at the end of each request and then unserialized at the beginning
automatically. However, with this code:
For the first page I will get:
stringvar is
Actually, if you use telnet you can write your own headers and say
you've been refered by whoever you want to say you were refered by and
then use the script anyway, because you'll just say you came from
someplace where they have a form. This script is very bad. I submitted
an update to the ar
You're making your expressions too complicated. To test for just that
string,
eregi("HTTP/1\.[01] 302", $output)
should work.
Later,
Sterling
Boaz Yahav wrote:
> I'm trying to find if a string exists inside a string. Instead of using
> strstr() twice I want to use eregi() once.
>
> What I w
Unless you've used GROUP BY you'll only return one row. I think that
something like
SELECT x, count(y)
FROM table
GROUP BY y
ORDER BY count(y);
Ought to work.
Later,
Sterling
Elias wrote:
> Hello,
>
> I made a query that uses count(*)
> now how can i get the results sorted following the big
Javascript occurs on the client side, so the second page you are opening
will not be passed the file. If you are going to try and pass the file
like this you could try saving the file to disk temporarily in the first
PHP script. Then, pass an identifier to the file in the query string of
windo
Uh...this is just a guess, but could it be the line endings are
confusing PHP? Perhaps you have DOS formatted files in Unix or Unix
files in DOS or Mac files in DOS or DOS files in Mac or ...you get the
idea... That is, in DOS lines are ended by \n\r, in Unix by \n, and in
Mac by \r. Lacking t
Did you look at the difference between include() and require()?
Basically, as I understand it, require() and require_once() are replaced
during parsing--before code execution. And include() and include_once()
are replaced during code execution. Thus, a required file is always
imported into the
Perhaps the manual should be made to reflect this since, my
understanding came from the online version of the manual.
Sterling
Philip Olson wrote:
> Yes, this is essentially true. Zeev posted this to the list awhile ago,
> see the following :
>
> http://www.faqts.com/knowledge_base/view.ph
10 matches
Mail list logo