php-general Digest 27 Jan 2001 16:47:21 -0000 Issue 479

Topics (messages 36953 through 36990):

Indexing Remote Directory
        36953 by: Kif

Re: Where is my contrab file located?
        36954 by: Richard Lynch
        36976 by: Brian V Bonini

Re: mail problems in windows2000
        36955 by: Richard Lynch

Re: Strange problem
        36956 by: Dustin Butler

Re: Hello
        36957 by: Dallas Kropka
        36958 by: Nathan Cook
        36967 by: Navid

Zeros get striped off my db entrees.... how to stop...
        36959 by: Dallas Kropka

Re: Persistent connections and transactions
        36960 by: Terrence Chay

Date Comparison Question
        36961 by: Martin Fernandez

Re: Zend hit (Encoder price)
        36962 by: Terrence Chay

PHP Cron jobs
        36963 by: James Mclean
        36964 by: mick

debugger_on( ) third time!
        36965 by: tarique.sanisoft.com
        36968 by: Rasmus Lerdorf
        36971 by: tarique.sanisoft.com

Authentication through a login form
        36966 by: Peter Troll

Transparent sid
        36969 by: Thomas Seban

Re: Form data is not "remembered"
        36970 by: Alain Fontaine

assigning an array to a array
        36972 by: Jimmy Bäckström

Oracle support not working
        36973 by: Jon Jacob

Zend IDE price plans
        36974 by: Lewis Bergman
        36975 by: lagi
        36977 by: Alain Fontaine
        36978 by: Jim Jagielski
        36980 by: Zeev Suraski
        36981 by: Lewis Bergman
        36983 by: Lewis Bergman
        36988 by: lagi

Re: Why the Change in Ver 4?
        36979 by: Toby Butzon

Re: I'm confused about..reffering vars &$
        36982 by: Toby Butzon

Re: session without cookies
        36984 by: bill

Remote Directory listing
        36985 by: Kif

Re: Good Reads
        36986 by: Larry Jaques
        36987 by: Andrew Hill
        36989 by: Ralph Roberts
        36990 by: Egon Schmid (.work)

Administrivia:

To subscribe to the digest, e-mail:
        [EMAIL PROTECTED]

To unsubscribe from the digest, e-mail:
        [EMAIL PROTECTED]

To post to the list, e-mail:
        [EMAIL PROTECTED]


----------------------------------------------------------------------


hi,

if i want to index the filenames in a local directory its quite easy using
something like the following:

$startdir = "." ;
$the_directory = opendir($startdir) ;
  while($filename = readdir($the_directory))
{
     print("<br>$filename =<strong> ");
     print(filesize($filename));
     print("</strong>");
}
closedir($the_directory);

But how can I use something like this to index a REMOTE directory?

I have tried $startdir = http://siteiwant.com/; with no joy
:(

Can someone help please
Thanks

Keith





> Where is my crontrab file located?

I dunno...

You're really not supposed to just edit it like a normal file, cuz then
crontab can't run it while you are editing it, I guess.

Anyway, the man pages for sure say "Don't do that.", so don't.

You're supposed to use:

crontab -e

to edit it.

That will throw you into the editor defined in the variable EDITOR, I think.

If you don't like the editor you get, you can change that EDITOR variable to
be "vi" or "emacs" or "pico" or "joe" or whatever you normally use to edit
text files.

Now for a newbie, changing a variable is an exercise in frustation in its
own right...

No two shells (the program that, like, when you type "ls" it does what it
should do) are the same for something as mind-numbingly simple as setting a
darn variable.

Easiest way to fake your way through not knowing this stuff is this:

#1.  Cd to your home directory
cd

#2.  Show *all* the files in your home dir:
ls -als

#3.  Edit the file that has a name kinda like .bashrc or .bash_profile...

vi .bash_profile
*** OR ****
pico .bash_profile

#4.  Look for something that seems to be setting a variable, like one of
these:
setenv PATH=blahblahblah
PATH=blahbalbhabl
export PATH

#5.  Do kinda the same thing as that, only with DISPLAY and vi, or pico, or
whatever.

#6.  If you don't see anything like setting a variable, quit your editor and
try another file in your home dir.

Confession:  It took me weeks to do my first crontab, due to these sorts of
things:  I'd just about wrap my poor little brain around the crontab format,
and then, BAM!, I'm in some editor I can't even figure out how to use, so
off I'd get frustrated and quit.  It was never a *need* to do the crontab
thing, so I was trying to get it done in a 15-minute task...  Anyway, I
think I must have stumbled through all of this 3 or 4 times before I finally
could manage a block of time big enough to work it all out.






You could just create a text file with cron commands
and then load it into cron using,
%>crontab cronfile


> -----Original Message-----
> From: Richard Lynch [mailto:[EMAIL PROTECTED]]
> Sent: Saturday, January 27, 2001 12:03 AM
> To: [EMAIL PROTECTED]
> Subject: Re: [PHP] Where is my contrab file located?
>
>
> > Where is my crontrab file located?
>
> I dunno...
>
> You're really not supposed to just edit it like a normal file, cuz then
> crontab can't run it while you are editing it, I guess.
>
> Anyway, the man pages for sure say "Don't do that.", so don't.
>
> You're supposed to use:
>
> crontab -e
>
> to edit it.
>
> That will throw you into the editor defined in the variable
> EDITOR, I think.
>
> If you don't like the editor you get, you can change that EDITOR
> variable to
> be "vi" or "emacs" or "pico" or "joe" or whatever you normally use to edit
> text files.
>
> Now for a newbie, changing a variable is an exercise in frustation in its
> own right...
>
> No two shells (the program that, like, when you type "ls" it does what it
> should do) are the same for something as mind-numbingly simple as
> setting a
> darn variable.
>
> Easiest way to fake your way through not knowing this stuff is this:
>
> #1.  Cd to your home directory
> cd
>
> #2.  Show *all* the files in your home dir:
> ls -als
>
> #3.  Edit the file that has a name kinda like .bashrc or .bash_profile...
>
> vi .bash_profile
> *** OR ****
> pico .bash_profile
>
> #4.  Look for something that seems to be setting a variable, like one of
> these:
> setenv PATH=blahblahblah
> PATH=blahbalbhabl
> export PATH
>
> #5.  Do kinda the same thing as that, only with DISPLAY and vi,
> or pico, or
> whatever.
>
> #6.  If you don't see anything like setting a variable, quit your
> editor and
> try another file in your home dir.
>
> Confession:  It took me weeks to do my first crontab, due to
> these sorts of
> things:  I'd just about wrap my poor little brain around the
> crontab format,
> and then, BAM!, I'm in some editor I can't even figure out how to use, so
> off I'd get frustrated and quit.  It was never a *need* to do the crontab
> thing, so I was trying to get it done in a 15-minute task...  Anyway, I
> think I must have stumbled through all of this 3 or 4 times
> before I finally
> could manage a block of time big enough to work it all out.
>
>
>
> --
> 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]
>
>





