Re: [PHP] a good PHP editor

2001-07-18 Thread Jeff Lewis
Try PHP Coder, I like it and use it when I don't use Notepad: www.phpide.de Jeff - Original Message - From: "doug" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, July 18, 2001 2:50 PM Subject: Re: [PHP] a good PHP editor > Ok I downloaded and looked at a few and the winne

RE: [PHP] a good PHP editor

2001-07-18 Thread Martin Marconcini
> > | EditPlus (editplus.com - not free but easily crackable through a simple > | search on astalavista.box.sk) A great editor - believe me. That is completely off topic... and has nothing to do here... Warez, Cracks and Serial numbers has their own lists. And in fact, editplus costs less than

RE: [PHP] sql query successful

2001-07-18 Thread Christopher Ostmo
Mark Roedel pressed the little lettered thingies in this order... > > -Original Message- > > From: Christopher Ostmo [mailto:[EMAIL PROTECTED]] > > Sent: Wednesday, July 18, 2001 2:43 PM > > To: [EMAIL PROTECTED] > > Subject: Re: [PHP] sql query successful > > > > > > Your statement abo

Re: [PHP] Fw: Data from SQL to a string in a useable format

2001-07-18 Thread Sheridan Saint-Michel
This may be way out in left field... but since no one else seems to be answering, Have you considered using something like base64_encode? http://www.php.net/manual/en/function.base64-encode.php That would change your image to plaintext without any characters that need to be escaped. The when yo

RE: [PHP] sql query successful

