[PHP] Connect problem

2001-01-09 Thread Maximiliano Bubenick
Hi I run linux red hat 6.2 with apache 1.3.12, php4 and mysql 3.22.32 The first time my problem was Call to undefined function: mysql_connect(), and I add the line dl("mysql.so"); and then bring me: Warning: Unable to load dynamic library '/usr/lib/php4/mysql.so' - undefined symbol: Perl

Re: [PHP] Browser cache and form with $PHP_SELF

2001-01-09 Thread Egan
On Wed, 10 Jan 2001 12:13:26 +0530, "Hrishi" <[EMAIL PROTECTED]> wrote: >try adding a header("Expires: 0"); line at the top of the script. this will >provide an 'already expired' page to the user. i.e., the browser will not >store the page in cache at all. >other headers are: > >Cache-Control: ma

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

2001-01-09 Thread David Croft
david Tue Jan 9 22:48:06 2001 EDT Modified files: /php4/ext/standard datetime.c Log: fixed swatch internet time (bugs#8242,7106) Index: php4/ext/standard/datetime.c diff -u php4/ext/standard/datetime.c:1.61 php4/ext/standard/datetime.c:1.62 --- php4/ext/

Re: [PHP] Browser cache and form with $PHP_SELF

2001-01-09 Thread Hrishi
try adding a header("Expires: 0"); line at the top of the script. this will provide an 'already expired' page to the user. i.e., the browser will not store the page in cache at all. other headers are: Cache-Control: max-age=0 Cache-Control: no-cache these will make sure any proxies/ISP caches w

[PHP] Browser cache and form with $PHP_SELF

2001-01-09 Thread Egan
Using $PHP_SELF, I have a form that calls itself until the user gets all the input right. Each time the user corrects some field and resubmits, the browser builds a cache of pages, as you can see with the browser back button. Is there a way to make the browser clear the cache on every submission

[PHP] Im having Trouble with File uploading,

2001-01-09 Thread MacBane
File uploading is not working for me on my server, it is a windows 2000 box running php 4.02 this is my code "); ?> -- 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 a

[PHP] declaring variables in class definitions

2001-01-09 Thread sam1600
Hello, class a { var $somevar; function b(){ if (!isset($this->somevar)) echo "Not set"; if (empty($this->somevar)) echo "empty"; } } $d = new a; $d->b(); The above returns: Not set empty What in the world is reason for declaring the following in th

[PHP] oops forgot to add

2001-01-09 Thread James Mclean
no particular errors or anything show up. page uses php & mysql -- 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] mysql and php possibly causing problem

2001-01-09 Thread James Mclean
list, ok her is the problem. i have a page taht works fine in one dir, but in a sub dir, it doesnt even show up. here is my dir structure. public_html/| |website/| ||index.php ||admin/| || |admin.php |

RE: [PHP] MySQL Newbie ? -Help!

2001-01-09 Thread Matt Stone
Uhh not really, the table has about 3 entries. Don't really want to risk anything. I want to know how to do it through a MySQL statement, not a php script. -Original Message- From: Jason Brooke [mailto:[EMAIL PROTECTED]] Sent: Wednesday, 10 January 2001 2:39 PM To: Matt Stone; PHP

[PHP] PHP newbie question

2001-01-09 Thread Neil Zanella
Hello, I have a question regarding the following 3 one line .php files: The first script prints the famous words correctly but what baffles me is the second script which should be the same as the third script since $a is not set and hence should evaluate to nothing, but PHP 3.0.15 is eval

Re: [PHP] MySQL Newbie ? -Help!

2001-01-09 Thread Jason Brooke
one simple way would be to make a duplicate, empty table and then do: insert into newtable select distinct * from oldtable then try adding a uniqueness constraint if you don't want duplicates in the future jason > Hi, > Is there a way to go through a table and remove all duplicate entries s

Re: [PHP] week of example code