>Warning: Failed to Connect in d:\apache\htdocs\mail2.php on line 3
>
>OOps ~ so I installed my SMTP services then configured my PHP.ini file like
this

Wow.  Win2K actually *has* SMTP in it? :-^

>mail("[EMAIL PROTECTED]", "My Subject", "Line 1\nLine 2\nLine 3");

You're going to need \r\n instead of just \n for Windows.  RFC email spec
actually is \r\n, but most SMTP servers let you slide with just \n and do it
right anyway.  Not Windows.

>but this time I met an another error message ~!
>
>Warning: Server Error in d:\apache\htdocs/test/test.php on line 3

Can you use SMTP somehow without PHP?
Maybe even try to telnet to port 25 on that machine and send the first few
commands of an email exchange...  Not sure what they are off the top of my
head, but you can probably find that somewhere in the PHP code archives.
The point is to be sure SMTP actually works, before trying to make it work
with PHP invovled.

Also, be sure SMTP is configured to *allow* the PHP user to talk to it.  No
idea how to do that, but it's gotta be in there somewhere.






There are FTP functions if it's an FTP download.  You could also use socket
functions to create the request if it's HTTP.  Check your system for the
utility called wget, you could exec() wget to retrieve the file also.

Dustin

> -----Original Message-----
> From: Jeroen Jochems [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, January 25, 2001 7:23 AM
> To: Hardy Merrill
> Cc: [EMAIL PROTECTED]
> Subject: Re: [PHP] Strange problem
> 
> 
> Or does anyone know a better way to download files?
> 
> 
> ----- Original Message -----
> From: Hardy Merrill <[EMAIL PROTECTED]>
> To: Jeroen Jochems <[EMAIL PROTECTED]>
> Cc: <[EMAIL PROTECTED]>
> Sent: Thursday, January 25, 2001 2:50 PM
> Subject: Re: [PHP] Strange problem
> 
> 
> > The first thing I'd check is the space on the client machine
> > trying to do the download - that machine may be running out
> > of space.  I can't remember exactly how the browser handles
> > this, but the client machine may need 2 times the size of the
> > file to be downloaded - it might first create a temporary file,
> > and then when the download is done, copy the temporary file to the
> > real file.
> >
> > HTH.
> >
> > --
> > Hardy Merrill
> > Mission Critical Linux, Inc.
> > http://www.missioncriticallinux.com
> >
> > Jeroen Jochems [[EMAIL PROTECTED]] wrote:
> > > When I try to download a big file (like 5meg) with 
> fopen() I get some
> strange errors:
> > >
> > > - not enough space for lowio initialization
> > > - not enough space for stdio initialization
> > > - pure virtual function call
> > > - not enough space for _onexit/atexit table
> > > - unable to open console device
> > > - unexpected heap error
> > > - unexpected multithread lock error
> > > - not enough space for thread data abnormal program termination
> > > - not enough space for environment
> > > - not enough space for arguments
> > >
> > > I use the following code
> > >
> > > while (!feof($file)) {
> > > $line = fgets($file, 10000);
> > > fputs($localfile,"$line");
> > > }
> > >
> > > This always happens when he downloaded 981kb. Anyone know 
> how to solve
> this?
> > >
> > > 10xzs
> > > - floating point not loaded






What a bunch of crap.... hey, I know, Ill get a degree as a Computer Science
Major, or what the hell, Doctorate, and then all those places that wouldn't
hire me before because I didn't know what I was doing will pay me lots of
money....

Please....





-----Original Message-----
From: Graduate [mailto:[EMAIL PROTECTED]]
Sent: Saturday, January 27, 2001 5:26 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Hello


UNIVERSITY DIPLOMA

Obtain a prosperous future, money earning power,
and the admiration of all.

Diplomas from prestigious non-accredited universities
based on your present knowledgeand life experience.

No required tests, classes, books, or interviews.

Bachelors, masters, MBA, and doctorate (PhD) diplomas
available in the field of your choice.No one is turned
down.

Confidentiality assured. CALL NOW to receive your
diploma within days!!!

713-866-8869

Call 24 hours a day, 7 days a week, including Sundays
and holidays.

7

--
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]





Isn't it the journey what makes the goal sweeter??

.:: Nathan Cook [ [EMAIL PROTECTED] ] ::.
Systems & Network Administrator :: Programmer
[ phone - 208.343.3110 ][ pager - 208.387.9983 ]
----- Original Message -----
From: "Dallas Kropka" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, January 26, 2001 10:24 PM
Subject: RE: [PHP] Hello


>
> What a bunch of crap.... hey, I know, Ill get a degree as a Computer
Science
> Major, or what the hell, Doctorate, and then all those places that
wouldn't
> hire me before because I didn't know what I was doing will pay me lots of
> money....
>
> Please....
>
>
>
>
>
> -----Original Message-----
> From: Graduate [mailto:[EMAIL PROTECTED]]
> Sent: Saturday, January 27, 2001 5:26 AM
> To: [EMAIL PROTECTED]
> Subject: [PHP] Hello
>
>
> UNIVERSITY DIPLOMA
>
> Obtain a prosperous future, money earning power,
> and the admiration of all.
>
> Diplomas from prestigious non-accredited universities
> based on your present knowledgeand life experience.
>
> No required tests, classes, books, or interviews.
>
> Bachelors, masters, MBA, and doctorate (PhD) diplomas
> available in the field of your choice.No one is turned
> down.
>
> Confidentiality assured. CALL NOW to receive your
> diploma within days!!!
>
> 713-866-8869
>
> Call 24 hours a day, 7 days a week, including Sundays
> and holidays.
>
> 7
>
> --
> 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]
>
>
> --
> 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]
>
>