2001-07-18 Thread Mark Roedel
> -Original Message- > From: Tyler Longren [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, July 18, 2001 1:36 PM > To: Mark Roedel; php-general > Subject: Re: [PHP] sql query successful > > > What about when DELETING from a table??? It always returns true. > Example...the highest ID in th

[PHP] SITE/PAGE C.A.S.E. tool project

2001-07-18 Thread Dennis Gearon
I would just like a show of hands(emails) of those interested in having a WEB/PHP based Finite State Machine (FSM) tool that would allow designing AND displaying the decision logic of a page or site. (look It would use SSL to transfer data to/from the web interface. It would use SCP/SFTP to trans

Re: [PHP] Fw: Data from SQL to a string in a useable format

2001-07-18 Thread Jason Bell
I will certainly give it a try... Thanks! - Original Message - From: "Sheridan Saint-Michel" <[EMAIL PROTECTED]> To: "php-general" <[EMAIL PROTECTED]> Sent: Wednesday, July 18, 2001 11:57 AM Subject: Re: [PHP] Fw: Data from SQL to a string in a useable format > This may be way out in le

[PHP] Fwd: Rogue Cookie interference

2001-07-18 Thread Jason Bauer
I recently received a note from a user of my PHP website saying that they came to my page and received no content. After investigating the problem, I found that another site (doubleclick.net to be specific) had set a cookie with the same name as a variable (id) that my script uses to determine

[PHP] adding the date to a database

2001-07-18 Thread Brad Wright
Hi, I have a database with a 'date' field. What is the syntax for using the (mysql) function 'getdate()', to insert the date into the DB table. the syntax I'm currently using is: $query = "Insert INTO visits (visName, date) values ('$name', getdate()) " ; $result = mysql_query($query,

RE: [PHP] OT Math Question...thanks all

2001-07-18 Thread rm
Thanks, talk about a painfully obvious answer rm __ Do You Yahoo!? Get personalized email addresses from Yahoo! Mail http://personal.mail.yahoo.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED]

Re: [PHP] adding the date to a database

2001-07-18 Thread Christopher Ostmo
Brad Wright pressed the little lettered thingies in this order... > Hi, > I have a database with a 'date' field. What is the syntax for using the > (mysql) function 'getdate()', to insert the date into the DB table. > the syntax I'm currently using is: > $query = "Insert INTO visits (visName, da

[PHP] Code Refusing to Die

2001-07-18 Thread Sheridan Saint-Michel
Okay... I can't figure out why this isn't working... When I enter in a valid URL this function works fine... The problem is when I enter an invalid url, rather than getting my (semi) friendly die error I get Warning: fopen("http://www.foxjet.com/html/fjmain.html","r";) - Unknown error in /hom

[PHP] remove me from php list

2001-07-18 Thread danny brown
thanks -- 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]

Re: [PHP] remove me from php list

2001-07-18 Thread Jason Bell
remove yourself. :) > To unsubscribe, e-mail: [EMAIL PROTECTED] - Original Message - From: "danny brown" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, July 18, 2001 12:25 PM Subject: [PHP] remove me from php list > thanks > > > -- > PHP General Mailing List (htt

RE: [PHP] Command line args HELP!!!

2001-07-18 Thread Don Read
On 18-Jul-2001 Paul A. Procacci wrote: > Hey all, > I tried passing an argument to a php script that had a plus sign (+) > in one of the arguments. Observe the following: > > > http://altavista.com/sites/search/web?q=task+management&pg=q&kl=XX > > As it turns out the argument gets split i

[PHP] Slash Problems When Using PHP and POST.

2001-07-18 Thread Corin Rathbone
I have created a php page that loads a file into a textarea. You can then edit the file and click "Save" and it POSTS it to the same page (edit.php) on the server. It saves it but it adds slashes before any speech marks (""). Can somebody please help me with this. It changes: to: Below is the

RE: [PHP] limiting text output

2001-07-18 Thread Don Read
On 18-Jul-2001 chris schneck wrote: > Hey all, > was curious if anyone has had experience with limiting the amount of text > pulled from a database and placing a link and the end of the excessive text > line. > ie. the description of a product could be 800 characters long, how can it be > shorten

RE: [PHP] adding the date to a database

2001-07-18 Thread Don Read
On 18-Jul-2001 Brad Wright wrote: > Hi, > I have a database with a 'date' field. What is the syntax for using the > (mysql) function 'getdate()', to insert the date into the DB table. > the syntax I'm currently using is: > $query = "Insert INTO visits (visName, date) > values ('$name

[PHP] OO Oh My: Need Help on BBS OO Logic

2001-07-18 Thread Chris Abraham
PHP List: I am doing a pretty cool gig and I have decided to map a Nodal network using a "threaded BBS"-type +/- hierarchical system. I am imitating Chapter 29 in the SAMS _PHP & MySQL_ book and I love the model. I am not having a lot of luck in mapping my MySQL DB to the model and not only that

[PHP] Re: Slash Problems When Using PHP and POST.

2001-07-18 Thread David Serrano
Check out the stripslashes and AddSlashes functions http://www.php.net/manual/en/function.addslashes.php http://www.php.net/manual/en/function.stripslashes.php "Corin Rathbone" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I have created a php page that load

Re: [PHP] Slash Problems When Using PHP and POST.

2001-07-18 Thread Dave Stewart
I had this problem last week You need to add the stripslashes function to the string that contains the uploaded text. print stripslashes($file) or print stripslashes($contents) I think should do it. Dave - Original Message - From: "Corin Rathbone" <[EMAIL PROTECTED]> To: <[EMAIL PROTE

Re: [PHP] a good PHP editor

2001-07-18 Thread Schill, Johannes
I'd like to recommend Allaire HomeSite. I haven't seen any other programs for Windows you can edit remote files instead of the usual "download, edit, upload". Let me know if there are other good editors with this feature. It supports lots of formats - not just .php, and i think it's _the_ editor

RE: [PHP] a good PHP editor

2001-07-18 Thread Boget, Chris
> I'd like to recommend Allaire HomeSite. Read their own HS forum before finally deciding. HS has *alot* of issues, particularly with memory. > I haven't seen any other programs for Windows you can edit > remote files instead of the usual "download, edit, upload". Let > me know if there are

Re: [PHP] remove me from php list

2001-07-18 Thread jimw
the unsubscribe address works exactly as advertised, if you can be bothered to read the directions. 347 people have managed to do so this month. (and 372 have managed to subscribe, so i guess the list is growing.) otherwise, you can always contact the list administrators, the address for which is

Re: [PHP] a good PHP editor

2001-07-18 Thread ~~~i LeoNid ~~
On Thu, 19 Jul 2001 04:52:14 +0900 impersonator of [EMAIL PROTECTED] (Maxim Maletsky) planted &I saw in php.general: >I do buy software when I respect it's quality, but just to try I usually >crack it first to see how it works. > Well. The word for this is "stealing", and should be dealt as such.

Re: [PHP] Code Refusing to Die

2001-07-18 Thread rm
$fp is not a valid file handle because the url is invalid, it can't close a file handle for a file that wasn't opened because it never existed (invalid url). You need to fix the logic to allow for the possibility that a file does not exit and therefore cannot be closed. Maybe the php function file

RE: [PHP] a good PHP editor

2001-07-18 Thread Miri
At 03:38 PM 7/18/01 -0500, Boget, Chris wrote re Homesite and system resources: >Not alot. ALOT. Huge, massive amounts of resources. I'm >getting resource low messages from Windows less than 20 >minutes after opening it and it's the only thing running aside >from my mail client. How weird. I

[PHP] Connexion to MySQL

2001-07-18 Thread Moise Bertrand TACHAGO
Hi, Please can anyone help me to understand and resolve the probleme below Warning: MySQL Connection Failed: Host '195.24.202.98' is not allowed to connect to this MySQL server in /usr/local/apache/htdocs/kolosys/Menu.php on line 35 ERROR: Unable to connect to server I have this probleme when

RE: [PHP] a good PHP editor

2001-07-18 Thread Chris Lott
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I can't speak for Win9x, but on NT and now 2K, I have been using Homesite for YEARS, open all the time, editing many pages (I'm lazy so I typically have 20-30 pages open at any given time), heavy use of regex search and replace across folders, etc. an

[PHP] variable

2001-07-18 Thread Jeremy Morano
hi is there any way I can pass a variable without using require() or include()? -- 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]

