[PHP] hi

2001-09-01 Thread Balaji Ankem
Hi, Renze, I have one doubt in HTML. I should not ask this in this group. I don't have any alternative. Please consider this. How to increase the length of the select box. It is comming width as very less. I would like to increase that width. see the following code.. BODY

Re: [PHP] Serious Fopen Problems - not newbie :)

2001-09-01 Thread Philip Murray
Depending on the version of PHP you're using, this might help: Versions prior to PHP 4.0.5 do not handle HTTP redirects. Because of this, directories must include trailing slashes. It's from the fopen() manual page, http://www.php.net/fopen Cheers - -- -

Re: [PHP] hi

2001-09-01 Thread Hugh Danaher
It sounds like you want to set the select box to something wider than the product names so that it always comes out the same width. There is likely some elegant way to do this, but a quick fix would be to fill one of the option cells with a line of unprintable characters;. You could make it the

[PHP] chmod and ps ef |grep httpd

2001-09-01 Thread Police Trainee
i've been told that the files must be owned by the same person that owns the httpd. using ps ef |grep httpd, it says grep httpd USERNAME= ENV=/home/police/.bashrc HISTSIZE= my unix login is police. so, what does this mean as far as trying to get my chmod command to work? thanx

[PHP] loop? or conditional problem

2001-09-01 Thread syaggie
Okay the the script is attached below. i am baffled at the problem. as you can see the script does a rather simplistic generation of passwords. it then writes them into two files. the problem is the first time i run (i am running it stand alone) it works fine and the result is two files with

[PHP] FULLTEXT search sorting results

2001-09-01 Thread BRACK
I have query - $res = mysql_query(SELECT skits.*,category.cat_id,category.cat_name FROM skits,category WHERE MATCH (title,descr,skits) AGAINST ('%$search_idea%') and skits.lang like 'English' and skits.category like category.cat_id limit $limit,10 ); I expect to get results sorted by

Re: [PHP] The future of PHP

2001-09-01 Thread Christian Reiniger
On Friday 31 August 2001 15:22, Manuel Lemos wrote: I actually mention PHP-GTK in my sessions. I mention it as an anecdote, much like I mention some of the other interesting modules and projects in PHP (e.g., PEAR). I'm really not sure why people think I'm trying to bury PHP-GTK. Just

[PHP] Re: formating numbers to two decimal points - money - best ways

2001-09-01 Thread fx
if your datas are stored in a DB you should specify the precision of the float in the table : float(8,2) Anyone have functions for formatting numbers being multiplied by variables and whatnot to two decimal points - rounded up? As for displaying total cost, etc?

Re: [PHP] The future of PHP

2001-09-01 Thread Zeev Suraski
At 16:22 31-08-01, Manuel Lemos wrote: Oh, man, do you really do that? That is worse than not mention it at all. You may be joking but not everybody may understand it that way. Doing that you ruining the credibility of those efforts that take PHP far out what originally it was meant for. If you

Re: [PHP] The future of PHP

2001-09-01 Thread Zeev Suraski
At 14:52 01-09-01, Christian Reiniger wrote: On Friday 31 August 2001 15:22, Manuel Lemos wrote: I actually mention PHP-GTK in my sessions. I mention it as an anecdote, much like I mention some of the other interesting modules and projects in PHP (e.g., PEAR). I'm really not sure why

[PHP] Mdb conversion

2001-09-01 Thread Rogerio Coelho - Equipeweb - CompuLand ISP
Hi, Folks !! I am in trouble. I need to convert a mdb database to mysql. Can PHP handle this? Where can I learn about it? Thanks in advance. []´s Rogerio Coelho. Equipeweb - CompuLand Design http://www.equipeweb.com.br Tel/Fax:(xx) 24 237-2088 -- PHP General Mailing List

Re: [PHP] Mdb conversion

2001-09-01 Thread Jeff Lewis
I needed this recently as well and found some converters right here: http://www.mysql.com/documentation/mysql/bychapter/manual_Contrib.html#SEC60 7 They usually are run from within the MDB macros but it helped me convert my database over :) Jeff - Original Message - From: Rogerio

Re: [PHP] Mdb conversion

2001-09-01 Thread Adi Wibowo
On Sat, 1 Sep 2001, Rogerio Coelho - Equipeweb - CompuLand ISP wrote: Hi, Folks !! I am in trouble. I need to convert a mdb database to mysql. Can PHP handle this? Where can I learn about it? Thanks in advance. It doesn't need PHP to convert access to mysql. Just go to

Re: [PHP] File Upload Problem Solving?

2001-09-01 Thread Marc Davenport
On Fri, 31 Aug 2001, Jeff Oien wrote: I have a user who is unable to upload files but I don't know where to start with the troubleshooting process. I have this: @copy($img1, /blah/$username/$img1_name) or die(File upload didn't work.); and they are getting the die message. All

Re: [PHP] generate random ascii string

2001-09-01 Thread Sean C. McCarthy
Hi, If you have random string including symbols just take them of with regexp. Look at the manual for regular expresion functions. Hope it helps. Sean C. McCarthy SCI, s.L. (www.sci-spain.com) bill wrote: How can a random string of only letters and numbers be generated?

Re: [PHP] generate random ascii string

2001-09-01 Thread Philip Olson
Hi Bill, Here's a quick hack, should get you on your way : function randomString($len) { global $seed; $tmp = ''; $chars = 'abcdefghijklmnopqrstuvwxyz'; $chars .= strtoupper($chars); $chars .= '0123456789'; if (empty($seed)) { mt_srand ((float) microtime() * 100);

Re: [PHP] generate random ascii string

2001-09-01 Thread bill
Philip, With a few tweaks, it works great, thanks! Here's what worked: function randomString($len) { global $seed; $tmp = ''; $chars = 'abcdefghijklmnopqrstuvwxyz'; $chars .= strtoupper($chars); $chars .= '0123456789'; if (empty($seed)) { mt_srand ((float) microtime() *

Re: [PHP] $str[0] vs $str{0} was : generate random ascii string

2001-09-01 Thread Philip Olson
It appears the only change you made was : $tmp .= $chars[mt_rand(0,$chars_len)]; From : $tmp .= $chars{mt_rand(0,$chars_len)}; Which is strange. the [] use on strings has been depreciated in favor of {} as of php4 but I don't know at what version {} came into being exactly. What

Re: [PHP] $str[0] vs $str{0} was : generate random ascii string

2001-09-01 Thread bill
Hi Philip, Yes, I have a choice of PHP3 or 4 and this script happened to be in PHP 3 so I just tweaked it. I didn't realize that one day $chars[mt_rand(0,$chars_len)] would no longer work, but at least it is backwards compatible now. I've made a mental note of that for future reference. PHP 3

Re: [PHP] FULLTEXT search sorting results

2001-09-01 Thread Mark Maggelet
On Sat, 1 Sep 2001 14:01:57 +0200, BRACK ([EMAIL PROTECTED]) wrote: I have query - $res = mysql_query(SELECT skits.*,category.cat_id,category.cat_name FROM skits,category WHERE MATCH (title,descr,skits) AGAINST ('%$search_idea%') and skits.lang like 'English' and skits.category like

[PHP] potential preg_replace bug; unsure however

2001-09-01 Thread alvarez
I built a Perl-style regex to match function calls in C-like languages where $name is the functions name. The functions are assumed to accept a single string as parameter. Here it is. /$name\s*\(\s*\(.*)\\s*\)\s*;/s The expression is successfully preg_match'ed on a stream of code, but when

Re: [PHP] seeking good annotate script

2001-09-01 Thread Matthew A. Schneider
Daniel, It doesn't get much easier than Philip Greenspun's Loquacious (http://www.greenspun.com/com/home.html). Philip begins the description of his free comment server thusly: You have a Web server with static pages. You want users to be able to add comments dynamically to any of your pages.

php-general Digest 2 Sep 2001 01:19:48 -0000 Issue 851

2001-09-01 Thread php-general-digest-help
php-general Digest 2 Sep 2001 01:19:48 - Issue 851 Topics (messages 65598 through 65619): loop? or conditional problem 65598 by: syaggie FULLTEXT search sorting results 65599 by: BRACK 65617 by: Mark Maggelet Re: The future of PHP 65600 by: Christian

[PHP] FREE Internet Business --- Start Immediately...

2001-09-01 Thread cici429
---How To Make It *BIG* on the Net...QUICKLY...with NO Money! This is NEW and INCREDIBLY EXCITING!! Join Free, WORLD-WIDE! (Zero investment!) No hassles, no selling, no pressure. Like NOTHING you have ever seen on the net today! No limits... You can join for FREE and MAKE MONEY!!

[PHP] ereg question

2001-09-01 Thread js
In the Leon Atkinson Core PHP book, in his ereg example he states that ereg will only return the first match on a line. Can anyone confirm or deny this? Thanks, Josh -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

[PHP] Re: chmod and ps ef |grep httpd

2001-09-01 Thread Richard Lynch
i've been told that the files must be owned by the Which files? For what?... same person that owns the httpd. using ps ef |grep httpd, it says grep httpd USERNAME= ENV=/home/police/.bashrc HISTSIZE= my unix login is police. so, what does this mean as far as trying to get my chmod command

[PHP] problem with ereg() and ereg_replace()

2001-09-01 Thread Stonix
Hi, I have a strange problem with ereg() and ereg_replace(). I have a Linux RH 7.1 machine running apache and php4. On this server, if use ereg() or ereg_replace() with { or }, for example, ereg_replace( {key}, word, $a_string); The web server will return following warnning msg: Warning:

[PHP] Make Money For Sending E-mail

2001-09-01 Thread fred . bill
Dear [EMAIL PROTECTED], BE A MILLIONAIRE LIKE OTHERS WITHIN A YEAR!!! Before you say ''Bull'', please read the following. This is the letter you have been hearing about on the news lately. Due to the popularity of this letter on the Internet, a national weekly news program recently

[PHP] Re: Really weird problem: cross-server databasing *g*

2001-09-01 Thread Markus Mayer
Forgot to mention ... the only way to access the database on B is to connect to localhost there. -- 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

[PHP] Re: problem with ereg() and ereg_replace()

2001-09-01 Thread CC Zona
In article 01b201c13354$0ca601c0$0105050a@pony, [EMAIL PROTECTED] (Stonix) wrote: ereg_replace( {key}, word, $a_string); The web server will return following warnning msg: Warning: Invalid content of \{\} in /var/www/html/scrip.php on line # In regex, the curly braces are special

[PHP] virtual nulls include problem

2001-09-01 Thread Alfredo Yong
Hi. I use allways the include built in function to conditionally select the php script that build the web page. I need to add a header at he beginning of an already working script, but the directive include don't work: !-- #include virtual=../../../../headlvl4.shtml -- So I'm using

[PHP] Call to undefined function: dbase_open() in

2001-09-01 Thread yang
i want try to open the test.dbf files .. but have the problem Call to undefined function: dbase_open() in -- 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] Really weird problem: cross-server databasing *g*

2001-09-01 Thread Markus Mayer
Hi folks! Let's say you have two servers, on the first one (A) you have your website containig all those nice php scripts and co but only a crazy small database (2 megs), on the second one (B) you have a really big database available but the problem, that the provider won't allow you to access