Re: [PHP] phpwebhosting.com

2001-01-17 Thread Egan
On Wed, 17 Jan 2001 18:04:16 -0500, "Toby Butzon" <[EMAIL PROTECTED]> wrote: >> 125 users at $10 per month, is a maximum revenue of $1,250 per month >> per server. From that meager revenue, they are able to provide their >> customers with an OC-12. I would like to meet the genius who is able >>

[PHP] mysql_fetch_row() and mysql_fetch_array()?

2001-01-17 Thread Jimmy Bäckström
Yo! I am wondering what the difference is between mysql_fetch_array and mysql_fetch_row. I tried using this code: $result = query("SELECT * FROM index1"); while ($row = mysql_fetch_row($result)) {... but $row[] does not contain any data, but when I changed it to: $row = mysql_fetch_array($result

Re: [PHP] < Levels of Access >

2001-01-17 Thread Chris Aitken
At 10:36 PM 17/01/2001, you wrote: >Hey Guys, > >I wonder if anyone can shed light... >I have a system that internal users access - > >I have separated access levels into 1, 2, 3 etc. So if you have access 1 >you can view certain things - If you are 2 then you can view more or other >things. > >H

Re: [PHP] phpwebhosting.com

2001-01-17 Thread Toby Butzon
> 125 users at $10 per month, is a maximum revenue of $1,250 per month > per server. From that meager revenue, they are able to provide their > customers with an OC-12. I would like to meet the genius who is able > to pull that financial rabbit out of a hat! ...and one machine is chewing up a w

RE: [PHP] PHP locking up

2001-01-17 Thread Cal Evans
try a blank page with as the only line. Does that work? Cal http://www.calevans.com -Original Message- From: Phil Scopes [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 17, 2001 5:01 PM To: [EMAIL PROTECTED] Subject: [PHP] PHP locking up I have installed PHP 4.0 with Apache

Re: [PHP] phpwebhosting.com

2001-01-17 Thread Egan
On Wed, 17 Jan 2001 16:46:45 -0500, Egan <[EMAIL PROTECTED]> wrote: >"Yes there is NO limit. Read our lips. There is really NO limit. But >even though there is NO limit, you still can't have more than 5GB per >month for our competition killing price of $9.95" And that reminds me of a joke ...

[PHP] PHP locking up

2001-01-17 Thread Phil Scopes
I have installed PHP 4.0 with Apache 1.3 under Windows '95. When I run a PHP script, even the simplest script, the browser just sits there and never displays any data. Is there anything I might be doing wrong? I'm sure the scripts are valid, because I got them off sample code sites (although yo

Re: [PHP] LDAP access to MS Exchange server

2001-01-17 Thread Ignacio Vazquez-Abrams
On Wed, 17 Jan 2001, Jonathan Coker wrote: > Hello, >I am trying to get information from an exchange server and LDAP looks > like my best choice. I have never used LDAP before but it appeared to be > fairly straitforward. I installed the OpenLDAP software on a Linux system > running PHP 4.0

RE: [PHP] < Levels of Access >

2001-01-17 Thread Javier Muniz
Just a side note: A very nice way to do this is using bitwise operators to store all your access information into one int This is handy for saving space in databases, and bitwise operations should be incredibly fast compared to string comparisons. Cheers, Javier -Original Message- From

[PHP] LDAP access to MS Exchange server

2001-01-17 Thread Jonathan Coker
Hello, I am trying to get information from an exchange server and LDAP looks like my best choice. I have never used LDAP before but it appeared to be fairly straitforward. I installed the OpenLDAP software on a Linux system running PHP 4.0.4 and apache 1.3.14. It appears to let me create a c

Re: [PHP] < Levels of Access >

2001-01-17 Thread Josh G
Sounds good, I for one would like to see it. Can it revoke permissions? Can I have access to all of /admin but no access to /admin/delete ?? Gfunk - http://www.gfunk007.com/ I sense much beer in you. Beer leads to intoxication, intoxication to hangovers, and hangovers to... suf

RE: [PHP] < Levels of Access >

2001-01-17 Thread Jason Murray
> Is there a sensible standard that is used to have levels of access but > special people can access certain higher level functions.? I've seen a (rather good, I might add) permissions structure that followed a pattern like a unix filesystem. /general /users /products /sales /marketing /admin

Re: [PHP] < Levels of Access >

2001-01-17 Thread Ignacio Vazquez-Abrams
On Wed, 17 Jan 2001, Abe wrote: > Hey Guys, > > I wonder if anyone can shed light... > I have a system that internal users access - > > I have separated access levels into 1, 2, 3 etc. So if you have access 1 > you can view certain things - If you are 2 then you can view more or other > things.

[PHP] < Levels of Access >

2001-01-17 Thread Abe
Hey Guys, I wonder if anyone can shed light... I have a system that internal users access - I have separated access levels into 1, 2, 3 etc. So if you have access 1 you can view certain things - If you are 2 then you can view more or other things. However the problem arises when someone in acc

Re: [PHP] Weird nested while loop problem

2001-01-17 Thread Maurice Rickard
At 5:22 PM -0500 1/17/01, Ignacio Vazquez-Abrams wrote: > >Um, no. $relationsresult isn't an array, it's a MySQL result resource. Use >mysql_data_seek() instead. > Ah! I get it! mysql_data_seek($relationsresult,0); does what I need it to do. Thanks, everyone! -Maurice -- Maurice Ric

Re: [PHP] Strange pdf function error?

2001-01-17 Thread Jani Taskinen
On Wed, 17 Jan 2001, Leonard T. Harris wrote: >I get this error: > > >Fatal error: Internal pdflib error: Wrong order of function calls >(PDF_open_mem) in /home/httpd/html/test/test.pdftest2.php on line >5 There was a bug in PDFLIB 3.03. You can find the patch for this from http://www.pdflib.co

Re: [PHP] Register globals when option is turned on

2001-01-17 Thread Ignacio Vazquez-Abrams
On Wed, 17 Jan 2001, Carsten Gehling wrote: > Is there a way to programatically enable the register_globals option for a > php-script? > > For certain reasons I have the register_globals option set to "Off". > However, phpMyAdmin will not work unless it is set to "On" therefore, I > thought of ma

Re: [PHP] Weird nested while loop problem

2001-01-17 Thread Darryl Friesen
Getting off topic maybe so I'll keep it short. > The array pointer can be pretty useful. True, but unexpected for the perl programmer/novice PHP geek. > ie. give me the second last element of an array: This can be done in perl ("standard" arrays) with $array[@array-2] > Or have it tell you w

[PHP] Register globals when option is turned on

2001-01-17 Thread Carsten Gehling
Is there a way to programatically enable the register_globals option for a php-script? For certain reasons I have the register_globals option set to "Off". However, phpMyAdmin will not work unless it is set to "On" therefore, I thought of making a check in the "config.inc.php" if the option is se

Re: [PHP] Weird nested while loop problem

2001-01-17 Thread Maurice Rickard
At 4:22 PM -0600 1/17/01, Darryl Friesen wrote: >> $relationsresult = mysql_query($relationsquery) or die(mysql_error()); >> >> while ($relationsrow = mysql_fetch_array($relationsresult)) { >> >> $thischild = $relationsrow["childsku"]; >> if ($thevalue == $thischild) { >> echo " checked"; >>

Re: [PHP] Weird nested while loop problem

2001-01-17 Thread Ignacio Vazquez-Abrams
On Wed, 17 Jan 2001, Maurice Rickard wrote: > Thanks! This is starting to make sense...although when I try to > reset what I thought was my array, I get the "Variable passed to > reset() is not an array or object" error message. Here's the > relevant code: > > $relationsquery = "select * from r

Re: [PHP] Weird nested while loop problem

2001-01-17 Thread Darryl Friesen
> $relationsresult = mysql_query($relationsquery) or die(mysql_error()); > > while ($relationsrow = mysql_fetch_array($relationsresult)) { > > $thischild = $relationsrow["childsku"]; > if ($thevalue == $thischild) { > echo " checked"; > } > > } // end while for relations loop > > reset($relationsr

Re: [PHP] Weird nested while loop problem

2001-01-17 Thread Maurice Rickard
Thanks! This is starting to make sense...although when I try to reset what I thought was my array, I get the "Variable passed to reset() is not an array or object" error message. Here's the relevant code: $relationsquery = "select * from relations where childtype='$childtype' and parenttype

[PHP] Strange pdf function error?

2001-01-17 Thread Leonard T. Harris
I get this error: Fatal error: Internal pdflib error: Wrong order of function calls (PDF_open_mem) in /home/httpd/html/test/test.pdftest2.php on line 5 when I run this code What I'm trying to do is create a .pdf on the fly and send it to the browser. I want to do in all in memory and not

Re: [PHP] Re: Problems compiling LDAP into php 4.0.2

2001-01-17 Thread Jani Taskinen
On Wed, 17 Jan 2001 [EMAIL PROTECTED] wrote: > I switched from Netscape to Openldap and it now compiles fine. >Unfortunately Apache bombs when I try to start it with the following error: > >Syntax error on line 237 of /usr/local/apache/conf/httpd.conf: >Cannot load /usr/local/apache/libexec/

Re: [PHP] Weird nested while loop problem

2001-01-17 Thread Rasmus Lerdorf
> > What I'm getting is that the inner while loop executes on the first > > execution of the outer while, and then not at all. How would I get > > it to execute each time? > > Coming from a perl background, I got stuck there too when I started using > PHP. PHP has this odd notion of an array poi

Re: [PHP] Hyperlink?

2001-01-17 Thread Romulo Roberto Pereira
do this INSIDE the head tags: this create the famous effect of when you mouse over appears the underline you can also set colors by: color: #XX, like the following: