php-general Digest 11 Feb 2001 07:34:05 -0000 Issue 505

2001-02-10 Thread php-general-digest-help
php-general Digest 11 Feb 2001 07:34:05 - Issue 505 Topics (messages 39087 through 39108): Re: PROBLEM TO CONNECT MYSQL... 39087 by: jason cox Parsing XML 39088 by: Steve Haemelinck mod_rewrite starts driving me crazy ... 39089 by: Maxim Maletsky Parsing XML the S

RE: [PHP] db forms creator?

2001-02-10 Thread Maciek Uhlig
try http://phpmyedit.sourceforge.net/ Maciek > -Original Message- > From: Jaxon [mailto:[EMAIL PROTECTED]] > Sent: Monday, February 05, 2001 12:18 AM > To: [EMAIL PROTECTED] > Subject: [PHP] db forms creator? > > > Hi, can anyone point me towards an easy way to generate forms to update

[PHP] passthru environment variables

2001-02-10 Thread Rich Puchalsky
I'm trying to use passthru in a PHP program to have an external program display some data. The problem is that I was trying to have the external program's environment pick up the form field variables automatically passed into the PHP program as shell environment variables. In other words, if a u

RE: [PHP] RE: db forms creator?

2001-02-10 Thread Jeffrey A. Stuart
Yes. Take a look at Code Charge. It does what you want and then some! (www.codecharge.com) -- Jeff (FurBall) WebOverdrive Newbie Tech Board http://www.topniche.com/tech/ [EMAIL PROTECTED] -Original Message- From: Tim Ward [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 07, 2001 8:

[PHP-CVS] cvs: php4 /ext/standard file.c file.h

2001-02-10 Thread Sean Bright
elixer Sat Feb 10 18:38:40 2001 EDT Modified files: /php4/ext/standard file.c file.h Log: Fix for bug #4556 # This is pretty much a total rewrite of get_meta_tags using a simple # handwritten tokenizer. It might be overkill, but it works. Index: php4/

Re: [PHP] my bugaboo.

2001-02-10 Thread Josh G
If replacing " characters for output to html, don't replace them with '' (two single quotes), replace with the magic value " (including the semicolon), which is a special html entity that means "put a quotation mark here" Search google for html entities for more. Gfunk - http://

Re: [PHP] my bugaboo.

2001-02-10 Thread Anna
- Original Message - From: "Floyd Baker" <[EMAIL PROTECTED]> > > Hello and thanks to all for the help on the magic quotes, etc. > It gives me a better handle on what I'm dealing with. > > Except for one more thing. > > When I bring back text from a field which contains a ', and try to ap

[PHP] newline processing problem?

2001-02-10 Thread nphyre
I have some code which generates a large string to be used by the mail() function. At the same point in the string each time, PHP stops processing "\n" correctly and instead of a newline outputs nothing, so the text starts to get run together.. but it doesn't seem to happen on every "\n". Ha

Re: [PHP] shows up in IE but not Netscape

2001-02-10 Thread Erik Boles
Thanks to everyone! Can't believe I missed that, but, then again, can't believe I got married either. - Original Message - From: Angerer, Chad <[EMAIL PROTECTED]> To: 'Erik Boles' <[EMAIL PROTECTED]>; PHP3 List <[EMAIL PROTECTED]> Sent: Friday, February 09, 2001 10:24 AM Subject: RE: [P

Re: [PHP] include("blah.php?var=this"); doesn't work?!

2001-02-10 Thread Anna
- Original Message - From: "thor" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Thursday, February 08, 2001 11:58 AM Subject: Re: [PHP] include("blah.php?var=this"); doesn't work?! > Any include page you use will automatically use any variable that has been set i

Re: [PHP] my bugaboo.

2001-02-10 Thread Shane McBride
Look into addslashes() and stripslashes() Are you getting $text from a database query? - Shane DISCLAIMER: I am by no means an expert on this, or any other, topic... - Original Message - From: "Floyd Baker" <[EMAIL PROTECTED]> To: "Floyd Baker" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]>

[PHP] set user & group quota; fork or multithreading?

2001-02-10 Thread Felix C.Courtemanche
Hello, I am currently trying to find a way to: set user and group quota using PHP. I don'T know how I could use the existing edquota programs, etc, because they automatically open vi to edit instead of taking one line command. I would also like to know if anyone has any ideas on how to do mult