Re: [PHP] Connexion to MySQL

2001-07-18 Thread Jason Bell
Forget PHP for a second. Can you connect to that server normally, using a MySQL Client? - Original Message - From: "Moise Bertrand TACHAGO" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, July 18, 2001 1:55 PM Subject: [PHP] Connexion to MySQL > Hi, > > Please can anyon

Re: [PHP] variable

2001-07-18 Thread Tyler Longren
you can pass them in the url: Test Then, $i will be available on mypage.php in the variable $new_i Tyler - Original Message - From: "Jeremy Morano" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, July 18, 2001 3:55 PM Subject: [PHP] variable > hi > is there any way I can pa

Re: [PHP] variable

2001-07-18 Thread chris schneck
$foo = "foo definition"; - Original Message - From: "Jeremy Morano" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, July 18, 2001 1:55 PM Subject: [PHP] variable > hi > is there any way I can pass a variable without using require() or include()? > > -- > PHP General Mailing

RE: [PHP] Connexion to MySQL

2001-07-18 Thread Martin Marconcini
RTFM: > Warning: MySQL Connection Failed: Host '195.24.202.98' is not allowed to > connect to this MySQL server in HOST x.x.x.x. IS NOT ALLOWED TO CONNECT TO THIS MYSQL SERVER. Go to www.mysql.com/documentation and find out how to add your HOST to the list of authorized hosts. Pretty Easy... h

[PHP] sendmail scripts -which user?

2001-07-18 Thread Greg Robillard
I would like to use the PHP Mail() function. I know that my script that uses it works, because I have used it on another server. But there seems to be a problem with sendmail, and whether I can send email as an anonymous user (noboby). Anyone have any thoughts on this one? Thanks, Greg Robillard

RE: [PHP] a good PHP editor

2001-07-18 Thread Martin Marconcini
Shall me move this topic to other list? -- 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] gd + 4.0.6

