Re: [PHP] OT PHP Manuals

2001-05-22 Thread Joseph Blythe
Jason Lotito wrote: > Joseph, > > I was actually about to type back in response explaining to everyone > that you asked WHAT was use to make the .chm files. You must forgive my > colleagues, they sometimes forget to actually read the email, rather > than just scan the email for common key word

Re: [PHP] still not friends with RegExps..

2001-05-22 Thread Dan Lowe
Previously, Zef Hemel said: > $string = preg_replace("/[\\\*\+\-;]/s","",$string); > > I think, you might have to escape the ; too You don't need to escape * or + inside a character class since they don't have a special meaning inside a character class. You will need to use '' to match a ba

Re: [PHP] cookies

2001-05-22 Thread Zak Greant
Hi Jon, Dealing with expiry dates and cookies is often a PITA! Rasmus suggested a way around this a few weeks ago - here is a rehash of what he said: Do this: setcookie ('expiry', time ()); This call will have created a session cookie - this means that the session will expire when the browser

[PHP] cookies

2001-05-22 Thread Jon Yaggie
Sorry. My emails is acting wierd. This is a repost. The suggestion was there is a clock problem. My clock is right. Could it be cause by a time zone difference? original message - I have set up a user login so that it will assign a cookie for one hour - setcookie("cookie_id", $id, time

[PHP] ff

2001-05-22 Thread Jon Yaggie
f

Re: [PHP] installing PHP on a sun box

2001-05-22 Thread Dan Lowe
Previously, Joseph Bannon said: > I'm installing PHP on a sun box and when type in "make" and i get "not > found". How can I run make if it's not found? make is usually in /usr/ccs/bin/ However, you probably have no compiler (unless you bought one from Sun). Try typing "cc" - if you get the "sof

Re: [PHP] ssh

2001-05-22 Thread Dan Lowe
Previously, Dennis Gearon said: > > ***AND*** getting the certificate to work for it? > My provider that runs php/mysql/etc only lets people use SSH connections > for telnet, which I agree with. As others have mentioned, PuTTY is the way to go. You can use key files with it, or passwords (or b

[PHP] Funky PHP Stuff

2001-05-22 Thread Chris Aitken
Just wondering if anyone has come across a collection of weird and wonderful stuff done with PHP. I have a site which people have the option to display strange things whenever they log in, and currently I have a random quote generated from the fortune script on FreeBSD, plus a weird script whi

Re: [PHP] PHP & Mail (SMTP)

2001-05-22 Thread Dan Lowe
Previously, Jason Caldwell said: > There's a setting in the PHP.INI file called [Mail Function] - SMTP > Can I programmatically set this? Or, am I for now restricted to this .INI > entry? ini_set("SMTP", "smtp.server.name"); ini_set("sendmail_from", "[EMAIL PROTECTED]"); -d -- What was the be

Re: [PHP] Whitespace

2001-05-22 Thread David Robley
On Wed, 23 May 2001 15:44, Wade Halsey wrote: > Hey > > How can I add a certain number of whitespace chars to a text file? > I write variables to a text file and I want to seperate them by certain > numbers of whitespace chars > > eg : $var(40 whitespace)$var2(10 whitespace) > > TIA > > Wade /man

[PHP] Whitespace

2001-05-22 Thread Wade Halsey
Hey How can I add a certain number of whitespace chars to a text file? I write variables to a text file and I want to seperate them by certain numbers of whitespace chars eg : $var(40 whitespace)$var2(10 whitespace) TIA Wade

[PHP] Checking an URL

2001-05-22 Thread YoBro
Hello Everybody :-) I've been trying to figure something out, but just cant find the right answer. I need some code to check that the page is being viewed from a specific url. EXAMPLE: Not just http://www but https://www1 if it is https://www1 then show the page otherwise echo a message. The re

Re: [PHP] Calling PHP script from C/C++?

2001-05-22 Thread Plutarck
Note that by using the standalone executable of PHP I don't know of anyway to invoke PHP without first creating a file with the script in it. So you can't pipe a dynamically created script directly into PHP. You have to use an intermediary file. I imagine there is a way to make it work, but I don

[PHP] imap_fetchbody(int stream, int msg_number, int part)

2001-05-22 Thread Don. N
How do I display a Images that is fetche from an email. All I get is a bunch of jarble, how do I solve this -- 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] select specified elements from an array

2001-05-22 Thread Markus Fischer
On Wed, May 23, 2001 at 12:27:04AM +0200, Gyozo Papp wrote : > Thanks for your fast reply. > One more question related to this topic. > Would it be valueable to extend the existing array_values() > function to support this feature? just to balance with > array_keys() and its optional value argum

RE: [PHP] OT PHP Manuals

2001-05-22 Thread Jason Lotito
> > Matt McClanahan wrote: > > > On Wed, May 23, 2001 at 10:37:06AM +0930, Joseph Blythe wrote: > > > >> Hey all, > >> > >> Just was wondering if anyone knew what was used to make the php > >> manuals > >> in the windows help format (.chm), I really like them :-) > > > > > > The manual is a

Re: [PHP] Date (Year) .. adding..

2001-05-22 Thread David Robley
On Wed, 23 May 2001 13:49, Jason Caldwell wrote: > I'm trying to figure out how to add to the year: > > for($x=0; $x<20; $x++) > { > $year = date("Y" + $x); > print($year . "\n"); > } > > I've tried several variations on the above and cannot get the year to > come out. > > Any suggestions?

RE: [PHP] Date (Year) .. adding..

2001-05-22 Thread Tyler Longren
Try that. Tyler > -Original Message- > From: Jason Caldwell [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, May 22, 2001 11:20 PM > To: [EMAIL PROTECTED] > Subject: [PHP] Date (Year) .. adding.. > > > I'm trying to figure out how to add to the year: > > for($x=0; $x<20; $x++) > { > $ye

Re: [PHP] Running two scripts from HTML

2001-05-22 Thread David Robley
On Wed, 23 May 2001 08:26, LESM wrote: > Não presta! > > I must call from several different HTML pages. Script1 + script2 or > script1+script3 and even script2+script3, depending upon the page. > > What about using a conditional include, depnding on the value of, say the refering page, or a hid

[PHP] Date (Year) .. adding..

2001-05-22 Thread Jason Caldwell
I'm trying to figure out how to add to the year: for($x=0; $x<20; $x++) { $year = date("Y" + $x); print($year . "\n"); } I've tried several variations on the above and cannot get the year to come out. Any suggestions? Thanks Jason -- PHP General Mailing List (http://www.php.net/) T

Re: [PHP] OT PHP Manuals

2001-05-22 Thread Joseph Blythe
Matt McClanahan wrote: > On Wed, May 23, 2001 at 10:37:06AM +0930, Joseph Blythe wrote: > >> Hey all, >> >> Just was wondering if anyone knew what was used to make the php manuals >> in the windows help format (.chm), I really like them :-) > > > The manual is availabe in chm in several lan

Re: [PHP] form posting problem - $variables get padded with spaces

2001-05-22 Thread David Robley
On Wed, 23 May 2001 15:03, Thomas O'Neill wrote: > Can anyone help? > > Here is my problem, I am submitting a lot of hidden variables using a > and they come over padded with a space on the left. I know that > I can trim() them but in case I am working with that might be more > trouble then its w

Re: [PHP] OT PHP Manuals

2001-05-22 Thread Matt McClanahan
On Wed, May 23, 2001 at 10:37:06AM +0930, Joseph Blythe wrote: > Hey all, > > Just was wondering if anyone knew what was used to make the php manuals > in the windows help format (.chm), I really like them :-) The manual is availabe in chm in several languages. http://www.php.net/docs.php Ma

[PHP] form posting problem - $variables get padded with spaces

2001-05-22 Thread Tommyo - PHP - mail account
Can anyone help? Here is my problem, I am submitting a lot of hidden variables using a and they come over padded with a space on the left. I know that I can trim() them but in case I am working with that might be more trouble then its worth. This does not happin on another installation of P

[PHP] form posting problem - $variables get padded with spaces

2001-05-22 Thread Thomas O'Neill
Can anyone help? Here is my problem, I am submitting a lot of hidden variables using a and they come over padded with a space on the left. I know that I can trim() them but in case I am working with that might be more trouble then its worth. This does not happin on another installation of P