php-i18n Digest 10 Feb 2001 22:10:09 -0000 Issue 51

2001-02-10 Thread php-i18n-digest-help
php-i18n Digest 10 Feb 2001 22:10:09 - Issue 51 Topics (messages 116 through 122): about PHP-i18n 116 by: Rui Hirokawa 117 by: Rasmus Lerdorf 118 by: John Risby 119 by: Brian King 120 by: Yasuo Ohgaki Why do we want to give YOU money? 121 by:

[PHP-I18N] 5.5 cents Long Distance, 24 hrs/day, No Fees!

2001-02-10 Thread LD305
Dear [EMAIL PROTECTED], 5.5 cents/min. State to State calling, All Day, Every Day, No Fees! - Commercial and residential. - 4.5 cents/min. in-state for California! - 5.5 cents/min. inbound service. - Rates apply all day, every day. - NO monthly fees, and NO minimums! - 6 second billing incremen

Re: [PHP] Parsing XML the Sequel :)

2001-02-10 Thread Matt McClanahan
On Sat, Feb 10, 2001 at 07:37:32PM +0100, Steve Haemelinck wrote: > The page I want to parse is: > > http://213.224.136.110:8080/test.xml > > And this is my code: > > > //Define Opening Tags of XML > $open_tags = array( > 'STORY' => '', > 'STOCK_NAME' => '', > 'LAST_SALE' => '', > 'PREVIOUS_

[PHP] sub

2001-02-10 Thread claesson

[PHP] CAN YOU ADVERTISE TO OVER 20 MILLION E-MAIL ADDRESSES?

2001-02-10 Thread Luke6
TO BE REMOVED FROM FUTURE MAILINGS, SIMPLY REPLY TO THIS MESSAGE AND PUT "REMOVE" IN THE SUBJECT. 20 MILLION E-MAIL ADDRESSES FOR ONLY $249 **Over Night International Shipping Included** Many Call This "The "Perfect E-Mail List" Over 20-Million Of The Best E-Mail Addresses Av

Re: [PHP] how to alter assoc_array?