Tis the journey of long nights of sleepless hours till dawn's break, which I
don't mind really. The only thing that bothers me is that schools act like
too much of a business rather than institutes for higher education. They act
like they know the route each students want to take and they try and compete
with other schools in their community, state, or nation.

-----Original Message-----
From: Nathan Cook [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 26, 2001 11:34 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] Hello


Isn't it the journey what makes the goal sweeter??

.:: Nathan Cook [ [EMAIL PROTECTED] ] ::.
Systems & Network Administrator :: Programmer
[ phone - 208.343.3110 ][ pager - 208.387.9983 ]
----- Original Message -----
From: "Dallas Kropka" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, January 26, 2001 10:24 PM
Subject: RE: [PHP] Hello


>
> What a bunch of crap.... hey, I know, Ill get a degree as a Computer
Science
> Major, or what the hell, Doctorate, and then all those places that
wouldn't
> hire me before because I didn't know what I was doing will pay me lots of
> money....
>
> Please....
>
>
>
>
>
> -----Original Message-----
> From: Graduate [mailto:[EMAIL PROTECTED]]
> Sent: Saturday, January 27, 2001 5:26 AM
> To: [EMAIL PROTECTED]
> Subject: [PHP] Hello
>
>
> UNIVERSITY DIPLOMA
>
> Obtain a prosperous future, money earning power,
> and the admiration of all.
>
> Diplomas from prestigious non-accredited universities
> based on your present knowledgeand life experience.
>
> No required tests, classes, books, or interviews.
>
> Bachelors, masters, MBA, and doctorate (PhD) diplomas
> available in the field of your choice.No one is turned
> down.
>
> Confidentiality assured. CALL NOW to receive your
> diploma within days!!!
>
> 713-866-8869
>
> Call 24 hours a day, 7 days a week, including Sundays
> and holidays.
>
> 7
>
> --
> 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]
>
>
> --
> 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]
>
>


--
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]







        Ok, I have a string of bits that I combine to store as the privilege level
for our users.... it is 5 chars long "12345", and the default is "00000"
this would be the most basic user. now, when there is a non 0 number at the
front.... it works.... and every thing is cool.... but, even though the
field is set as CHAR 5, if the privs number is set to 00110, it is stored in
the DB as 110.... or at least that is how it is retrieved.... in
PHPmyAdmin.... it shows up as 00110....


so anyway, somewhere it is stripping the leading 0's off the number, and I
need to know why and how to fix that.....


Thanks,

Dallas K.





on 1/25/01 11:49 AM, Frank Joerdens at [EMAIL PROTECTED] wrote:

> On Thu, Jan 25, 2001 at 04:04:24PM -0300, Martin A. Marques wrote:
> [ . . . ]
>> Of course. But the persistent connection are not working as the manuals say
>> they should work.

> It appears this riddle has been solved: From a post by Adam Lang on
> pgsql-php on Dec 8:

> <start quote>
> Well, there's a problem with PHP's [mis]documentation. First of all,
> it counts open DB connections not on per-webserver, but on
> per-process/thread basis.
> The default PHP config file has the limits of persistent and
> non-persistent connections set to -1 (no limit)... Setting it to
> some (supposedly) reasonable value (like, 50) accomplishes nothing: you
> should multiply 50 by the number of webserver processes/threads. There
> can be lots of them... :[
> And then there comes PHP's "logic": if I can just open the new
> connection, why bother reusing the old one? And thus Postgres backends
> start multiplying like rabbits, eventually reaching the limit... :[
> You should set a reasonable limit on number of open persistent
> connections (like 1, maybe 2 or 3), only then PHP will actually reuse
> them. My webserver now works with such setup and there are no more
> problems with pg_pconnect().
> <end quote>

    This sounds very confusing. Does anyone know how pconnects are pooled?
For instance this post implies that pconnects might be pooled on a per httpd
child process which would be silly as hell because httpd processes surely
"spawn like rabbits" and all of them would eventually cycle to a web page
that would generate a persistant connection.

    How are pconnects released into the pool? If the former case there is no
pool so no reason to release. In the latter case, there should be a
procedure I could call (like pg_pclose()?) which would not close the
connection but simply release it back into a pool for another pconnect() of
a different httpd to call. This could especially be useful for long-running
scripts.

    How are pconnects terminated? Is there a time to live on them? Are they
never dying unless the child dies? The load on most web servers often varys
by a factor of 8 during the day and 2 between weekends and weekdays. Without
pconnect termination, one would accumulate a lot of idle persistent
connections. Ideally, PHP would manage it.

    It's not like the pconnect() HAS to be on a per-child business. In
theory pconnects could be put into a shared memory segment and pooled. A
time to live of 30 minutes and configurable in php.ini would handle most web
server/db interaction and ensure that you don't have say 115 open
connections to the database with only 4 being used at a time.

    I don't know how PHP is programmed or how the PosgreSQL extension was
made so I really have no clue here.

        terry 

-- 
terry chay, Director of Engineering, <http://www.QIXO.com/>
QIXO /kick.so/ - Integrating Many Travel Web Sites Into One
W: 1.408.394-8102     F:1.408.516.9090    M: 1.408.314.0717
E-Mail: <mailto:[EMAIL PROTECTED]>     ICQ: 16069322
PGP Fingerprint: 6DCF 1634 547C 935D 4912  2A44 A4A2 79AB DFFF F110 





I'm fairly new to php and still learning it's nuances, etc.

I've created a site - http://www.more-mtb.org - in which I have used several
php resources from around the net and some which I have created my self. On
the home page of the site I have inserted some code that displays a series
of events from a calendar table in a Mysql dB.

My idea is to display the 4 upcoming events from today (the current date)
including any events that match today's date.

The display works great until I get to the end of the month (like now). I
have separated the date as three rows in my dB (msg_year, msg_month and
msg_day)

when I do the query in my code to select the 4 upcoming events I use the
following:

$query = sprintf("SELECT * FROM calendar_messages WHERE msg_active=1 AND
msg_year >= $ThisYear AND msg_month >= $ThisMonth AND msg_day >= $ThisDay
ORDER BY msg_year, msg_month, msg_day ASC LIMIT 0, 4 ");

The problem is, that even though the first three comparisons are met, the
last one , the msg_day is not. At the end of the month the day value is in
the high 20s/30s whereas the day value for the next month is in the low
digits. And even though my query satisfies the first two (three if you count
msg_active) comparisons the fourth is not satisfied and therefore the event
is skipped.

As soon as the next month starts, then I get 4 events.

I know exactly what's wrong, But my non-programmer limitations are coming to
light and I have absolutely no clue what to do next or how to proceed. Any
direction will be extremely appreciated.

Thanks in advance.

Martin





on 1/26/01 1:36 AM, Richard Lynch at [EMAIL PROTECTED] wrote:

>> If there are some things you really need to hide, and perhaps also really
>> need to make fast, then write yourself a PHP extension in C that
 
> I dunno...  Once you start writing chunks of it in C code, it doesn't really
> seem like a script to me...
>...
> But at that point, it starts to look a lot more like a C program with some
> interface widgets in PHP, rather than a PHP script really.

    Actually Microsoft does exactly just this with Active Server Pages. Most
of the functionality in Active Server Pages are done through dynamically
loaded component libraries (ActiveX/COM). It works fairly well as you can
get some high quality commercial components. But it does hurt too because
you don't have very much built into ASP itself (in fact, very little is.
Almost everything is COM) and you find that ASP + default COM may be missing
some key stuff you might need (like file opens on URLs, file upload, etc)
and is built into PHP.

    Microsoft does offer one thing over the "chunk of C code". COM can be
written in Visual Basic and even VBScript encased XML (though why anyone
would want to do this would have me a bit confused as ASP is written in
VBScript). I'd imagine you could write COM very easily in C# which is a lot
like Java. So there are a lot more options right now as well as better
developer tools (and support). But you pay for it. ;-)

    Most people don't create COM. Most people purchase them or use the
default COM that Microsoft provides (A file system object, a browser object,
a database object, etc.). There are also a lot of stuff that might as well
be "default COM" because they're part of a product that everyone installs in
their computer (for instance, an XML parser, or Excel's ability to render
graphs), these too can be instantiated from within ASP.

    All this causes interesting problems when the developer goes out of
business or decided to stop supporting it.

    (Side note: Apparently PHP for Windows can instantiate COM. I'd imagine
most of the ASP2PHP translator would depend on this fact?)

    Take care,

        terry
-- 
terry chay, Director of Engineering, <http://www.QIXO.com/>
QIXO /kick.so/ - Integrating Many Travel Web Sites Into One
W: 1.408.394-8102     F:1.408.516.9090    M: 1.408.314.0717
E-Mail: <mailto:[EMAIL PROTECTED]>     ICQ: 16069322
PGP Fingerprint: 6DCF 1634 547C 935D 4912  2A44 A4A2 79AB DFFF F110 






List,
    i do not have access to the cron system on my server, but would like to
write a script that does some general housekeeping on my database, and various
other things like removing old users, sending some newsletters etc...
    What would be the best way of getting the script to run on a timed basis,
ideally the times and frequency of the script running defined in either the
script its self, or another script.
    The Sysadmin for the server is absolutly useless, so getting him to submit a
cron job is no good.
    any ideas??

TIA

jamesmc






The best way really is a cron job ... maybe you need a new ISP or a new
sysadmin.

Mick

>     What would be the best way of getting the script to run on a timed basis,
> ideally the times and frequency of the script running defined in either the
> script its self, or another script.
>     The Sysadmin for the server is absolutly useless, so getting him to submit a
> cron job is no good.
>     any ideas??






Hello 

This is the third time I am posting this

Can someone tell me the present status of debugger_on( ) function?

Does it still exist? the documentation says it does! 

Is there someone who is really using it?

I want to know this because


1) I am writting about debugging in PHP
2) Recompiling PHP with proper options still does not allow me to do
debugger_on()
3) I read it from someone on the list that this function no longer works



Thanks in advance

Tarique


-- 
=========================================
       B2B Application Providers
        http://www.sanisoft.com
 Vortal for Nagpur http://nagpurcity.net
=========================================





> This is the third time I am posting this
>
> Can someone tell me the present status of debugger_on( ) function?
>
> Does it still exist? the documentation says it does!

The documentation is quite clear on this:

http://www.php.net/manual/en/debugger.php

-Rasmus





On Sat, 27 Jan 2001, Rasmus Lerdorf wrote:

> The documentation is quite clear on this:
> 
> http://www.php.net/manual/en/debugger.php
Ouch! Mea Minima Culpa,

Sorry!

The copy of docs which I have locally does not say this!

Should learn to mirror the latest docs from the web

Thanks again

Tarique

-- 
=========================================
       B2B Application Providers
        http://www.sanisoft.com
 Vortal for Nagpur http://nagpurcity.net
=========================================





Hi Patrick,

I had to implement the system you are talking about. I wanted to avoid working with 
sessions, cookies and all the stuff, just make sure it could work in all 
configurations with minimal requirements. here is what you could do:

1. Build your login page as a form
2. Check the user name and password (in my case, against a mySQL DB)
3. If credentials are OK, give access to the page(s) requested. I got the trick from 
someone in the PHP list: do a fopen like this
http://user:[EMAIL PROTECTED]/protected_stuff
Replace user name and password according to your password file. Even if users know the 
actual location of the files and they try to bypass your authentication form they will 
get the pop-up window. They need to authentify themselves before.

(You may use a sigle user name and password to satisfy all requests).

Hope this helps.

Regards,


-----------------------------------------
I want to replace the popup dialog box that occurs when a user accesses a
password protected area, with a login screen. How do I do that?

Someone told me I had to use a cookie to say the person is logged on and
read it whenever I needed to verify their access.

Is it possible to trap the request made to the browser for a
username/password and then pass these back to the server whenever the server
requires authentication?

=======================================================================
Patrick Dunford, Christchurch, NZ - http://pdunford.godzone.net.nz/

   Blessed is the man who does not walk in the counsel of the
wicked or stand in the way of sinners or sit in the seat of
mockers.
    -- Psalm 1:1
