Re: [PHP] cookies

2002-07-10 Thread Martin Clifford
Set the cookies expiration to a date that has already passed. The cookie will only last until the browser is closed, since the browser must have just created it. Then it's deleted from the computer since it's past due. Martin >>> "Alexander Ross" <[EMAIL PROTECTED]> 07/10/02 09:43AM >>> How

Re: [PHP] cookies

2002-07-10 Thread Danny Shepherd
To set a session cookie (one that is deleted when the browser window is closed) set a cookie without any expire date/time. To delete a cookie set a cookie of the same name with an expire date in the past. HTH Danny. - Original Message - From: "Alexander Ross" <[EMAIL PROTECTED]> To: <[

Re: [PHP] Dos Paths

2002-07-10 Thread Danny Shepherd
Ah, that'll teach me to actually read the post next time, not just the code :) Danny. - Original Message - From: "Michael Sims" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, July 10, 2002 2:02 PM Subject: Re: [PHP] Dos Paths On Wed, 10 Jul 2002 13:56:39 +0100, you wrote

Re: [PHP] CANT GET STUFF TO WORK

2002-07-10 Thread Mike
Running Slakware linux 2.4.7 kernel... if you want more info you can go to http://www.funyon.com/phpinfo.php and see the phpinfo page. Thanks, Mike - Original Message - From: "Naintara Jain" <[EMAIL PROTECTED]> To: "Mike" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Wednesday, July 10,

[PHP] Re: cookies

2002-07-10 Thread richard . mail
Alexander Ross writes: > How can I set a cookie which expires when the borwser is closed?? How can I > delete a cookie via PHP? > > Thanks > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > simply give it no experation t

RE: [PHP] dumb

2002-07-10 Thread Brinkman, Theodore
Doesn't work for those of us who are on the digest. - Theo -Original Message- From: Kevin Stone [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 09, 2002 4:59 PM To: Brendan P. Caulfield; PHP Subject: Re: [PHP] dumb Thank you brendan my point from the beginning. Outlook users M

[PHP] Re: Dos Paths

2002-07-10 Thread BB
Thanks to all, I actually found a work around with the program I am using and I'm much happier! Thanks for all your input, it'll be useful if i ever need to convert long names to 8.3 :oP --BB "Bb" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I've got an ap

RE: [PHP] Dos Paths

2002-07-10 Thread joakim . andersson
Hi all, It's actually rather easy. ? After this it's just a matter of parsing the dirlist and extracting the right string... Regards Joakim Andersson PS. dir /x works in Windows 2000, not sure about the others... DS. > -Original Message- > From: BB [mailto:[EMAIL PROTECTED]] > Sent:

Re: [PHP] Dos Paths

2002-07-10 Thread Shane Wright
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi I have a problem that's somewhat related to this - I can get short filenames from the OS but I really need long filenames. Does anyone know how to do this? Thanks Shane On Wednesday 10 July 2002 1:14 pm, BB wrote: > I've got an application

[PHP] if syntax

2002-07-10 Thread Alexander Ross
I know this is correct: if ($something) { ... } else { ... } But I recently saw someone use this instead: if($something): ... else: ... Is that also correct?? No brackets needed? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] CANT GET STUFF TO WORK

2002-07-10 Thread Jason Wong
On Wednesday 10 July 2002 21:58, Mike wrote: Please do not top post (ie add your comments/reply at the top), it makes it difficult to follow who said what and when. > Running Slakware linux 2.4.7 kernel... if you want more info you can go to > http://www.funyon.com/phpinfo.php and see the phpin

[PHP] Re: Images in Mysql

2002-07-10 Thread René Fournier
Hi Asaf, Thanks for the advice. That sounds like a good solution. One thing I was wondering about is... when my PHP script saves the uploaded image to the web server, how should the image be named [uniquely]? The problem is that if the user specifes the name of the image file, there's a chanc

Re: [PHP] if syntax

2002-07-10 Thread jepadilla
This will only work if you have a single line of code after the else and if. At least that is my understanding of all languages :) J "Alexander Ross" <[EMAIL PROTECTED]> 07/10/2002 08:25 AM To: [EMAIL PROTECTED] cc: Subject:[PHP] if syntax I know t