2001-02-10 Thread Jaxon
jason, thanks ... got it. while($row = mysql_fetch_array($result, MYSQL_ASSOC)){ list($key, $value) = each($row); $key_new="X.$key"; $value_new="X.$value"; $new_array=array($key_new => $value_new"); } thanks, jaxon On 2/10/01 2:32 PM, "jason cox" <[EMAIL PROTECTED]> wrote: >

[PHP-CVS] cvs: php3 / ChangeLog

2001-02-10 Thread Jim Winstead
jimwSat Feb 10 11:45:34 2001 EDT Modified files: /php3 ChangeLog Log: document change Index: php3/ChangeLog diff -u php3/ChangeLog:1.855 php3/ChangeLog:1.856 --- php3/ChangeLog:1.855Sun Dec 17 16:09:44 2000 +++ php3/ChangeLog Sat Feb 10 1

[PHP-CVS] cvs: php3 / php3.ini-dist

2001-02-10 Thread Jim Winstead
jimwSat Feb 10 11:43:58 2001 EDT Modified files: /php3 php3.ini-dist Log: we claim php3.ini documents the defaults, but magic_quotes_gpc defaults to off unless --enable-magic-quotes is used in compiling Index: php3/php3.ini-dist diff -u php3/php3.ini

[PHP] ibm-db2 connect failure

2001-02-10 Thread Bill Sneed
Greetings all: Using: RH6.2, Apache 1.3.17, PHP4.0.4pl1, IBMdb2 V7.1, & PostgreSQL 7.03 PHP statically linked to Apache. Postgres, php, & Apache all working well together. Have made the appropriate symlinks for db2 & Apache (libdb2.so.1, etc) db2 works fine from the command line or from withi

Re: [PHP] how to alter assoc_array?

2001-02-10 Thread jason cox
I would just loop through the array and grab the key/value pairs and then add them to a new array as you modify them. Jason --- Jaxon <[EMAIL PROTECTED]> wrote: > Hi folks! > > If $array contains the following: > > boy => hello > girl => hi > dog => bark > > How can I alter all the elements t

[PHP] how to alter assoc_array?

2001-02-10 Thread Jaxon
Hi folks! If $array contains the following: boy => hello girl => hi dog => bark How can I alter all the elements the same way? e.g. so that it now conatins: Xboy => Xhello Xgirl => Xhi Xdog => Xbark thanks! jaxon -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [E

Re: [PHP] my bugaboo.

2001-02-10 Thread Floyd Baker
Hello and thanks to all for the help on the magic quotes, etc. It gives me a better handle on what I'm dealing with. Except for one more thing. When I bring back text from a field which contains a ', and try to apply it as the value of an input box, it still truncates in the box. When I si

[PHP] Parsing XML the Sequel :)

2001-02-10 Thread Steve Haemelinck
The page I want to parse is: http://213.224.136.110:8080/test.xml And this is my code: '', 'STOCK_NAME' => '', 'LAST_SALE' => '', 'PREVIOUS_CLOSE' => '', 'NET_CHANGE_PCT' => '', 'STOCK_URL' => ''); //Define Closing Tags of XML $close_tags = array( 'STORY' => '', 'STOCK_NAME' => '', 'LAST_SALE

[PHP] mod_rewrite starts driving me crazy ...

2001-02-10 Thread Maxim Maletsky
Hello guys, I know it is not exactly a PHP problem, it is about apache's mod_rewrite which after 4 hours of tentative till 3.30am starts making me think that I need a LONG vacation ... I know it's easy... I read all the docs dozens of times and I *feel* that I am very close to the solution ... p

[PHP] Parsing XML

2001-02-10 Thread Steve Haemelinck
I want to parse an XML from nasdaq, but I allways get a blank page when doing so. I also get the notice: undefined index when parsing. What does this mean? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTEC

Re: [PHP] PROBLEM TO CONNECT MYSQL...

2001-02-10 Thread jason cox
Felipe, You need to login with the root account to mysql and then issue the following commands where "user1" is the user that your modifying and "pass1" is the new password. after you've logged in successfully as root, issue the following commands: use mysql; update user set password=Password(

php-general Digest 10 Feb 2001 17:59:43 -0000 Issue 504

2001-02-10 Thread php-general-digest-help
php-general Digest 10 Feb 2001 17:59:43 - Issue 504 Topics (messages 39054 through 39086): Dynamically loading... 39054 by: Ryan Sexton 39071 by: Richard Lynch Re: MySQL 3.23 39055 by: Mark Maggelet 39086 by: Thomas Deliduka Re: good free/cheap IDE for PHP

Re: [PHP] MySQL 3.23

2001-02-10 Thread Thomas Deliduka
My only issue was a symbolic link had to be created for Apache to start again. ln -s /usr/local/mysql/lib/mysql/libmysqlclient.so.10 /usr/lib/libmysqlclient.so.10 Oh, and I had to recompile PHP as a DSO in order to work with mysql 3.23 On 2/10/01 12:59 AM this was written: > On Fri, 9 Feb 200

RE: [PHP] upload file

2001-02-10 Thread Boaz Yahav
Check out : http://www.weberdev.com/index.php3?GoTo=ViewArticle.php3?ArticleID=2 Sincerely berber Visit http://www.weberdev.com Today!!! To see where PHP might take you tomorrow. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Saturday, February

[PHP] upload file

2001-02-10 Thread Marisol Díaz E.
Hello I need to do upload a file, I have problem with instruction copy(?,?); When it copy the file, just copy to tmp, and it change the name. Marisol Díaz E. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

RE: [PHP] IIS 5

2001-02-10 Thread James Moore
http://www.php.net/manual/en/install.iis.php and http://cvs.php.net/viewcvs.cgi/php4/win32/README.txt?rev=1.4&content-type=te xt/vnd.viewcvs-markup James > -Original Message- > From: Christian Bjorklund [mailto:[EMAIL PROTECTED]] > Sent: 10 February 2001 15:46 > To: [EMAIL PROTECTED] > S

[PHP] IIS 5

2001-02-10 Thread Christian Bjorklund
Hello I like to have some directions in how to install PHP on IIS 5 Regards Christian. Kråmagnom AB Christian Björklund Rådmansgatan 67 113 60 Stockholm Tel: 08-320750 Fax: 08-320751 Mobil: 070-8880002

[PHP] PROBLEM TO CONNECT MYSQL...

2001-02-10 Thread Felipe Lopes
I have a problem to connect mysql... Now, when I try login to Mysql it says that my user-password is wrong. So I need to know what is the "equation" to delete, or to change, my password-user? What is the "equation" to insert a user after I delete my last user? Thank you again!!! Felipe Lop

RE: [PHP] Re:shows up in IE but not Netscape

2001-02-10 Thread Boaz Yahav
You don't need to be a genius to know that HTML that is seen in IE and not in NN is missing at least one tag. IE is not that picky about closing tables :) Sincerely berber Visit http://www.weberdev.com Today!!! To see where PHP might take you tomorrow. -Original Message- Fro

[PHP] Re:shows up in IE but not Netscape

2001-02-10 Thread John Hinsley
"Erik Boles" <[EMAIL PROTECTED]> wrote: > > We are running a webform, that asks for user ID and pass, then passes it on > to a .php3 file that shows them a page to continue (not a security thing, > just a tracking thing). > > This .php3 file, called login.php3 works just fine in IE

Re: [PHP]Spider script in PHP.

2001-02-10 Thread Hrishi
On Friday 09 February 2001 21:28, Angerer, Chad wrote: maybe late and all, this pieca code was lying around somewhere in my socks ;) see if ya can use it, hrishi begin code snippet handle; $currpath=$fromdir_class->path; chdir($currpath); $dirs=array();

Re: [PHP] DefaultType, FreeBSD, Mod_Rewrite, trailing slash

2001-02-10 Thread Hrishi
> > RewriteCond %{SCRIPT_FILENAME} -d i aint no guru but try puttin %{REQUEST_URI} up there in place of SCRIPT_.. hrishi -- 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 administr

Re: Re[2]: [PHP] Testing CONNECTION Speed

2001-02-10 Thread John Vanderbeck
Well, There are about 3 or 4 sites on the net that will test your connection speed, so it must be possible. I know MSN has one. - John Vanderbeck - Admin, GameDesign - Original Message - From: "Andrew Golovin" <[EMAIL PROTECTED]> To: "Adam Knight" <[EMAIL PROTECTED]> Cc: "Matias Banzas

Re[2]: [PHP] Testing CONNECTION Speed

2001-02-10 Thread Andrew Golovin
Hello, Adam! Thursday, February 08, 2001, 11:48:12, you wrote: AK> 3) Send a large graphic (200K) AK> No, it's not transparent to the user and no it's not microtime accurate, but AK> it *does* work. it *dosn't* work. what if user turn off grafix in his browser? >>Is there any way to do thi