http://www.heartlight.org/cgi-shl/todaysverse.cgi?day=20010125
=======================================================================
Created by Mail2Sig - http://pdunford.godzone.net.nz/software/mail2sig/





Hello,

with latest windows binary package from www.php.net, transparent sid shoud
be enabled. How can i disable this feature?

Greetings from germany
Thomas Seban





Hi,

Actually, the reason why form data is not remembered is because I use
sessions, and when you use sessions, the browser is told not to cache
anything, which is pretty smart actually.

The easy solution is to store the user's input into a session variable to
"remember" it that way, and display the form again in case of an error with
the saved values restored into the form.

This is particularly easy if you have an object that you want to define
using your form; you can easily save the whole object as a session variable.

""Alain Fontaine"" <[EMAIL PROTECTED]> a écrit dans le message
news: 94m9ie$mru$[EMAIL PROTECTED]
> Hi,
>
> I have a page with a couple of form fields that are being POSTed to a
> processing PHP script. The page that contains these form fields is itself
a
> PHP page that uses sessions and so on.
>
> I have to make "server-side data validation" on the fields because of
their
> complexity. When the user hits submit and comes to the result page, if
there
> was any error I ask the user to go back to the form and correct the
> mistakes, using either his browser BACK button or by clicking on a link
that
> does a javascript:history.back().
>
> The problem is, when the user gets back to the form page, all of the
values
> he had typed in are gone, and he has to start all over again. Does anyone
> have an idea why this is so, and how to circumvent it without saving the
> user data into a session variable and then setting it back again once the
> user hits the form page again ? I have seen many pages where your previous
> data would stay in the form after you make a "Back" operation, but here,
it
> disappears.
>
> Thanks for any ideas, and have a very nice day.
>
>
>
> --
> 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]
>






Yo!
I was wondering if it is possible to assign an array another array, I mean like this:
$arr1 = array(1, 2, 3, 4, 5);
$arr2 = array()
$arr2[0] = $arr1;

so that the element of $arr2 contains $arr1 like:
$arr2[0][0] == 1
I've tried this, but it does not work. Does anyone have any ideas how this could be 
accomplished without me not having to do like this:
$arr2[0] = $arr1[0];
$arr2[1] = $arr1[1];
etc, etc...

/Broder




Apache 1.3.12
Oracle 8.1.6
Redhat 6.2
PHP 4.0.3

Well, I think I have done everything right but must have missed
something.  I installed with --with-oci8 and --with-oracle, my
LD_PRELOAD is defined properly and even has the full path to be sure,
apache has been stopped and restarted, yet when I try and run my PHP
script the very first oracle function comes back to:

Fatal error: Call to undefined function: ora_login() in
/home/jon/public_html/test.php on line 6

What could I be missing?  I am not an expert on Oracle or PHP but this
does not seem like it should be so hard.  It does not appear to be a
problem with PHP accessing Oracle because it is never getting that far. 
How do I get this right?




Is anyone else dissappointed in the limited pricing options of the Zend IDE?
I would love to buy the commercial license as about half of my work would 
fall into that.

My problem is I don't want or need anything except the IDE. Are there other 
people in this same boat? 

I would like the IDE but don't want to pay for a bunch of stuff I don't 
want or need. I would think that there is some middle-goround somewhere. 
More than $50.00 for the personal license but less than the $850.00 for the 
whole big ball of wax.

I would love to hear what others are thinking on this subject.





Let's be honest they have lost the plot .. the ide would be fine. I have
bought paid for and havn't used perl studio cost $99 not bothered whether I
use it or not if I do then thats fine if not thats my problem and $99 is
neither here nor there.  Multiply this by the thousands who probably will
use it and get "hooked" and you have a revenue stream for years with people
paying you $50 a year for updates - but no support. Bill gates whatever you
say about him knows this.
He took copy protection of multiplan sales soared why? people copied
multiplan/excel gave it to there friends (illegally) but people got hooked
and wanted to be legal so microsoft started the upgrade treadmill. Zend
would not have that problem most companies that rely on a product would want
to be legal. They have smelt the money at the end of the rainbow and missed
the pot by their feet.

They can charge the big companies who pay the microsoft tax for the extra
nannying that they need/want/expect but why give the razor free and then
charge  $6000  per  blade? Charge a nobrainer price (for a limited period)
and we would all jump in i predict.

are you listening zend?

touche about the ide is what we are interested in. I would gladly pay money
to Soysal when phped installs on 1 machine without problems - I havn't used
it properly yet but I am hopeful


My 2ps worth

Lagi

----- Original Message -----
From: "Lewis Bergman" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, January 27, 2001 1:22 PM
Subject: [PHP] Zend IDE price plans


> Is anyone else dissappointed in the limited pricing options of the Zend
IDE?
> I would love to buy the commercial license as about half of my work would
> fall into that.
>
> My problem is I don't want or need anything except the IDE. Are there
other
> people in this same boat?
>
> I would like the IDE but don't want to pay for a bunch of stuff I don't
> want or need. I would think that there is some middle-goround somewhere.
> More than $50.00 for the personal license but less than the $850.00 for
the
> whole big ball of wax.
>
> I would love to hear what others are thinking on this subject.
>
>
> --
> 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]
>
>





6000 (SIX THOUSAND) dollars for the encoder ??? It will be cheaper for us to
buy a complete Windows 2000 based server with all the software we need and
develop ASP components.

