RE: [PHP] VAR and variables

2001-01-29 Thread Steve Edberg
At 10:50 AM + 1/29/01, Tim Ward wrote: -Original Message- From: Steve Edberg [mailto:[EMAIL PROTECTED]] Sent: 25 January 2001 22:02 To: Matt; [EMAIL PROTECTED] Subject: Re: [PHP] VAR and variables At 3:00 PM -0600 1/25/01, Matt wrote: I have a question that may seem

RE: [PHP] PHP Triad

2001-01-29 Thread Paul Grant
"PHPTriad for Windows installs a PHP server environment on Windows platforms. The basic installer installs PHP, MySQL, Apache and PHPMyAdmin. The most recent version of PHPTriad is 1.4 and was released at the end of December, 2000." http://www.phpgeek.com/phptriad.php -Original

php-general Digest 29 Jan 2001 21:29:50 -0000 Issue 481

2001-01-29 Thread php-general-digest-help
php-general Digest 29 Jan 2001 21:29:50 - Issue 481 Topics (messages 37091 through 37102): confused about getenv arguements 37091 by: Noel Akins 37094 by: Rasmus Lerdorf Thankz... 37092 by: [ rswfire ] IIS and PHP authorization 37093 by: Shane McBride

[PHP] form validation :ereg ()