Re: [PHP] Credit Cards

2001-02-10 Thread AJDIN BRANDIC
hi jerry try www.bibit.com. they wil give you some example code too. easy to use and you can link to their test server until you are happy with your scripts. ajdin On Fri, 9 Feb 2001, Jerry Lake wrote: > I have a basic shopping cart setup > and I am curious as to how I go about > being able

Re: [PHP] Decoding E-Mails

2001-02-10 Thread Florin Andrei
On 09 Feb 2001 12:26:37 +0100, Jens Kisters wrote: > We started to build an Online-Mailclient using PHP and dicovered that > there are quite a lot methods of encoding mails, does anyone have > classes to decode MIME / ... (what other common methods are there?) > > It would be great to extract Hea

[PHP] DefaultType, FreeBSD, Mod_Rewrite, trailing slash

2001-02-10 Thread Richard Lynch
Sorta off-topic, but it's all to get files with no extension to be run through PHP... Okay, since DefaultType is just plain broken on FreeBSD4.1Release&Apache1.3.14, I tried to simulate it with mod_rewrite: RewriteRule !.*\..* - [T=application/x-httpd-php] This actually works and everything (wh

Re: [PHP] Dynamically loading...

2001-02-10 Thread Richard Lynch
> Hi, I'm looking for a host that has CURL and Cybercash installed, but so > many good hosts out there do not have this installed and aren't willing to > budge on there build of php. I'm wondering only because i'm not a Unix/Linux > guru, Is it possible if a hosting company gives access to the DL(

Re: [PHP] mysql default cfg

2001-02-10 Thread Richard Lynch
> Isn't default config for mysql to report syntax errors on queries and stuff > like that??... it always did, I never altered any config in mysql. And then > today it just STOPPED reporting errors. It used to report errors by default a long time ago, I think... Maybe you upgraded PHP? Or upgrade

Re: [PHP] Using PHP for CGI

2001-02-10 Thread Richard Lynch
> I'm interested in a comparison study for using PHP vs. Perl for CGI > programming. Specifically, I'm looking for information comparing the > two in terms of speed, memory usage and efficiency. Any information or > url's would be appreciated. Check the FAQ. http://php.net/FAQ.php If you reall

Re: [PHP] anyway to make mail() function use port 25

2001-02-10 Thread Richard Lynch
> anyway to make mail() function to use port 25 on a defined SMTP host > instead of the raw/direct spooling as by default as it uses sendmail on > local system, what happens when SMTP server is a different box > alltogether ? You can change php.ini, maybe, or use Manuel Lemos' mail class to spew

Re: [PHP] Cookies reprise...

2001-02-10 Thread Richard Lynch
You can't set a cookie and do a header("Location:") on the same page. It will work in some versions of some browsers, and not in others. -- Visit the Zend Store at http://www.zend.com/store/ Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm Volunteer a little time: http://c

Re: [PHP] More problems with MySql...

2001-02-10 Thread Richard Lynch
> Hey guys, I have another problem... > Now, when I try login to Mysql it says that my user-password is wrong > :-( > So I need to know what is the "equation" to delete, or to change, my > password-user? > What is the "equation" to insert a user after I delete my last user? I always forget as w

Re: [PHP] Spliting

2001-02-10 Thread Richard Lynch
> Suppose that I have a page andf I splitted it into two upper side has input > fields and buttons and lower side is > report that is every line includes database information. > Now I have a question when I choose one of the lines below this page how can > I get the values to upper pages input fie

Re: [PHP] http_user_agent and proxy

2001-02-10 Thread Richard Lynch
> I have this problem: > I am using a script like this to make php use a remote proxy to get pages using a remote proxy: > fputs($data1,"GET $myfiles/ HTTP/1.0\n\n"); > The problem is that i want to set the HTTP_USER_AGENT to something different than a blank field, but have no idea how to do t

Re: [PHP] Asking Sth about PHP

2001-02-10 Thread Richard Lynch
> I have two problems in using PHP. Could you help me? > I am using Red-Hat to build up my System. Could I use Perl to control some PHP program? Also, could I run my PHP program in Linux Console? You'll probably need to compile PHP from source to get a CGI (standalone) binary. It's actually

Re: [PHP] Zend Debugger problems

2001-02-10 Thread Richard Lynch
> Anyone wrestled with the Zend Debugger Setup. Yes. :-) > Having downloaded the test drive of the IDE and Debugger and the test drive > license file > followed the docs to the letter. It still isnt running. once i include > zend_extention="/usr/local/Zend/ZendDebugger.so" in the php.ini file >

RE: [PHP] Asking Sth about PHP

2001-02-10 Thread PHPBeginner.com
Yes, you can run PHP under Linux, this is the best way for it. and about Perl - PHP, well they are not of too friends, but a whole bunch of things can do toghether. In fact you can even complile PHP as CGI. However, to tell you the true I didn't really understand your question, please be more spe

RE: [PHP] tracking the current url

2001-02-10 Thread PHPBeginner.com
you could simply use $HTTP_HOST.$PHP_SELF of even better if look here: http://www.php.net/manual/en/language.variables.predefined.php Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED] www.phpbeginner.com -Original Message-

RE: [PHP] mysql not reporting errors

2001-02-10 Thread PHPBeginner.com
Hi Anna, Have you ever heard of PHP Library (PHPLIB) ? It is quite simple to install and will give you possibility of easily switching between databases as well as choosing when and how to receive the database errors. It also has a whole bunch of other features - a very good base for development

RE: [PHP] URL Encode

2001-02-10 Thread PHPBeginner.com
UrlEncode() www.php.net/urlencode Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED] www.phpbeginner.com -Original Message- From: David Smith [mailto:[EMAIL PROTECTED]] Sent: Saturday, February 10, 2001 6:50 AM To: PHP Li

RE: [PHP] Hi, new guy here!

2001-02-10 Thread PHPBeginner.com
Welcome on Board, Brian! Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED] www.phpbeginner.com -Original Message- From: Brian Potter Web Design [mailto:[EMAIL PROTECTED]] Sent: Saturday, February 10, 2001 7:51 AM To: Php Su