[snip]
I'm looking for an easy to read PHP book that will help me learn a solid
foundation in PHP.
I'm already familiar with the language but want to make sure I'm coding
in the most efficient manner.
What's a few of the better books out there?
[/snip]
[snip jblanchard:]
I personally like the O'
[snip]
Probably a stupid question, but hopefully has a simple answer. Is there
a way to get Grenwich Mean time? time() and date() functions that I can
see only seem to get date/time from the server, which knowing where that
is, could easily figure out GM time, but would rather go the other
w
[snip]
> Did anyone ever solve the shiflett-clock.gif puzzle?
What's the puzzle?
[/snip]
Go to http://shiflett.org and scroll down to "the race begins". The
puzzle is the clock.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
PHP Gener
[snip]
On Wed, 22 Sep 2004 00:09:01 -0600, LW Ellis <[EMAIL PROTECTED]>
wrote:
> I'm new to php, but am familar with ASP.
> I have this code to open and read a text file.
> What I need is to take out the 'while' and present the data one line
> at a time. I read up on fgetcsv, but we will be usin
[snip]
I am wondering how to read lines from a file to a php array? I would
like to
integrate a logfile into a html site. Is it possible to read line by
line and to
check how many lines there are in total?
Thank you for any hint on that,
[/snip]
http://www.php.net/fgets is a good starting poin
[snip]
Does exits any function in PHP to see if one string is compose for
numbers. And I have already searched in google before I asked here
[/snip]
The manual is your friend.
http://www.php.net/strspn
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/u
[snip]
> Anyone know what this wouldn't work? I have tried using a couple of
> functions defined at http://us2.php.net/manual/en/ref.exec.php and
none
> seem to have the desired effect.
>
> $tailed = shell_exec('tail -f /path/to/log');
> //$tailed = exec('tail -f /path/to/log');
> //$tailed = s
>>> I STFW and RTFM and I still can't figure out why this returns a 1064
>>> parse error:
>>>
>>> SELECT * FROM 'my_table' WHERE ('field_1' LIKE '%$keyword%' OR
>>> 'field_2' LIKE '%$keyword%' OR 'field_3' LIKE '%$keyword%') AND
>>> 'status' = 'active';
Why don't you try rebuilding the query. I
[snip]
A = 1
B+A*R = 9
C+B*R+A*R^2 = -7
I get (b/3) + 3 - (7/3b) when I work it out by hand, and a teacher of
mine got the same thing. What exactly is this program finding, since it
obviously isn't any coefficients?
[/snip]
Acutally, looking at it further, it looks like it actually almost did it
[snip]
3b = 3x - 0
The book has this as an example too dealing with the program: (x^2 - 14x
-
25) / (3x + 4)
[/snip]
Exactly. However the program is looking for x - r. there is no place to
put a coefficient in front of the x.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe,
[snip]
form ax^2 + bx + c by a binomial of the form x - r.
One example I tried out was (b^2 + 9b - 7) / 3b.
[/snip]
I don't think that 3b is same form as x - r
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
PHP General Mai
[snip]
Hi, I am looking for some information about the way of saving the result
of my php script (html table) with .XLS (ms excel) format. Do you know
where could I get info about this? Thanks,
[/snip]
Take a look at the write excel class, there is a php version of it,
however most of the document
[snip]
My question is how to I know how/where the pages will break, and how can
I make the generation of the PDF files work automagically? The first
page will always have a header set of information, and then the quote
following it, all other pages will just have the quoted items.
[/snip]
My expe
For example: I want to allow a-z ,A-Z, 0-9 and some others and strip out
everything else.
You probably just want to use a regular expression. Check out
http://www.php.net/ereg
HTH!
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi, is there a PHP function that will convert MM/DD/ to MMDD?
Also I will need to take into affect some people may put in M/D/
(some
people may put in 1 instead of 01, 2 instead of 02, etc). Is there a
way
to do this?
take a look at these functions
http://www.php.net/mktime
ht
Hello all,
I would like to create a php function as follows:
function get_next_dates($ndays) {
/*
1. get the current date
2. create an array say $results
3. Store the dates for the next $ndays in $results
*/
return $results
}
So in my main program I can include th
[snip]I'm working for the first time with object orientated programming
in php and I can't figure out how to access elements or methods when you
place objects inside objects inside other objects.
my origonal idea was to use the following syntax:
$a->b->c
but this just returns:
$a->b . "->c"
Ple
17 matches
Mail list logo