2001-01-09 Thread Tiger Quimpo
On Tue, 09 Jan 2001, jeremy brand wrote: > why not this? > > $year = date('Y'); > $month = date('m'); > $day = (int)date('d'); > > if ($day >= 1 && $day < 8) > $week = 1; > else if ($day >= 8 && $day < 15) > $week = 2; > else if ($day >= 15 && $day < 22) > $week = 3; > else if ($day >= 22

[PHP] MySQL Newbie ? -Help!

2001-01-09 Thread Matt Stone
Hi, Is there a way to go through a table and remove all duplicate entries so that there is only one? The way I am doing it now is taking FOREVER. Thanks, Matt Stone ___ This email may contain confidential and/or privileged information for the sole use of the intended

Re: [PHP] Passing a query result

2001-01-09 Thread Todd Cary
Toby - The query is done in another function $row = db_get_questions($dbh, $course); Then I want to move to a record by row number, so I have the function for doing that. I will need to move to acsending rows since my client needs to obtain random records. I have already created my array o

Re: [PHP] more shopping cart crap

2001-01-09 Thread Tshering Norbu
Correction : I was going to say 'browse for more' , not 'browse for me' below ...hehe. I have come across few topics/links which I thought might be of interest to you: http://www.findtutorials.com/search.asp?action=search&category=&boolean=+OR+ &kywrds=php+ping&curpage=2 You can also browse fo

Re: [PHP] Passing a query result

2001-01-09 Thread Toby Butzon
I don't see a query anywhere... you might want to take a look at http://php.net/manual/function.ibase-fetch-row.php and http://php.net/manual/function.ibase-query.php and reply back to us if it's still unclear & not working... Regards, Toby Butzon [ criticism spurs improvement ] - Original

Re: [PHP] more shopping cart crap

2001-01-09 Thread Tshering Norbu
I have come across few topics/links which I thought might be of interest to you: http://www.findtutorials.com/search.asp?action=search&category=&boolean=+OR+ &kywrds=php+ping&curpage=2 You can also browse for me following the NEXT and BACK bottom at the bottom of that page. NOBBY - Origin

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

2001-01-09 Thread David Croft
david Tue Jan 9 20:01:02 2001 EDT Modified files: /php4/ext/standard datetime.c Log: Allocate buffer in date() for the actual length of the timezone (bug#8292) Index: php4/ext/standard/datetime.c diff -u php4/ext/standard/datetime.c:1.60 php4/ext/standar

Re: [PHP] Passing a query result

2001-01-09 Thread Todd Cary
Whoops! I forgot the code!! function db_get_n_row($dbh, $row, $currentRow, $nextRow) { while (($row) && ($currentRod != $nextRow)) { ibase_fetch_row($row); $currentRow++; if ($currentRow == $nextRow) { return $row; } else { return 0; }; };

Re: [PHP] Passing a query result

2001-01-09 Thread Todd Cary
Toby - This is an Interbase DB... Todd Toby Butzon wrote: > Working with what sort of database? > > Toby Butzon > [ criticism spurs improvement ] > > - Original Message - > From: "Todd Cary" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Tuesday, January 09, 2001 10:47 PM

Re: [PHP] installing PHP4 on Apache on Win2000

2001-01-09 Thread Tshering Norbu
I also had similar problems installing PHP. I followed the instructions by Edward (http://www.net-language.com/workshops/Default.asp?workshop=21). Strange, but true to me that the installation only worked with earlier releases of PHP (it was 4.0.0 for me) and not the latest. Did you try installing

Re: [PHP] Passing a query result

2001-01-09 Thread Toby Butzon
Working with what sort of database? Toby Butzon [ criticism spurs improvement ] - Original Message - From: "Todd Cary" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, January 09, 2001 10:47 PM Subject: [PHP] Passing a query result : I need to pass a query result to a func

[PHP] Passing a query result

2001-01-09 Thread Todd Cary
I need to pass a query result to a functionas demonstrated below. I get the error message that $row is not a result type. Is there a way around this? Todd -- Todd Cary Ariste Software [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECT

RE: [PHP] looking for a PHP editor

2001-01-09 Thread Jeffrey A. Stuart
Yes, we're subscribed to their beta mailing list. The URL to their mailing list is on their site. -- Jeff (FurBall) WebOverdrive Newbie Tech Board http://www.topniche.com/tech/ [EMAIL PROTECTED] -Original Message- From: Josh G [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 09, 2001 8

Re: [PHP] Looking for a script

2001-01-09 Thread Brian Clark
Hello PeterOblivion, (Pac == "[EMAIL PROTECTED]") [EMAIL PROTECTED] writes: Pac> since im too busy to write my own script, does anyone know of a Pac> FilePlanet (fileplanet.com) or Download.com type indexing script, Pac> where when you click on a link it will take you to the details of Pac> th

[PHP] Looking for a script

2001-01-09 Thread PeterOblivion
since im too busy to write my own script, does anyone know of a FilePlanet (fileplanet.com) or Download.com type indexing script, where when you click on a link it will take you to the details of the file, and etc. - Thanks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-

Re: [PHP] snapshots

2001-01-09 Thread Rasmus Lerdorf
Well, do you have the t1 library? If not, don't specify --with-t1lib On Tue, 9 Jan 2001, Dan Phoenix wrote: > > [root@new php4-200101080945]# more debug.log > CONFIGURE: './configure' '--with-mysql=/usr/local/mysql' > '--with-gd=/usr/local/gd' '--enable-inli > ne-optimization' '--with-gnu-ld'

[PHP-CVS] cvs: php4 / configure.in

2001-01-09 Thread Stig Bakken
ssb Tue Jan 9 17:34:40 2001 EDT Modified files: /php4 configure.in Log: * renamed PEAR scripts * set localstatedir Index: php4/configure.in diff -u php4/configure.in:1.208 php4/configure.in:1.209 --- php4/configure.in:1.208 Sun Jan 7 13:21:

Re: [PHP] looking for a PHP editor

2001-01-09 Thread Josh G
I went to their homepage, and couldn't find a link to download the actual program, just some example stuff, and it says "coming soon"... Is it out there somewhere and I'm just retarded, or are you mob on a beta list or something??? Gfunk My name was Brian McGee, I stayed up listeni

[PHP] snapshots

2001-01-09 Thread Dan Phoenix
[root@new php4-200101080945]# more debug.log CONFIGURE: './configure' '--with-mysql=/usr/local/mysql' '--with-gd=/usr/local/gd' '--enable-inli ne-optimization' '--with-gnu-ld' '--with-apache=../apache_1.3.14' '--enable-track-vars' '--disable- debug' '--with-ttf' '--with-t1lib' '--with-config-f

Re: [PHP] Baby's First Regex! (Repost - Please Help)

2001-01-09 Thread Murray Shields
> Or you could regex it with something like this: > > ereg("^([^a-zA-Z0-9]*)(.*)$", $inStr, $resultArr); Thanks to all who responded! The above is working as described, and is now implemented in my code thanks! == Murray Shields

RE: [PHP] looking for a PHP editor

2001-01-09 Thread Jeffrey A. Stuart
Nope! CodeCharge! -- Jeff (FurBall) WebOverdrive Newbie Tech Board http://www.topniche.com/tech/ [EMAIL PROTECTED] -Original Message- From: Brad Hubbard [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 09, 2001 6:11 PM To: Jeffrey A. Stuart; PHP is not a drug . Subject: Re: [PHP] looki

[PHP-CVS] cvs: php4 /pear/scripts .cvsignore

2001-01-09 Thread Stig Bakken
ssb Tue Jan 9 17:21:04 2001 EDT Added files: /php4/pear/scripts .cvsignore Log: added .cvsignore file Index: php4/pear/scripts/.cvsignore +++ php4/pear/scripts/.cvsignore Makefile deps phpize run-tests php-config pear -- PHP CVS Mailing List (http

[PHP] Re: looking for a PHP editor

2001-01-09 Thread Arcady Genkin
"Sabina Huang" <[EMAIL PROTECTED]> writes: > Yes, there is. > I was recently testing CodeCharge (www.codecharge.com) and it is the best > (or maybe the only :-) tool that creates PHP automatically, so you don't > need to code :-) LOL! Their website comes up with a huge horizontal scroll-bar, an

[PHP] FP_QUERY: Make problem php 4.0.4

2001-01-09 Thread Mark Olbert
I can successfully make a standalone executable of php4.0.4 on my linux system. However, when I try to make a DSO, I get the following error message: make[1]: Entering directory `/usr/download/php-4.0.4' /bin/sh /usr/download/php-4.0.4/libtool --silent --mode=link gcc -I. -I/usr/download/php-4

[PHP] Re: looking for a PHP editor

2001-01-09 Thread Arcady Genkin
"Carsten Gehling" <[EMAIL PROTECTED]> writes: > From: "Teodor Cimpoesu" <[EMAIL PROTECTED]> > Sent: Tuesday, January 09, 2001 10:40 AM > > > as for assembly, it's a good start in understanding PHP, really. Start > from > > the bottom. > > Real programmers do "copy con >filename.exe" (well at le

[PHP-CVS] cvs: php4 /pear DB.php HTTP.php Mail.php Makefile.in PEAR.php.in package.dtd pear.in php-config.in phpextdist phpize.in run-tests.in /pear/Benchmark Iterate.php Timer.php /pear/Cache Function_Cache.php /pear/Crypt HCEMD5.php /pear/DB common.php ibase.php msql.php mssql.php mysql.php oci8.php odbc.php pgsql.php storage.php sybase.php /pear/Date Human.php /pear/File Find.php Passwd.php /pear/HTML Form.php /pear/Image Remote.php /pear/Mail rfc822.php sendmail.php smtp.php /pear/Math Fraction.php Util.php /pear/Net Curl.php SMTP.php Socket.php /pear/Numbers Roman.php /pear/PEAR Installer.php /pear/Payment Verisign.php /pear/XML Parser.php /pear/scripts pear.in php-config.in phpextdist phpize.in

2001-01-09 Thread Stig Bakken
ssb Tue Jan 9 17:02:00 2001 EDT Added files: /php4/pear/scripts pear.in php-config.in phpextdist phpize.in Removed files: /php4/pear pear.in php-config.in phpextdist phpize.in run-tests.in Modified files: /php4/pea

[PHP] include problem using windows

2001-01-09 Thread Onaje Johnston
I've setup apache 1.3.14 with php 4.0.4. I'm getting an error when trying to include/require files. Failed opening 'tcalendar2.inc' for inclusion (include_path='./') in c:/apache/htdocs/caltest2.phtml I tried changing the include path in php.ini to 'c:/Apache/htdocs' to 'c:\Apache\htdocs' to '

[PHP] HELP! PLEASE! Interfacing EMail to PHP

2001-01-09 Thread Dieter Kneffel
Please help! Perhaps you have an idea what to do: I want to get information directly from sendmail, like the body of the message and, very important, the receipients address. So if someone sends an email to [EMAIL PROTECTED] I want to see who it was sent to. Currently I am using a script

[PHP] php script

2001-01-09 Thread Devin Atencio
I have a PHP Script that runs in cron and does some database searches. Every now and then I notice that my FreeBSD box bitches about the following: chsh: updating the database... chsh: done msql: not found that is coming from my script. My script doesn't do anything with chsh so not sure why it

[PHP] replacing null characters

2001-01-09 Thread Chris
Hi all, I'm trying to work out how to replace '^@' characters with 0's. I've even tried replacing them with another character, and back to 0's again.. it still comes out as '^@' (which I'm guessing is null). The '^@'s only appear when a 0 is the first character in $value, the rest are ok. I'v

Re: [PHP] Baby's First Regex! (Repost - Please Help)

2001-01-09 Thread Toby Butzon
Or you could regex it with something like this: ereg("^([^a-zA-Z0-9]*)(.*)$", $inStr, $resultArr); Then $resultArr[0] will be the original input, $resultArr[1] will be everything up until an unacceptable character was encountered (not including the unaccepted character), and the last part would

[PHP-CVS] cvs: CVSROOT / avail gen_acl_file.m4

2001-01-09 Thread Rasmus Lerdorf
rasmus Tue Jan 9 15:46:44 2001 EDT Modified files: /CVSROOTavail gen_acl_file.m4 Log: Add some karma Index: CVSROOT/avail diff -u CVSROOT/avail:1.26 CVSROOT/avail:1.27 --- CVSROOT/avail:1.26 Tue Jan 9 14:50:12 2001 +++ CVSROOT/avail Tue Jan 9

Re: [PHP] Baby's First Regex! (Repost - Please Help)

2001-01-09 Thread Brian Clark
Hello Murray, (MS == "Murray Shields") [EMAIL PROTECTED] writes: MS> I have written my first regex's, which are simply used for MS> validation of input into a web form. Basically, they check to see MS> if an invalid characters are being entered, and is working MS> perfectly. A different regex

Re: [PHP] Baby's First Regex! (Repost - Please Help)

2001-01-09 Thread Ignacio Vazquez-Abrams
On Wed, 10 Jan 2001, Murray Shields wrote: > Hi all. > > I have written my first regex's, which are simply used for validation of > input into a web form. Basically, they check to see if an invalid characters > are being entered, and is working perfectly. A different regex is used to > different

[PHP] Baby's First Regex! (Repost - Please Help)

2001-01-09 Thread Murray Shields
Hi all. I have written my first regex's, which are simply used for validation of input into a web form. Basically, they check to see if an invalid characters are being entered, and is working perfectly. A different regex is used to different types of input. They are as follows $Status = (ereg("

[PHP] AFTERBURNER - PHP CACHE

2001-01-09 Thread Marcin Orlowski
Anyone have played with Afterburner PHP cache ( http://bwcache.bware.it/ )? I'm curious the resutls ;) Regards, -- You mean you have Windows98 and still have available memory?!? Marcin http://wfmh.org.pl/~carlos/ mailto:[EMAI

Re: [PHP-CVS] cvs: CVSROOT / avail gen_acl_file.m4

2001-01-09 Thread John Donagher
Hi Rasmus- Usernames jdonagher and david belong on the ext/pfpro avail list. I'd also like to be in the phpdoc list since there is still more documentation to be written for pfpro, at some point. What is the procedure for enhancements to ext/standard now that we have acl's? And did you have

php-general Digest 9 Jan 2001 23:21:12 -0000 Issue 445

2001-01-09 Thread php-general-digest-help
php-general Digest 9 Jan 2001 23:21:12 - Issue 445 Topics (messages 33429 through 33586): Re: php and shell scripting 33429 by: Toby Butzon 1114 : The table 'SQL43ec4_0' is full 33430 by: Daniele Cesarini 33447 by: Cynic Re: database collision? 33431 by: ma

Re: [PHP] need admin help please...

2001-01-09 Thread Brian Clark
Hello Sebastian, (SS == "Sebastian Stadtlich") [EMAIL PROTECTED] writes: SS> I switched my provider and now i often get this error message when SS> using mysql from my php-skripts: SS> "Warning: MySQL Connection Failed: Can't create a new SS> thread (errno 11). If you are not out of available

Re: [PHP] Calling a Windows Com object or an Extended Fetch?

2001-01-09 Thread Brad Hubbard
> Or you could just look at the phpbuilder.com column on using COM objects in php, or you could RTFM at the php.net site. >just type in php.net/com and see what happens. > > We use php and com here a lot, and while the implementation lacks a few features of the asp/vb implementation it's handy >wh

Re: [PHP] looking for a PHP editor

2001-01-09 Thread Brad Hubbard
> It's even better than sex... (Well... maybe LOL) I got it myself and have fallen in love with it in about 3 days! > What is it? HTML-Kit? Cheers, Brad -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECT

Re: [PHP] encrypt() and decrypt()

2001-01-09 Thread Stefan Scherf
"Robert Collins" <[EMAIL PROTECTED]> wrote: > There was an encrypt() and a decrypt() function available in php3 was this > removed from php4? if not how can I use it? I cant seem to find any info on > php.net on usage and I get an undefigned function error when I try to use > it. try http://www.p

Re: [PHP] in html

2001-01-09 Thread Chris Hayes
> Anyways, I want a new line but when I use the to do it makes a gap > between the last line. does anyone know how to make the or any new line > in html for that matter to only make a small gap? should just make a new line with the current font size. First check the output HTML: Are you i

Re: [PHP] PATH_INFO in Windows/IIS

2001-01-09 Thread Chris Hayes
To: [EMAIL PROTECTED] From: "Tom Harris" <[EMAIL PROTECTED]> Date sent: Tue, 9 Jan 2001 09:34:32 -0500 Subject:[PHP] PATH_INFO in Windows/IIS > I've been using $PATH_INFO to get variables passed without using a "?" in the > URL

Re: [PHP] signing in as php user?

2001-01-09 Thread Brian Clark
Hello Jason, (JJ == "Jason Jacobs") [EMAIL PROTECTED] writes: JJ> Does anyone know how I can sign into a site through a shell JJ> (Telnet, FTP program, etc) with the PHP user? $ ps aux | egrep '([w]ww|[n]obody)' | su `awk '{ print $1 }'` or $ which php | ls -l `awk '{ print $1 }'` ..And lo

Re: [PHP] installing PHP4 on Apache on Win2000

2001-01-09 Thread Brad Hubbard
Check out PHPTriad. It should get you up and running quickly. Cheers, Brad - Original Message - From: "Saied Gerami" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, December 08, 2000 08:57 Subject: [PHP] installing PHP4 on Apache on Win2000 > Dear Sir/Madam, > > I followed yo

Re: [PHP] Problem passing form parameters (solved!)

2001-01-09 Thread Antonio Guerrieri
Hi all, the problem was just register_global set to off. Now also phpMyAdmin works well again. Thanks everybody (special tanks to Ignacio) antonio >On Tue, 9 Jan 2001, Antonio Guerrieri wrote: > >> Hi all, >> I have a very simple form with a text field but when I submit it the >> parameter is

[PHP] Show output of program in realtime on website

2001-01-09 Thread Stefan Scherf
Hi, the program "main" produces x times an output with an delay of 1 second between each output. I want to show this output in "realtime" on a website (this should become a progress-bar). The following code shows the output a f t e r the program ends: CODE... $fp = popen ("./main", "r");

Re: [PHP] Calling a Windows Com object or an Extended Fetch?

2001-01-09 Thread bard
Or you could just look at the phpbuilder.com column on using COM objects in php, or you could RTFM at the php.net site. just type in php.net/com and see what happens. We use php and com here a lot, and while the implementation lacks a few features of the asp/vb implementation it's handy when m

[PHP] more shopping cart crap

2001-01-09 Thread Jerry Lake
I've searched high and low for a pre- built cart that suites my needs, and as of yet have been unsuccessful, so now I am looking to build a shopping cart using php3 and MySQL, I'd like to use php4, but as of the moment, it isn't an option. if anyone knows of any tutorials or anywhere to get starte