Re: [PHP] Homepage

2001-01-17 Thread Alexander Wagner
S Bey wrote: > Just a small (and hopefully easy) question. > > Is there a PHP equivalent of index.html? I want to be able to go straight > to a PHP script without the user specifying the filename. This is not a PHP-issue, its just a matter of how your webserver is configured. With apache, you ju

Re: [PHP] PHP Win32 and *NIX

2001-01-17 Thread Alexander Wagner
Marc Clerc wrote: > > Is there a difference in the way PHP parses scripts in various operating > systems? I've gotten opinions that say PHP under Linux parses > more/different code than does under Windows NT. It's mostly the same. But there are a few things that won't work on Windows, like cry

Re: [PHP] include statement

2001-01-17 Thread Alexander Wagner
Michael Zornek wrote: > which is scary cause this worked too: > > include("/usr/local/apache/conf/httpd.conf"); > ?> > > doesn't this seem like a huge security hole? No. If you know can trust your scripts, this is possible, but trusted scripts won't do any abuse, will they? If you can't trust y

Re: [PHP] I love/hate FrontPage - need another HTML editor.

2001-01-17 Thread Alexander Wagner
Scott Gerhardt wrote: > It is NOT ported to Linux is it? > I couldn't find any information on the website indicating weather it was > compiled for *NIX or not. Use emacs. Or vi. Or quanta. Or something else. Wagner -- One maniac alone can do what 20 together cannot -- PHP General Mailing Lis

Re: [PHP] HELP WITH UPLOAD REQUIRED!!!!!!!!

2001-01-15 Thread Alexander Wagner
Josh G wrote: > A rose by any other name would smell as sweet, and I'm sure I > remember deleting files back in my old dos days, not to mention > win95 ;-) Um, I suppose every OS does. (I deleted one file or another as well) However this was about unlink, wasn't it? Unlink, basically, is a UNIX

Re: [PHP] HELP WITH UPLOAD REQUIRED!!!!!!!!

2001-01-15 Thread Alexander Wagner
Josh G wrote: > Unlink works on some installations, not others. I think it works on NT > but not 95 or perhaps the other way around. Why is this? Unlink is > hardly an unsupported system call in windows! Anybody know? Unlink comes from UNIX so it's probably supported by NT rather than Win9x. This

Re: [PHP] Use