2001-07-18 Thread Kurth Bemis
compiling with apache 1.3.20 i get this ./modules/php4 -lmodphp4 -lc-client -ldl -lmysqlclient -lz -lgd -lfreetype -lpng -lz -ljpeg -lz -lcrypt -lresolv -lm -ldl -lnsl -lresolv -lm -lcrypt modules/php4/libphp4.a(gd.o): In function `php_imagettftext_common': /usr/src/php-4.0.6/ext/gd/gd.c:

RE: [PHP] a good PHP editor

2001-07-18 Thread Matt Williams
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 - -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 > I haven't seen any other programs for Windows you can edit remote > files instead of the usual "download, edit, upload". Let me know if > there are other good editors with this feature. HTMLedit (w

[PHP] What PHP function to use to clean up PGP encoded text under Outlook Express?

2001-07-18 Thread Scott Brown
I've got PHP a routine that encodes some sensitive information using PGP and then emails this from my linux server to a few separate people People using Outlook (full version) see a perfectly formatted message when it gets decoded. People using Outlook Express see the message with the \n not

[PHP] Question about hosting

2001-07-18 Thread Jay Paulson
Hello everyone- I need some expert advice so I turn you to all! :) I'm am currently in the process of making 7 web sites using PHP and MySQL backend. I'm porjecting that all of these sites combined will get a million plus hits a month easy when it's all said and done. What I'm wanting to do is

Re: [PHP] Code Refusing to Die

2001-07-18 Thread Sheridan Saint-Michel
I thought about file_exists... but url is by definition a remote file and file_exists does not work on remote files. http://www.php.net/manual/en/function.file-exists.php What I don't understand is why the die statement never executes. If you try to fopen a file that doesn't exist shouldn't fopen

Re: [PHP] What PHP function to use to clean up PGP encoded text under Outlook Express?

2001-07-18 Thread Tyler Longren
str_replace("\n","\r\n",$input) ?? Tyler - Original Message - From: "Scott Brown" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, July 18, 2001 4:27 PM Subject: [PHP] What PHP function to use to clean up PGP encoded text under Outlook Express? > I've got PHP a routine that

[PHP] \' issue

2001-07-18 Thread Hugh Danaher
Rasmus, solved this problem for me earlier today. Hope this helps Rasmus, Thank you very much. I ended up using the following statement, and it works!! > $results=mysql_query(stripslashes($sql_statement)); What I have now is a textarea box where I can input trial searches. This is why I'm d

RE: [PHP] a good PHP editor

2001-07-18 Thread Martin Marconcini
> HTMLedit (www.chami.com) let's you edit remotely. and has good syntax > higlighting, browser and there are loads of extensions for it. > And it's free I have had problems w/htmledit... too buggy. Don't know what it could be. I decided to buy edit+ (my trial was over). I'm happy w/ edit +. Apa

[PHP] screen

2001-07-18 Thread Jeremy Morano
is there any refresh or clear screen function in php? -- 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]

RE: [PHP] Question about hosting

2001-07-18 Thread Martin Marconcini
> > Hello everyone- > > I need some expert advice so I turn you to all! :) Don't know if expert is my case :) > > is to put the database on it's own machine and put the sites on a > different > machine to reduce the cpu load. However, I'm not 100% sure this is the > best > option. I know the

Re: [PHP] a good PHP editor

2001-07-18 Thread Jay Paulson
That's what I use and I LOVE it.. but i also hear that homesite and UltraEdit are very good as well.. never used them so i can't compare.. :) jay - Original Message - From: "E. Peter K. Chan" <[EMAIL PROTECTED]> To: "doug" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Wednesday, July 18

Re: [PHP] screen

2001-07-18 Thread Sheridan Saint-Michel
header ("Location: $PHP_SELF"); Sheridan (Seriously though... PHP produces HTML pages which are then handed to the client. It can't clear the screen the way an interactive program does.) - Original Message - From: Jeremy Morano <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday

Re: [PHP] Question about hosting

2001-07-18 Thread Francis Fillion
Well for myself I will better like to have the 2 computer design, 1 for httpd and 1 for mysql, it's alway's better that way the few nano that you lose in transit are way better then a server that do both stuff. Now the problem (that eat a lot of time is php and mysql, doh!). So you have optimise

[PHP] php/mysql ecommerce solution

2001-07-18 Thread Duane Douglas
hi gang! i'm looking for a php/mysql ecommerce solution. i want something that is ready made and fully customizable. i'm looking at phpShop: . has anyone used this solution? if so, what where your experiences? can anyone suggest or recommend another solution that

Re: [PHP] a good PHP editor

2001-07-18 Thread Alexander Skwar
So sprach »Schill, Johannes« am 2001-07-18 18.07.2001 um 22:24:21 +0200 : > I haven't seen any other programs for Windows you can edit remote files > instead of the usual "download, edit, upload". Let me know if there are How does that work? Is it just that it has some kind of simple FTP client

[PHP] PHP vs Perl question

2001-07-18 Thread Tom Malone
I'm pretty new to programming - besides JavaScript, PHP is really the first language I've used. I'm just wondering, and I'm sure you all would know - should I learn Perl? Is it considered a necessity for a web developer to know Perl, or is it not a worthwhile endeavor, considering how easy PHP is

Re: [PHP] PHP vs Perl question

2001-07-18 Thread Francis Fillion
I do love perl, even if I mostly code with PHP, but I use perl for stuff that run with a crontab (a script that run on every x date or hours), I know that you can do that with PHP now too, but Perl is a really great and funny language to learn, the best regular expression that I ever use (I still

Re: [PHP] HTML in XML???

2001-07-18 Thread Brian White
At 14:10 18/07/2001 +, Leon wrote: >Hi, >Is there some way to include HTML tags in a XML doc??? >I want to use a XML document to include HTML data for my >webpage. I have made a solution of replacing a special word to >the '<' and '>" of a HTML tag. >But I think my solution is very stupid. H

Re: [PHP] a good PHP editor

2001-07-18 Thread Francis Fillion
The best editor is emacs, you can have one in windows too and it's free as beer ;) I use they php mode, it's not perfect but it do the job, I will need to learn lisp someday... doug wrote: > > Hiya everybody, > I'm relatively new to PHP and I'm looking for a good text editor on > win2k fo

Re: [PHP] Question about hosting

2001-07-18 Thread Alexander Skwar
So sprach »Martin Marconcini« am 2001-07-18 18.07.2001 um 18:44:21 -0230 : > Database on one SCSI disk, WEBsites on ANOTHER and preferably OS on > another different. That way three partitions can be read at the same Hmm, actually I'd also suggest to use RAID - real RAID I mean, not software RAID.

Re: [PHP] Question about hosting

2001-07-18 Thread Alexander Skwar
So sprach »Francis Fillion« am 2001-07-18 18.07.2001 um 17:55:41 -0400 : > thing. Then an other thing is to take big table and put them in smaller > table, way faster for writing/reading (hum, I don't quite remember if Good idea. Combined with MERGE tables, this might really boost performance wh

Re: [PHP] php/mysql ecommerce solution

2001-07-18 Thread chris schneck
The Exchange Project is by far my favorite. www.theexchangeproject.org - Original Message - From: "Duane Douglas" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, July 18, 2001 2:59 PM Subject: [PHP] php/mysql ecommerce solution > hi gang! > > i'm looking for a php/mysql eco

RE: [PHP] PHP vs Perl question

2001-07-18 Thread Nathan
I personally try and avoid using Perl when I can. Perl is difficult to learn to write proficient code in. Perl's moto is, "There is More Than One Way to Do It" which also mean there are more than a million ways to mess up. Depending upon the programmer Perl can be a write-only language. You can ev

Re: [PHP] a good PHP editor

2001-07-18 Thread Alexander Skwar
So sprach »Francis Fillion« am 2001-07-18 18.07.2001 um 18:11:35 -0400 : > The best editor is emacs, you can have one in windows too and it's Actually I like vim better :) Emacs is just so HUGE :) > I use they php mode, it's not perfect but it do the job, I will need to Does Emacs (Emacs?

[PHP] Re: a good PHP editor

2001-07-18 Thread Tom Malone
I think that both TextPad and NoteTab are excellent editors, with TextPad being the better of the two. Tom -- 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:

[PHP] PHP Security

2001-07-18 Thread Ray Parish
Hey All, For a virtual hosting stand point, which is better to run, the module or the cgi version of php? Can you also explain why one is better than the other..? Thanks Ray Parish, RHCE -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additiona

Re: [PHP] Code Refusing to Die

2001-07-18 Thread rm
try using fsockopen from the php network functions works better than fopen...we use it to run wget on one of our machines...fopen is supposed to report false on failure, however, we don't use it for connections outside our file system and even then we always use file_exists before using fopen

[PHP] General case of a web page/application

2001-07-18 Thread Dennis Gearon
CAn anyone else think of any other sources or sinks of information for a web page/application? (Input or outputs of a script) User Session ID Session Script Assigned Page ID Environment Vars Local Files Remote Files Images Database Server Messages CreditCardCo Mapping Company Email Engine -- PH

RE: [PHP] PHP Security

2001-07-18 Thread Montz, James C. (James Tower)
I found a great windows PHP IDE called PHP Coder. Reminds me a bit of ColdFusion Studio. The website is http://www.phpide.de -Original Message- From: Ray Parish [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 18, 2001 5:54 PM To: [EMAIL PROTECTED] Subject: [PHP] PHP Security Hey All

Re: [PHP] a good PHP editor

2001-07-18 Thread Francis Fillion
Well the site where I find it out doesn't seen to have anymore, so here it is. It doesn't do much except highlighting stuff, no function completion or something like that and I have access to the C menu, I should search again I'm sure that I will found something better. ;;PHP MODE from http://z

RE: [PHP] PHP vs Perl question

2001-07-18 Thread Chris Lott
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I'd go for it. Perl can be messy, but it is also quite powerful and doesn't HAVE to be messy. It is EVERYWHERE both in terms of availability and use. But most of all, it is a fun language to play with... and if you do any system admin it is an indispe

RE: [PHP] a good PHP editor

2001-07-18 Thread Chris Lott
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Emacs on windows is great, and php-mode (there are a few. One that I have a link close to hand for is at: http://sourceforge.net/projects/php-mode/ ) is cool. I don't usually recommend it because it can be a pain to get setup optimally, but once it is

Re: [PHP] Piping Mime String to Metamail Fails -- Solution

2001-07-18 Thread Jeff Hill
Don Read wrote: > > On 13-Jul-01 Jeff Hill wrote: > > Don Read wrote: > >> On 13-Jul-01 Jeff Hill wrote: > >> > Don Read wrote: > >> >> On 13-Jul-01 Jeff Hill wrote: > >> >> > I've tried everything I can to pipe a string with mime content to > >> >> > metamail, but it fails in every variation of:

Re: [PHP] a good PHP editor

2001-07-18 Thread Francis Fillion
Thanks, this mode look better, well it has better color coding then they old one, option in function are in bold pink... ;) Chris Lott wrote: > > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Emacs on windows is great, and php-mode (there are a few. One that I have > a link close to hand

[PHP] ImageCreate has failed... help please (urgent)

2001-07-18 Thread Thiago Locatelli da Silva
Hi there... Well, i have php 4.0.6 under windows 98 and i'm havin' some problens to use JPGRAPH 1.2.2 . I have this string as error: "Fatal error: Call to undefined function: imagecreate() in c:\utils\www\graph\jpgraph.php on line 2025" jpgraph.php file: 2025: $this->img = ImageCreate($aWid

[PHP] security, receiving html from a form

2001-07-18 Thread Matt Greer
For my website I created an updating system in php. Where my staff and I can write articles that then get saved to the server, linked to, etc. I allowed html to be passed from the form because a lot of the staff likes to use html tags in their articles. Which I know is a security issue. I know I

Re: [PHP] security, receiving html from a form

2001-07-18 Thread Rasmus Lerdorf
> For my website I created an updating system in php. Where my staff and I can > write articles that then get saved to the server, linked to, etc. I allowed > html to be passed from the form because a lot of the staff likes to use html > tags in their articles. Which I know is a security issue. >

[PHP] Re: PHP- something i don't undestand

2001-07-18 Thread craig
Do it like this $sqry_linx = mysql_query("SELECT * FROM linx ORDER BY 'linkcat'"); $link = mysql_fetch_array($sqry_linx); "Yassel Omar Izquierdo Souchay" <[EMAIL PROTECTED]> wrote in message 001c01c10eff$1235ce50$2401020a@yois">news:001c01c10eff$1235ce50$2401020a@yois... > Hi > I'm having >

[PHP] Re: a good PHP editor

2001-07-18 Thread Tom Malone
>How weird. I have an old computer windows Win 98 with only 64M RAM and I've >never had any problem with Homesite. I'm always running it and at least 2-4 >browser windows and Eudora with no problems. >Perhaps I've just been lucky, but I've been using Homesite since it was >shareware. :) HomeSite

[PHP] Re: Simple validation problem

2001-07-18 Thread CC Zona
In article <00ef01c10fa5$fd20f2e0$e064fea9@py>, [EMAIL PROTECTED] (Py) wrote: > I am trying to make shure the amount is positive if($amount >0) {...} > and is a float if(is_float($amount)) {...} -- CC -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL P

[PHP] Re: PHP vs Perl Question

2001-07-18 Thread Tom Malone
I haven't been to Barnes & Noble yet, so I'm not sure if I will get the O'Reilly or the Wrox book yet, but supposing I went with O'Reilly, I wonder which would be better: Learning Perl 3rd Edition, or Learning Perl on Win32 Systems? I don't have much experience with Unix or Linux (minimal), but on

Re: [PHP] Re: a good PHP editor

2001-07-18 Thread Matthew Garman
On Wed, Jul 18, 2001 at 06:43:55PM -0400, Tom Malone wrote: > I think that both TextPad and NoteTab are excellent editors, with TextPad > being the better of the two. If it hasn't been mentioned already, check out vim (www.vim.org). I got hooked on it using by using Linux. This summer I'm inter

[PHP] Cannot start Apache

2001-07-18 Thread Chetan Ganpati
Hello, I am trying to install PHP4 on a redhat 6.2 box. I have got mysql-3.23-39 and apache-1.3.14-2.6.2 installed. I did a ./configure --prefix=/usr/local/php --with-config-file-path=/usr/loca/php --with-apxs=/usr/sbin/apxs --with-mysql=/usr/local/mysql --enable-track-vars --enable-magic-quote

[PHP] mime types & file uploads

2001-07-18 Thread Carolyn Campbell
I have a strange problem. When I upload files, the mime-type gets appended to the top of the file, so if I upload a text file Content-Type: text/plain is appended to the top. It's causing images to break. Has anyone had similar problems? --

Re: [PHP] Re: PHP vs Perl Question

2001-07-18 Thread Francis Fillion
Well then, maybe you don't have/need to learn perl, perl is a pretty good language for system administration of any sort, if you were on Unix/Linux well yes of course but on WIndows. I think the better things for you is to learn PHP and know everythings about it. If you have to use time for php an

Re: [PHP] sql query successful

2001-07-18 Thread David Robley
On Thu, 19 Jul 2001 03:54, Tyler Longren wrote: > Hello everyone, > > I've been writing database enabled site for quite a while now. One > thing I have never figured out it how to determine if a sql query is > successful. > > This works: > if ($connection = mysql_connect("host","username","passwo

Re: [PHP] MySQL Query.....

2001-07-18 Thread Deependra B. Tandukar
Thanks but it is not working! My problem goes like this: Frankly speaking I am trying to make web based accounting package for my organization. I have talbes: Voucher Sales Cash Bank Income Expenses, etc. All are of the follwoing structure VN Date AccountHead AccountType D

Re: [PHP] security, receiving html from a form

2001-07-18 Thread Matt Greer
- Original Message - From: "Rasmus Lerdorf" <[EMAIL PROTECTED]> > > I know I could use HTMLSpecialChars() and then devise my own mark up system; > > You could also define a list of tags you allow and pass them to the > strip_tags() function. See http://php.net/strip_tags > Interesting.

[PHP] Compiling PHP4.04 with PEAR - PROBLEM!

2001-07-18 Thread Derek Truong
While trying to recompile php with PEAR, I came across this error.. Making install in pear make[1]: Entering directory `/home/detain/Apachetoolbox-1.5.33/src/php-4.0.6/pear' make[2]: Entering directory `/home/detain/Apachetoolbox-1.5.33/src/php-4.0.6/pear' shtool:mkdir:Error: invalid number of ar