Re: [PHP] Dos Paths

2002-07-10 Thread Neil Freeman
FYI - Works in Windows NT 4 SP 6a as well. [EMAIL PROTECTED] wrote: > ** > This Message Was Virus Checked With : SAVI 3.59 May 2002 > Last Updated 8th July 2002 > *

Re: [PHP] if syntax

2002-07-10 Thread Martin Clifford
There are no brackets necessary if you only have one line of code to be executed in the case. For example: if($var == 1) echo "Var equals 1"; } else { echo Var does not equal 1"; } But this is not valid: if($var == 1) echo "Var equals "; echo "1"; } else { } HTH Mar

Re: [PHP] Re: cookies

2002-07-10 Thread lherbst
My experience with cookies that have no expiration date has not been as successful. It seems that (in IE6 anyway) the behavior is inconsistent. Sometimes the cookie would last until I closed the browser, sometimes the cookie would expire in the middle of the session for no apparent reason. This

[PHP] Re: cookies

2002-07-10 Thread vins
Nope thats not they way If you don't specify a expire date it will live for ever or until you delete it. The only way is to set it with an expiry date and then it will delete it'self when the browser closes. Check this by running a file on the same domain with phpinfo(); "Alexander Ross" <[

Re: [PHP] if syntax

2002-07-10 Thread R'twick Niceorgaw
read here for the alternative control structures in php http://www.php.net/manual/en/control-structures.alternative-syntax.php - Original Message - From: <[EMAIL PROTECTED]> To: "Alexander Ross" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Wednesday, July 10, 2002 7:28 AM Subject: Re

Re: [PHP] if syntax

2002-07-10 Thread vins
OK... This is another easy question that everyone has an answer for. Here's mine :D the if statement has many ways of being formed. 1 line code: (Echo or exit command) if(empty($Variable)) exit; else echo "Variable exists Multiple line code: if(empty($Variable)) { header("Location:

Re: [PHP] if syntax

2002-07-10 Thread Chris Hewitt
Alexander, The thing to do is to try it yourself. Yes its OK for single statements (I assume the colon after the "$condition):" is a typo. The first two examples in the manual (Chapter 11, if) show this syntax though not with "else". HTH Chris Alexander Ross wrote: > >if($something): > ...

RE: [PHP] Re: Images in Mysql

2002-07-10 Thread joakim . andersson
> Hi Asaf, > > Thanks for the advice. That sounds like a good solution. One > thing I was > wondering about is... when my PHP script saves the uploaded image to > the web server, how should the image be named [uniquely]? The > problem is > that if the user specifes the name of the image fil

Re: [PHP] if syntax

2002-07-10 Thread Chris Hewitt
Hmm. I should read a bit further myself! I did not know about the colon indicating that there can be many statements before "else" or "endif". I've learnt something as a result, thanks. I should do some more engaging brain before keyboard! Chris Chris Hewitt wrote: > --snip--

[PHP] Generating word documents based on fields in a browser

2002-07-10 Thread Craig
Is this possible I want to create a form, similar to an invoicing system that generates a word document that the user can print out Any help would be gratefully appreciated. craig -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] count number of downloads

2002-07-10 Thread Dietmar Wenglorz
I have a php-script with which one can download a file with a specific format like this: header("Content-type: application/specific"); header("Content-Disposition: attachment; filename=$name.sqrfld"); echo ("output funny stuff..."); and i will count the number of downloa

[PHP] Help with Configure Options

2002-07-10 Thread Jonathan Rosenberg
I am thinking of moving PHP-based web site to a new server. In doing my due diligence, I see that the new server has some different PHP configure options. I was able to make sense of most of them by looking through the PHP web site. But I'm still stumped by some of them. I'm hoping people here

[PHP] Getting PHP to read the mail!

2002-07-10 Thread Henry
Dear all, I'm writting an autoresponder system in PHP. and I'm using wget in my cron jobs to process it. Is there a way that I can process incoming mail in PHP and call the PHP using a similar method? Basically I want to go through all the email messages checking if they are to [EMAIL PROTECTED]

Re: [PHP] Generating word documents based on fields in a browser

2002-07-10 Thread René Moonen
Is this what you mean? René Craig wrote: >Is this possible >I want to create a form, similar to an invoicing system that generates a >word document that the user can print out > >Any help would be gratefully appreciated. > >craig > > > > > -- PHP General Mailing List (http://www.php.n

[PHP] count number of downloads

2002-07-10 Thread Dietmar Wenglorz
I have a php-script with which one can download a file with a specific format like this: header("Content-type: application/specific"); header("Content-Disposition: attachment; filename=$name.sqrfld"); echo ("output funny stuff..."); and i will count the number of downloa

[PHP] Re: Please Remove this Moron

2002-07-10 Thread Scott Fletcher
Grin Actually, it is not too hard to unsubscribe if you're using MS-Outlook Express. "Ashley M. Kirchner" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Kevin Diffily wrote: > > > on 7/9/02 3:29 PM, Erik Hegreberg at [EMAIL PROTECTED] wrote: > > >

Re: [PHP] Generating word documents based on fields in a browser

2002-07-10 Thread David Otton
On Wed, 10 Jul 2002 15:53:36 +0100, you wrote: >I want to create a form, similar to an invoicing system that generates a >word document that the user can print out You may have better luck with RTF (http://www.phpbuilder.com/columns/nair20020523.php3) or PDF (http://www.php.net/manual/en/ref.cpd

[PHP] fopen() ??

2002-07-10 Thread Scott Fletcher
Didn't I read the article somewhere on PHP.net that said that? Using fopen() to open a file, does it attempt to create a file if the file does not exist? I use the fopen() and I get the error message. What is the workaround to it? Thanks, FletchSOD -- PHP General Mailing List (http://www.

RE: [PHP] fopen() ??

2002-07-10 Thread Jay Blanchard
[snip] Didn't I read the article somewhere on PHP.net that said that? Using fopen() to open a file, does it attempt to create a file if the file does not exist? I use the fopen() and I get the error message. What is the workaround to it? [/snip] fopen("filename", "w+"); open the filename or cr

Re: [PHP] Generating word documents based on fields in a browser

2002-07-10 Thread Craig
I know that php can open files. What I was wondering is if it can :- Start Word Open a Word template Generate fields in the template based on hidden fields and generate the page "David Otton" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > On Wed, 10 Jul 2002

[PHP] Re: (OT) Our Spam Friend

2002-07-10 Thread Joshua E Minnie
Serves our spam "friend" right... now we can get on with our lives. "Chris Shiflett" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I just thought this was worth sharing. :-) > > - The following addresses had permanent fatal errors - > <[EMAIL PROTECTE

Re: [PHP] fopen() ??

2002-07-10 Thread Scott Fletcher
Thanks a million!!! "Jay Blanchard" <[EMAIL PROTECTED]> wrote in message 002401c22824$2b1e87b0$8102a8c0@niigziuo4ohhdt">news:002401c22824$2b1e87b0$8102a8c0@niigziuo4ohhdt... > [snip] > Didn't I read the article somewhere on PHP.net that said that? Using > fopen() to open a file, does it attempt

[PHP] session error ... I think

2002-07-10 Thread Alexander Ross
what does this mean: Warning: Cannot send session cache limiter - headers already sent (output started at /home/.edy/alexross/bleen.net/forum/discussion_fns.php:88) in /home/.edy/alexross/bleen.net/forum/index.php on line 5 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, vis

[PHP] Re: session error ... I think

2002-07-10 Thread vins
did you echo anything or place this session cache command after any html ?? coz if you did it means you can't change any header information once you've displayed something kinda like this you can change the header information on an email you just sent "Alexander Ross" <[EMAIL PRO

[PHP] Re: (OT) Our Spam Friend

2002-07-10 Thread Scott Fletcher
Ha ha! Now, what did that spammer do? I don't have the copy of the posting of the last few days. I just flushed it into the garbage bin "Joshua E Minnie" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Serves our spam "friend" right... now we can get on with

[PHP] Re: Getting PHP to read the mail!

2002-07-10 Thread Henry
I have --with-imap for my php installation. Does that help? Henry "Henry" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Dear all, > > I'm writting an autoresponder system in PHP. and I'm using wget in my cron > jobs to process it. Is there a way that I can p

Re: [PHP] Re: cookies

2002-07-10 Thread Danny Shepherd
No, I just tested it myself - if you set a cookie with no expire date it exists until the browser window is closed. My code: Close the window then return and the cookie should be gone"; } ?> HTH Danny. - Original Message - From: "vins" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent

Re: [PHP] Generating word documents based on fields in a browser

2002-07-10 Thread David Otton
On Wed, 10 Jul 2002 16:13:53 +0100, you wrote: >"David Otton" <[EMAIL PROTECTED]> wrote in message >[EMAIL PROTECTED]">news:[EMAIL PROTECTED]... >> On Wed, 10 Jul 2002 15:53:36 +0100, you wrote: >> >I want to create a form, similar to an invoicing system that generates a >> >word document that t

[PHP] sessions

2002-07-10 Thread Alexander Ross
I'm trying to understand sessions so I can set session variables. I set up 2 very simple pages: Page 1: Click here Page 2: This doesn't seem to work though. $test_var doesn't seem to have a value when I go the second page. What am I missing. Thanks for helping a newbie. Alex -- PH

Re: [PHP] fopen() ??

2002-07-10 Thread Scott Fletcher
That doesnt' work! Never mind! I'll manually create a blank file and put it there! "Scott Fletcher" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Thanks a million!!! > > "Jay Blanchard" <[EMAIL PROTECTED]> wrote in message > 002401c22824$2b1e87b0$8102a8c0@n

Re: [PHP] sessions

2002-07-10 Thread Martin Clifford
Hi Alexander :o) You have to have session_start() at the top of EACH page that will hold session registered variables. So just rewrite it like this: Page 1: Click here Page 2: Hope this helps! Martin >>> "Alexander Ross" <[EMAIL PROTECTED]> 07/10/02 11:23AM >>> I'm trying to understan

RE: [PHP] fopen() ??

2002-07-10 Thread Jay Blanchard
You need to have permission to write to the file. Might I also suggest that you include the full path to the file. -Original Message- From: Scott Fletcher [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 10, 2002 10:34 AM To: [EMAIL PROTECTED] Subject: Re: [PHP] fopen() ?? That doesnt'

Re: [PHP] fopen() ??

2002-07-10 Thread David Otton
On Wed, 10 Jul 2002 11:33:52 -0400, you wrote: > >"Scott Fletcher" <[EMAIL PROTECTED]> wrote in message >[EMAIL PROTECTED]">news:[EMAIL PROTECTED]... >> Thanks a million!!! >> > Didn't I read the article somewhere on PHP.net that said that? Using >> > fopen() to open a file, does it attempt to c

Re: [PHP] Generating word documents based on fields in a browser

2002-07-10 Thread Craig
I need to be able to keep a record of documents created. I have found this but failed to get it to work Version)\n"; $word->visible = 1 ; $word->Documents->Add(); $word->Selection->Typetext("This is a test"); ?> does anyone recognise this? -- PHP General Mailing List (http://www.php.net

Re: [PHP] Generating word documents based on fields in a browser

2002-07-10 Thread Chris Hewitt
Craig, Its not PHP but HTML. I do this for a client. Make a Word document as needed, save it as rtf. Put a link onto my html page calling a particular routine. The routine reads the .rtf file, looking for replaceable parameters, replacing them with the customised values for this customer and

Re: [PHP] sessions

2002-07-10 Thread jepadilla
After redoing my entire site because of session let me give ya some help. $_SESSION["test_var"] = "froggy"; then on page two session_start(); print $_SESSION["test_var"]."!"; a few tips I have run into SESSION needs to be all caps, otherwise php gets cranky. I am fairly sure in forms you nee

Re: [PHP] fopen() ??

2002-07-10 Thread Scott Fletcher
I have the full file path already. It is the permission. Everytime I move the website to a different machine, the permission is set back to the default. "David Otton" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > On Wed, 10 Jul 2002 11:33:52 -0400, you wrot

Re: [PHP] CANT GET STUFF TO WORK

2002-07-10 Thread Mike
- Original Message - From: "Jason Wong" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, July 10, 2002 10:25 AM Subject: Re: [PHP] CANT GET STUFF TO WORK > On Wednesday 10 July 2002 21:58, Mike wrote: > > Please do not top post (ie add your comments/reply at the top), it make

Re: [PHP] fopen() ??

2002-07-10 Thread Scott Fletcher
So, manually create a file took care of that. "David Otton" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > On Wed, 10 Jul 2002 11:33:52 -0400, you wrote: > > > >"Scott Fletcher" <[EMAIL PROTECTED]> wrote in message > >[EMAIL PROTECTED]">news:[EMAIL PROTECTED]..

[PHP] Development Tools

2002-07-10 Thread Mark McCulligh
I am looking for a good Development tool to write my PHP in and was wondering what people are using out there. I have been looking at Dreamweaver MX, Zend Studio 2.5 and phpEdit. I know UltraDev 4 well with ASP, but the new MX now supports PHP. This MX/PHP any good? Zend looks good with the int

Re: [PHP] Development Tools

2002-07-10 Thread B i g D o g
PHPED is really good if you have the money to spend... B i g D o g - Original Message - From: "Mark McCulligh" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, July 10, 2002 9:42 AM Subject: [PHP] Development Tools > I am looking for a good Development tool to write my P

Re: [PHP] Development Tools

2002-07-10 Thread Martin Clifford
I use the almighty Notepad for my coding. When I'm at home, however, I typically use Macromedia Homesite 5 (simply because it has PHP syntax highlighting). I tried using PHPEdit, but I thought it was horrible. It was buggy, and annoying. PHP Master Editor is VERY good, and you can probably f

Re: [PHP] (OT) Our Spam Friend

2002-07-10 Thread Joshua E Minnie
Why not just use this code: "Vins" <[EMAIL PROTECTED]> wrote: > while($x != $count) > { > mail(The Creap, $x) > $x++; > } > ?> > Note there isn't a count variable > then the only person that can stop it is the system op on the free server. -- PHP General Mailing List (http://ww

RE: [PHP] Development Tools

2002-07-10 Thread Dan Vande More
Mark, I have been developing with PHP for 1 year now, and about 1 month ago got DMX, I have to say that I spend much much less time on building forms and little repetitive work, and more on building applications. I would have to say that DMX increased my productivity by at least 5 times.(I su

Re: [PHP] Development Tools

2002-07-10 Thread Neil Freeman
Maguma Studio Light is pretty good - www.maguma.com Mark McCulligh wrote: > ** > This Message Was Virus Checked With : SAVI 3.59 May 2002 > Last Updated 8th July 2002 > ***

Re: [PHP] Development Tools

2002-07-10 Thread Bret L Conard
>When I'm at home, however, I typically use Macromedia Homesite 5 >(simply because it has PHP syntax highlighting). Ditto (except v4.0) I like it for support of lots of languages. Javascript, ASP, PHP, CFM etc. Bret - Original Message - From: "Martin Clifford" <[EMAIL PROTECTED]> To: <

Re: [PHP] Development Tools

2002-07-10 Thread Mark McCulligh
I have been using UltraDev for the last year with my ASP code and it is great. The best I have seen let for ASP. But UltraDev with PHP is mainly just a fancy Notepad. But it sounds like they did a good job with MX/PHP. Also if MX work the same way they did UltraDev you can edit the code it writ

Re: [PHP] Development Tools

2002-07-10 Thread Uwe Birkenhain
I think that - on windows - nothing is better than textpad (www.textpad.com). Simply the best editor the world has seen so far! What makes development tools better than a good editor? (serious question) Uwe -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.p

[PHP] Re: Geting PHP Version

2002-07-10 Thread Skyhawk
Thanks, bye Skyhawk "Mark McCulligh" <[EMAIL PROTECTED]> escreveu na mensagem 009801c22813$bd5a5a20$[EMAIL PROTECTED]">news:009801c22813$bd5a5a20$[EMAIL PROTECTED]... > You a use the command mysql_get_server_info(). > > Example: > mysql_connect("localhost", "user", "password") or >

Re: [PHP] Dos Paths

2002-07-10 Thread Chris Earle
By Winblows does that mean you think Windows blows or that you guys don't have a compiler for Windows? Borland gives out a free C++ compiler for Win... If you're running Linux, then get gcc/g++, it's free. "Bb" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... >

RE: [PHP] Development Tools

2002-07-10 Thread Jay Blanchard
[snip] What makes development tools better than a good editor? (serious question) [/snip] Over the course of time (I have been writing code for 25 years, many languages, some compiled, some not) I have found that the most useful tool in the arsenal is a good editor with no more features than line

Re: [PHP] Development Tools

2002-07-10 Thread Zac Hillier
Can't agree more, it's fine having Ultradev and the rest to get you started but the best end results come from understanding and writing code that is not bloated. For a great text editor that has all the features identified in PHPEdit but none of the bugs try JEdit www.jedit.org Zac - Origi

Re: [PHP] Development Tools

2002-07-10 Thread Alberto Serra
ðÒÉ×ÅÔ! gEdit rulez! :) well, I seldom make files any bigger than a couple of scrolls, so... much depends on your programming style. And habits. But I am with Uwe. Nothing like a plain text editor. Maybe I am just too old to understand novelty LOL ÐÏËÁ áÌØÂÅÒÔÏ ëÉÅ× @-_=}{=_-@-_=}{=_-@-_=}{=_-

Re: [PHP] Development Tools

2002-07-10 Thread Bret L Conard
snip/ but often find myself using an editor on the code created by these. So to answer the question above ... nothing beats a good editor. Jay /snip Hence the happy medium of Homesite. acts as a basic text editor but allows some support for coding when needed/wanted. IMHP Bret - Ori

Re: [PHP] Development Tools

2002-07-10 Thread Todd Cary
I agree completely. Here is an editor I like because it can be customized. http://www.gwdsoft.com/ Todd -- Todd Cary Ariste Software 2200 D Street Extension Petaluma, CA 94952 707-773-4523 [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www

RE: [PHP] Development Tools

2002-07-10 Thread Brian McGarvie
HTML-Kit does it for me... great customisability... > -Original Message- > From: Bret L Conard [mailto:[EMAIL PROTECTED]] > Sent: 10 July 2002 5:25 PM > To: [EMAIL PROTECTED] > Subject: Re: [PHP] Development Tools > > > snip/ > but often find myself using an editor on the code > created

Re: [PHP] Development Tools

2002-07-10 Thread John S. Huggins
Dreamweaver has come along nicely. I have only dabbled at the MX version. Ultraedit, http://www.ultraedit.com/, has proven to be very nice at handling editing tasks of PHP, HTML, SQL, and hundreds of other languages. It can edit files via FTP which was useful to me years ago and continues to b

RE: [PHP] banner rotation and advertisement

2002-07-10 Thread Lazor, Ed
Try SourceForge.net and search for PHP banner rotation. There are several freely available programs doing exactly what you're looking for. -Original Message- From: Andy [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 09, 2002 11:20 PM To: [EMAIL PROTECTED] Subject: [PHP] banner rotation a

[PHP] Security with XML

2002-07-10 Thread Chris Earle
I've created a db like system with XML and PHP, and I want to require a username/password to change the contents of the file. How should I go about documenting the username/password? The contents of the site aren't really all to important (no financial info or anything like that, mostly just lin

[PHP] (OT) Erik Hegreberg - need headers for abuse@online.no

2002-07-10 Thread Jason Soza
Hey, I got a response from [EMAIL PROTECTED] regarding Erik Hegreberg's little stunt yesterday and they want full headers from the message in question. I thought all headers were going with my message to [EMAIL PROTECTED] when I forwarded, but apparently they got stripped by my client. Unfor

[PHP] Appending to a file

2002-07-10 Thread Chris Earle
I'm just curious if there's a function that allows you to see how many lines there are in a file. I could just set up a while(!feof($fp)) { fgets($fp); count++; } obviously, but I'm curious if there's a function built in like "flines($fp)" that I haven't noticed at php.net? -- PHP General Mai

[PHP] Look below

2002-07-10 Thread Chris Earle
There's a bunch of headers below that have been replied to... some still have his information inside. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] newbie regex question..

2002-07-10 Thread Kelly Meeks
Hi folks, I'm trying my hand at some pattern matching, and I have a question. I need to take all the text between the title tags of a page, and replace it. This I can do, with the following: $fixedfile=ereg_replace(".*","", $fixedfile); works like a charm Now I want to delete everything

Re: [PHP] Development Tools

2002-07-10 Thread Martin Clifford
Exactly. Homesite is, in essence, Dreamweaver MX without the WYSIWYG. Syntax highlighting and code completion make it a very viable editor. I can't stand that WYSIWYG crap. I'm plenty good at messing up my own code without assistance, thank you very much! :o) Martin >>> "Bret L Conard" <[

[PHP] Re: Development Tools

2002-07-10 Thread Philip Hallstrom
Well, this will start a war, but vim is available for windows... take a bit of getting used to, but once you do it's awesome. and if you end up on a unix box that has it you don't have to relearn anything. -philip On Wed, 10 Jul 2002, Mark McCulligh wrote: > I am looking for a good Development

[PHP] Re: help pls..

2002-07-10 Thread Chris Earle
I'd create an array that held the Change value (0 [false] or 1 [true]) for each. Then I'd make a loop that just set up the table with an if statement: "if ($Change[$count]) { echo $bg; }". $Change[0] would correspond with ph1, unless you started the array(1 => ...). "Peter" <[EMAIL PROTECTED]> w

[PHP] Accessing multiple List/Menu values

2002-07-10 Thread Joseph Szobody
This is sorta OT, but involves PHP. I have a fairly large List/Menu on a form, which allows for multiple selections. I want users to be able to use cntrl/shift-click to select a bunch of items. Let's say this List is called 'list'. Now when I submit the form, how does the processing script acc

Re: [PHP] Accessing multiple List/Menu values

2002-07-10 Thread B i g D o g
Search the archives...this has been answered by me and many others... B i g D o g - Original Message - From: "Joseph Szobody" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, July 10, 2002 12:02 PM Subject: [PHP] Accessing multiple List/Menu values > This is sorta OT, but

Re: [PHP] Accessing multiple List/Menu values

2002-07-10 Thread Martin Clifford
Have you tried like this? Yahoo! ... PHP.net Then access the array on the processing page. Martin >>> "Joseph Szobody" <[EMAIL PROTECTED]> 07/10/02 02:02PM >>> This is sorta OT, but involves PHP. I have a fairly large List/Menu on a form, which allows for multiple selections. I

[PHP] register_globals, the manual, and you.

2002-07-10 Thread Philip Olson
The manual is up-to-date on this topic, for questions related to register_globals and form variables please feel free to point to: http://www.php.net/manual/en/language.variables.external.php Or the shortcut (all man pages work this way): http://www.php.net/variables.external In fact, i

Re: [PHP] Re: Development Tools

2002-07-10 Thread Gerard Samuel
Absolutely true. Even though I haven't learned vi, I have to soon. IMHO, I think I learned php the best way by coding with a no frills editor ee With only line numbering and basic search (not search/replace), I think I picked up on php rather quickly, than depending on a debugger to tell me

[PHP] Automatic Form creation

2002-07-10 Thread CM
Are there any php scripts or classes that do Automatic Form Creation? If it worked from a MySQL datbase that would be a plus. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Development Tools

2002-07-10 Thread Mark McCulligh
I agree about WYSIWYG. I use UltraDev a lot, but don't use the WYSIWYG very much again more. UltraDev is great at managing your site and syntax highlighting. I love the update feature (change a file/image name and it updates all pages that use them to the new name) Also about plain programming

RE: [PHP] Security with XML

2002-07-10 Thread Andrew Chase
You could store passwords as MD5 hashes which of course is NOT really encryption, but it would obfuscate the users' passwords. They would still be vulnerable to social engineering ("Hmm, I'll try his wife's name, then his dog's name, then his phone#," etc) and brute force ("I'm going to run every

Re: [PHP] Automatic Form creation

2002-07-10 Thread Martin Clifford
That all depends on what the form is for, what it has to do, how many fields it needs, etc. You'd be better off writing a function to create your forms, if you ask me. Just my $20.00 (big mouth) Martin >>> "CM" <[EMAIL PROTECTED]> 07/10/02 01:14PM >>> Are there any php scripts or classes that

[PHP] Date formatting

2002-07-10 Thread Rw
Had trouble getting this posed at the newsgroup - will try on the maillist here: I have a date field passed in a form like this: "01-02-2003" Is there a handy function to convert that to other ways of expressing the date such as: "01/02/03" OR "2003-01-02" I know the syntax of the date form

Re: [PHP] Generating word documents based on fields in a browser

2002-07-10 Thread Chris Earle
Ya, I did it with ASP (customer requested) about 2 months ago... "Chris Hewitt" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Craig, > > Its not PHP but HTML. I do this for a client. Make a Word document as > needed, save it as rtf. Put a link onto my html pa

[PHP] reports and reporting options?

2002-07-10 Thread Jeff D. Hamann
I've got a project that requires lots of "goofy" reports. These reports are more than a simple html table (which would be nice) that the client wants to print out on standard 8.5x11 paper. Crystal Reports type of reports. I need to be able to produce these from PHP scripts and I'm looking for a so

Re: [PHP] reports and reporting options?

2002-07-10 Thread Rasmus Lerdorf
php.net/pdf On Wed, 10 Jul 2002, Jeff D. Hamann wrote: > I've got a project that requires lots of "goofy" reports. These reports are > more than a simple html table (which would be nice) that the client wants to > print out on standard 8.5x11 paper. Crystal Reports type of reports. I need > to b

[PHP] Re: sessions

2002-07-10 Thread colin mcdonald
try this (I think you have register_globals turned off) > Page 2: > > print $_SESSION['test_var']."!"; > ?> > Alexander Ross wrote: > I'm trying to understand sessions so I can set session variables. I set up 2 > very simple pages: > > Page 1: > > session_start(); > $test_var = "froggy

RE: [PHP] Date formatting

2002-07-10 Thread Dan Vande More
To convert from user format to mysql I use: $training_date=$_POST["training_date"]; $training_date=str_replace("-", "/", $training_date);//strtotime doesnt seem to work right if it has 12-25-2002, but does if it has 12/25/2002 $training_date=strtotime($training_date); $training_date=date("Y-m-d"

Re: [PHP] Security with XML

2002-07-10 Thread Chris Earle
Are you telling me that you cannot look at "37b51d194a7513e45b56f6524f2d51f2" and see that the is the same as "bar"? ... Just kidding. Thanks for the tip, that makes a lot of sense. "Andrew Chase" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > You could store

[PHP] Cannot Insert into Paradox Tables...

2002-07-10 Thread Kondwani Spike Mkandawire
I am trying to insert info. into a paradox table but receive the following message after inputting the data into the approriate fields... Warning: SQL error: [Microsoft][ODBC Paradox Driver] Operation must use an updateable query., SQL state S1000 in SQLExecDirect in c:\program files\apache group

Re: [PHP] Re: (OT) Our Spam Friend ;))))))))))))))))) 8PPP

2002-07-10 Thread Ricardo Fitzgerald
heheheehhee ;)) > Serves our spam "friend" right... now we can get on with our lives. > > "Chris Shiflett" <[EMAIL PROTECTED]> wrote in message > [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > I just thought this was worth sharin

[PHP] SQL field problem

2002-07-10 Thread mail
Hello I have a problem with mysql.I create a table with a field "kat".In this field are entries like this : Light Dark Dark Light Robot Find Dark Light You see that all entries are not unique.So i want to list as output all entries but only once.If the word "Dark" is in the table 6 times php

[PHP] sessions

2002-07-10 Thread Djurovski Dejan
How can I configure my scripts to store sessions in MySQL? -- Ðurovski Dejan [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] SQL field problem

2002-07-10 Thread Lazor, Ed
You can refer to fields by their number. $Row[3]; -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 10, 2002 10:40 AM To: [EMAIL PROTECTED] Subject: [PHP] SQL field problem Hello I have a problem with mysql.I create a table with a field "kat".

<    1   2   3   4   >