Re: [PHP] RE: why does it not work (fwd)

2001-05-22 Thread Adrian D'Costa
On 22 May 2001, Chris Searle wrote: > > "Adrian" == Adrian D'Costa <[EMAIL PROTECTED]> writes: > > Adrian> // sql statement $searchStmt = "select special.contid, > Adrian> special.cityid, special.curr1, special.catalogo, > Adrian> special.hf, special.curr2, special.vitofferta, sp

[PHP] regex

2001-05-22 Thread Dennis Gearon
Is a '.' inside of a [] a literal '.', or a 'any character' metacharacter? -- - Look lovingly upon the present, for it holds the only things that are forever true. -

Re: [PHP] Encrypt Password for Session

2001-05-22 Thread Joseph Blythe
Troy Moreland wrote: > If I can't decrypt it, then I can't pass that password for the > user. How do I keep passing the password then w/o having to write it to the > session. Is that the right way to do it?? I don't know if this is the right way but what I would do is have a login page that

Re: [PHP] replacing directory references at beginning of file name

2001-05-22 Thread James Holloway
Dennis, NOT tested: $string = preg_replace("/^(\$|\\\|\/|\.)/i", "", $string); James. "Dennis Gearon" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Could someone please send me the code for doing the above? I have the > book, "Mastering Regex, blah blah",

[PHP] returned eMails

2001-05-22 Thread Jean-Arthur Silve
Hi ! We have a site which send mails to customers regulary. My problem is that when some mails are returned (bacause addresses are not available or mailboxes are full etc..) they are returned to the server administrator and not to the sender of the message. When I send a mail, I use the PHP m

[PHP] ftp_put

2001-05-22 Thread Jon A
Hi, all. I try to do a file upload using the ftp_put function, where the source file is a string from a browse field When I try to do the upload php says that there is an error opening the local file. Does any of you know how to solve this problem? thanks in advance, Jon A -- PHP General M

[PHP] All of a sudden I get Warning: Bad arguments to implode() in busca_01.php on line 133

2001-05-22 Thread Martin Cabrera Diaubalick
Hello Everyone! This is my code if (count($array_id)==1) { $string_id=$array_id; } else { $string_id= implode(":",$array_id); } I've been testing it for three days and never had an error, now it

Re: [PHP] ftp_put

2001-05-22 Thread Zak Greant
Ensure that the user that PHP is running as has permissions to read the file. --zak - Original Message - From: "Jon A" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, May 21, 2001 10:36 AM Subject: [PHP] ftp_put > Hi, all. > > I try to do a file upload using the ftp_put funct

Re: [PHP] returned eMails

2001-05-22 Thread Zak Greant
Read the entry on the mail function in the manual: http://www.php.net/manual/fr/function.mail.php --zak - Original Message - From: "Jean-Arthur Silve" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, May 22, 2001 2:26 AM Subject: [PHP] returned eMails Hi ! We have a site whi

Re: [PHP] All of a sudden I get Warning: Bad arguments to implode() in busca_01.php on line 133

2001-05-22 Thread Zak Greant
Sounds like you are trying to implode a non-existant array. Change your code to handle an empty or missing array. ie. - Original Message - From: "Martin Cabrera Diaubalick" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, May 22, 2001 2:41 AM Subject: [PHP] All of a sudden I

Re: [PHP] All of a sudden I get Warning: Bad arguments to implode() in busca_01.php on line 133

2001-05-22 Thread Zak Greant
> ie. Oops! Hit the right keys at the wrong time! :) if (! count ($array_id)) { echo '$array_id is empty or not set.'; } else if (1 == count($array_id)) { $string_id=$array_id; } else { $string_id= implode(":",$array_id); } --zak -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] Recompiling PHP with MySQL

2001-05-22 Thread Chris Lee
Jason, Sorry for newbie question, how I compile MySQL from SRPM? I know how to compile from source tar bar but not form SRPM. Simple step to show how would be nice. Thanks in advance. Regards, Chris Lee On 21 May 2001 16:43:48 -0700, [EMAIL PROTECTED] (Jason Murray) wrote: >> All were instal

[PHP] Class and extends pb/bug? with php404pl1