[PHP] Weekly Separation

2001-07-18 Thread Chris Aitken
Hey all, Im working on a system to be able to take a big list of entries that is sorted by a date field, and be able to identify them into weekly groups (monday to monday or sunday to sunday etc). So basically, for the example here, say I had 100 entries over a 1 month period. What I wan

RE: [PHP] Weekly Separation

2001-07-18 Thread Jason Murray
> Ive been working on a way but it seems a very long and > involved method. Has anyone got any pointers or ideas > they might be able to throw at me so I can make this > a more simple method. Assuming you know the date of each entry, do a Date("z") (day of the year), and divide it by 7. Stor

[PHP] Re: Command line args HELP!!!

2001-07-18 Thread Paul A. Procacci
That is not the problem! Read below. This issue was resolved. It _is_ a bug, and is on the todo list for the php programmers. :) Elias wrote: > > argv > Array of arguments passed to the script. When the script is run on the > command line, this gives C-style access to the command line parame

[PHP] Re: php/mysql ecommerce solution

2001-07-18 Thread Paul A. Procacci
I agree with Chris. The Exchange Project has been one of my personal favorites as well. www.theexchangeproject.org :) Duane Douglas wrote: > > hi gang! > > i'm looking for a php/mysql ecommerce solution. i want something that is > ready made and fully customizable. i'm looking at phpShop:

[PHP] Re: OT Math Question

2001-07-18 Thread Paul A. Procacci
Well, If I'm right. The total number of posible combinations in the NJ state lottery, assuming there are, say, 56 numbers is var total = 56; total*(total-1)*(total-2)*(total-3)*(total-4)*(total-5) == 23377273920:1 Now that assuming one number was pulled from the pot and the same number didn't

[PHP] File Upload Headaches

2001-07-18 Thread Jason Rennie
Hi all, Can anybody see what is wrong with this code ?? echo "\$userfile = $userfile"; echo $HTTP_POST_FILES['userfile']['tmp_name']; // now to provide an assignment submission box print ""; print "\n"; pr

[PHP] System() and PGP

2001-07-18 Thread David Price
I have been trying to run PGP commands within PHP with the system() function. PGP is installed on the web server, and all the commands work fine when I'm su'ed as the nobody user (the web server user). I can use this command to encrypt messages: system("pgp -ea $plainTxt 'David Price <[

[PHP] Re: How to stop a previous page being repeated ?

2001-07-18 Thread Paul A. Procacci
use javascript to check the histroy. If the document.history points to the file your at then redirect? :) Cn Yeong wrote: > > How do I stop a previous page being repeated when the > user hits their back button on the browser? > > Is PHP can do it? > >

