php-general Digest 7 May 2001 07:13:23 -0000 Issue 671

2001-05-06 Thread php-general-digest-help
php-general Digest 7 May 2001 07:13:23 - Issue 671 Topics (messages 51650 through 51703): Really easy question 51650 by: biscut 51653 by: Tom Carter 51663 by: biscut 51664 by: Jack Dempsey 51666 by: heinisch.creaction.de 51667 by: biscut

Re: [PHP] Decoding .txt attachments

2001-05-06 Thread Zak Greant
The file is likely uuencoded, AFAIK PHP does not have a built-in function to handle this. IIRC there is a function on http://px.sklar.com/ that does this. --zak - Original Message - From: "~~~i LeoNid ~~" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, May 07, 2001 12:06 AM Su

Re: [PHP] PHP 4.0.5 Parse Problems

2001-05-06 Thread CC Zona
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] (Ben Gollmer) wrote: > >I only mention them since they got parsed before. They are php files > >that the designers here have created in HomeSite and saved as PC > >format, so they are basically 1 long line when I open them in v

[PHP] Decoding .txt attachments

2001-05-06 Thread ~~~i LeoNid ~~
Hello PHP-ers - General`s:), (How)Is it possible to decode text file attachments starting with "begin 644". I tried "base64_decode();" with no joy (stick:). "imap_base64 ();" is not defined on my system. Is there a function, or just a table with the HARD way of manual decoding possible? Thanks

[PHP] PHP 4.0.5 Parse Problems

2001-05-06 Thread Ben Gollmer
Hi all - Today I compiled and installed PHP 4.0.5 on my Linux server (Apache 1.3.19, linked statically with php & mod_ssl). Suddenly, many of my files would no longer be parsed by PHP - instead, they spit raw code onto the page. I created most of the files on my MacOS X machine using the text

[PHP] ldap problem

2001-05-06 Thread Wolfgang Ebneter
Hi list, i've compiled php-4.0.4pl1 with ldap support. It compiled nice and clean. A "make install" put the lib in apache's libexec directory. When I start apache I get the following : cannot load .../libphp4.so into server undefined symbol : ldap_value_free I checked the ldap.c file and found

[PHP] Problem trying to get "ftp_get" to work connected to FreeBSD

2001-05-06 Thread steve
> Hello: > > I have a problem trying to get "ftp_get" to work connected FreeBSD. > When I try to run the code below, it just hangs. When I try to run > the same code connected to a Linux system, it works just fine. > > The difference between my home FreeBSD system and my work > Linux system is:

Re: [PHP] files

2001-05-06 Thread Zak Greant
Change the permissions of the /etc/passwd file, use safe mode or suExec --zak - Original Message - From: "php" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, May 06, 2001 11:14 PM Subject: [PHP] files > > Good day to you all > > How can I keep php scripts from reading th

Re: [PHP] converting fields from a fixed length text file intoan array

2001-05-06 Thread steve
Hello: I have a problem trying to get "ftp_get" to work connected FreeBSD. When I try to run the code below, it just hangs. When I try to run the same code connected to a Linux system, it works just fine. The difference between my home FreeBSD system and my work Linux system is: FreeBSD: -

[PHP] files

2001-05-06 Thread php
Good day to you all How can I keep php scripts from reading the /etc/passwd (for example) or any other file? Sincerely, G. Dimitrov -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the lis

Re: [PHP] converting fields from a fixed length text file into an array

2001-05-06 Thread heinisch
At 06.05.01 23:28, you wrote: >:Please forgive me for having posted this more than once. I am trying to >reword it here to make it more plain. >--- >I have a fixed length text file I'm trying to import and send into MySQL. >A record line is about 1600 characters long and includes man

Re: [PHP] IIS instead of PWS!!! what else can i do..

2001-05-06 Thread Thomas Edison Jr.
Already Did sir! and am as happy as u would've been. finally i can test http authentication 2. Cheers, T. Edison jr. "We're out of our medicines and out of our minds..." --- MaD dUCK <[EMAIL PROTECTED]> wrote: > also sprach Thomas Edison Jr. (on Sat, 05 May 2001 > 11:52:34PM -0700): > > i thin

Re: [PHP] PHP on PWS not working! : WORKING NOW!!

2001-05-06 Thread Thomas Edison Jr.
thankx a lot sir, i guess your guessing worked real well...after 5 days of headbanging and trying everything, it workedi did what u said...removed all references to the isapi dll and converted the php module to php cgi and it's working on PWS. i guess i'm gonan use my apache server for the M

Re: [PHP] Passing variables to another page - newbie

2001-05-06 Thread Dan Lowe
Previously, Dean Martin said: > Thanks to everyone for the help - unfortunately my problem seems to be the > function I'm using to do the redirecting. header() is supposed to be the > first item passed. What I'm trying to do is use a line of code well down > into the logic of my script to redire

Re: [PHP] Really easy question

2001-05-06 Thread Dan Lowe
Previously, biscut said: > Thanks very much for your help on this, turns out there wasnt anything > "wrong" with it, I was trying to view the page with Netscape 4.7 on hte > Linux machine and getting blank pages, if I viewed it with IE 5.5 on a > windows machine then everything works fine...I have

[PHP] converting fields from a fixed length text file into an array

2001-05-06 Thread Jay Lepore
:Please forgive me for having posted this more than once. I am trying to reword it here to make it more plain. --- I have a fixed length text file I'm trying to import and send into MySQL. A record line is about 1600 characters long and includes many blank spaces. I thought by using

Re: [PHP] PHP, MSSQL7 & Transactions

2001-05-06 Thread Manuel Lemos
Hello rememberthatstore.com, On 25-Apr-01 17:55:49, you wrote: >I am trying to implement transactions using PHP and MSSQL 7 (Microsoft). >Please tell me if there is a simple way of doing this, as there is for >Interbase or Oracle, using the appropriate functions.eg ***_rollback or >whatever.

Re: [PHP] Mailing list script ?

2001-05-06 Thread Manuel Lemos
Hello Toxik, On 16-Apr-01 10:38:13, you wrote: >Hello, >I'd like to know if there is a script with the same (or more) functionality >as SubscribePro at: http://cgi.elitehost.com/subpro/ Maybe you would like to try this PHP class that provides a Web interface to manage mailing lists using ezmlm

Re: [PHP] checking if e-mail address and syntax are valid

2001-05-06 Thread Manuel Lemos
Hello Carlos, On 24-Apr-01 17:12:53, you wrote: >I would like to know if anyone has or know any PHP code to verify if a form >entered e-mail address is valid? >I would like that things like 4$%^%$@@.com.br could not be sent. I only has >to verify the syntax of it, the existance I believe should

[PHP] Your Internet Education!

2001-05-06 Thread Noel Hadfield
Learn about computers and the Internet and build a business while you are doing it. Just hit: mailto:[EMAIL PROTECTED]?Subject=Education To be removed from this list, hit: mailto:[EMAIL PROTECTED]?Subject=Remove -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAI

[PHP] setcookie()

2001-05-06 Thread patricktan
Warning Could not process message with given Content-Type: multipart/mixed; boundary="part3af60cf00dceb"

Re: [PHP] Databases and HTML forms

2001-05-06 Thread Manuel Lemos
Hello Michael, On 20-Apr-01 14:38:48, you wrote: >I'm needing to have a form that pulls a bunch of database fields into it and >then allows you to modify the fields and does the subsequent update in the >database. This seems like something that has to be done all the time. Is >there a right wa

[PHP] Offshore merchant account

2001-05-06 Thread Offshore Merchant Centre
Dear Webmaster, We have looked at your website and noticed that you might be interested in an offshore merchant account for your credit card processing. OMC is ready to provide you with the best offshore merchant solution. Our latest technology gateway and direct relations with large European

Re: [PHP] Passing variables to another page - newbie

2001-05-06 Thread Jason Brooke
> Thanks to everyone for the help - unfortunately my problem seems to be the > function I'm using to do the redirecting. header() is supposed to be the > first item passed. What I'm trying to do is use a line of code well down > into the logic of my script to redirect the user to another page al

[PHP] PHP based Reminder System

2001-05-06 Thread Chris Aitken
Hey all, Im just wondering if anyone has come across a PHP based system which allows people to log in, and set reminders for themselves, and at the time specified, emails them the reminder ? I know a system could be written utilising cron/php/sendmail etc but I was thinking that maybe a syste

RE: [PHP] Passing variables to another page - newbie

2001-05-06 Thread Jason Murray
> Thanks to everyone for the help - unfortunately my problem > seems to be the function I'm using to do the redirecting. header() is > supposed to be the first item passed. What I'm trying to do is use a line of > code well down into the logic of my script to redirect the user to another > p

RE: [PHP] Passing variables to another page - newbie

2001-05-06 Thread Dean Martin
Thanks to everyone for the help - unfortunately my problem seems to be the function I'm using to do the redirecting. header() is supposed to be the first item passed. What I'm trying to do is use a line of code well down into the logic of my script to redirect the user to another page along with

[PHP] FILE () STRIPS BLANKS FROM THE ARRAY - HOW CAN I STOP IT

2001-05-06 Thread Jay Lepore
I have an ASCII fixed width text file I'm trying to convert to an array of fields. But I need to keep the spaces in tact so I know exactly where one field ends and another begins. Do you know of any way to modify the default behavior of file() which strips the blanks spaces out when returning th

Re: [PHP] IIS instead of PWS!!! what else can i do..

2001-05-06 Thread MaD dUCK
also sprach Thomas Edison Jr. (on Sat, 05 May 2001 11:52:34PM -0700): > i think i'm almost at the verge of giving up...somehow > the PWS in my system is ruined forever...i'd done > everything..and i mean *EVERYTHING*...but PHP just > doesn't seem to be working with my PWS. In fact, even > my ASP s

RE: [PHP] Really easy question

2001-05-06 Thread biscut
I know this is probably going to sound really silly but can you explain that to me in plain simple english ?? :-) I only started looking at PHP yesterday *grin* Thanks for your help biscut > -Original Message- > From: Chris Mason [mailto:[EMAIL PROTECTED]] > Sent: 06 May 2001 23:04 > To

RE: [PHP] URL redirection

2001-05-06 Thread Tyler Longren
if ($varTwo == $varOne) { header('Location: http://www.location.com/page.html'); } else { echo "You stay right where you are!"; } Tyler > -Original Message- > From: Jamie Saunders [mailto:[EMAIL PROTECTED]] > Sent: Sunday, May 06, 2001 5:21 PM > To: [EMAIL PROTECTED] > S

Re: [PHP] URL redirection

2001-05-06 Thread Markus Fischer
header( 'Location: rediret_me_here.php'); - Markus - Original Message - From: "Jamie Saunders" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, May 07, 2001 12:20 AM Subject: [PHP] URL redirection > > Hi, > > Is there a PHP function that will redirect the current page to anothe

[PHP] URL redirection

2001-05-06 Thread Jamie Saunders
Hi, Is there a PHP function that will redirect the current page to another url? e.g. if ($varTwo == $varOne) { URL redirection code } else { echo "You stay right where you are!"; } Thanks. Jamie Saunders Mail: [EMAIL PRO

RE: [PHP] Really easy question

2001-05-06 Thread Chris Mason
Check for output compression in output buffering in your php script, I don't think it always works. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of biscut Sent: Sunday, May 06, 2001 5:21 PM To: Jack Dempsey Cc: [EMAIL PROTECTED] Subject: RE: [PHP] Really

Re: [PHP] Really easy question

2001-05-06 Thread Steve Maroney
create a new php file. If you call the function phpinfo(), you should get a bunch of useful information. If you're getting an error message complianing about PHP not being enabled, then check out your configuration file. I think there is an line something like enable engine. That might be turned

Re: [PHP] quicker query?

2001-05-06 Thread Gyozo Papp
Hello Michael, I'm bit confused now. In your first letter, you wrote this simple code : --- if ($result) { for ($cluster=1;$cluster<200;$cluster++) { for($galaxy=1;$galaxy<26;$galaxy++) { $sql="insert into galaxy select avg(cluster) as gcluster,sum(size) as gsize,sum(score) as gscore,avg(galaxy)

RE: [PHP] Really easy question

2001-05-06 Thread biscut
Believe it or not then the code is right...exactly right (I know you dont believe it *grin* even the code that Tom kindly wrote in didnt work and I only had and on either side of what he wrote...I don't understand why but at least it partially works...better than what I thought I had Regards bi

RE: [PHP] Really easy question

2001-05-06 Thread biscut
I did, even to the extent of copying and pasting the text straight off of the tutorial into the file that I created using vi. Very strange biscut > -Original Message- > From: Jack Dempsey [mailto:[EMAIL PROTECTED]] > Sent: 06 May 2001 22:10 > To: biscut; Tom Carter > Cc: [EMAIL PROTECTE

RE: [PHP] Really easy question

2001-05-06 Thread heinisch
At 06.05.01 22:03, you wrote: > >Thanks very much for your help on this, turns out there wasnt anything >"wrong" with it, I was trying to view the page with Netscape 4.7 on hte >Linux machine and getting blank pages, if I viewed it with IE 5.5 on a >windows machine then everything works fine...I

Re: [PHP] Image Upload

2001-05-06 Thread Henrik Hansen
"Kyle Mathews" <[EMAIL PROTECTED]> wrote: > Hello: > > I'm looking for some code that will upload images to my server from a form > submission. > I'd also like it to check for a max file size of the images. > look at the getimagesize() function -- Henrik Hansen -- PHP General Mailin

RE: [PHP] Really easy question

2001-05-06 Thread Jack Dempsey
check your html whenver you see blank pages in netscape, but they work in IE... -jack -Original Message- From: biscut [mailto:[EMAIL PROTECTED]] Sent: Sunday, May 06, 2001 5:03 PM To: Tom Carter Cc: [EMAIL PROTECTED] Subject: RE: [PHP] Really easy question Thanks very much for your hel

RE: [PHP] Really easy question

2001-05-06 Thread biscut
Thanks very much for your help on this, turns out there wasnt anything "wrong" with it, I was trying to view the page with Netscape 4.7 on hte Linux machine and getting blank pages, if I viewed it with IE 5.5 on a windows machine then everything works fine...I have no idea why this is happening bu

Re: [PHP] Trim a string

2001-05-06 Thread Kyle Mathews
Thanks, that worked great. - Kyle ""Jack Dempsey"" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > if you're string is a variabe $address, then > eregi("http://",$address) will tell you if they've put in the http part, and > $address = substr("$address",7);

RE: [PHP] Trim a string

2001-05-06 Thread Jason Lotito
> -Original Message- > From: Kyle Mathews [mailto:[EMAIL PROTECTED]] > Sent: Sunday, May 06, 2001 4:46 PM > To: [EMAIL PROTECTED] > Subject: [PHP] Trim a string > > > Hello: > > I have a signup form that asks for a website address. > I don't need them to put in the http://, but I'm thin

Re: [PHP] quicker query?

2001-05-06 Thread Michael Roark
Its a different problem to explain Let me show you part o the contents from universe. +-++++---+-- +++ | cluster | galaxy | planet | planet_name| ruler | size | score | rank | +-+---

RE: [PHP] Trim a string

2001-05-06 Thread Jack Dempsey
if you're string is a variabe $address, then eregi("http://",$address) will tell you if they've put in the http part, and $address = substr("$address",7); will slice off and store the text after the http:// you'll find lots of different ways to do this...whatever suits you, go for it... -jack -

[PHP] Image Upload

2001-05-06 Thread Kyle Mathews
Hello: I'm looking for some code that will upload images to my server from a form submission. I'd also like it to check for a max file size of the images. Any help would be appreciated. Thanks, Kyle [EMAIL PROTECTED] http://www.thedip.net -- PHP General Mailing List (http://www.php.net/) T

[PHP] Trim a string

2001-05-06 Thread Kyle Mathews
Hello: I have a signup form that asks for a website address. I don't need them to put in the http://, but I'm thinking that some will try anyway. Is there a way to check for this and remove it when the user submits the form? Thanks, Kyle [EMAIL PROTECTED] http://www.thedip.net -- PHP General

Re: [PHP] Passing variables to another page - newbie

2001-05-06 Thread Philip Olson
index.php?fruit=apple&color=green&lang=php If register_globals setting in php.ini configurations is 'on' then the following should all work : echo $fruit; // apple echo $color; // green echo $lang;// php echo $HTTP_GET_VARS['frui

[PHP] while($fbuffer=fread($fp,4096)) and xml_parse($xml_parser,$fbuffer,feof($fp))

2001-05-06 Thread Dominique Hermsdorff
Hi, Using PHP 4.0.4pl1 (I did not try with PHP 4.0.5). While parsing a large file (>100MB) and using the following (simplified) piece of code: while(($fbuffer=fread($fp,4096)) && $continue){ // // ... // if(xml_parse($xml_parser,$fbuffer,feof($fp))){ } else { // report err

[PHP] newbie setting up searches

2001-05-06 Thread Greg Kelly
I am setting up a dating site and I would like to know the best way to do searchs on things like city , state, male , or female, age and so on. Any help would be appreciated. On my forms I will have drop down menus.. Thanks

Re: [PHP] Really easy question

2001-05-06 Thread Tom Carter
The easiest way is to create a simple page (called say test.php) with the following This should display a page with all sorts of information about your PHP, and serves as a good test as to whether or not PHP is working Good luck! Tom Carter Web Architect roundcorners ltd. On Sun, 6 May 2001,

Re: [PHP] php4apachi.dll

2001-05-06 Thread Chris Adams
On 6 May 2001 05:53:54 -0700, Darren <[EMAIL PROTECTED]> wrote: > Hi. I just installed a fresh copy a windows 95. I installed winsock 2, > apache 1.3.19 and php4. I followed the instructions with the php > installation and I booted apache, I got a missing dll error message from > apache. I got the

Re: [PHP] Flash/PHP/MySQL

2001-05-06 Thread Chris Adams
On 6 May 2001 10:25:19 -0700, FredrikAT <[EMAIL PROTECTED]> wrote: > Can Flash import some text from a database (e.g MySQL) and print it on the > fly? Yes. It's actually pretty easy - you can tell flash to load a bunch of variables from a URL. Your URL can return the encoded data (basically a URL

[PHP] Really easy question

2001-05-06 Thread biscut
How can i check to see if PHP has been enabled, I enabled the modules etc after they were compiled and i have managed to get Apache working properly again but now even when i do the basic tutorial stuff then I get a blank page rather than what I am supposed to get, the tutorial page is no help as

php-general Digest 6 May 2001 19:11:22 -0000 Issue 670

2001-05-06 Thread php-general-digest-help
php-general Digest 6 May 2001 19:11:22 - Issue 670 Topics (messages 51587 through 51649): IIS instead of PWS!!! what else can i do.. 51587 by: Thomas Edison Jr. 51588 by: Zak Greant 51591 by: Thomas Edison Jr. 51592 by: Thomas Edison Jr. 51593 by: Zak

[PHP] file() shooting blanks

2001-05-06 Thread Jay Lepore
Hello, I have an ASCII fixed width text file I'm trying to convert to an array of fields. When I use file() to place each line (record) in it's own array element, it strips out any blanks it finds except one. This results in in ABC MOTORS becoming ABC MOTORS. That creates a problem if ABC is i

[PHP] [OT?] permission denied[OT?]

2001-05-06 Thread Alexander Bierbrauer
Hi again, I'm trying to write a few strings to a file on my Win2K home server(IIS 5). But The only thing I get is: Warning: fopen("score.txt","w") - Permission denied in c:\inetpub\wwwroot\nat\g2score\newscore.php on line 30 I've set the properties of score.txt to writeable and readable! I've g

Re: [PHP] Passing variables to another page - newbie

2001-05-06 Thread tcuhost
also is you want to add more than one variable in the example given you use the '&' Sign ex with one var: header("Location: http://something.foo.bar.com/page.extension?var1=etc";); ex with 3 vars: header("Location: http://something.foo.bar.com/page.extension?var1=etc&var2=123&var3=abc";); --

RE: [PHP] Passing variables to another page - newbie

2001-05-06 Thread John Vanderbeck
Your location header should be a fully qualified URL, just like you had typed it into your browser. - John Vanderbeck - Admin, GameDesign (http://gamedesign.incagold.com/) - GameDesign, the industry source for game design and development issues > -Original Message- > From: Dean Martin [

RE: [PHP] Passing variables to another page - newbie

2001-05-06 Thread Jack Dempsey
header("Location: http://something.foo.bar.com/page.extension?var1=etc";); -Original Message- From: Dean Martin [mailto:[EMAIL PROTECTED]] Sent: Sunday, May 06, 2001 1:50 PM To: [EMAIL PROTECTED] Subject: [PHP] Passing variables to another page - newbie I have an order form that is vali

Re: [PHP] PHP on PWS not working!

2001-05-06 Thread Phil Driscoll
I dont' have PWS so I#m guessing, but you probably have to remove the PHP ISAPI module from the list of installed ISAPI filters (you do have to do this on IIS so I assume PWS is the same). No idea where the user interface to this might be found though. Failing all else, deleting php4isapi.dll and

[PHP] Passing variables to another page - newbie

2001-05-06 Thread Dean Martin
I have an order form that is validating input, mailing me the results of the form, then I want to pass the user off to either Paypal or Revecom (depending on their choice) for processing. Everything works except trying to pass the variables to the payment processor. I thought that header("locat

Re: [PHP] Can php give me row number?

2001-05-06 Thread Stephan Ahonen
> Now I also wan´t to know to in which row the word was found. > Is there a simple way to add some code? You could explode the file into an array with "\r\n" as the delimiter before you do the search, then iterate through the resulting array to look for the word, then the array index you find the

Re: [PHP] Flash/PHP/MySQL

2001-05-06 Thread Eduardo Pérez Jover
you can find an example in flashkit.com go to examples > databases -- 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] PHP on PWS not working!

2001-05-06 Thread Thomas Edison Jr.
right, i can change to the CGI version immideately, as it is i have the module ver installed on my Apache. Tell me something, to make it back to the CGI ver, the only thing i have to do is to give the path in my regedit as "C:\php4\php.exe %s %s" instead of what i was giving "C:\php4\sapi\(the php

RE: [PHP] best ide for windows

2001-05-06 Thread Andrzej Swedrzynski
On Sun, 6 May 2001, John Vanderbeck wrote: > But isn't VIM a *nix only tool? No. Quote from vim's web page: VIM runs on many operating systems: AmigaOS, AtariMiNT, BeOS, DOS, MacOS, MachTen, OS/2, RiscOS, VMS, and Windows (95/98/NT4/NT5/2000) and, of course, on UNIX in a lot of flavours:

[PHP] Flash/PHP/MySQL

2001-05-06 Thread FredrikAT
Can Flash import some text from a database (e.g MySQL) and print it on the fly? - Fredrik A. Takle [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: [PHP] best ide for windows

2001-05-06 Thread John Vanderbeck
But isn't VIM a *nix only tool? The thread was about Windows IDE's. I'm always open to new editors though, so if VIM is available for Windows, can you give an URL? - John Vanderbeck - Admin, GameDesign (http://gamedesign.incagold.com/) - GameDesign, the industry source for game design and develo

Re: [PHP] Can php give me row number?

2001-05-06 Thread Gyozo Papp
use fgets or fscanf (>= PHP 4.0.1)instead of fread. Fgets(fp, length) ends reading when length - 1 bytes have been read, on a newline (which is included in the return value), or on EOF (whichever comes first). - Original Message - From: "Jan Grafström" <[EMAIL PROTECTED]> To: <[EMAIL

RE: [PHP] best ide for windows

2001-05-06 Thread Andrzej Swedrzynski
On Sun, 6 May 2001, Bjorn Sodergren wrote: [UltraEdit] > > And sends plain password over the network. Thanks. > And how does this differ from any other ftp client ? Does not differ. But I use ssh/scp for everything and with vim I can send my file to its destination with a single keystroke.

RE: [PHP] best ide for windows

2001-05-06 Thread Bjorn Sodergren
> > I am a fan of UltraEdit. It has syntax highlighting and is a good all > > purpose powerful editor. What I really like though is the > ability to Open > > >From and Save To FTP sites. This speeds up my work considerably. > > And sends plain password over the network. Thanks. And how doe

Re: [PHP] best ide for windows

2001-05-06 Thread Alexander Skwar
So sprach Alex Piaz am Sun, May 06, 2001 at 02:09:51PM -0300: > On linux, Quanta is a good choice, since homesite does not run on linux (I A lot of people also like bluefish. Alexander Skwar -- How to quote: http://learn.to/quote (german) http://quote.6x.to (english) Homepage: http://w

[PHP] Can php give me row number?

2001-05-06 Thread Jan Grafström
Hi! First I wan´t to thank those kind guys who helped me with the search for words in a string. It works fine and here goes my file: --- $fd = fopen($filename1, "r"); $string = fread($fd, filesize($filename1)); fclose($fd); if (eregi("$word", $string)) { print "found the word"; } - Now I a

Re: [PHP] simple database extraction problem :(

2001-05-06 Thread Manuel Lemos
Hello Sandeep, On 03-May-01 20:07:51, you wrote: >just a quick thing. i've got loads of info in mysql, which i extract >and then use a "while ($r = mysql_fetch_array($result)) {" to output >the result. >the only thing is, because its a loop, all results look the same, >whereas i want the first

Re: [PHP] best ide for windows

2001-05-06 Thread Alex Piaz
Hi Folks! I've tested a lot of ide's for windows, but never found anything better than the Allaire Homesite. (www.allaire.com) On linux, Quanta is a good choice, since homesite does not run on linux (I couldn't run it through WINE). That's it. Alex -- PHP General Mailing List (http://

Re: [PHP] best ide for windows

2001-05-06 Thread Gyozo Papp
Yeah, VIM is cool, really, and is default part of most linux distributions. - Original Message - From: "Andrzej Swedrzynski" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Cc: "John Vanderbeck" <[EMAIL PROTECTED]> Sent: 2001. május 6. 18:20 Subject: RE: [PHP] best ide for windows > On S

RE: [PHP] best ide for windows

2001-05-06 Thread Andrzej Swedrzynski
On Sun, 6 May 2001, John Vanderbeck wrote: > I am a fan of UltraEdit. It has syntax highlighting and is a good all > purpose powerful editor. What I really like though is the ability to Open > >From and Save To FTP sites. This speeds up my work considerably. And sends plain password over the

Re: [PHP] Slightly OT - Backing up mySQL...

2001-05-06 Thread Henrik Hansen
Nick Terzich <[EMAIL PROTECTED]> wrote: > Does anyone have any experience backing up mySQL from > a "shared" web hosting account? I don't have root > access to the database... will this keep me from > running a shell script to do the back up? Is there a > php script that will work better for

Re: [PHP] best ide for windows

2001-05-06 Thread Henrik Hansen
"Alexander Bierbrauer" <[EMAIL PROTECTED]> wrote: > Hi people, > > does anyone know a good PHP developer IDE for Windows?? I'm using PHP Coder > but it's a little bit to buggy. phpEd - phped.com -- Henrik Hansen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail:

Re: [PHP] Slightly OT - Backing up mySQL...

2001-05-06 Thread Felix Kronlage
On Sun, May 06, 2001 at 08:38:23AM -0700, Nick Terzich wrote: > Does anyone have any experience backing up mySQL from > a "shared" web hosting account? I don't have root > access to the database... will this keep me from > running a shell script to do the back up? If you have shell-access you c

[PHP] Slightly OT - Backing up mySQL...

2001-05-06 Thread Nick Terzich
Does anyone have any experience backing up mySQL from a "shared" web hosting account? I don't have root access to the database... will this keep me from running a shell script to do the back up? Is there a php script that will work better for me? I don't need the database emailed to me... just zip

RE: [PHP] searching a MySQL database

2001-05-06 Thread John Vanderbeck
Well, my site currently does not search based on multiple keywords, but rather just ONE keyword. This makes it easiers, as I offload all the work to mySQL. However, theoreticly, you could do the same things with a complex SQL query. [CODE] case 'searchform': { echo "Search for Article\n"; e

Re: [PHP] if string contains...

2001-05-06 Thread Gyozo Papp
$pos = strpos($varone, 'is') if ($pos === false) { /*not found */ } - Original Message - From: "Jamie Saunders" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: 2001. május 6. 16:58 Subject: [PHP] if string contains... > Hi, > > I want to check whether a string contains a certain word

Re: [PHP] if string contains...

2001-05-06 Thread Alvin Tan
http://php.net/manual/en/function.strstr.php $varOne = "is"; $varTwo = "this is a string"; if(strstr($varTwo,$varOne)) { echo "true."; } else { echo "false."; } Regards, @lvin At 03:58 PM 5/6/01 +0100, Jamie Saunders wrote: >Hi, > >I want to check whether a string contains a certain word e.g. >

Re: [PHP] searching a MySQL database

2001-05-06 Thread bill
On Sun, 6 May 2001, Jamie Saunders wrote: > Hi, > > I've set up a MySQL database and an HTML search form. I'd like to know how > to search the database with whatever it entered into the form. It only > needs to be a simple search, returning anything that matches the word(s) > entered into the i

[PHP] if string contains...

2001-05-06 Thread Jamie Saunders
Hi, I want to check whether a string contains a certain word e.g. $varOne = "this is a string"; if ($varOne contains "is") { return true; } else { return false; } Is there an operator for 'contains', if not how do you do this? Thanks. Jamie Saunders Ma

RE: [PHP] best ide for windows

2001-05-06 Thread John Vanderbeck
I am a fan of UltraEdit. It has syntax highlighting and is a good all purpose powerful editor. What I really like though is the ability to Open >From and Save To FTP sites. This speeds up my work considerably. - John Vanderbeck - Admin, GameDesign (http://gamedesign.incagold.com/) - GameDesig

Re: [PHP] best ide for windows

2001-05-06 Thread Geir Eivind Mork
On Sunday 06 May 2001 14:57, Alexander Bierbrauer wrote: > does anyone know a good PHP developer IDE for Windows?? I'm using PHP > Coder but it's a little bit to buggy. slickedit is what I preffer to use, you got syntax highlighting, api help, function tagging so that you get info about your ow

[PHP] Install problems with PHP and GD

2001-05-06 Thread John Vanderbeck
Hello all, Normally I have a sysadmin that takes care of all these things, but recently I joined onto another project and we are all clueless :) We need to install the GD extras, mainly JPEG and PNG for creating images with PHP. We are using the latest PHP and RedHat Linux. We understand that

Re: [PHP] best ide for windows

2001-05-06 Thread Gyozo Papp
hello, here is a list php editors: http://www.itworks.demon.co.uk/phpeditors.htm I 'm using Edit Plus 2 or PHPEd (depending on the weather :), by the way. - Original Message - From: "Alexander Bierbrauer" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: 2001. május 6. 14:57 Subject:

[PHP] php.exe [filename .php] vs. run [filename.php] via webserver

2001-05-06 Thread Art
Does it's neccessary that if PHP file (*.php) can be parse and execute by php.exe such as "c:\php\php [filename .php]", then it will output the same while run it by webserver such as "Apache" or the like? I have some problem with odbc_connect It's output the correct when I do the former, but alwa

[PHP] best ide for windows

2001-05-06 Thread Alexander Bierbrauer
Hi people, does anyone know a good PHP developer IDE for Windows?? I'm using PHP Coder but it's a little bit to buggy. Alexander Bierbrauer Coordinator & Chief-Programmer of Not'A'Tric Web: http://www.notatric.de ICQ: 38412604 -- PHP General Mailing List (http://www.php.net/) To unsubscribe

[PHP] php4apachi.dll

2001-05-06 Thread Darren
Hi. I just installed a fresh copy a windows 95. I installed winsock 2, apache 1.3.19 and php4. I followed the instructions with the php installation and I booted apache, I got a missing dll error message from apache. I got the impression that it wasn't php4apache.dll that was missing as it was the

Re: [PHP] wordwrap

2001-05-06 Thread Yasuo Ohgaki
There no tag, but a function wordwrap(). http://www.php.net/manual/en/function.wordwrap.php You need to separate vars into message and comments also. Programming in any language w/o reading manual/reference is just a waste of time. IMO. Regards, -- Yasuo Ohgaki ""shawn"" <[EMAIL PROTECTED]> wr

[PHP] Insert data into mysql table

2001-05-06 Thread Mohamedou
Hello all, I have created a dabase with table news. I need to add some news into the table via a form. I created two files, the form and the action php file: But I am still unable to add data into the table. Look at my code: ###addnewsform.php###

Re: [PHP] PHP as apache module and security.

2001-05-06 Thread Andrzej Swedrzynski
On Sun, 6 May 2001, Estelle Martin wrote: > What do you think about the following configuration: > 1) safe-mode on : this ensures that a php script can read only files that > are owned by the same Unix user on the machine; then just check that people > having a right to use php and mysql on your

[PHP] searching a MySQL database

2001-05-06 Thread Jamie Saunders
Hi, I've set up a MySQL database and an HTML search form. I'd like to know how to search the database with whatever it entered into the form. It only needs to be a simple search, returning anything that matches the word(s) entered into the input box in the form. Thanks. Jamie Saunders Ma

Re: [PHP] PHP as apache module and security.

2001-05-06 Thread Estelle Martin
Hi, What do you think about the following configuration: 1) safe-mode on : this ensures that a php script can read only files that are owned by the same Unix user on the machine; then just check that people having a right to use php and mysql on your box have all a different corresponding Unix use

Re: [PHP] quicker query?

2001-05-06 Thread Gyozo Papp
hello, maybe there is another solution that should be quicker, because it uses fewer DB query. I don't have a clear view what you want from this query, so if you can give me a short description about it it would be appriciated. I think this one does the same job: INSERT INTO galaxy SELECT

  1   2   >