""lagi"" <[EMAIL PROTECTED]> a écrit dans le message news:
002001c08866$57c76160$[EMAIL PROTECTED]
> Let's be honest they have lost the plot .. the ide would be fine. I have
> bought paid for and havn't used perl studio cost $99 not bothered whether
I
> use it or not if I do then thats fine if not thats my problem and $99 is
> neither here nor there.  Multiply this by the thousands who probably will
> use it and get "hooked" and you have a revenue stream for years with
people
> paying you $50 a year for updates - but no support. Bill gates whatever
you
> say about him knows this.
> He took copy protection of multiplan sales soared why? people copied
> multiplan/excel gave it to there friends (illegally) but people got hooked
> and wanted to be legal so microsoft started the upgrade treadmill. Zend
> would not have that problem most companies that rely on a product would
want
> to be legal. They have smelt the money at the end of the rainbow and
missed
> the pot by their feet.
>
> They can charge the big companies who pay the microsoft tax for the extra
> nannying that they need/want/expect but why give the razor free and then
> charge  $6000  per  blade? Charge a nobrainer price (for a limited period)
> and we would all jump in i predict.
>
> are you listening zend?
>
> touche about the ide is what we are interested in. I would gladly pay
money
> to Soysal when phped installs on 1 machine without problems - I havn't
used
> it properly yet but I am hopeful
>
>
> My 2ps worth
>
> Lagi
>
> ----- Original Message -----
> From: "Lewis Bergman" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Saturday, January 27, 2001 1:22 PM
> Subject: [PHP] Zend IDE price plans
>
>
> > Is anyone else dissappointed in the limited pricing options of the Zend
> IDE?
> > I would love to buy the commercial license as about half of my work
would
> > fall into that.
> >
> > My problem is I don't want or need anything except the IDE. Are there
> other
> > people in this same boat?
> >
> > I would like the IDE but don't want to pay for a bunch of stuff I don't
> > want or need. I would think that there is some middle-goround somewhere.
> > More than $50.00 for the personal license but less than the $850.00 for
> the
> > whole big ball of wax.
> >
> > I would love to hear what others are thinking on this subject.
> >
> >
> > --
> > 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]
> >
> >
>
>
> --
> 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]
>






lagi wrote:
> 
> They can charge the big companies who pay the microsoft tax for the extra
> nannying that they need/want/expect but why give the razor free and then
> charge  $6000  per  blade? Charge a nobrainer price (for a limited period)
> and we would all jump in i predict.

You mean like the Commercial Subscription ($70/month) ?? The Encoder
SE is available with that plan. In fact, that's almost the whole idea
behind the Commercial subscription: to allow a very low entry for access
to the Encoder technology.

-- 
===========================================================================
   Jim Jagielski   [|]   [EMAIL PROTECTED]   [|]   http://www.jaguNET.com/
          "Casanova will have many weapons; To beat him you will
              have to have more than forks and flatulence."




Lewis & everyone,

An alternative (non-subscription) plan for the IDE will be announced next 
week.  It'll be designed to make the IDE much more affordable for everyone, 
including those who develop for commercial purposes.

Stay tuned!

Zeev

At 15:22 27/1/2001, Lewis Bergman wrote:
>Is anyone else dissappointed in the limited pricing options of the Zend IDE?
>I would love to buy the commercial license as about half of my work would
>fall into that.
>
>My problem is I don't want or need anything except the IDE. Are there other
>people in this same boat?
>
>I would like the IDE but don't want to pay for a bunch of stuff I don't
>want or need. I would think that there is some middle-goround somewhere.
>More than $50.00 for the personal license but less than the $850.00 for the
>whole big ball of wax.
>
>I would love to hear what others are thinking on this subject.
>
>
>--
>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]

--
Zeev Suraski <[EMAIL PROTECTED]>
CTO &  co-founder, Zend Technologies Ltd. http://www.zend.com/





> lagi wrote:
>> 
>> They can charge the big companies who pay the microsoft tax for the
>> extra nannying that they need/want/expect but why give the razor free
>> and then charge  $6000  per  blade? Charge a nobrainer price (for a
>> limited period) and we would all jump in i predict.
> 
> You mean like the Commercial Subscription ($70/month) ?? The Encoder SE
> is available with that plan. In fact, that's almost the whole idea
> behind the Commercial subscription: to allow a very low entry for
> access to the Encoder technology.
As I said before, This encoder stuff may be great for companies that sell 
software and that kind of recurring $70 cost make sense when you are 
selling a product. But, If you are an occasional freelance programmer or 
use php for just your companies sight you could probably care less about 
encoding.

I just want the debugger. Thats it. I hope they make some kind of allowance 
for this as was hinted before but that isn't what Zend told me when I 
inquired about it. They just said "No, but your opinions are considered". 
Obviously Zend can do whatever they want with their own products. I just 
think that something between illeagal and everything should be offered to 
maximize sales.

Also, Does anyone know if the IDE works on the snapshots? I didn't see 
anything to preclude it but it seemed to come packaged with a PHP version. 
I wouldn't want to give up the ability to code with the latest function to 
use an IDE. I guess I could just do without for that instance.





> An alternative (non-subscription) plan for the IDE will be announced
> next  week.  It'll be designed to make the IDE much more affordable for
> everyone,  including those who develop for commercial purposes.
> 
> Stay tuned!
> 
> Zeev
As always, PHP and it's dedicated people come through again!
Hip, hip, HOORAY!
Thanks 





Thats what I wanted to hear maybe the winging did it or maybe they planned
it all along ...

----- Original Message -----
From: "Zeev Suraski" <[EMAIL PROTECTED]>
To: "Lewis Bergman" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Saturday, January 27, 2001 3:34 PM
Subject: Re: [PHP] Zend IDE price plans


> Lewis & everyone,
>
> An alternative (non-subscription) plan for the IDE will be announced next
> week.  It'll be designed to make the IDE much more affordable for
everyone,
> including those who develop for commercial purposes.
>
> Stay tuned!
>
> Zeev
>
> At 15:22 27/1/2001, Lewis Bergman wrote:
> >Is anyone else dissappointed in the limited pricing options of the Zend
IDE?
> >I would love to buy the commercial license as about half of my work would
> >fall into that.
> >
> >My problem is I don't want or need anything except the IDE. Are there
other
> >people in this same boat?
> >
> >I would like the IDE but don't want to pay for a bunch of stuff I don't
> >want or need. I would think that there is some middle-goround somewhere.
> >More than $50.00 for the personal license but less than the $850.00 for
the
> >whole big ball of wax.
> >
> >I would love to hear what others are thinking on this subject.
> >
> >
> >--
> >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]
>
> --
> Zeev Suraski <[EMAIL PROTECTED]>
> CTO &  co-founder, Zend Technologies Ltd. http://www.zend.com/
>
>
> --
> 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]
>
>





Yea, it's true. There was a post a couple of weeks ago from Rasmus
(IIRC) that explained the reasoning: the [] form is used on strings and
arrays, so PHP has to figure out which one it's dealing with before it
can return a result. If $myAr[] and $myStr{} are seperate, the
interpretter will know instantly which one it's dealing with, and the
step can be skipped.

