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, special.fh,

[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

[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

[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 function,

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 get

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

[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) {

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=xarg2=y Tomaz - Original Message - From: colin

[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.

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:

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

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

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 PROTECTED]]

[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

[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

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 have is that

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 some.src.rpm And compiled binaries will be under /usr/src/RPM/RPMS/. (Talking about

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

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 PROTECTED]

Re: [PHP] best way to flush stdout?

2001-05-22 Thread Plutarck
For almost every browser there is, no data inside a table will be displayed until the browser get's the matching /table, 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

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 found. retry,

[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

Re: [PHP] unset()- newbie question

2001-05-22 Thread Chris Sano
? $array[ 'test' ] = chris; echo before . $array[ 'test' ] . br; 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

[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

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,

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. ?php // deletes an element of global array function

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...

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 be the answer, thanks

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 --

RE: [PHP] Tab ordereing

2001-05-22 Thread Jon Haworth
form input name=foo tabindex=1 input name=bar tabindex=2 /form 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

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? -- PHP

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 Tarrant Costelloe

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 Costelloe [EMAIL

[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

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 session

[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

[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

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

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 the

[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

[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

[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

[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 - ºÜ¸ßÐËÊÕµ½ÄãµÄÓʼþ£¡ === Ãâ·Ñµç×ÓÓÊÏä

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 and

[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

[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() ?php $img = imagecreatefromjpeg($file_name) $x = imagesx($img); $y = imagesy($img); ? 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,

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 handle to

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 original

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 seem to work.

[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

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 +0200, you wrote:

[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: --- html head titleUpload Attachment/title /head body br center h3Upload File/h3 You are uploading from an unsecure server.br FORM ENCTYPE=multipart/form-data

Re: [PHP] File upload form

2001-05-22 Thread Charles Williams \(CEO\)
sniped for brevities sake ;) 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

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 sure that all

[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

[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 ? ob_start() ? ?php function access_denied() Header(WWW-Authenticate: Basic realm=\$title\); Header(HTTP/1.0 401 Unauthorized); }

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,

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 moderators and

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

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']}br\n; echo Error: . mysql_errno() . ':' . mysql_error() . br\n; echo Query: $querybr\n; echo Line :

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

[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. whatever

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

[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:

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

[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

[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/)

RE: [PHP] Sites with PHP jobs

2001-05-22 Thread Boaz Yahav
http://www.weberjob.com Sincerely berber Visit http://www.weberdev.com Today!!! To see where PHP might take you tomorrow. -Original Message- From: Mihailo Dzigurski [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 22, 2001 10:22 PM To: [EMAIL PROTECTED] Subject: [PHP] Sites with

[PHP] Sessions and Classes

2001-05-22 Thread Chris Kovalcik
Hi, Can a class be stored as a session variable? If not, what advantage is there to using classes in php? I kind of see classes as used for things that will be frequently accessed/stored in memory, but with php(web) the code is basically executed once with nothing remaining in memory. Seems

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

2001-05-22 Thread Louis LeBlanc
On Tue, May 22, 2001 at 04:11:49PM -0400, Nicholas sat at the 'puter and typed: -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

[PHP] New BEE Q

2001-05-22 Thread dr0asif
New bee Q- Can anyone help me to configure pws,mysql manually. Kindly help and walk me through the process. thanks asif -- 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

[PHP] CVS problem

2001-05-22 Thread Nicholas
-BEGIN PGP SIGNED MESSAGE- Hash: MD5 Hello , whenever i try to run this cvs command i get this cvs -d :pserver:[EMAIL PROTECTED]:/cvsroot/best-board/devel init Protocol error: Root request missing wtf am i doing wrong what do i do .. thanks (note this is FOR a php program..) - --

Re: [PHP] problem getting oracle to work with php4

2001-05-22 Thread Markus Fischer
On Tue, May 22, 2001 at 07:06:32PM +0200, [EMAIL PROTECTED] wrote : 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]

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

2001-05-22 Thread Markus Fischer
On Tue, May 22, 2001 at 10:38:32AM -0700, Nicolas Mermet wrote : I was wondering if there is a way to analize an uploaded jpeg file in order to extract its resolution in pixels. GetImageSize() is a favourite one here. Would that be also possible with a quicktime movie ? Possibly,

[PHP] Database Information Manager script i wrote

2001-05-22 Thread scott [gts]
I've been working on this thing for the past few days and thought i'd share it all with you. i've posted a demo up: you cannot delete rows, but you can add and edit them http://furt.com/php/dbedit/ to get the code: http://furt.com/php/dbedit_b1.zip (please read specs.php for lots of

[PHP] Database Management

2001-05-22 Thread scott [gts]
Oh, and the fields with blue link headings dont sort correctly, becuase the actual values of the fields are numeric... click on Raw to see the actual data in the database, click on Complete to see the values that have been looked up -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] PHP XML Parsing

2001-05-22 Thread Mike Gifford
Hello Fabian, This was very helpful. Thanks for letting me know about this little glitch. It almost resolves the problem that I was having. Now I no longer get xml errors. However, I'm not able to output the XML either. Any suggestions would be appreciated. The updated code is available

[PHP] mysql error, dont see why.. please help

2001-05-22 Thread PeterOblivion
Here is the command. mysql_query(UPDATE user_polls WHERE uid = '$UserName' AND type = '$type' SET url = '$file_name') or die(mysql_error()); Output You have an error in your SQL syntax near 'WHERE uid = 'Oblivion' AND type = 'music' SET url = 'test'' at line 1 This is SOOO weird. PLEASE HELP

[PHP] playing sounds

2001-05-22 Thread Black Dragon
Hi, can you tell me same library to play sounds from php and output an audio stream to the browser. I'm finding something that build dinamically an swf file (flash) from a template swf and play an mp3 o wav. can you tell me something? I've tried some library, bu unsucessfully -- PHP

Re: [PHP] mysql error, dont see why.. please help

2001-05-22 Thread Tyler Longren
Shouldn't it be: mysql_query(UPDATE user_polls SET url = '$file_name' WHERE uid = '$UserName' AND type = '$type) or die (mysql_error()); Maybe I'm wrong. -- Tyler Longren [EMAIL PROTECTED] Currently Unemployed www.noworkfortyler.com On Tue, 22 May 2001 17:00:35 EDT [EMAIL PROTECTED] wrote:

Re: [PHP] PHP XML Parsing

2001-05-22 Thread Mike Gifford
Hello Peter, Peter Dudley wrote: The problem is in your link URL, where you pass CGI parameters. When XML sees the character, it assumes it's a special character thing such as amp; or quot;, so it's expecting a semicolon. replacing it with amp; fixed the XML error. Thanks!

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

2001-05-22 Thread Andrew V. Romero
I should clarify that I need to determine the number of elements in $j for each row ($k). Thanks, To reply personally, remove all numbers from address. Andrew V. Romero wrote: I have a 3d array $ingredientsInfoSplit[$i][$j][$k] and this array is contains $i-row that data (a compounded

RE: [PHP] mysql error, dont see why.. please help

2001-05-22 Thread Chadwick, Russell
The SET clause has to come before WHERE clause - Russ --- Toolshed Computer Productions - Professional PHP Hosting Hosting - Dedicated Servers - Design - Programming http://www.toolshed51.com -Original Message- From: Tyler Longren [mailto:[EMAIL PROTECTED]] Sent: Tuesday,

[PHP] URL Variables

2001-05-22 Thread Michael Conley
First, I realize this isn't really a PHP question. If I include variables in a URL that I am passing to a web server over HTTPS, is the URL (and hence, the variables) encrypted? example: https://www.yourdomain.com?firstname=michaellastname=conley I need to make sure that the firstname and

RE: [PHP] URL Variables

2001-05-22 Thread Chadwick, Russell
Variables as part of the url would not be encrypted, but you could send variables as POST to the secure document and then they would get encrypted - Russ --- Toolshed Computer Productions - Professional PHP Hosting Hosting - Dedicated Servers - Design - Programming

[PHP] Regular Expression Question

2001-05-22 Thread Dylan Finney
Hello, I was wondering if there is a way to match a pattern, then delete the entire line containing the pattern. I.E. (if I was searching for pattern in a file containing pattern:info:info:info pattern2:info:info:info pattern3:info:info:info is there a way to delete the entire, and only the

[PHP] ftp

2001-05-22 Thread Glenda Robalino
Hi.. maybe you could help me, I want to make an FTP but whithout Ftp_open and all those functions, is there any way??? tx _ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. -- PHP General Mailing

  1   2   >