2001-01-29 Thread kaab kaoutar
Hi again! I still did not fix my prob : I want to check, in a form, that the name input may include an alphabetical letter a- z, A-Z, or a space, or -, or à, or ä or ü etc how can i do that ? i used ereg("([a-z,A-Z][ë,à]?)",$name) then (!ereg("([a-z,A-Z,é,ê,è,ë,-,\t,à,ä,ï,ü,ö,û,â,ç])",

[PHP] unable to load dynamic librabry c:\php/php_oracle.dll!

2001-01-29 Thread kaab kaoutar
hi! i got the following error whe i try to connect to an oracle dbs : unable to load dynamic librabry "c:\php/php_oracle.dll" this module is not found ! please help! _ Get Your Private, Free E-mail from MSN Hotmail at

[PHP] Javascript doesn't work with PHP????

2001-01-29 Thread Dhaval Desai
Hi! I am facing a very big Proble,m with this javascript below: I have gotten a form validation script. Please copy the script save as .php and try it out..It doesn't server the purpose...Can anybody point me to right direction: *** html

[PHP] Apache/PHP Configuration Problem on NT5

2001-01-29 Thread [ rswfire ]
My apologies if you receive this message twice, I'm not sure if it went through the first time. I've set up an ErrorDocument 404 in httpd.conf to point to a local PHP file. When I attempt to access a page that doesn't exist, rather than seeing this page, I get an Internal Error 500. If I go

Re: [PHP] Win32 - Mail SMTP ???

2001-01-29 Thread Chris Hayes
a listmember claiming to be Jon Shoberg wrote: I have PHP-4.0.1 running on my Win200 Pro devel box though the IIS DLL and SMTP services running. I have SMTP enabled on this machine and have outlook express configured to send mail though the local SMTP service. I simply told O.Express the

[PHP] Hey Rasmus!

2001-01-29 Thread [ rswfire ]
There's something wrong with the PHP list... I was wondering if you could help me with a problem I'm having... I set up an ErrorDocument 404 in my httpd.conf file to point to a local file. For awhile, this was working fine, but now I'm receiving a 500 Internal Error message and the following

[PHP] PHP + send mail using remote smtp server ?

2001-01-29 Thread Samuel Tran
Hello everybody ! Is it possible to send mail using PHP and a mail server that is different from the Web Server ? I would appreciate any help. Thank you. Sam -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

[PHP] ibm-db2 support

2001-01-29 Thread Bill Sneed
Greetings: I'm using RH6.2, DB2 V7.1, PHP-4.0.4pl1, Apache 1.3.14, and Pgsql 7.0.3. I've been able to ./configure successfully support for apache, pgsql, db2 but come time to compile, make ends with the following error: In file included from internal_functions.c:38:

[PHP] outlook php

2001-01-29 Thread kaab kaoutar
hi! do someone knows how to trigger a php file from outlook? i have an html file where user adds his email address, if the email does not exist, a mail undelevery will be recieved in a certain email address, so what i like to do, is that, once an email is received, the email address will be

[PHP] sessions or db for shopping cart

2001-01-29 Thread Matthew Delmarter
I am about to build my own shopping cart but would like some feedback on the following: 1. Using arrays stored in a PHP4 session vs. a database for storing cart details. 2. What is the best method of passing session data if cookies disabled. I hope you can help... Matthew -- PHP General

[PHP] ereg()

2001-01-29 Thread kaab kaoutar
Hi is the following right? ereg("[a-zA-Zéêèë\sbàäïüöûâç-]", $firstname) cause even when i type a number it accepts it ! however i want only letters - and space ! thanks _ Get Your Private, Free E-mail from MSN Hotmail at

[PHP] Server VS Client script validation

2001-01-29 Thread kaab kaoutar
Hi! What's best ? using client script while validating form inputs(javasript or vbscript) or using php for validating! with the first way, i can trigger alert ! however with the second one, i have to show up a whole page for just saying that there are errors, go back to the form ! any ideas ?

[PHP] ereg_replace all items in a array

2001-01-29 Thread Joseph H Blythe
G'day PHP'ers I am trying highlight the results from a search, so far I have this working but only if the string is an exact match ie: case sensitive, for example: ?php $keywords = "foo"; $data = "This is a lower foo. This is an upper FOO. This is a ucase Foo"; $lower = strtolower($keywords);

[PHP] Apache/PHP Configuration Problem on NT5

2001-01-29 Thread [ rswfire ]
I have set up an ErrorDocument 404 in httpd.conf to point to a PHP file in the root of my documents. It was working, now suddenly it has stopped working. Here's the scenario: When I attempt to view a page that is not there, I receive a 500 Internal Error Message, as follows:

[PHP] PHP compile with ODBC support (iODBC x Openlinkx unixODBC...) and MyODBC

2001-01-29 Thread Paulo Parola (PHP)
Hi, We are currently configuring PHP4.0.4 with MySQL and Apache. We *need* to access MySQL via ODBC as well. Which is the best thing to do? There are many options of different ODBC drivers that can be configured, like 'iodbc' or 'openlink' from Openlink or unixODBC. Which driver is best?

[PHP] where to get php_oracle.dll for win32?

2001-01-29 Thread kaab kaoutar
Hi! i still have'nt found the php_oracle.dll file ! i've checked in php4win.de but in vain! Thanks _ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. -- PHP General Mailing List

[PHP] Importing MS Access into MySQL?

2001-01-29 Thread James, Yz
Hey all, I heard somewhere (I think) that it's possible to import a Microsoft Access file (when saved as a delimited text file) into a MySQL table Just wondering whether or not this is true, and if it is, where I might find a tutorial / some literature on how I might go about doing it.

[PHP] Resize the pop-up window

2001-01-29 Thread david klein
Hello, I know this question is out of PHP, but I'll very appreciate if some guru here could help me out. I have a link, which will pop up a new window, but the problem is: I don't know how to resize the new popped-up window. My code is like this: A HREF="www.intc.com" target="_blank" intel

[PHP] PHP oop in C

2001-01-29 Thread matt . wong
Hello, Does anyone know how to take a PHP class and move it directly into PHP's C code, OR (even better) to move it into C code that compiles in a separate binary object (e.g. myobj.o), and is then linked to the php executable (or httpd executable)? For example, how can I move this code into

[PHP] XML to MySQL

2001-01-29 Thread Erich Kolb
Does anyone know of a script that will take data from XML/RDF news feeds and automatically INSERT into a MySQL database? I have a news script that I can make changes to, but I would also like to be able to automatically insert data into the database that my news script is running on.

[PHP] Problem!

2001-01-29 Thread Fredrik Arild Takle
1. $date = "20010101"; How could I output 01 01 2001 (or make it 3 variables, like day, month, year)? 2. What is the best way to encrypt (using PHP and MySQL)? Could you please answer me directly by mailadr. ([EMAIL PROTECTED]), because I'm currently not a member of this list at home!

[PHP] Announcement: Smarty template engine 1.2.1 released

2001-01-29 Thread Monte Ohrt
Changes: - added ability to specify template and compile directory locations independently. - misc documentation updates additions http://www.phpinsider.com/php/code/Smarty/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For

[PHP] can .inc run php script?

2001-01-29 Thread John LYC
hi all, can .inc file run scripts... example... //config.inc function watever() { //do something $var = something; return $var; } thanks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

RE: [PHP] Problem with a regex!

2001-01-29 Thread Zack Ham
Thanks a lot. I knew that, but last night I was just really tired :). I wasn't actually copy-pasting the code I had, so what I had at the time was correct as for case. As for assigning the ereg_replace to a variable, I figured that out about 20 minutes after i sent out my last mail last

Re: [PHP] Sending Download Header

2001-01-29 Thread WreckRman2
When doing this does the $file_name have to be in the current directory or can it be a URL? - Original Message - From: Bojan Gajic [EMAIL PROTECTED] To: Natasha [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Saturday, January 27, 2001 2:13 PM Subject: Re: [PHP] Sending Download Header

Re: [PHP] Outputting a 2 digit number 10

2001-01-29 Thread Brian White
I normally solve this problem by doing a " 10" test, on the assumption it is quicker. Something like for ($i=00;$i$daysinmonth;$i++) { $str_i= (string) $i; if ( $i 10 ) { $str_i = "0$str_i"; } if ($i == $day) { echo("option SELECTED

[PHP] Non Expiring Cookie

2001-01-29 Thread Karl J. Stubsjoen
Is this a never expiring cookie, or a "per" session cookie? I want to create a never expiring cooky. SetCookie ("MyNeverExpiringCookie", "This cookie should never expire"); Thanks! Karl -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For

[PHP] Not receiving [PHP] mail - is PHP Mailing List Down?

2001-01-29 Thread Karl J. Stubsjoen
I haven't received mail from the PHP list since the 27th. Is it down? Please respond to: [EMAIL PROTECTED] Thank you. Karl -- 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

Re: [PHP] Apache

2001-01-29 Thread Christian Reiniger
On Sunday 28 January 2001 03:57, [ rswfire ] wrote: 1. Why does $PHP_SELF include /php/php.exe in the variable? How can I stop it from doing that? You're using PHP as CGI. Try using the shared module. 2. Same thing with $SCRIPT_NAME as $PHP_SELF except it does not include the filename.

Re: [PHP] mail( ) question

2001-01-29 Thread Toby Butzon
This isn't going to work the way it's set up now. Javascript is processed by the visitor's browser, while PHP is processed by the server before the page is ever sent. So in essence, PHP doesn't care one bit what anything outside of the ?php ? tags does. Therefore, you're instructing PHP to do

[PHP] Passing HTTP_COOKIE_VARS to functions

2001-01-29 Thread Jamie
Can anyone tell me why this piece of code is not working - I'm finding that if I pass values rather then the HTTP_COOKIE_VARS["cookiename"] to the function it seems to work but I want to have this value a variable cookie (for obvious reasons). I cannot seem to find any more information on this

[PHP] LOOKING FOR CODE LOCATION IN PHP SOURCE....

2001-01-29 Thread Tim Meader
Hey all, I've come to the realization that if I intend to be able to write a file to disk AS it's being uploaded via http, I will need to modify the PHP source directly. Just wondering, anyone know in what source file I should be looking for the HTTP UPLOAD handling code, I've looked through

Re: [PHP] Persistent connections and transactions

2001-01-29 Thread Nuno Silva
Frank Joerdens wrote: On Fri, Jan 26, 2001 at 11:01:14AM +, Nuno Silva wrote: [ . . . ] i ran across this transaction problem vs. persistent conn in pgsql some time ago. I found two workaround methods: - don't use persistent conn's :-) or; - start every conn with the usual

[PHP] Cookie with Netscape

2001-01-29 Thread Eugene Yi (InfoSpace Inc)
I set up a cookie using the following command and it works fine under IE but not in Netscape. Am I doing something wrong? setcookie("mycookie[1]",$domain,"","/","mydomain.com"); Please help me. Thanks much in advance. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail:

[PHP] Anyone out there that can help before my brain gets to hot?

2001-01-29 Thread Christian Sakshaug
Anyone out there that can help before my brain gets to hot? http://www.sakshaug.net/phps/loop.phps I have tried many different ways, but i'm for sure that you have to use recursive function for make this one... for ($iamgoingtomakeit=1; ;;) { echo "I'm going to make it!!!br"; }

Re: [PHP] Sending Download Header

2001-01-29 Thread Bojan Gajic
$file_name is just a name that scripts offers to the users in 'save as' dialog. If you want to let them download a 'real' file, you have to use fopen()/fpassthru() (or anything else you can think of, in order to open a file and print it's content) and fopen can take URL as an argument. HTH,

[PHP] testing

2001-01-29 Thread Joe Sheble aka Wizaerd
I haven't received any emails from this list in over 24 hours... is it down or it it me just not receiving them Joseph E. Sheble [EMAIL PROTECTED] Wizaerd's Realm http://www.wizaerd.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail:

[PHP] RE: confused about eval()

2001-01-29 Thread Joe Sheble (Wizaerd)
I don't know if anybody is curious or not, but I found my own problem... I changed the following code: $cVar = addslashes( $qrNews[$cContentField . "Text"] ); eval( "? " . $cVar . " ?" ); to: $cVar = $qrNews[$cContentField . "Text"]; eval( $cVar ); SO basically I removed the addslashes()

RE: [PHP] whois

2001-01-29 Thread Jason Murray
There's a very cool service out there, you can go to for instance ba.whois-servers.net to find server for .ba. So you can basically go to ${TLD}.whois-servers.net to find server for $TLD. The trouble is that it's not really current. [jason@phpdev jason]$ nslookup es.whois-servers.net

Re: [PHP] can .inc run php script?

2001-01-29 Thread Shawn Blaylock
You have to set up the webserver to accept .inc files as php scripts. The example you gave isn't actually running the function it's just defining it. If you include the .inc file in a .php file, it'll run whatever's in it as if it were part of the php file. If you directly call the .inc file

[PHP] PHP List down ?

2001-01-29 Thread Ade Smith
Does anyone know why the list keeps going down ? The last PHP List email I received was at 6 o clock my time Sunday morning, until a few minutes ago. Its not the first time it has happened. Has the list gone down for anyone else ? Adrian -- PHP General Mailing List (http://www.php.net/) To

[PHP] Problems with majodomo

2001-01-29 Thread Alan Todd
I was wondering if anyone has set it up from a website. the problem i am having is it does send the comfirmation back i have mail("$majordomo", "", "$action $list $email","From: $email"); where $action is subscribe or unsubscribe and $list is oe they pick Thanks ALan

RE: [PHP] E Bay is going up again..

2001-01-29 Thread James Moore
John, There are various reasons why what you suggested will not happen, if you really want to see why look in the archives there are plenty of posts. You have a delete key so use it. Rasmus already has Spam filters for the list but they only block certain email address' these are added,

[PHP] [NEWBIE] PHP.INI

2001-01-29 Thread Steve Haemelinck
I want to put the php.ini in /etc/php Which argument do I have to attach to ./configure --?=/etc/php to accomplish this ? THX -- 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

Re: [PHP-CVS] cvs: php4 /ext/com COM.c php_COM.h

2001-01-29 Thread Andi Gutmans
Damn, cvs.php.net is down so I can't commit changes. Best to change the #if WIN32|WINNT to #ifdef PHP_WIN32 Also you should use BEGIN_EXTERN_C() and END_EXTERN_C() I know it's picky, but it's good for consistency. Andi At 03:41 AM 1/28/2001 +, Harald Radi wrote: phanto Sat Jan 27

[PHP] Maximum execution time exceeded!

2001-01-29 Thread Chakravarthy K Sannedhi
hi all, when i am trying to calculate the number of rows with a '0' in a particular column using the following code, it is giving the 'Maximum execution time exceeded' message, eventhough after i gave set_time_limit(60), it didn't worked, infact now it is even worse the browser is getting

RE: [PHP] PHP Lists keep going down ?

2001-01-29 Thread Jason Murray
Does anyone know why the list keeps going down ? It hasn't happened for a while until now - I wouldn't worry myself too much over it :) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the

Re: [PHP] Cookie with Netscape

2001-01-29 Thread Aaron D. Turner
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Mon, 29 Jan 2001, Eugene Yi (InfoSpace Inc) wrote: I set up a cookie using the following command and it works fine under IE but not in Netscape. Am I doing something wrong? setcookie("mycookie[1]",$domain,"","/","mydomain.com"); Should

[PHP-CVS] cvs: php4 /ext/com COM.cpp conversion.c conversion.h php_COM.h php_typedef_VARIANT.h typedef_VARIANT.c

2001-01-29 Thread Harald Radi
phanto Mon Jan 29 13:54:10 2001 EDT Modified files: /php4/ext/com typedef_VARIANT.c php_typedef_VARIANT.h php_COM.h conversion.h conversion.c COM.cpp Log: use *_EXTERN_C() and PHP_WIN32 Index: php4/ext/com/typedef_VARIANT.c

RE: [PHP] can .inc run php script?

2001-01-29 Thread Brian V Bonini
Well if your using .inc then your probably including this into a php file via include "config.inc"; in which case it will become part of a php file so yes it will be parsed. If your trying to run it as a standalone then that will depend on your web server config and which files you've told it to

RE: [PHP] Cookie with Netscape

2001-01-29 Thread Eugene Yi (InfoSpace Inc)
Thank you for your feedback! I tried it but it didn't make a difference. I printed the var right after the set and it returns null. setcookie("cbcookie1",$domain,0,"/","mydomain.com"); $domain = $HTTP_COOKIE_VARS["cbcookie1"]; echo "domain($domain)br";

RE: [PHP] Problem!

2001-01-29 Thread Brian V Bonini
$today = getdate(); $month = $today[month]; $mday = $today[mday]; $year = $today[year]; print "$month $mday, $year"; -Brian ** -Original Message- From: Fredrik Arild Takle [mailto:[EMAIL PROTECTED]] Sent: Sunday, January 28, 2001 2:32 PM To: [EMAIL

RE: [PHP] Cookie with Netscape

2001-01-29 Thread Aaron D. Turner
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 That's becuase the cookie variable is not available to PHP until the next page load. It's a limitation of cookies/HTTP not PHP. On Mon, 29 Jan 2001, Eugene Yi (InfoSpace Inc) wrote: Thank you for your feedback! I tried it but it didn't make a

Re: [PHP] Maximum execution time exceeded!

2001-01-29 Thread Josh G
Of course, you have this code: while ($prescene2 == 0) { $i=$i+1; } Where $prescnene2 is not modified, hence you get an endless loop. When you increase the timeout, that loop just gets longer to run. Gfunk - http://www.gfunk007.com/ I sense much beer in you. Beer leads to

Re: [PHP] IIS and PHP authorization

2001-01-29 Thread Ernest E Vogelsinger
At 06:48 28.01.2001, Rasmus Lerdorf said: [snip] There is an ISAPI module. [snip] yes, which is more than unstable as I found... Using a good machine (2xXeon 550, 512 MB, NT4/SP6a/IIS4) it constantly crashed being a

[PHP] MySQL Backup Daemon

2001-01-29 Thread Michael A. Peters
Howdy, The company I work for has developed a backup daemon for MySQL (Windows and x86 Linux) that uses a php web interface. We will be destributing it commercially, but would like to offer it for beta testing to a limited number of users. If anyone here has interest in testing the software,

RE: [PHP] Cookie with Netscape

2001-01-29 Thread Eugene Yi (InfoSpace Inc)
Yeah, that's what I read from the documentation but it works in IE. I mean I place the print right after the setcookie command, and it prints the cookie value when successfully set. Of course, the next page will fail because of the print before header. -Original Message- From: Aaron

[PHP] PHP Classes

2001-01-29 Thread christopher calicott
I know this has been discussed several times before, but the only actual class I've found information on - tap internet - had a problem and cancelled their class. I am willing to travel within the US to take a comprehensive PHP and/or mySQL/PHP class, but I can't find one to take. Could you

RE: [PHP] Importing MS Access into MySQL?

2001-01-29 Thread Jon Snell
There are a few ways to do this... 1) Save your data to a comma separated list and use the import features of mysql. This is the easiest option for one time use. 2) Use MyODBC, create a link table, and paste the rows into it. This is one of the easier options if you plan on doing it

Re: [PHP] Maximum execution time exceeded!

2001-01-29 Thread Kyle Jerviss
That loop will never end. Generally, the loop body should manipulate some part of the loop ending condition. initialize $i before the loop replace the second loop with "if($prescene2==0){$i++;}" Chakravarthy K Sannedhi wrote: hi all, when i am trying to calculate the number of rows with

Re: [PHP] Resize the pop-up window

2001-01-29 Thread david klein
Joe, Got it! Thank you very much. Now the codes are like this: script language=javascript function openWindow (url) { window.open( url, "target_win",config='directories=yes,location=yes,menubar=yes,toolbar=yes,status=yes,scrollbars=yes,resizable=yes,toolbar=yes,width=600,height=500'); }

Re: [PHP] AUTH_PW External Authentication

2001-01-29 Thread david klein
I don't think it is easy to steal the password by using PHP_AUTH_PW. PHP_AUTH_PW is cached in the browser, if you exit the browser, nobody can steal it. If the other people is using a different browser, there is no way for him to steal it even if he is accessing the same URL. Just my

RE: [PHP] LOOKING FOR CODE LOCATION IN PHP SOURCE....

2001-01-29 Thread Joe Sheble (Wizaerd)
I don't believe this is a PHP function, but rather a function of the browser if using the INPUT TYPE="file" Joseph E. Sheble a.k.a. Wizaerd Wizaerd's Realm Canvas, 3D, Graphics, ColdFusion, PHP, and mySQL http://www.wizaerd.com = -Original Message-

[PHP-CVS] cvs: php4 /ext/dotnet dotnet.cpp

2001-01-29 Thread Harald Radi
phanto Mon Jan 29 13:54:53 2001 EDT Modified files: /php4/ext/dotnetdotnet.cpp Log: use *_EXTERN_C() and PHP_WIN32 Index: php4/ext/dotnet/dotnet.cpp diff -u php4/ext/dotnet/dotnet.cpp:1.2 php4/ext/dotnet/dotnet.cpp:1.3 --- php4/ext/dotnet/dotnet.cpp:1.2

Re: [PHP-CVS] cvs: php4 /ext/com COM.c php_COM.h

2001-01-29 Thread Andi Gutmans
Are you including php.h or zend.h? Those macro's should be defined and they are used in lots of places. Look at zend.h Let me know of your progress. Thanks, Andi At 03:41 AM 1/28/2001 +, Harald Radi wrote: phanto Sat Jan 27 19:41:43 2001 EDT Removed files: /php4/ext/com

RE: [PHP] Problems with majodomo

2001-01-29 Thread Brian V Bonini
I missed the beginning of this thread, I've got a subscribe routine set up on a website for Majordomo, what are you trying to do? Bring me up to speed -Brian -Original Message- From: Alan Todd [mailto:[EMAIL PROTECTED]] Sent: Monday, January 29, 2001 10:33 AM To: Phpg Subject:

[PHP] MS SQL 7.0 - Functions

2001-01-29 Thread Santhyago Bueno Gallão
Hi, Which are the functions of php to controler a data base Microsoft SQL 7? From which version is possible PHP - MSSQL? I have that to install some module? Tanks, Santhyago -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

[PHP] Thumbnails and PHP

2001-01-29 Thread Todd Cary
What is the best way to display thumbnail photos and their titles with HTML/PHP? Table? If I do table width="100%" and td width="750" all works fine - the img's "word wrap". But, when I do table width="100%" and td width="100%", I get a horizontal scroll bar and the img's go off to the left.

[PHP-CVS] cvs: php4 /ext/zziplib .cvsignore

2001-01-29 Thread Jani Taskinen
sniper Mon Jan 29 14:13:38 2001 EDT Modified files: /php4/ext/zziplib .cvsignore Log: a little cleanup.. Index: php4/ext/zziplib/.cvsignore diff -u php4/ext/zziplib/.cvsignore:1.1 php4/ext/zziplib/.cvsignore:1.2 --- php4/ext/zziplib/.cvsignore:1.1 Tue

Re: [PHP] Problem with a regex!

2001-01-29 Thread Stephan Ahonen
Your not going to find {title} when $var = "TITLE". Everything PHP is case sensitive. If it absolutely *has* to be case insensitive, you can use eregi instead of ereg. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

[PHP] $DOCUMENT_ROOT

2001-01-29 Thread Toby Miller
Whenever I include files in Apache I always do it like this: include($DOCUMENT_ROOT."/folder/file.php"); However, now I am doing a site in IIS and I do not have $DOCUMENT_ROOT at my disposal. What do most of you usually do to workaround this? Aside from installing Apache and Linux and

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

2001-01-29 Thread Andrei Zmievski
andrei Mon Jan 29 14:26:12 2001 EDT Modified files: /CVSROOTavail gen_acl_file.m4 Log: Karma for php-gtk. Index: CVSROOT/avail diff -u CVSROOT/avail:1.61 CVSROOT/avail:1.62 --- CVSROOT/avail:1.61 Sat Jan 27 19:36:22 2001 +++ CVSROOT/avail Mon

Re: [PHP] [NEWBIE] PHP.INI

2001-01-29 Thread Johannes Janson
Hi, I'm not sure but I think it's "--with-config-file-path=/path/to/dir. Good Luck Johannes ""Steve Haemelinck"" [EMAIL PROTECTED] schrieb im Newsbeitrag 003901c08a14$3f692bd0$0200a8c0@shaemeli">news:003901c08a14$3f692bd0$0200a8c0@shaemeli... I want to put the php.ini in /etc/php Which

Re: [PHP] Server VS Client script validation

2001-01-29 Thread Toby Butzon
Make the form page post to itself and use default values of ?php echo $HTTP_POST_VARS['field_name'] ?. The initial form will be blank, but subsequent failing attempts will have the values the visitor already entered. You can also add red text to the form to show what exactly was wrong, etc.

[PHP] PHP/MySQL question

2001-01-29 Thread Julia A . Case
Is it possible to move through an array that is returned as a recordset and then move back to the beginning of the array. Julia -- [ Julia Anne Case ] [Ships are safe inside the harbor, ] [Programmer at large] [ but is that what ships are really for.] [ Admining

[PHP] regex with non-ascii characters

2001-01-29 Thread Remco Chang
hi, just a quick question... i can't seem to have ereg() work with non-ascii characters such as the character ''. is this something that i can work around? remco chang www.bountyquest.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For

[PHP] Interactive external program execution

2001-01-29 Thread Paul
I'm running php4 as a CGI binary. During the course of a cronjob scheduled script, I need to execute an external program which connects to another server using an implementation of eftp (sort of ftp for ISDN). The eftp program returns no success/error codes, is moderately unstable, and the

Re: [PHP] PHP/MySQL question

2001-01-29 Thread Johannes Janson
reset($array), if this is what you need. this resets (who would have thought it?) the internal pointer back to the first position. ""Julia A . Case"" [EMAIL PROTECTED] schrieb im Newsbeitrag [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Is it possible to move through an array that is returned

Re: [PHP] [NEWBIE] PHP.INI

2001-01-29 Thread Jani Taskinen
On Mon, 29 Jan 2001, Steve Haemelinck wrote: I want to put the php.ini in /etc/php Which argument do I have to attach to ./configure --?=/etc/php to accomplish this ? Try running ./configure --help sometimes.. :) Anyway, the right argument is --with-config-file-path --Jani -- PHP General

Re: [PHP] Server VS Client script validation

2001-01-29 Thread Steve Edberg
At 11:27 AM + 1/29/01, kaab kaoutar wrote: Hi! What's best ? using client script while validating form inputs(javasript or vbscript) or using php for validating! with the first way, i can trigger alert ! however with the second one, i have to show up a whole page for just saying that there

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

2001-01-29 Thread Andrei Zmievski
andrei Mon Jan 29 14:28:18 2001 EDT Modified files: /CVSROOTavail gen_acl_file.m4 Log: D'oh. Index: CVSROOT/avail diff -u CVSROOT/avail:1.62 CVSROOT/avail:1.63 --- CVSROOT/avail:1.62 Mon Jan 29 14:26:11 2001 +++ CVSROOT/avail Mon Jan 29 14:28:18

[PHP] Automate the apache authentication process

2001-01-29 Thread david klein
I am using apache authentication. The problem is: I want the user to be able to get registered throught the web GUI, and all the users' password and userID will be kept in the database. In my mind, I can use php later to get all these userID/password, and run the apache htpasswd to register

[PHP-CVS] cvs: php-gtk /test gtk.php

2001-01-29 Thread Andrei Zmievski
andrei Mon Jan 29 14:28:34 2001 EDT Modified files: /php-gtk/test gtk.php Log: Test. Index: php-gtk/test/gtk.php diff -u php-gtk/test/gtk.php:1.1.1.1 php-gtk/test/gtk.php:1.2 --- php-gtk/test/gtk.php:1.1.1.1Mon Jan 29 14:15:58 2001 +++

[PHP-CVS] cvs: php4 /ext/domxml config.m4

2001-01-29 Thread Jani Taskinen
sniper Mon Jan 29 15:15:12 2001 EDT Modified files: /php4/ext/domxmlconfig.m4 Log: Fixed bug #8946. In some systems the libxml.* is actually libxml2.* Index: php4/ext/domxml/config.m4 diff -u php4/ext/domxml/config.m4:1.19

[PHP] IIS and $PHP_AUTH_USER

2001-01-29 Thread Shane McBride
I am getting a whole lot closer to getting IIS to work with PHP loading as ISAPI. Now, when I try to get authorized, it never works. It's probably a varialbe in the .ini file I have not set. I keep getting the user prompt box, and the realm changes after the first login failure NT5 PHP

RE: [PHP] Automate the apache authentication process

2001-01-29 Thread Jason Murray
However, Apache htpasswd is an interactive program and we need manually input the password, is there a way to automate and batch process this using php scripts? [jason@phpdev htdocs]$ /usr/local/apache/bin/htpasswd --help Usage: htpasswd [-cmdps] passwordfile username

[PHP] VIRUS ON LIST?

2001-01-29 Thread Chuck Mayo
I don't want to be an alarmist, but wanted to give everyone a heads-up. Our firewall at corporate scrubbed a virus from a mail sent to the php-db list from "Angel2 Gabriel Lena Valega". The virus was in an attachment named "Emanuel.exe" and the message subject was "i need help with odbc!" John

Re: [PHP] Apache

2001-01-29 Thread Markus Fischer
On Sat, Jan 27, 2001 at 09:57:35PM -0500, [ rswfire ] wrote : 3. How can I turn on directory browsing? I am receiving a Forbidden error whenever there isn't a default document in a directory. htpd.conf: Directory foobar Options Indexes /Directory or in .htaccess Options Indexes You'll

Re: [PHP] PHP and Oracle resources

2001-01-29 Thread Markus Fischer
On Sun, Jan 28, 2001 at 12:46:37AM -0500, Kristofer Widholm wrote : Well, I've been given the joyous task of implementing the DaveTV project at CBS via PHP, using Oracle as a database. I've never used Oracle before. Looking at the PHP functions for Oracle, and having heard about it in

[PHP] Re: filename length ...

2001-01-29 Thread Josh G
There's no filename length, but the url string (even for POST I belive) must total 4096 characters. Gfunk - http://www.gfunk007.com/ I sense much beer in you. Beer leads to intoxication, intoxication to hangovers, and hangovers to... suffering. - Original Message -

Re: [PHP] Invoke PHP script from onLoad handler?

2001-01-29 Thread Kristofer Widholm
Here's what you wrote, 01-01-27: OK, I've gone back through the archives and now understand the situation with client- and server-side. I just wasn't thinking it through. Spawning a window to let PHP query the db and somehow passing returned values back to the parent window is something I could

[PHP] ENOTTY error

2001-01-29 Thread Slappy Smith
I get this error, even when trying to start apache with the -X option: (tail end of strace on httdp -X) 6421 open("/etc/httpd/php3.ini", O_RDONLY) = 5 6421 ioctl(5, TCGETS, 0xbfffc8e8) = -1 ENOTTY (Inappropriate ioctl for device) 6421 read(5, "[PHP_3]\n\n;;;\n; A"...,

Re: [PHP] Resize the pop-up window

2001-01-29 Thread Chris Hayes
I have a link, which will pop up a new window, but the problem is: I don't know how to resize the new popped-up window. My code is like this: A HREF="www.intc.com" target="_blank" intel connection /A * for 3.0+ browsers open a window with javascript (see www.irt.org window FAQ's) and

[PHP] Using PHP as generic security wrapper for content

2001-01-29 Thread Aaron D. Turner
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 While this isn't a really a PHP problem, I figured I can't be the first person to ever have tried to solve this problem. Basically I have a web site with many kinds of content (static html, PHP, cgi's of various flavors, etc) and I'm looking to

RE: [PHP] PHP/MySQL question

2001-01-29 Thread Joe Sheble (Wizaerd)
// loops through the entire recordset while( $qrResults = mysql_fetch_array( $rQuery )) { print( $qrResults["SomeField"] } // reset the recordpointer to the first record mysql_data_seek( $rQuery, 0 ); Joseph E. Sheble a.k.a. Wizaerd Wizaerd's Realm Canvas, 3D, Graphics, ColdFusion, PHP,

[PHP] APC version 1.0.7 released

2001-01-29 Thread George Schlossnagle
Changes in this version: 1.0.7: + partially fixed for Solaris [gws 01.29.2001] + fixed mtime support for relative includes [gws 01.29.2001] + code cleanup [yg,ta,gws 01.29.2001] + support for mtime in mmap [yg,gws 01.27.2001] + fixed indexed-array initialization bug [djc,gws 01.27.2001] This

[PHP] FTP rawcommands - FXP

2001-01-29 Thread Andreas Richter
I need a function to exec raw commands on a server, like "LIST" and esp. "LIST -al". I going to use it for programming a public php-fxp client. mfg

  1   2   >