Re: [PHP] PHP vs Perl question

2001-07-18 Thread Ryan Fischer
> I'm pretty new to programming - besides JavaScript, PHP is really the first > language I've used. > I'm just wondering, and I'm sure you all would know - should I learn Perl? > Is it considered a necessity for a web developer to know Perl, or is it not > a worthwhile endeavor, considering how ea

Re: [PHP] PHP Security

2001-07-18 Thread Politz Christian
Hi Ray, Ray Parish wrote: > For a virtual hosting stand point, which is better to run, the module or > the cgi version of php? Can you also explain why one is better than the > other..? It depends on your needs. If you care about security you should use the cgi-version and place it outside the

Re: [PHP] File Upload Headaches

2001-07-18 Thread David Robley
On Thu, 19 Jul 2001 16:06, Jason Rennie wrote: > Hi all, > > Can anybody see what is wrong with this code ?? > > > echo "\$userfile = $userfile"; > echo $HTTP_POST_FILES['userfile']['tmp_name']; > > > // now to provide an assignment submission box > print ""; > print

Re: [PHP] MySQL Query

2001-07-18 Thread Ryan Fischer
You wrote: > I have a table that looks like > > Name | Type | X | Y > > Foo| Ship | 9 | 29 > Bar| Base | 9 | 29 > > Is there any way I can write a query that selects > everything with Type = Base, and X and Y = Foo's X and Y? > > ie > > "Select * from table where type = Base and X = {Foo

[PHP] Re: PHP code produces ocasional segfaults.

2001-07-18 Thread Santiago Romero
Hi all... I'm new to PHP and I needed to implement some PHP functions on a php webmail. I readed the PHP MANUAL and I found a code that suits my needs in an example, but it produces segfaults. I added the following code: $ds=ldap_connect("ldap.server.com"); if ($ds) { $r=ldap_bind(

Re: [PHP] set var in PHP clarified

2001-07-18 Thread Gunther E. Biernat
Jessica, I used that technique before PHP was available (for all readers, the key term here is Server Side Includes, e.g. http://httpd.apache.org/docs/howto/ssi.html.html). With PHP you're a lot more flexible so that you should get rid of your shtml structure, especially as PHP is much faster

[PHP] Using Frames

2001-07-18 Thread Mark Lo
Hi, I would like to know how to make all three frames to move at the same time. Actually is it possible ?? Thanks Mark -- 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 adm

<    1   2   3   >