2001-01-13 Thread Alexander Wagner
Arcady Genkin wrote: > I have noticed that in documentation, how safe is it to use it? Pretty safe, I think. Possibly even safer than those asp-style tags, regarding possible changes in the future. Wagner -- Sanity is calming, but madness is more interesting. -- PHP General Mailing List (h

Re: [PHP] mixing HTML and PHP code

2001-01-12 Thread Alexander Wagner
Alex Black wrote: > Speaking as a not-pot-smoking mac-using only partially hippie web designer: > > why bother with creating your own syntax? > > why not just explain some _super_basic_ php syntax to the "html dude" and > have him do the code himself? > > also, dreamweaver nicely ignores Actuall

Re: [PHP] mixing HTML and PHP code

2001-01-12 Thread Alexander Wagner
Alex Black wrote: > >> part of the point was for _PHP_ to be embedded html, in my opinion your > > > > It was created that way. It still is possible. Is can be quite handy, > > sometimes (or often, depends on what you do). That doesn't mean you have > > to use it. > > I'm not implying that there a

Re: [PHP] mixing HTML and PHP code

2001-01-12 Thread Alexander Wagner
Alex Black wrote: > > > > and the problem with that, is you're not paring tons of html through a > search-replace function, which also created unnecessary overheead, and You have a point here. Template-systems are slow. > forces you (once again) to make a spec that says "here's how this templat

Re: [PHP] mixing HTML and PHP code

2001-01-11 Thread Alexander Wagner
Alex Black wrote: > echo " value=\"$value\">" > > starts to make you insane. If it is done wrong spread over the whole project hidden between lines of PHP-code, it sure does. > speaking as an html author, and a lover of php, _please_: > > > > it makes the code useable. No. makes the code u

Re: [PHP] Shopping Cart Schema - Sessions

2001-01-11 Thread Alexander Wagner
Paul K Egell-Johnsen wrote: > What really irked me is that you've received advice about market > penetration of shops. Based on my experience it is only geeks/OSS people > who have any problem with cookies, and at the same time those are the > people who are experts and then deal out advice about

Re: [PHP] Shopping Cart Schema - Sessions

2001-01-11 Thread Alexander Wagner
Paul K Egell-Johnsen wrote: > When in doubt, follow the stream... Check out this, Amazon uses cookies, > Amazon does a lot of business. Do you really feel that Amazon misses out > on a lot of customers? Do you know of any large websites doing shopping > carts which doesn't rely on cookies? I don'

Re: [PHP] looking for a PHP editor

2001-01-11 Thread Alexander Wagner
Toby Butzon wrote: > Come on... mixing PHP and HTML in the same file isn't bad > style... in fact it can make things easier to read, if you > do it right. > > This is one of PHP's biggest features... otherwise we'd just > have another Perl... > > my .02... There are more differences between P

Re: [PHP] looking for a PHP editor

2001-01-10 Thread Alexander Wagner
Alexander Wagner wrote: > Who needs that? Nesting PHP in HTML is bad style, IMHO. > Just because it is possible, ... is no reason to do it, I wanted to say. *whistle* Wagner -- Sanity is calming, but madness is more interesting. -- PHP General Mailing List (http://www.php.ne

Re: [PHP] php 4 isn't parsing php.3 files

2001-01-10 Thread Alexander Wagner
[EMAIL PROTECTED] wrote: > I have a SuSE 7.0 Linux install with apache and mod_php4. I can > do .php files all day long, but I have a shopping cart thingie that > is written for php3, and none of the files will parse. I have tested > my machine with a phpinfo() php3 file, and no go on that either.

Re: [PHP] looking for a PHP editor

2001-01-10 Thread Alexander Wagner
MR wrote: > Mmmmfff... ultraedit's wordlist file still lacks the color of > allaire's homesite - it does detect which parts of the .php file are > HTML and what parts of the file are PHP code, and colours syntax very > well... Who needs that? Nesting PHP in HTML is bad style, IMHO. Just becau

Re: [PHP] Dreamwever for PHP?

2001-01-10 Thread Alexander Wagner
Marcus Ouimet wrote: > Are there any programs that have a graphical interface like dreamweaver for > PHP? Are you aware what PHP actually IS? Graphical frontends for programming languages are usually used only for the GUI part. What would you expect? Something to write your code for you? There

Re: [PHP] Shorter way for "each"

2001-01-10 Thread Alexander Wagner
Moritz Petersen wrote: > is there a shorter way to do: > > while (list($key, $value) = each($my_array)) > { > echo $value... > } > > I just need the value! PHP3: while (list(, $value) = each($my_array)) { echo $value... } PHP4: foreach ($my_array as $value) { echo $value..

Re: [PHP] looking for a PHP editor

2001-01-10 Thread Alexander Wagner
Toby Miller wrote: > As far as Linux goes, Jedit is the only editor I've been able to find that > compares against something like Textpad or UltraEdit. It should be stated here that vi (vim, gvim) and emacs (xemacs) belong to a different class of editor. If you know how to handle them (which may

Re: [PHP] looking for a PHP editor

2001-01-10 Thread Alexander Wagner
Markus H. Maussner wrote: > ...i am curious if theres anny linux (x, KDE, Gnome) php editor with syntax > highliting and this things... emacs and xemacs shouldn't be forgotten here. Wagner -- One maniac alone can do what 20 together cannot -- PHP General Mailing List (http://www.php.net/) To

<    1   2