Re: [PHP] Secure LDAP and php 4.0.4pl1

2001-05-22 Thread Scott Russell
Stig - Thanks for the help. I've been working to narrow it down and it turns out that the openldap 2.0.7 (and 2.0.9) will open SSL connections with sslv23 by default. Apparently there is no way to choose another SSL protocol from the openldap client or php's ldap functions. (Ref tls.c in the open

Re: [PHP] "IF" statements

2001-05-22 Thread Steve Werby
"chris herring" <[EMAIL PROTECTED]> wrote: > if ($date == 24 && $hour == 3) { } > > But that doesn't work... Any help is appreciated Your logic is correct. If the code within the braces isn't working it's likely there's either an error in the code within the braces or $date and $hour aren't ret

RE: [PHP] "IF" statements

2001-05-22 Thread Maxim Maletsky
Why doesn't work? $date = 24; $hour = 3; if ($date == 24 && $hour == 3) { echo 'works'; } If does not print you 'works': the sky will crash to the ground. I think you just got confused elsewhere in your code. Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PH

RE: [PHP] "IF" statements

2001-05-22 Thread Peter Houchin - SunRentals Australia
What's wrong with doing it like if ($date == 24) { if ($hour == 3) { do something } } ?? -Original Message- From: chris herring [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 23, 2001 12:58 PM To: [EMAIL PROTECTED] Subject: [PHP] "IF" statements

[PHP] "IF" statements

2001-05-22 Thread chris herring
Ok, use your imaginations and visualize what I'm trying to do with this, because I'm not quite sure how to explain it. Anyway, I'm trying to have a script that says when THIS_VAR and THAT_VAR are a certain number it show something. I'm not quite sure how to do that without making yet another va

RE: [PHP] Calling PHP script from C/C++?

2001-05-22 Thread Sean R. Bright
Yes it can. If you are compiling yourself you can use configure without specifying any webservers (i.e. Apache, Netscape, etc) and a binary called "php" will be generated after you build. > -Original Message- > From: Chatchawan Boonraksa > [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, May

[PHP] Calling PHP script from C/C++?

2001-05-22 Thread Chatchawan Boonraksa
Hi all, Can PHP be used as a general scripting language other than in web? Has anyone did this before? I would like to embedded some kind of scripting in application developed using C or C++. I don't want to learn a new language. I already know PHP and like the syntax and style :) Any hint or p

Re: [PHP] OT PHP Manuals

2001-05-22 Thread Joseph Blythe
Miles Thompson wrote: > Why? We have the manuals in two truly portable formats, HTML and PDF, > not to mention on-line, annotated HTML. > Miles Thompson Because I already have enough browser windows open and I find the windows help format a lot better as it is easily searchable and also has

Re: [PHP] OT PHP Manuals

2001-05-22 Thread Miles Thompson
Why? We have the manuals in two truly portable formats, HTML and PDF, not to mention on-line, annotated HTML. Miles Thompson At 10:37 AM 5/23/01 +0930, Joseph Blythe wrote: >Hey all, > >Just was wondering if anyone knew what was used to make the php manuals in >the windows help format (.chm), I

[PHP] OT PHP Manuals

2001-05-22 Thread Joseph Blythe
Hey all, Just was wondering if anyone knew what was used to make the php manuals in the windows help format (.chm), I really like them :-) Regards, Joseph. -- BoldFX / Binary Logic The Logical Choice 750 Port Road Beverley 5009 Ph: (08) 8244 1800 Fax: (08) 8244 1811 mailto: [EMAIL PROTECTED]

[PHP] Has anyone heard about Abriasoft software called Merlin ?

2001-05-22 Thread Cesar Cuneo
I would like to know if any one has heard of a software called Merlin Server for Linux (Red Hat 6.0) - http://www.abriasoft.com Merlin server is a complete web development and production server that provides a robust deployment environment for interactive, database driven websites. Merlin Serv

[PHP] Re: confirm unsubscribe from php-general@lists.php.net

2001-05-22 Thread Louis LeBlanc
On Wed, May 23, 2001 at 12:31:02AM -, [EMAIL PROTECTED] sat at the 'puter and typed: > Hi! This is the ezmlm program. I'm managing the > [EMAIL PROTECTED] mailing list. > > Oops, that confirmation number appears to be invalid. > > The most common reason for invalid numbers is expiration. I

[PHP] is it a bug?

2001-05-22 Thread un3
php-general i'm a beginner of PHP, i use PHP4.05 of win32, i don't know MySQL or the others but dBase, so i use dBase function. but when i use the function dbase_replace_record(). the record can't replace with what i want, but with NULL.why? the other functions can work well. i think it mus

[PHP] PLEASE HELP !!!

2001-05-22 Thread PHPFAN
I am running PHP 4.0.5 on Windows 2000 with SQL server databases. If there is an error with my PHP code, my computer becomes very very slow and nothing works. The PHP process is using 99 % of the CPU. So I have to restart the computer. This happens everytime there is an error in my PHP code. For

[PHP] Installing PHP from CVS: `AM_PROG_LIBTOOL' not found in library

2001-05-22 Thread Frank Joerdens
Since I want to use a feature that is only in 4.0.6, I'm trying to install from CVS. This fails with the following error: [root@rakete php4]# ./buildconf buildconf: checking installation... buildconf: autoconf version 2.13 (ok) buildconf: automake version 1.4 (ok) buildconf: libtool version 1.4 (

[PHP] RE:passing references multiple levels of function calls

2001-05-22 Thread Dennis Gearon
ooops, had a typo, sorry .. Dennis Gearon wrote: > > I want to be able to do this: > > function f_of_A( &$vara ){ > $var +=1; > } > > function f_of_B( &$varb ){ > $var %=3; > } > > function do_both( &$vara, &$varb ){ > f_of_A( $vara ); > f_of_B( $varb ); > } > > $gvara=some_numbe

Re: [PHP] passing references multiple levels of function calls

2001-05-22 Thread Chris Lee
your close. the '&' goes in front of the variable being given, not in the function args. -- Chris Lee [EMAIL PROTECTED] "Dennis Gearon" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I want to be able to do this: > > function f_of_A( &$vara ){ > $

[PHP] passing references multiple levels of function calls

2001-05-22 Thread Dennis Gearon
I want to be able to do this: function f_of_A( &$vara ){ $var +=1; } function f_of_B( &$varb ){ $var %=3; } function do_both( &$vara, &$varb ){ f_of_A( $vara ); f_of_B( $varb ); } $gvara=some_number; $gvarb=some_other_number; do_both( $gvara, $gvarb ); and have the original, global v

Re: [PHP] Sessions and Classes

2001-05-22 Thread Chris Lee
I think your mising the point. I use classes to create more modular code, I find it keeps my code structured and easy to modify for other sites. I can have a class for one site, I can then copy that class and easily modify it to suit for another site. I do not use my classes for storeing data (ie.

Re: [PHP] Running two scripts from HTML

2001-05-22 Thread LESM
Não presta! I must call from several different HTML pages. Script1 + script2 or script1+script3 and even script2+script3, depending upon the page. ""Valter Santos"" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > > Hi! > > use script1.php only to call the

Re: [PHP] Passwords?

2001-05-22 Thread Andreas D. Landmark
At 22.05.2001 23:27, you wrote: >I have some field error checking going on ... and when a user (say) doesn't >fill in a field correctly, my error page comes up telling them. They then >must click on their browsers button and make the changes. > >Now -- I have a password field, and when they clic

Re: [PHP] session problem

2001-05-22 Thread Chris Lee
calling session_register() on a var that is allready registered is asking for trouble. there seems to be some bug in php concerning this. "; ?> will work better for you I hope. please get back to me regarding how this worked out. -- Chris Lee [EMAIL PROTECTED] "Robert Schaller" <[EMA

RE: [PHP] Passwords?

2001-05-22 Thread Chadwick, Russell
This link Back will work on javascript enabled machines... the truly failsafe way is to stuff their data in a session or in the database and pass an id back to the original script. You can also make your form to fill out a seperate file, which your first script includes, and if there is a data e

[PHP] Passwords?

2001-05-22 Thread Jason Caldwell
I have some field error checking going on ... and when a user (say) doesn't fill in a field correctly, my error page comes up telling them. They then must click on their browsers button and make the changes. Now -- I have a password field, and when they click back, they are forced to re-enter t

Re: [PHP] select specified elements from an array

2001-05-22 Thread Gyozo Papp
Thanks for your fast reply. One more question related to this topic. Would it be valueable to extend the existing array_values() function to support this feature? just to balance with array_keys() and its optional value argument. - Original Message - From: "Markus Fischer" <[EMAIL PROTE

[PHP] session problem

2001-05-22 Thread Robert Schaller
Hi all, I'm having the following problem. I have PHP-4.0.5 staticaly compiled with apache 1.3.19, running on a red hat linux with a 2.2.12 Kernel. The following script does not work the second time called, the browser just "hangs" and returns a "this document is empty" after a while. I am gettin

Re: [PHP] select specified elements from an array

2001-05-22 Thread Markus Fischer
On Wed, May 23, 2001 at 12:06:42AM +0200, Gyozo Papp wrote : > function array_part($fromarray, $keys) > { > foreach($fromarray as $key => $val) > { > if (in_array($key, $keys) >$anotherarray[$key] = $val; > } > return $anotherarray; > } foreach( $keys as $key)

[PHP] select specified elements from an array

2001-05-22 Thread Gyozo Papp
hello, I'd like to know if there is a more elegant and smoother way to retrieve some array elements with given keys and put them into an other array. Yes, I can write a function like the following, but maybe I missed some new PHP awesome feature or array function which does this job. So, is the

[PHP] php 4.0/win 2000/sql server

2001-05-22 Thread PHPFAN
When ever I am trying to access a php file with an error,my system is overwelmingly slowing down and restarting is the only solution. Previously I worked on linux/apache/php 4.0/mysql ,I never had such problem.I used to get some errors and I used to correct them but working in this environment is

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

2001-05-22 Thread Markus Fischer
On Tue, May 22, 2001 at 02:04:43PM -0700, Andrew V. Romero wrote : > 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. Just a note: to receive mail post your real address. - Markus

Re: [PHP] hi, highlight_string.

2001-05-22 Thread Michel 'ZioBudda' Morelli
On Mon, 21 May 2001, Alexander Wagner wrote: >Michel 'ZioBudda' Morelli wrote: >> Hi, I want to save into a variable ($tmp) the value of >> highlight_string command. Any one? or any similar function? > >Have a look at PHP 4's output buffering functions. You can use them to >safe the output instea

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

2001-05-22 Thread Joseph Bannon
Correct, SET must be before WHERE. Joseph CollegeSucks.com -Original Message- From: Tyler Longren [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 22, 2001 4:04 PM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: [PHP] mysql error, dont see why.. please help Shouldn't it be: m

RE: [PHP] ftp

2001-05-22 Thread Chadwick, Russell
I can think of 2 options, neither pleasant. On unix you can write a script for ftp to use and put a .netrc in your home dir with a line like this machine login password and that will make it automatically connect. So you could write script to do things like get a file listing and fetch files

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

2001-05-22 Thread Chris
Looks like this may be in wrong order: url = '$file_name'") ^ I think you have " ' when it should be ' " > Here is the command. > > mysql_query("UPDATE user_polls WHERE uid = '$UserName' AND type = '$type' SET > url = '$file_name'") or die(mysql_error()); > > Outp

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

[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

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 http://www.toolshed5

[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=michael&lastname=conley I need to make sure that the firstname and last

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

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] 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 > & or ", so it's expecting a semicolon. replacing it with & fixed the XML error. Thanks! > http://cupe.ca/ne

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

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

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

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 he

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

[PHP] Database Manger script

2001-05-22 Thread scott [gts]
Oh, if the headers look screwy, try de-selecting a few fields from the box in the bottom right corner. when there's too much info, the 'up' and 'down' sort images kinda get smashed all over the place. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED]

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

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,

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

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

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

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

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

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] Session Help

2001-05-22 Thread Yev
Hello I'm trying to have sessions that use cookies and send to any subdomain in a .domain.com domain. It seems if I use them by default it will only sent back to the same domain. However, If I specify a certain domain in the config file, then I limit all my server to use cookie for that one dom

[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

[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

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

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

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

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

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

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

[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

[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

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

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

  1   2   >