Also, IMO, it helps the programmer - you, too, know when you're dealing
with strings and when you're dealing with arrays, just by the indexing
operator used.

--Toby

Richard Lynch wrote:
> 
> If that's even true (I dunno) maybe because strings in PHP really aren't
> arrays of characters like C...
> 
> And maybe they got plans for arrays that would be too easy to confuse
> syntactically with strings or something...
> 
> [shrug]
> 
> --
> Visit the Zend Store at http://www.zend.com/store/
> Wanna help me out?  Like Music?  Buy a CD: http://l-i-e.com/artists.htm
> Volunteer a little time: http://chatmusic.com/volunteer.htm
> ----- Original Message -----
> From: "Karl J. Stubsjoen" <[EMAIL PROTECTED]>
> Newsgroups: php.general
> Sent: Friday, January 26, 2001 10:58 AM
> Subject: [PHP] Why the Change in Ver 4?
> 
> > > > >Does Version 4 support either { } "squiglees" or [ ] "brackets" in
> this
> > > > >code:
> > > > >
> > > > >if($retrn{strlen($retrn)-1} == '&')
> > > > >-or-
> > > > >if($retrn[strlen($retrn)-1] == '&')
> > > >
> > > > Yes.  This is a 4.x feature only.  The idea is that in the long run,
> []
> > > > will no longer be supported for string offsets, only {} will.
> >
> > What is the motivation behind this change?
> >
> >
> > --
> > 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]
> >
> 
> --
> 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'll step through the following snippet - maybe it'll give you a clearer
explaination.

> <?php
>      $foo = 'Bob';              // Assign the value 'Bob' to $foo
>      $bar = &$foo;              // Reference $foo via $bar.
>      $bar = "My name is $bar";  // Alter $bar...
>   echo $foo;                 // $foo is altered too.
>   echo $bar;
> ?>

1. $foo is assigned the value 'Bob'.
2. an alias to $foo is made. it is $bar. $foo and $bar now both have the
same value, 'Bob'.
3. $bar (and $foo) are assigned a new value; before the assignment takes
place, however, the string to be assigned is evaluated (hence $bar is
still 'Bob' at this point). The value of $bar (and $foo) becomes 'My
name is Bob'.
4. The same value is echo'd twice; thus you get 'My name is BobMy name
is Bob' as your output.

--Toby

Richard Lynch wrote:
> 
> It's not a backwards assignment.  It's more like this:
> 
> $bar = &$foo;
> 
> You now have essentially two variable names 'foo' and 'bar' pointing to the
> same chunk of memory inside the computer.
> 
> If you change one, you change the other:  They are really not two distinct
> variables -- They are the same variables, and are aliases for each other.
> 
> --
> Visit the Zend Store at http://www.zend.com/store/
> Wanna help me out?  Like Music?  Buy a CD: http://l-i-e.com/artists.htm
> Volunteer a little time: http://chatmusic.com/volunteer.htm
> ----- Original Message -----
> From: Noel Akins <[EMAIL PROTECTED]>
> Newsgroups: php.general
> Sent: Friday, January 26, 2001 10:52 AM
> Subject: [PHP] I'm confused about..reffering vars &$
> 
> > Ok, I'm reading the manual for the new php4 stuff. Now, I'm not new to
> php.
> > I started with php/fi with a little script to add links to a database. I
> > did a little work in php3. I just don't make enough php stuff to get a
> frim
> > grip on everything. That is changing as I am building a second pc to serve
> > as a dev box for php4. Here is my first question.
> >
> > This was lifted from the Zend site from the php manual there.
> >
> > To assign by reference, simply prepend an ampersand (&) to the beginning
> of
> > the variable which is being assigned (the source variable). For instance,
> > the following code snippet outputs 'My name is Bob' twice:
> > <?php
> >      $foo = 'Bob';              // Assign the value 'Bob' to $foo
> >      $bar = &$foo;              // Reference $foo via $bar.
> >      $bar = "My name is $bar";  // Alter $bar...
> >   echo $foo;                 // $foo is altered too.
> >   echo $bar;
> > ?>
> >
> >    What I don't see here is how this prints (echo) "My name is Bob". The
> > way I see this is that $bar = &$foo; is a backwards assignment, so that
> > when the script cycles through, it changes $foo from Bob to "My name is
> > $bar", and, to my error prone thinking, it should print out "My name is My
> > name is My name is...".
> >
> > It would make sense to me if it were:
> >
> > <?php
> >      $foo = 'Ed';         // Assign the value 'Ed' to $foo
> >      $bar = &$foo;        // Reference $foo via $bar
> >      $bar = 'Bob';        // changing $foo to 'Bob'
> >      $this = "My name is $bar";
> >      $that = "My name is $foo";
> >    echo $this;                                / /  prints out My name is
> Bob
> >    echo $that;                               / /   prints out My name is
> Bob
> > Maybe I'm not seeing how php rereads or cycles through the script once it
> > sees a "assign by reference"  Could someone explain please?
> > Thank you.
> >
> >
> > --
> > 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]
> >
> 
> --
> 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 use $PHP_SESSID as a hidden variable in my forms, but when people turn off
cookies, I get

Warning: Failed to write session data (files). Please verify that the current
setting of session.save_path is correct (/tmp) in Unknown on line 0

The path looks fine and is writeable.  But no session data is saved.

I'm stumped.

kind regards,

bill

Richard Lynch wrote:

> > i use the session-functions with php4 and everything works fine.
> > but if a visitor turns off cookies nothing seems to work..
> >
> > is there a way to support a sessionid with cookies and thru the url ?
>
> Yes.  Compile PHP --with-trans-id (?) or just echo $PHP_SESSID (or whatever
> it is) into all your URLs and FORMs.
>
> --
> Visit the Zend Store at http://www.zend.com/store/
> Wanna help me out?  Like Music?  Buy a CD: http://l-i-e.com/artists.htm
> Volunteer a little time: http://chatmusic.com/volunteer.htm
>
> --
> 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]





hi,

if i want to index the filenames in a local directory its quite easy using
something like the following:

$startdir = "." ;
$the_directory = opendir($startdir) ;
  while($filename = readdir($the_directory))
{
     print("<br>$filename =<strong> ");
     print(filesize($filename));
     print("</strong>");
}
closedir($the_directory);