2001-05-22 Thread Hugues BRUNEL
I use PHP 4.0.4pl1 and I don't understand why this doesn't work. Does somebody help me ? class a { var $foo1 ; function a($thefoo) { $this->$foo1 = $thefoo ; echo "a::foo1=".$this->$foo1."\n" ; } } class b extends a { var $foo2 ; function b($thefoo1, $thefoo2) { $this->a

Re: [PHP] PHP & URL Question - omitting index.php

2001-05-22 Thread Tomaz Kovacic
Microsoft's PWS and PHP executable as CGI. I beleave. I've had problems with porting php scripts from Linux/Apache/mod_php to Windows/PWS/php as CGI in the past becourse PWS failed to serve pages with short URLs like directory/?arg1=x&arg2=y Tomaz - Original Message - From: "colin olkow

[PHP] Opera > Localhost

2001-05-22 Thread Tarrant Costelloe
I seem unable to view my localhost by typing "http://localhost"; in my opera client. It comes up with the error message, "The server requested a login authentication method which is not supported". Anyone know a way about this? Thanks in advance! Tarrant Costelloe -- PHP General Mailing List

[PHP] using Delphi code with PHP

2001-05-22 Thread Gilles Koffmann
Hi, I'm trying to use some Delphi code with PHP without using COM (objective is to port it to linux). The first clue I have is that I have to create a DLL/so with a get_module() function entry. Does any documentation exists describing the process of creating your own dll for use with PHP. Thank

Re: [PHP] regex

2001-05-22 Thread CC Zona
> > Is a '.' inside of a [] a literal '.', or a 'any character' > metacharacter. In what regex syntax? In POSIX (ereg_*) and in PCRE (preg_*): [.]//match a period \.//match a period . //match one instance of any character (which could be a period) [[.foo.]] //match string "foo" (

RE: [PHP] Opera > Localhost

2001-05-22 Thread Maxim Maletsky
nope, it works for me. not Opera's fault. Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED] www.phpbeginner.com -Original Message- From: Tarrant Costelloe [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 22, 2001 6:18 PM To: Ph

RE: [PHP] Class and extends pb/bug? with php404pl1

2001-05-22 Thread Maxim Maletsky
use $this->foo1 no double dollar signs. Otherwise PHP thinks you are trying to do variable variables thing. Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED] www.phpbeginner.com -Original Message- From: Hugues BRUNEL [mailto

RE: [PHP] All of a sudden I get Warning: Bad arguments to implode() in busca_01.php on line 133

2001-05-22 Thread Maxim Maletsky
Try: if (!is_array($array_id)) { $string_id=$array_id; } else { $string_id= implode(":",$array_id); } You have to always make sure, you are passing Array into an implode() or explode(). BTW: your

[PHP] Problems with php 4.0.5 with iplanet 4

2001-05-22 Thread Felix Garcia Renedo
Hello, I was able to install php 4.0.2 with Netscape iplanet 4 and it worked. Now I'm trying to install php 4.0.5 with Netscape iplanet 4 and it doesn't work. When I start the netscape server it says: conf_init: Error running init function load-modules: dlopen of /opt/netscape/iplanet4

RE: [PHP] returned eMails

2001-05-22 Thread Maxim Maletsky
You gonna need to add "Return-Path: <[EMAIL PROTECTED]>\n"; into your message header. Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED] www.phpbeginner.com -Original Message- From: Jean-Arthur Silve [mailto:[EMAIL PROTECTE

[PHP] fput

2001-05-22 Thread Vanessa
Hi there, I am trying to upload a picture via ftp_put, but I keep getting the error message: Warning: ftp_put: url/image.jpg: No such file or directory. in /web/www/www.domain.com/upload.php on line xxx Does that mean I can only use the php locally where the file is? The php file is on one se

[PHP] Max execution time for exec()?

2001-05-22 Thread Charles Williams \(CEO\)
Haven't seen anything to support this but it seems to me that exec() and such has maximum execution times. Can anyone verify this? chuck -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact t

Re: [PHP] using Delphi code with PHP

2001-05-22 Thread John Lim
See http://zend.com/zend/api.php Bye john ""Gilles Koffmann"" <[EMAIL PROTECTED]> wrote in message 9edaso$ro7$[EMAIL PROTECTED]">news:9edaso$ro7$[EMAIL PROTECTED]... > Hi, > > I'm trying to use some Delphi code with PHP without using COM (objective is > to port it to linux). > The first clue I ha

Re: [PHP] Recompiling PHP with MySQL

2001-05-22 Thread Pavel Jartsev
Chris Lee wrote: > > Jason, > > Sorry for newbie question, how I compile MySQL from SRPM? > I know how to compile from source tar bar but not form SRPM. > > Simple step to show how would be nice. > rpm --rebuild .src.rpm And compiled binaries will be under /usr/src/RPM/RPMS/. (Talking about M

Re: [PHP] Max execution time for exec()?

2001-05-22 Thread George E. Papadakis
Php has max exec time limit. If you increase that limit you wont face any problems with the functions/calls made by php including exec or system. :: set_time_limit (secs) > Haven't seen anything to support this but it seems to me that exec() and > such has maximum execution times. Can anyone ve

Re: [PHP] What's wrong with this code?

2001-05-22 Thread Plutarck
Ahh, so you can use \\n within the regex itself...I was thinking that what was capture in the regex itself wasn't available until the "replace" part. Obviously that's not true ;) Thanks alot, everyone! One problem down, all the other one's to go :) Plutarck "Christian Reiniger" <[EMAIL PROTEC

Re: [PHP] best way to flush stdout?

2001-05-22 Thread Plutarck
For almost every browser there is, no data inside a will be displayed until the browser get's the matching , so that's one thing to remember. flush() "requests" that any buffered data be sent to the client, but most browsers have their own internal buffer. So in other words, you can't. ;) Plu

Re: [PHP] Class and extends pb/bug? with php404pl1

2001-05-22 Thread Christian Reiniger
On Tuesday 22 May 2001 11:54, Hugues BRUNEL wrote: > echo "b::foo1=".$this->$foo1."\n" ; > echo "b::foo2=".$this->$foo2."\n" ; You're accessing the fields incorrectly. It's $this->foo1 (without the second '$'). -- Christian Reiniger LGDC Webmaster (http://sunsite.dk/lgdc/) CPU not fo

[PHP] sessions without trans_id

2001-05-22 Thread Dalyyla
hi, I have pbs with sessions. I would like to know first how to do , (enable or disable) about sessions in the php.ini file while I don't want to use cookies on the client at all. I suppose I must put the id myself in each page. About this pint, I'd like to check something : if in my application

[PHP] RE: I am newbie and I can't resist anymore !!!!

2001-05-22 Thread Daniel BI
Ok, I saw two of your emails. Your problem is that you are not enough patiently to look into and to well understand the docs. 1. if you wanna change password: if you don't have already one: mysqladmin -u root password new_password if you already have one: mysqladmin -u root -p password new_pa

[PHP] Running two scripts from HTML

2001-05-22 Thread Luis E. Suarez
On an HTML page, I need to be able to do call two scripts from a submit link or button. So, I have a link like this: http://www.mysite.com/script1.php?data=1";>Click here Simultaneously at the click of the link I need to run a second script. What's the best approach? -- PHP General Mailing

RE: [PHP] mysql and user-defined functions

2001-05-22 Thread Lybarger, Denver J (LYBARDJ8)
ok sorry let me include the code(which I should have done the first time), I have so far and then it should become clear what I am trying to do and the difficults I am having: the function is in a separate file: function findEntryId($tableName,$keyName){ connects to DB $db ="SELECT * FROM '$ta

Re: [PHP] mysql and user-defined functions

2001-05-22 Thread Alexander Wagner
Lybarger, Denver J (LYBARDJ8) wrote: > function findEntryId($tableName,$keyName){ > connects to DB > $db ="SELECT * FROM '$tableName' WHERE '$keyName' = $selectOption"; Where does $selectOption come from? Looks like you simply produced a MySQL-parse-error. Try var_dump()-ing $db and $temp, thi

Re: [PHP] Class var not retaining values

2001-05-22 Thread Chris Sano
Is the class variable declared as an array? class test{ var $reasons = array(); function addReason( $score, $reason, $id ) { $reasons[ $index ] = "$score|$reason|$id"; } } Hope this helps, -C ""Bob"" <[EMAIL PROTECTED]> wrote in message 9ec2rm$etg$[EMAIL PROTECTED]">n

[PHP] Array Problem

2001-05-22 Thread Tom
What is the best way to delete an element from an array? I tried using unset(), and it didn't work. Thanks in advance. Tom Malone Web Designer HurstLinks Web Developmenthttp://www.hurstlinks.com/ Norfolk, VA 23510(757)623-9688 FAX 623-0433 PHP/MySQL - Ruby/Perl - HTML/Javascri

Re: [PHP] unset()- newbie question

2001-05-22 Thread Chris Sano
"; unset( $array[ 'test' ] ); echo "after " . $array[ 'test' ]; ?> returns: before chris after hence, the unset function works fine for me. what version of php are you running? ""Tom"" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I can't seem to get uns

php-general Digest 22 May 2001 14:13:16 -0000 Issue 701

2001-05-22 Thread php-general-digest-help
php-general Digest 22 May 2001 14:13:16 - Issue 701 Topics (messages 53802 through 53855): Re: Secure LDAP and php 4.0.4pl1 53802 by: Stig Venaas .RESPONSE TO YOUR ADVERTISEMENT 53803 by: bigsavings555.yahoo.com PHP & RUBY 53804 by: Maxim Maletsky

[PHP] Variable Passing

2001-05-22 Thread Internaut
Hello Please could anyone tell me which part of the ini file I need to modify to allow me to pass variables from one form to another. Regards Internaut -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTE

[PHP] what's the diff between if($var1) and if(isset($var1)) and if(!empty($var1))???

2001-05-22 Thread Bass¨Ð¦õªv
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 administrators, e-mail: [EMAIL PROTECTED]

RE: [PHP] PHP & RUBY

2001-05-22 Thread scott [gts]
ummm... what are you trying to do?? are you trying to parse a PHP script, then parse the output as Ruby?? You can do that in PHP, with code. As far as i know, the statements you suggest below won't work (or at least, wont work the way you want them to) PS: having PHP parse '.html' files could

Re: [PHP] what's the diff between if($var1) and if(isset($var1)) and if(!empty($var1))???

2001-05-22 Thread Rasmus Lerdorf
if($var1) is true if $var1 is set and has a non-0 and non-false value if(isset($var1)) is true if $var1 is set to any value including 0 or false if(!empty($var1)) is true if $var1 is set to anything except a null-string -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail:

RE: [PHP] Array Problem

2001-05-22 Thread Matt Schroebel
> What is the best way to delete an element from an array? > I tried using unset(), and it didn't work. unset works with arrary elements, but it must be a global variable and not passed in. Try the code below to see the results. in deleteGlobal()-Spot\n"; unset ($animals["Spot"]);

FW: [PHP] Running two scripts from HTML

2001-05-22 Thread Valter Santos
Hi! use script1.php only to call the two scripts, let's say, script2.php and script3.php... script1.php should pass the arguments to the other scripts... other way to go is to merge the two scripts in one... and run the code sequencially... Valte

FW: [PHP] $B%8%c%9%H%$%s!L(B010522$B9f!M(B

2001-05-22 Thread Valter Santos
yeahh! I like it too :) Valter Santos WEB/WAP Consultant Email : [EMAIL PROTECTED] Mobile: +351 93 9650075 WeDo Consulting - http://www.wedo.pt > -Original Message- > From: Infomation Service [

Re: [PHP] array sort

2001-05-22 Thread Markus Fischer
On Mon, May 21, 2001 at 06:05:49PM -0700, Alex Black wrote : > > Use 'uasort()': > > > > function my_hash_sort( $a, $b) { > > $a = $a['num']; > > $b = $b['num']; > > if( $a == $b) return 0; > > return ( $a > $b) ? -1 : 1; > > } > > > > uasort( $test, 'my_hash_sort'); > > hoping this wouldn't b

Re: [PHP] Variable Passing

2001-05-22 Thread Fai
Set register_globals = On. But actually, you can use $HTTP_*_VARS[] to get the values from the form. * represent: GET, POST or COOKIE > > Please could anyone tell me which part of the ini file I need to modify to > allow me to pass variables from one form to another. > > Regards > Internaut > > >

[PHP] Tab ordereing

2001-05-22 Thread Tarrant Costelloe
What's the syntax for defining the tab order on a input box? -- 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] Variable Passing

2001-05-22 Thread Internaut
Thankx for your reply, would you recommend setting the register_globals to on, would this be safe to do this? Regards Tosh ""Fai"" <[EMAIL PROTECTED]> wrote in message 9edv0o$2b7$[EMAIL PROTECTED]">news:9edv0o$2b7$[EMAIL PROTECTED]... > Set register_globals = On. But actually, you can use $HTT

RE: [PHP] sessions without trans_id

2001-05-22 Thread Johnson, Kirk
You could use an .htaccess file to disable the session.use_trans_sid flag in the php.ini file, like this: php_flag session.use_trans_sid off Kirk > -Original Message- > From: Dalyyla [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, May 22, 2001 6:30 AM > To: [EMAIL PROTECTED] > Subject: [PHP

RE: [PHP] Tab ordereing

2001-05-22 Thread Jon Haworth
HTH Jon -Original Message- From: Tarrant Costelloe [mailto:[EMAIL PROTECTED]] Sent: 22 May 2001 16:14 To: Php (E-mail) Subject: [PHP] Tab ordereing What's the syntax for defining the tab order on a input box? **

Re: [PHP] Tab ordereing

2001-05-22 Thread Plutarck
The order is the order they are written in the html code. I'm not aware of any way to make it otherwise... Plutarck "Tarrant Costelloe" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > What's the syntax for defining the tab order on a input box? > > > -- > PH

Re: [PHP] Tab ordereing

2001-05-22 Thread Plutarck
...and obviously I'm wrong ;) Plutarck ""Plutarck"" <[EMAIL PROTECTED]> wrote in message 9ee0bh$k0g$[EMAIL PROTECTED]">news:9ee0bh$k0g$[EMAIL PROTECTED]... > The order is the order they are written in the html code. > > I'm not aware of any way to make it otherwise... > > > Plutarck > > "Tarran

Re: [PHP] Tab ordereing

2001-05-22 Thread Kurth Bemis
i believe that the attrib is taborder="3" bewarethat its not 4.0 standard tho.if i find a good resource then i'll send ti along to the list > The order is the order they are written in the html code. > > I'm not aware of any way to make it otherwise... > > > Plutarck > > "Tarrant Costel

[PHP] installing php4

2001-05-22 Thread AJDIN BRANDIC
Hi I am building a web server. I installed RH6.2 and Apache was installed with it (as binary I guess). I have also installed MySQL (server/client) from binary RPM. I want to install PHP4 source now. Is there any way I could install it without compiling Apache source version or do I need to ge

[PHP] pipe an email

2001-05-22 Thread Attila Strauss
hi all, could someone help me with this prob ... i wanna pipe an emails' sender, subject and body ... ( mailalias --> programm(script) ) any ideas how this could be done the *best* way? #!/usr/local/bin/php -q ---

Re: [PHP] Is the session ID of php4 made like a session cookie?

2001-05-22 Thread Yasuo Ohgaki
Hello, Just set session.cookie_lifetime = 0 if you are using cookie session. If you are using url session, it is not possible. wrote: > Is it possible to erase at the same time the session data of php4 closes a browser? > > Please teach a method, > when a browser is closed and sessi

[PHP] Querying mysql.log

2001-05-22 Thread Jochen Kaechelin
Is there a script to analyse the mysql.log files to do some statistics, or would it be better to store needed informationen in a MySQL-Database using sessions? -- phpArbeitsgruppe in Gruendung - Jochen Kaechelin Stuttgarter Str.3, D-73033 Goeppingen Tel. 07161-92 95 94, Fax 07161-92 95 98 http

[PHP] removing double backslashes and leaving singles

2001-05-22 Thread Dennis Gearon
I've tried this and it doesn't work, any ideas? $illegal_chars="[^a-zA-Z0-9._\\:]|"; $dir="c:\\t.e.s.t.7."; $dir_name = ereg_replace($illegal_chars, "", $dir_name); it removes the single double slash after :, as well. this is on version 4.0.3pl1 would some people please test this on th

Re: [PHP] removing double backslashes and leaving singles

2001-05-22 Thread Adam Wright
Don't forget you need to escape the backslashes both for PHP and the regular expression engine. So, if you want to match \\, you need to escape for php, then escape them both again for regex . matches just one real backslash :) adamw - Original Message - From: "Dennis G

[PHP] session and back button

2001-05-22 Thread kaab kaoutar
Hi! I'm using sessions and if the user hits the back button an expiration page appears! how can i disable the back button ? i tried window.history.forward(1) but it fails ! Thanks _ Get Your Private, Free E-mail from MSN Hotm

Re: [PHP] what's the diff between if($var1) and if(isset($var1)) and if(!empty($var1))???

2001-05-22 Thread Phil Driscoll
On Tuesday 22 May 2001 08:30, Rasmus Lerdorf wrote: > if(!empty($var1)) is true if $var1 is set to anything except a null-string I think this should be if(!empty($var1)) is true if $var1 is set to anything except a null string, 0 or the string '0' It would be great, unless I've missed the poi

RE: [PHP] session and back button

2001-05-22 Thread Boget, Chris
> I'm using sessions and if the user hits the back button an > expiration page appears! how can i disable the back button ? > i tried window.history.forward(1) but it fails ! Even more interesting is that when a user presses the back button all the way back to the page that initially started th

[PHP] .htaccess for PHP

2001-05-22 Thread Trent Reimer
I heard that you can modify PHP settings with the .htaccess file for Apache. How would this look if I wanted to adjust "max_execution_time" to a shorter span, or to turn "safe_mode" on or off? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For addit

[PHP] session_unset() and session_destroy()

2001-05-22 Thread Arcady Genkin
I don't think that I grasp the difference between session_unset() and session_destroy() functions. Would anyone explain? Also, suppose that I want to totally wipe out an existing session, and then start a new one. Can I still do session_register() after I do session_unset() or session_destroy()

[PHP] problem getting oracle to work with php4

2001-05-22 Thread louigi600
got php to work with mysql but when I try to compile in oracle support something goes bad. .configure, make & make install semm to go fine but when I restart apache I get an error: Shutting down http: [OK] Starting httpd: Syntax error on line 872 of /etc/httpd/conf/httpd.conf: Cannot lo

RE: [PHP] session and back button

2001-05-22 Thread kaab kaoutar
Hi! Thanks! I have created sessions in a page that is no more visited, but still when i go through the other pages using session variables and use go back to another page that uses sessions i have the expiration message Thanks >From: "Boget, Chris" <[EMAIL PROTECTED]> >To: "'kaab kaoutar'" <[E

[PHP] Re: mailing list php-general@lists.php.netµÄ×Ô¶¯»ØÐÅ

2001-05-22 Thread kaab kaoutar
what ? >From: [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED] >To: [EMAIL PROTECTED] >Subject: mailing list [EMAIL PROTECTED]µÄ×Ô¶¯»ØÐÅ >Date: 22 May 2001 17:24:30 - > >ºÜ¸ßÐËÊÕµ½ÄãµÄÓʼþ£¡ > > >=== >Ãâ·Ñµç×ÓÓÊÏä htt

Re: [PHP] Is this a typo or what?

2001-05-22 Thread Henrik Hansen
Floyd Baker <[EMAIL PROTECTED]> wrote: > > I removed one of the two above the bottom 'return rettext'. > There are sure something with that script, at least I found out there is a } too much, maybe you removed one too many, can i see the original script? I would also advise you to try an

[PHP] image upload - determining image resolution in pixels ?

2001-05-22 Thread Nicolas Mermet
Hi, I was wondering if there is a way to analize an uploaded jpeg file in order to extract its resolution in pixels. Would that be also possible with a quicktime movie ? thanks, Nicolas -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional com

[PHP] Regular Expression Help

2001-05-22 Thread Jason Caldwell
I'm trying to figure out how to "say" with a Regular Expression how to check for the following characters in a phone number: ( ) - with a length between 1 and 20 -- I've tried the following and it doesn't seem to work. eregi("^([0-9]|\\(|\\)|\\-){1,20}$") I'm not interested in checking for a

RE: [PHP] .htaccess for PHP

2001-05-22 Thread Matt Schroebel
php_value safe_mode 1 php_value max_execution_time 15 You need to also set the AllowOverride option in apache so that apache looks into the .htaccess file. http://httpd.apache.org/docs/misc/FAQ.html#htaccess-work > I heard that you can modify PHP settings with the .htaccess > file for Apache

Re: [PHP] image upload - determining image resolution in pixels ?

2001-05-22 Thread Chris Lee
open the file with gd and use imagesx() and imagesy() gd does not handel quicktime, only jpeg, gif (older, dont go there), png, tiff I think thts it. I havent checked. but never the less, images, not movies. -- Chris Lee [EMAIL PROTECTED] "Nicolas Mermet" <[EMAIL PROTECTED]> wrote in me

Re: [PHP] array sort

2001-05-22 Thread Alex Black
> on a whim, I tried > uasort($this->modules[$group], '$this->_ary_sort()'); hi all, for those of you interested: uasort($this->modules[$group], array(&$this,'_ary_sort')); note the &$this... this is a very good point, if you use $this, a new instance of your class is created just to han

Re: [PHP] Is this a typo or what?

2001-05-22 Thread Floyd Baker
On 22 May 2001 19:32:00 +0200, you wrote: >Floyd Baker <[EMAIL PROTECTED]> wrote: > > > > > I removed one of the two above the bottom 'return rettext'. > > > >There are sure something with that script, at least I found out there >is a } too much, maybe you removed one too many, can i see the

Re: [PHP] Regular Expression Help

2001-05-22 Thread Mark Maggelet
On Tue, 22 May 2001 10:44:42 -0700, Jason Caldwell ([EMAIL PROTECTED]) wrote: >I'm trying to figure out how to "say" with a Regular Expression how >to check >for the following characters in a phone number: > >( ) - > >with a length between 1 and 20 -- > >I've tried the following and it doesn't see

[PHP] exec command help

2001-05-22 Thread Nashirak Bosk
I am trying to run a something everytime a certain page is loaded. I am using PHP4 and am running Debian Linux. I am trying to run this command with exec: exec("/usr/sbin/postalias hash:aliases", $results); In case you are curious this turns a file called aliases into a hashed aliases file (a

Re: [PHP] Is this a typo or what?

2001-05-22 Thread Charles Williams \(CEO\)
- Original Message - From: "Floyd Baker" <[EMAIL PROTECTED]> To: "Henrik Hansen" <[EMAIL PROTECTED]> Cc: "Henrik Hansen" <[EMAIL PROTECTED]>; "PHP General List" <[EMAIL PROTECTED]> Sent: Tuesday, May 22, 2001 8:16 PM Subject: Re: [PHP] Is this a typo or what? > On 22 May 2001 19:32:00 +

[PHP] File upload form

2001-05-22 Thread Boget, Chris
Below is the (very) simple form that I'm using to allow users to upload files to my site: --- Upload Attachment Upload File You are uploading from an unsecure server. Close Window --- The proble

Re: [PHP] File upload form

2001-05-22 Thread Charles Williams \(CEO\)
Chris, Have you asked what browsers they are using? Also, what are you using to serve this page? chuck -- 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:

RE: [PHP] File upload form

2001-05-22 Thread Boget, Chris
> Have you asked what browsers they are using? This happens primarily on IE but it also happens using NS > Also, what are you using to serve this page? ? PHP 4.0.4 and Apache. Chris

Re: [PHP] Check multiple cookies

2001-05-22 Thread Sam Gooding
At 05:04 PM 5/21/01 +0100, James Holloway wrote: >Hi Sam, > > > > The following is exactly what I typed in (just copy and pasted) but I'm > > still getting the error: > > > > Cannot add header information - headers already sent by (output started at > > web.php:2) in > > web.php on line 19 > >Make

[PHP] Discussion board

2001-05-22 Thread Thomas Deliduka
Is there a good PHP alternative for a discussion board or something else that allows for moderators and other good features that will run on Linux? -- Thomas Deliduka IT Manager - New Eve Media The Solution To Your Internet Angst http://www.neweve.com/ -- PHP Ge

[PHP] Debugging problems

2001-05-22 Thread Taline Makssabo
I'm using this as a log on but it gives me this warning message: Warning: Supplied argument is not a valid MySQL resource /httpd/html/php2/login.php on line 27 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAI

RE: [PHP] PHP & RUBY

2001-05-22 Thread John Monfort
Thanks for the background info. I'll check it out. __John Monfort_ _+---+_ P E P I E D E S I G N S www.pepiedesigns.com "The world is waiting, are you ready?" -+___+- On Tue, 22 May 2001, Ma

RE: [PHP] Discussion board

2001-05-22 Thread James Atkinson
http://www.phpbb.com :) - James > -Original Message- > From: Thomas Deliduka [mailto:[EMAIL PROTECTED]] > Sent: May 22, 2001 12:10 PM > To: PHP List > Subject: [PHP] Discussion board > > > Is there a good PHP alternative for a discussion board or something else > that allows for moderat

RE: [PHP] Discussion board

2001-05-22 Thread Jerry Lake
I like Phorum http://phorum.org/ Jerry Lake Interface Engineering Technician Europa Communications - http://www.europa.com Pacifier Online - http://www.pacifier.com -Original Message- From: James Atkinson [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 22, 2001 12:23 PM To: Thomas Del

Re: [PHP] Debugging problems

2001-05-22 Thread Chris Lee
best bet is to put some error checking in. function _check_db($query = '', $line = '') { if ( mysql_errno() ) { echo "Error: Problem with DataBase : {$GLOBALS['db_database']}\n"; echo "Error: " . mysql_errno() . ':' . mysql_error() . "\n"; echo "Query: $query\n"; echo "Line : $l

RE: [PHP] Discussion board

2001-05-22 Thread Christopher Schreiber
I'd recommend taking a look at vBulletin... version 2 was just release and it is the most powerful PHP based discussion board available: http://www.vbulletin.com/ Hope this helps, -Original Message- From: Thomas Deliduka [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 22, 2001 3:10 PM To:

[PHP] About MySQL Recordset pagination...

2001-05-22 Thread Hassan Arteaga
Hi all !! I'would like to know if exist in MySQL or PHP functions to implement pagination like ADO (This is for WINDOWS PHP programmers) thanks in advanced !! -- M. Sc. Hassan Arteaga Rodríguez Microsoft Certified System Engineer Network Admin, WEB Programmer FUNDYCS, Ltd [EMAIL PROTECTED] --

Re: [PHP] exec command help

2001-05-22 Thread Chris Lee
what is the output of $results ? print_r($results); try another command, ie. exec("echo hello world", $results); exec("echo hello world > /tmp/test.txt", $results); does that work? does that file aliases.db permissions set as world writeable, or the user.group set to nobody.nobody (ie. whateve

Re: [PHP] Discussion board

2001-05-22 Thread Thomas Deliduka
Thanks everyone for your suggestions (and thanks to those who will suggest more later... To cover y'all too) I'll check these out. On 5/22/2001 3:32 PM this was written: > Is there a good PHP alternative for a discussion board or something else > that allows for moderators and other good featur

[PHP] unsubscribe leblanc+php@acadia.ne.mediaone.net

2001-05-22 Thread Louis LeBlanc
unsubscribe [EMAIL PROTECTED] -- Louis LeBlanc Fully Funded Hobbyist, KeySlapper Extrordinaire :) [EMAIL PROTECTED] http://acadia.ne.mediaone.netԿԬ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAI

Re: [PHP] unsubscribe leblanc+php@acadia.ne.mediaone.net

2001-05-22 Thread Nicholas
-BEGIN PGP SIGNED MESSAGE- Hash: MD5 Hello Louis, gotta email that to the unsubscribe list... (at bottom of all msgs) This In Reply to what you wrote on Tuesday, May 22, 2001, 4:05:26 PM, Which Was LL> unsubscribe [EMAIL PROTECTED] - -- Best regards, Nicholas

Re: [PHP] About MySQL Recordset pagination...

2001-05-22 Thread py
I wrote a simple class to do that, it can be modified quite easily. http://www.pywebsolutions.com/source.php Hope this is what you are looking for... py - Original Message - From: Hassan Arteaga <[EMAIL PROTECTED]> To: Php (E-mail) <[EMAIL PROTECTED]> Sent: Tuesday, May 22, 2001 8:39 PM

Re: [PHP] Regular Expression Help

2001-05-22 Thread Christian Reiniger
On Tuesday 22 May 2001 19:44, Jason Caldwell wrote: > I'm trying to figure out how to "say" with a Regular Expression how to > check for the following characters in a phone number: > > ( ) - > > with a length between 1 and 20 -- preg_match ('/^[\d()-]{1,20}$/', $Subject) should do the trick. --

RE: [PHP] installing php4

2001-05-22 Thread PAUL O'NEIL
I had a little trouble with RedHat using the RPM's to get those packages to work. It only worked best when I used the tar.gz files on all three and followed the instructions. I felt that since these are critical components that need to work for me and I was doing it by hand anyway why even use Red

[PHP] 3d array-number of elements in each dimension

2001-05-22 Thread Andrew V. Romero
I have a 3d array $ingredientsInfoSplit[$i][$j][$k] and this array is contains $i-row that data (a compounded suspension) was found in, $j-ingredients for the suspension, and $k-information on each ingredient used for the suspension. So each row in this file I have contains all the information ne

[PHP] Sites with PHP jobs

2001-05-22 Thread Mihailo Dzigurski
Hi, I am looking for sites with PHP jobs, can somebody suggest me that kind of sites? Regards, Mihailo. _ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com -- PHP General Mailing List (http://www.php.net/) T

  1   2   >