But how can I use something like this to index a REMOTE directory?

I have tried $startdir = http://siteiwant.com/; with no joy
:(

Can someone help please
Thanks







At 12:17 AM 1/19/01 -0500, you wrote:
>Does anyone have any suggestions on a good book for beginners. I currently
>own "PHP3 Programming Browser-Based Applications" by David Medinets. I have
>no regrets thus far on purchasing the book but it seems to leave a lot out
>and his examples are somewhat... skewed.
>
>Cheers

I haven't taken any classes on programming, so I was a rank amateur last July.
I've hand-coded HTML since 1995, but this is my first real language.

Julie Meloni's "PHP Essentials" got me up and running so I could complete
two sites with MySQL database connection.

Folks from this list and Leon Atkinson's "Core PHP Programming" are getting
me through the next site, which is strictly PHP/HTML and tracks 350+ variables
over 8 (4 in, 4 out) pages. After a 15 minute study between the two at a
book store, 
I preferred this book over "Professional PHP Programming" because of the many
examples cited in the book (and listings on the CD) and the author's easy
style.

I have only 700 more pages to go, too!  ;)

- 
Larry Jaques, President  1.760.941.8868
DIVERSIFY! Communications  Vista, CA  USA
1991 - Celebrating Our 10th Year in Business - 2001
Comprehensive Website Development  http://diversify.com




Hi,

I worked as a reviewer on the recently release Wrox book, Beginning PHP
Programming.  It's has exceptionally clear examples, and covers all the
bases.  Most of the authors have great writing styles too, and the only
exception occurs towards the end of the book where the examples get very
in-depth.  If you've done half the chapters before that, you won't have any
problems.

Best regards,
Andrew


On 1/27/01 10:21 AM, "Larry Jaques" <[EMAIL PROTECTED]> wrote:

> At 12:17 AM 1/19/01 -0500, you wrote:
>> Does anyone have any suggestions on a good book for beginners. I currently
>> own "PHP3 Programming Browser-Based Applications" by David Medinets. I have
>> no regrets thus far on purchasing the book but it seems to leave a lot out
>> and his examples are somewhat... skewed.
>> 
>> Cheers
> 
> I haven't taken any classes on programming, so I was a rank amateur last July.
> I've hand-coded HTML since 1995, but this is my first real language.
> 
> Julie Meloni's "PHP Essentials" got me up and running so I could complete
> two sites with MySQL database connection.
> 
> Folks from this list and Leon Atkinson's "Core PHP Programming" are getting
> me through the next site, which is strictly PHP/HTML and tracks 350+ variables
> over 8 (4 in, 4 out) pages. After a 15 minute study between the two at a
> book store, 
> I preferred this book over "Professional PHP Programming" because of the many
> examples cited in the book (and listings on the CD) and the author's easy
> style.
> 
> I have only 700 more pages to go, too!  ;)
> 
> - 
> Larry Jaques, President  1.760.941.8868
> DIVERSIFY! Communications  Vista, CA  USA
> 1991 - Celebrating Our 10th Year in Business - 2001
> Comprehensive Website Development  http://diversify.com





At the risk of appearing immodest (a risk I am willing to accept<g>), I
think my current book project, PHP4 FOR DUMMIES (out this summer) will prove
helpful in learning PHP.

--Ralph Roberts


> -----Original Message-----
> From: Andrew Hill [mailto:[EMAIL PROTECTED]]
> Sent: Saturday, January 27, 2001 11:31 AM
> To: Larry Jaques; [EMAIL PROTECTED]
> Subject: Re: [PHP] Good Reads
>
>
> Hi,
>
> I worked as a reviewer on the recently release Wrox book, Beginning PHP
> Programming.  It's has exceptionally clear examples, and covers all the
> bases.  Most of the authors have great writing styles too, and the only
> exception occurs towards the end of the book where the examples get very
> in-depth.  If you've done half the chapters before that, you
> won't have any
> problems.
>
> Best regards,
> Andrew
>
>
> On 1/27/01 10:21 AM, "Larry Jaques" <[EMAIL PROTECTED]> wrote:
>
> > At 12:17 AM 1/19/01 -0500, you wrote:
> >> Does anyone have any suggestions on a good book for beginners.
> I currently
> >> own "PHP3 Programming Browser-Based Applications" by David
> Medinets. I have
> >> no regrets thus far on purchasing the book but it seems to
> leave a lot out
> >> and his examples are somewhat... skewed.
> >>
> >> Cheers
> >
> > I haven't taken any classes on programming, so I was a rank
> amateur last July.
> > I've hand-coded HTML since 1995, but this is my first real language.
> >
> > Julie Meloni's "PHP Essentials" got me up and running so I
> could complete
> > two sites with MySQL database connection.
> >
> > Folks from this list and Leon Atkinson's "Core PHP Programming"
> are getting
> > me through the next site, which is strictly PHP/HTML and tracks
> 350+ variables
> > over 8 (4 in, 4 out) pages. After a 15 minute study between the two at a
> > book store,
> > I preferred this book over "Professional PHP Programming"
> because of the many
> > examples cited in the book (and listings on the CD) and the
> author's easy
> > style.
> >
> > I have only 700 more pages to go, too!  ;)
> >
> > -
> > Larry Jaques, President  1.760.941.8868
> > DIVERSIFY! Communications  Vista, CA  USA
> > 1991 - Celebrating Our 10th Year in Business - 2001
> > Comprehensive Website Development  http://diversify.com
>
>
> --
> 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]
>






Ralph Roberts wrote:
> 
> At the risk of appearing immodest (a risk I am willing to accept<g>), I
> think my current book project, PHP4 FOR DUMMIES (out this summer) will prove
> helpful in learning PHP.

I can't see it at Amazon.com. When you have a cover picture I will put
that book on http://php.net/books.php. Right now I update that page.

-Egon

-- 
SIX Offene Systeme GmbH       ·        Stuttgart  -  Berlin 
Sielminger Straße 63   ·    D-70771 Leinfelden-Echterdingen
Fon +49 711 9909164 · Fax +49 711 9909199 http://www.six.de
Besuchen Sie uns auf der CeBIT 2001,  Halle 6,  Stand F62/4


Reply via email to