Fwd: Re: Re: [PHP] Re: PHP 4.2

2002-06-24 Thread Dreamriver.com
Rasmus, Yes, thank you, that's the function I wanted and didn't see ... Kind Regards, richard. > You mean like php.net/version_compare ? > > On Mon, 24 Jun 2002, Dreamriver.com wrote: -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Seperating presentation from logic

2002-06-24 Thread René Moonen
You might want to start by looking (download, instal, try) at available content managers like PHPWebSite http://phpwebsite.appstate.edu/ PHPNukehttp://phpnuke.org/ They do exactly that; seperate content from programming logic. As an admin you can assign certain users as beini

RE: [PHP] looping through numbers

2002-06-24 Thread Martin Towell
I think you mean for ($i = 200; $i <= 250; $i++) print "$i "; (: -Original Message- From: Niklas Lampén [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 25, 2002 5:05 PM To: Php-General Subject: RE: [PHP] looping through numbers for ($i = 200; $i <= 200; $i++) print "$i

RE: [PHP] looping through numbers

2002-06-24 Thread Niklas Lampén
it should ofcourse be for ($i = 200; $i <= 250; $i++) print "$i "; :) -Original Message- From: Niklas Lampén [mailto:[EMAIL PROTECTED]] Sent: 25. kesäkuuta 2002 10:05 To: Php-General Subject: RE: [PHP] looping through numbers for ($i = 200; $i <= 200; $i++) print "

RE: [PHP] looping through numbers

2002-06-24 Thread Niklas Lampén
for ($i = 200; $i <= 200; $i++) print "$i "; Niklas -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: 25. kesäkuuta 2002 10:05 To: [EMAIL PROTECTED] Subject: [PHP] looping through numbers Hello , How do I do a loop that will increase a number tell

[PHP] looping through numbers

2002-06-24 Thread rdkurth
Hello , How do I do a loop that will increase a number tell it reaches another number I what it to print out every number starting at 200 and ending at 250 so it would print out 200 201 202 203 204 -- Best regards, rdkurth mailto:[EMAIL PROTECTED] -- PHP General

[PHP] Seperating presentation from logic

2002-06-24 Thread Jean-Christian Imbeault
I'm just about to start a large PHP project in which I get to work with professional designers/layout people. I want to separate all the programming logic from the presentation but I am not sure how to do this. Can anyone point me to resources (web tutorials/articles or books) that would help

Re: [PHP] using variables in a function within a fuction

2002-06-24 Thread Michael P. Carel
thanks > function test1() > {return "hello";} > > function test2() > {$hello = test1(); > print $hello;} > > test2(); > > ?> > > or make it (argh) global > > -Original Message- > From: Michael P. Carel [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, June 25, 2002 3:14 PM > To: php > Subje

Re: [PHP] Re: Re: PHP 4.2

2002-06-24 Thread Rasmus Lerdorf
You mean like php.net/version_compare ? On Mon, 24 Jun 2002, Dreamriver.com wrote: > > Hello All, > I also have the challenge of distributing php code to unknown php versions. There is >a wide discrepancy in the functionality of even various PHP 4.x code. Since at the >time of coding I don't k

[PHP] Re: Re: PHP 4.2

2002-06-24 Thread Dreamriver.com
Hello All, I also have the challenge of distributing php code to unknown php versions. There is a wide discrepancy in the functionality of even various PHP 4.x code. Since at the time of coding I don't know the version, I test for it when I need to, and include code accordingly. For example,

RE: [PHP] using variables in a function within a fuction

2002-06-24 Thread Martin Towell
or make it (argh) global -Original Message- From: Michael P. Carel [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 25, 2002 3:14 PM To: php Subject: [PHP] using variables in a function within a fuction Hi to all, Have problem with this. Im want to use a variable in a function into anot

[PHP] using variables in a function within a fuction

2002-06-24 Thread Michael P. Carel
Hi to all, Have problem with this. Im want to use a variable in a function into another function. such as: This should print hello. But it does'nt work. Any idea? Regards mike -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] php parsing problem with chat

2002-06-24 Thread Deadsam
Im using a php/flash chat, I added some parsing in it, but now Im having one problem left to solve, after nickname plus the message (msg) its suppose to create a new line \n, but if I parse it, and type a link or a swear word that uses the bad word filtering, it doesnt create a new line after you

Re: [PHP] what is wrong with this simple query?

2002-06-24 Thread Julie Meloni
PS> Here is my code... PS> $query = "SELECT max(id) FROM bc_topic"; PS> $result = mysql_query($query); PS> $temp = mysql_result($result, 0, "id"); <- this is line 8 PS> echo $temp[id]; PS> Here is the error I get ... PS> Warning: id not found in MySQL result index 2 in /.../upload2.php on PS>

Re: [PHP] what is wrong with this simple query?

2002-06-24 Thread Chris Shiflett
Try this: $query="select max(id) as id from bc_topic"; Leave the rest the same. I'm not so sure that the max(id) selection will populate a column named id necessarily (in fact, I think it doesn't). That may be your problem. Chris Phil Schwarzmann wrote: >Here is my code... > >$query = "SELE

[PHP] why do I need ssl, kerberos for imap?

2002-06-24 Thread General
Why do I need them, kerberos is screwing up all my plans to get this to compile ...I hate it, I don't want it. is there a way around it signed - got pist off but back to trying this again! Thanks, -Eric -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php

[PHP] what is wrong with this simple query?

2002-06-24 Thread Phil Schwarzmann
Here is my code... $query = "SELECT max(id) FROM bc_topic"; $result = mysql_query($query); $temp = mysql_result($result, 0, "id"); <- this is line 8 echo $temp[id]; Here is the error I get ... Warning: id not found in MySQL result index 2 in /.../upload2.php on line 8 What am I doing wrong he

[PHP] Session Events

2002-06-24 Thread Joe Krause
Is there anyway to have PHP execute a function or object method automatically when a session is expired? In JAVA, you can define an httpSessionBindingEvent which will notify an object when it is bound to or unbound from a session. This may be the result of a servlet programmer explicitly unbinding

Re: [PHP] fsockopen

2002-06-24 Thread Gerard Samuel
Worked perfectly. Thanks. Evan Nemerson wrote: >Try > >fputs ($fp,"GET ".$url[path]." HTTP/1.0\r\nHost: " . $url[host] . "\r\n\r\n"); > >Your old request looked like "GET / HTTP/1.0\r\nHost:value_of_host/\r\n\r\n", >hence the 400. > > >On Monday 24 June 2002 17:40 pm, Gerard Samuel wrote: > >

RE: [PHP] finding the highest primary key in a table

2002-06-24 Thread John Holmes
> I want to find the number of the highest primary key in a particular > MySQL table. SELECT MAX(ID) FROM table Can you tell us why you need to do this? I have a feeling you're doing something bad... ---John Holmes... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: h

Re: [PHP] Standard Input?

2002-06-24 Thread Michael: Dave II, Electric Boogaloo
"Analysis & Solutions" <[EMAIL PROTECTED]> wrote in message > On Mon, Jun 24, 2002 at 02:07:28PM -0700, Michael wrote: > > Are there functions in PHP that will allow me to read in a variable via > > standard input? I just wanted to do something like this: > > http://www.php.net/manual/en/functio

RE: [PHP] newbie on security

2002-06-24 Thread SP
The guy behind the popular free php accelerator (http://www.php-accelerator.co.uk) is doing an encoder (http://www.php-encoder.com). It's not launched yet so you'll have to wait a bit. -Original Message- From: Craig Williams [mailto:[EMAIL PROTECTED]] Sent: June 24, 2002 7:39 PM To: [

RE: [PHP] finding the highest primary key in a table

2002-06-24 Thread Martin Towell
$query = "SELECT max(id) FROM table"; -Original Message- From: Phil Schwarzmann [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 25, 2002 10:54 AM To: [EMAIL PROTECTED] Subject: [PHP] finding the highest primary key in a table I want to find the number of the highest primary key in a par

[PHP] finding the highest primary key in a table

2002-06-24 Thread Phil Schwarzmann
I want to find the number of the highest primary key in a particular MySQL table. I could do something like... $query = "SELECT id FROM table"; ...then run the query, then create a loop and check all the ID's (primary key) for the highest... ...but that seems like way too much. Any ideas ??

Re: [PHP] fsockopen

2002-06-24 Thread Evan Nemerson
Try fputs ($fp,"GET ".$url[path]." HTTP/1.0\r\nHost: " . $url[host] . "\r\n\r\n"); Your old request looked like "GET / HTTP/1.0\r\nHost:value_of_host/\r\n\r\n", hence the 400. On Monday 24 June 2002 17:40 pm, Gerard Samuel wrote: > Im trying to figure out fsockopen to grab an rdf file. > Here

[PHP] fsockopen

2002-06-24 Thread Gerard Samuel
Im trying to figure out fsockopen to grab an rdf file. Here is the code -> - http://slashcode.com/slashcode.rss'; $url = parse_url($str); $path = ($url['path']) ? $url['path'] : '/'; $port = ($url['port']) ? $url['port'] : '80'; if ($fp = fsockopen($url['host'], $port

RE: [PHP] Start / Stop

2002-06-24 Thread Bruce Karstedt
Timestamp it at the beginning and the end. Bruce Karstedt President Technology Consulting Associates, Ltd. Tel: 847-735-9488 Fax: 847-735-9474 -Original Message- From: Chris Kay [mailto:[EMAIL PROTECTED]] Sent: Monday, June 24, 2002 6:57 PM To: PHP General List Subject: [PHP] Start / St

RE: [PHP] newbie on security

2002-06-24 Thread John Holmes
> Will PHP ever support code protection ? Something to encrypt the php > file so when customers get copies they can't tamper with the code ;-) I > know Zend have a solution but its too bloody expensive and must be > supported by the hosting isp. If it's worth protecting, it's worth paying for. An

[PHP] Start / Stop

2002-06-24 Thread Chris Kay
Anyone have some tips on the best way to make a Script started @ 5:45pm Script ended @ 5:50pm Script? --- Chris Kay Technical Support - Techex Communications Website: www.techex.com.au Email: [EMAIL PROTECTED] Teleph

RE: [PHP] Lost, need help debuggin....

2002-06-24 Thread John Holmes
U...what was the question again? John "you're not paying us" Holmes > -Original Message- > From: Chuck "PUP" Payne [mailto:[EMAIL PROTECTED]] > Sent: Monday, June 24, 2002 7:46 PM > To: PHP General > Subject: Re: [PHP] Lost, need help debuggin > > Look, I am glad that we are cle

Re: [PHP] Limiting text inputs by character count?

2002-06-24 Thread Chris Shiflett
George Whiffen wrote: >>The best way to do this is server side with strlen(). You can use >>javascript or maxlength, but if a user wants to get around it, they can. >> >>---John Holmes... >> >> >> > >John, > >The best way to do this is with both. maxlength/Javascript as a courtesy, > strlen

Re: [PHP] Lost, need help debuggin....

2002-06-24 Thread Chuck \"PUP\" Payne
Look, I am glad that we are clear on php.ini, but I post my message in hopes that someone could look at it and say there your problem and go away, I've turn on error part no help. Same things. So somewhere there is a sytax error that is stopping it. PLEASE HELP! Chuck Payne On 6/24/02 3:54 PM, "

RE: [PHP] Compile error.

2002-06-24 Thread Duncan Hill
On Mon, 24 Jun 2002, John Holmes wrote: > > Using the 4.2.1 source available from the main downloads page, I'm > > getting: > > php_functions.c:93:27: missing binary operator before '!' > > You get an error when you do what? Unzip the source, compile it, run it, > load a .php page, crap your pan

RE: [PHP] PHP server error...

2002-06-24 Thread John Holmes
Check your session.save_path in PHP.ini. If you don't have a PHP.ini, make one from PHP-ini.dist or PHP-ini.recommended ---John Holmes... > -Original Message- > From: Phil Schwarzmann [mailto:[EMAIL PROTECTED]] > Sent: Monday, June 24, 2002 5:30 PM > To: [EMAIL PROTECTED] > Subject: [PHP

RE: [PHP] Compile error.

2002-06-24 Thread John Holmes
> Using the 4.2.1 source available from the main downloads page, I'm > getting: > php_functions.c:93:27: missing binary operator before '!' You get an error when you do what? Unzip the source, compile it, run it, load a .php page, crap your pants??? ---John Holmes... -- PHP General Mailing Li

[PHP] newbie on security

2002-06-24 Thread Craig Williams
Will PHP ever support code protection ? Something to encrypt the php file so when customers get copies they can't tamper with the code ;-) I know Zend have a solution but its too bloody expensive and must be supported by the hosting isp. Craig

Re: [PHP] Image aliasing

2002-06-24 Thread Morgan Grubb
Kevin, Dang. [I just sent this privately without realising. I'll copy it here] If I had any control at all over the page that the images were getting displayed on I would be using a rather funky little script I wrote some time ago that handles smart image resampling. Unfortunately, I don't hav

Re: [PHP] PHP to create static images

2002-06-24 Thread hugh danaher
imagepng() should work. you can save the file on your server then call it up wherever you need it. The manual has more info on using image functions just type in image. hugh - Original Message - From: "Campano, Troy" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, June 24, 200

Re: [PHP] Image aliasing

2002-06-24 Thread Jerome Houston
morgan- is there any way you can have those img tags (the ones with the height and width) changed to reference a php script? you could write a script that reads in the image they're requesting, and takes a height and width as inputs, then uses php commands like imagecopyresampled() or imageco

RE: [PHP] Image aliasing

2002-06-24 Thread Andrew Chase
Hi Morgan, None that I'm aware of. I guess this is somewhat OT, but does the person you're giving the images to realize that resizing the images by means of the HTML width/height attributes doesn't do anything to size of the file the person viewing the page has to download? I don't know the par

Re: [PHP] Word Count function?

2002-06-24 Thread Andre Dubuc
Thanks Dan, Does the job neatly! Regards, Andre On Monday 24 June 2002 06:01 pm, you wrote: > Andre: > > On Mon, Jun 24, 2002 at 05:29:16PM -0400, Andre Dubuc wrote: > > Is there a function that counts the number of words in a string? > > I don't recall there being one. But, you could do this

Fw: [PHP] Image aliasing

2002-06-24 Thread Kevin Stone
I seriously doubt it. Windows is going to resize all images the same crappy way. The fact is that Microsoft's graphics routines are abysmal. Anyone who's ever scaled an image in Preview and then seen the same thing done on a Mac knows what I'm talking about. All you can do is resize the image a

[PHP] EXIF Help needed

2002-06-24 Thread Terry Warner
Hi, I have a php script that I use to do photos online and such. I upgraded my php distro from debian a few days ago, and now alot of the things that I had for EXIF info are not working in the script itself. Such As ApertureFNumber FocalLength Width and Height Now I noticed they come out with

[PHP] Image aliasing

2002-06-24 Thread Morgan Grubb
Morning, I'm wondering if anybody has ever figured out a way to get around the absolutely abysmal way that Internet Explorer resizes images? The problem is that the person I'm supplying the images to refuses to use two copies (a small one, and a large one) and instead uses one (just the large on

Re: [PHP] Insert with one button

2002-06-24 Thread Analysis & Solutions
On Mon, Jun 24, 2002 at 11:23:11PM +0200, Martin Kampherbeek wrote: > Now I've got a form with the matches for that weekend and some selectboxes with 1 to 9 for the goals. At the bottum of the form is a Submit button. What I want is to insert all the scores in my table predictions with just that

Re: [PHP] Insert with one button

2002-06-24 Thread Kevin Stone
In your HTML each one of those select fields needs a unique name.. they can't all be called D1. No wonder you're having trouble. After that you can print_r($_POST) to see what you're getting back from the form and adjust your script to match. Good luck. -Kevin - Original Message - From

[PHP] Re: [PHP-DEV] singleton feature

2002-06-24 Thread Purushotham Komaravolu
Singleton means only one instance.. i.e. instance of a class per webserver... all application scripts should talk only to that same instance irrespective of the request. p - Original Message - From: "Alexander Skwar" <[EMAIL PROTECTED]> To: "Purushotham Komaravolu" <[EMAIL PROTECTED]> Cc:

Re: [PHP] Word Count function?

2002-06-24 Thread Analysis & Solutions
Andre: On Mon, Jun 24, 2002 at 05:29:16PM -0400, Andre Dubuc wrote: > Is there a function that counts the number of words in a string? I don't recall there being one. But, you could do this: $array = preg_split('/\s+/', $string); echo count($array); Enjoy, --Dan -- PHP clas

[PHP] Re: [PHP-DEV] singleton feature

2002-06-24 Thread Alexander Skwar
So sprach Purushotham Komaravolu am 2002-06-24 um 11:39:36 -0700 : > > Hi , > I have a small suggestion. I guess it is a good feature to > have a provision to have a Singleton class per webserver instance. This is > especially useful for maintain user defined connection pools, logge

Re: [PHP] Standard Input?

2002-06-24 Thread Analysis & Solutions
On Mon, Jun 24, 2002 at 02:07:28PM -0700, Michael wrote: > Are there functions in PHP that will allow me to read in a variable via > standard input? I just wanted to do something like this: http://www.php.net/manual/en/function.fopen.php --Dan -- PHP classes that make web desig

[PHP] PHP server error...

2002-06-24 Thread Phil Schwarzmann
Okay, I am a total pussy and gave up on Linux to run my PHP server. I'm back to Win98, and everything is working fine except... For some reason, anytime I have a script that tries to set/access a session variable, I get this error Warning: open(/tmp\sess_slkfjsdkjfljfk, O_RDWR) failed: m

[PHP] wordwrap doesn't work for customer's Outlook

2002-06-24 Thread m u i n a r
This is really frustrating: We found two versions of Outlook on different machines, that have been installed with the default settings, that 'eat' the line breaks which were made with PHP's wordwrap() function. There are no line breaks at all! On one of the machines there's also a version of Out

RE: [PHP] Testing PHP on a local machine

2002-06-24 Thread David Freeman
> I want to set up a site at home to play with php > > I have windows xp pro, dreamweaver MX and mysql > > Do I need anything to view live application data locally in > my browser You'll need to install a web server that supports php and php itself. I did this recently on my XP Pro lapt

RE: [PHP] php & JavaScript

2002-06-24 Thread David Freeman
> I've tried to include a simple javascript in a .php file, > but couldn't get it to work. > > Actually not even the php code worked at all... > > Is there any specific configuration flag that needs to be > set up in the Apache server so that the javascripts work > correctly? Not part

[PHP] Insert with one button

2002-06-24 Thread Martin Kampherbeek
Hello, I'm making a predictions competitie for soccer. Now I've got a form with the matches for that weekend and some selectboxes with 1 to 9 for the goals. At the bottum of the form is a Submit button. What I want is to insert all the scores in my table predictions with just that one button.

[PHP] Word Count function?

2002-06-24 Thread Andre Dubuc
Is there a function that counts the number of words in a string? I checked through the manual and archives using 'word count', and found nothing. I suppose it is possible to generate code that will accomplish this, using 'space' as the delimiting separator. But before I re-invent the wheel .

[PHP] Compile error.

2002-06-24 Thread Duncan Hill
Using the 4.2.1 source available from the main downloads page, I'm getting: php_functions.c:93:27: missing binary operator before '!' Peculiar to me, or known problem? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: PHP with IIS

2002-06-24 Thread Dave Leather
Ok .. making more headway.. but STILL unable to solve the problem. I can use FOPEN and FREAD on a text file that lives in the SAME directory as my DBF file, and I can open it and display the text file NO PROBLEM.. looks great.. but every time I attempt to open the DBF file I ALWAYS get the same e

Re: [PHP] Stumped.

2002-06-24 Thread 1LT John W. Holmes
> Are there any other reasons why header() would fail while output > buffering is off. What's the error message? It tells you exactly what file and line number started the output, so that's where you should look... ---John Holmes... -- PHP General Mailing List (http://www.php.net/) To unsubs

[PHP] Standard Input?

2002-06-24 Thread Michael
Are there functions in PHP that will allow me to read in a variable via standard input? I just wanted to do something like this: echo "What is your name? "; $name = ; print "Your name is $name."; I looked but didn't see anything that quite matched up on the PHP website. Michael -- PHP Gene

RE: [PHP] PHP to create static images

2002-06-24 Thread Andrew Chase
To save an image to disk with the imagepng/imagejpg/imagewbmp functions all you have to do is give the file name as the second parameter to the function; so if you wanted to call the first graph 'graph1.png', it would go something like imagepng will attempt to save graph1.png in the same direct

RE: [PHP] URGENT!!! File Uplaod

2002-06-24 Thread César Aracena
Thanx for the responses... Thanx a ¡lot! > -Original Message- > From: BB [mailto:[EMAIL PROTECTED]] > Sent: Monday, June 24, 2002 7:50 AM > To: [EMAIL PROTECTED] > Subject: Re: [PHP] URGENT!!! File Uplaod > > It does depend on the usage, but general files are better > > "John Holmes" <[

Re: [PHP] PHP with IIS

2002-06-24 Thread Dave Leather
I would KILL to get Linux/Apache in here for our intranet.. but... noo... gotta be microshft, gotta be NT, gotta be Uncle Bill's friend (I'm not bitter.. much)... Anyway. the wierd thing is the system DOES have access, I can go to http://flcintranet/pi2000/ and press enter.. no problem, direc

Re: [PHP] Stumped.

2002-06-24 Thread Gerard Samuel
Within the function before the header(), no there are no echo or print statements. I do have a few error checking that uses trigger_error() which displays a page, but no errors are being triggered. And just in case, I did check the error_handler file. There aren't any 'white space' before or a

[PHP] Re: PHP 4.2

2002-06-24 Thread Peter
If you want an all in one solution without having to have two versions, can't you read the status of register_globals from the config file and base the rest of the script on this? eg if (register_globals == 'on') { $name = _POST['name']; $address = _GET['address']; } then you can access the varia

RE: [PHP] PHP with IIS

2002-06-24 Thread James E. Hicks III
It looks like apache doesn't have permission to write the file //flcintranet/pi2000/ordentry/5788/pappexpt.dbf . If you were using a linux/unix machine I'd tell you to check the permisions on this directory to make sure that apache can write to it. I wish I could help you out further, but I don't

[PHP] Stumped.

2002-06-24 Thread Gerard Samuel
In a file with functions only, one of the functions is structured like -> function foo() { if (isset($_POST['submit'])) { /* DO SOME SQL */ header('location: x'); } else { /* SHOW A FORM HERE */ } } I noticed today that when I turned off outp

Re: [PHP] real time php

2002-06-24 Thread Kevin Stone
Look into javascript location method or meta tags to performed timed refreshes of the browser window. Do a search on Google. You will find dozens of references to both techniques. -Kevin - Original Message - From: "adi" <[EMAIL PROTECTED]> To: "php-general" <[EMAIL PROTECTED]> Sent: Mon

Re: [PHP] PHP with IIS

2002-06-24 Thread Dave Leather
OK made some headway... Made my network drive that I wanted to access a virtual directory on my IIS - this is fine, I can now see all my files and folders when I surf that virtual directory in a web browser. However, when trying to create a DB using dbase_create - I receive the following mes

Re: [PHP] Lost, need help debuggin....

2002-06-24 Thread Erik Price
On Monday, June 24, 2002, at 03:51 PM, Erik Price wrote: > sudo find / -name 'php.ini' -print Clarification: substitute the search string with 'php-ini.dist' if you haven't yet configured it. Note that Macs, although they ship with PHP pre-installed, are missing this file and you should pro

Re: [PHP] Lost, need help debuggin....

2002-06-24 Thread Erik Price
> If you don't find it, look for a php-ini.dist or php-ini.recommended in > the > php folder. > > Modify one of those to your needs and save it as php.ini. I don't know > where > it would go in a Mac, though... ?? Open Terminal.app and type sudo find / -name 'php.ini' -print and enter your

[PHP] >>bb

2002-06-24 Thread Burak Delice
I gave up php, cgi, java,delphi,max,web,flash!!!what is matter...http://www.micro.magnet.fsu.edu/primer/java/scienceopticsu/powersof 10/index.html -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Can't start Apache

2002-06-24 Thread General
Quoting Jason Wong <[EMAIL PROTECTED]>: > On Tuesday 25 June 2002 02:44, General wrote: > > > All of my libraries are in /usr/lib/* > > and I'm pointing the directory to --with-kerberos=/usr/lib/ > > You should be pointing it to: > > --with-kerberos=/usr/ > > > for now on I will post messages

Re: [PHP] Lost, need help debuggin....

2002-06-24 Thread 1LT John W. Holmes
Search?? If you don't find it, look for a php-ini.dist or php-ini.recommended in the php folder. Modify one of those to your needs and save it as php.ini. I don't know where it would go in a Mac, though... ?? ---John Holmes... - Original Message - From: "Chuck "PUP" Payne" <[EMAIL PROT

[PHP] PHP to create static images

2002-06-24 Thread Campano, Troy
I am doing some work with creating graphs using the GD library. Does anyone know how I can create the graphs statically so I can save the output as a GIF or PNG? I want to run a script that will take in say 10 datasets and then create 10 PNG images on the file server. Any ideas? thank yo

Re: [PHP] Lost, need help debuggin....

2002-06-24 Thread Jason Wong
On Tuesday 25 June 2002 03:31, Chuck \"PUP\" Payne wrote: > Not sure I am on my laptop, an iBook running php/apache. So I am not sure > where php.ini is. Did you ask Sherlock ? -- Jason Wong -> Gremlins Associates -> www.gremlins.com.hk Open Source Software Systems Integrators * Web Design & Ho

Re: [PHP] Ensim with PHP and MySQL

2002-06-24 Thread Mark McCulligh
Thanks for your input, For if I am read your email right, Ensim has some custom setting in httpd_vwh.conf that upgrading PHP/Mysql will not update for you. PHP/Mysql updates your httpd.conf file. Also can you do everything that Redhat can, does Ensim limit your redhat OS at all. In short does

Re: [PHP] Lost, need help debuggin....

2002-06-24 Thread Chuck \"PUP\" Payne
Not sure I am on my laptop, an iBook running php/apache. So I am not sure where php.ini is. Chuck On 6/24/02 3:29 PM, "1LT John W. Holmes" <[EMAIL PROTECTED]> wrote: > Do you have display_errors ON in your php.ini ?? > > ---John Holmes... > > - Original Message - > From: "Chuck "PUP"

Re: [PHP] Lost, need help debuggin....

2002-06-24 Thread 1LT John W. Holmes
Do you have display_errors ON in your php.ini ?? ---John Holmes... - Original Message - From: "Chuck "PUP" Payne" <[EMAIL PROTECTED]> To: "PHP General" <[EMAIL PROTECTED]> Sent: Monday, June 24, 2002 3:24 PM Subject: [PHP] Lost, need help debuggin > Hi, > > I am trying to debugging

Re: [PHP] Can't start Apache

2002-06-24 Thread Jason Wong
On Tuesday 25 June 2002 02:44, General wrote: > All of my libraries are in /usr/lib/* > and I'm pointing the directory to --with-kerberos=/usr/lib/ You should be pointing it to: --with-kerberos=/usr/ > for now on I will post messages at the bottom. Thanks. OK the next step is to quote only th

Re: [PHP] Sybase Fetch Array Question

2002-06-24 Thread 1LT John W. Holmes
> Can someone let me know when you call sybase_fetch_array that the internal > row pointer of the sybase result is increased. So that subsequent calls > using sybase_fetch_array will return a result 1 more than the previous > result return? Hey, I just wanted to let you know that when you call s

[PHP] Lost, need help debuggin....

2002-06-24 Thread Chuck \"PUP\" Payne
Hi, I am trying to debugging this script. But, I can see what the issue is, it not listing errors on any of the mysql stuff but this what I see when I view source

Re: [PHP] imagecopyresized() problems

2002-06-24 Thread hugh danaher
Don't know if this helps, but the following works on my system. Hugh $width) { $nheight=$max; $nwidth=$width/($height/$max); } else { $nwidth=$max; $nheight=$height/($width/$max); } //header("content-type: image/jpeg"); $image=imagecreatefromjpeg($picture); $image1=imagecreate($nwidth,$

Re: [PHP] Ensim with PHP and MySQL

2002-06-24 Thread Steve Buehler
I have been running several servers using the ensim software and have had no problem with PHP and/or MySQL. Well, none that was the fault of PHP or MySQL. Neither one should give you a problem upgrading, except that you will have to edit the httpd_vwh.conf file by hand since both PHP and MySQ

[PHP] Sybase Fetch Array Question

2002-06-24 Thread B i g D o g
Can someone let me know when you call sybase_fetch_array that the internal row pointer of the sybase result is increased. So that subsequent calls using sybase_fetch_array will return a result 1 more than the previous result return? Okay that was weird B i g D o g -- PHP General Maili

Re: [PHP] Can't start Apache

2002-06-24 Thread General
look at the bottom :) Quoting Jason Wong <[EMAIL PROTECTED]>: > On Tuesday 25 June 2002 01:21, General wrote: > > I hate it when people top post. Makes quoting necessarily > difficult and > confusing. > > > I know because it was causing the problem I was talking about down a > couple > > of

[PHP] singleton feature

2002-06-24 Thread Purushotham Komaravolu
Hi , I have a small suggestion. I guess it is a good feature to have a provision to have a Singleton class per webserver instance. This is especially useful for maintain user defined connection pools, loggers etc. Thanks Regards, Puru

Re: [PHP] rounding a number

2002-06-24 Thread Jason Wong
On Tuesday 25 June 2002 02:16, Jim lucas wrote: > seems to work fine for me. > what are your results when you do this? mine are 0.4 and this is what is > should be. if it were .349 it would round down. isn't this how it should > work? What were your results? > > try round(0.35,1) I get 0

Re: [PHP] Can't start Apache

2002-06-24 Thread Jason Wong
On Tuesday 25 June 2002 01:21, General wrote: I hate it when people top post. Makes quoting necessarily difficult and confusing. > I know because it was causing the problem I was talking about down a couple > of lines. > > > with recursive error 1 cannot find libgss_krb5.so ...and I am pointin

Re: [PHP] rounding a number

2002-06-24 Thread Jim lucas
seems to work fine for me. what are your results when you do this? mine are 0.4 and this is what is should be. if it were .349 it would round down. isn't this how it should work? What were your results? Jim Lucas - Original Message - From: "George Whiffen" <[EMAIL PROTECTED]> To: <[EM

Re: [PHP] PHP with IIS

2002-06-24 Thread Dave Leather
Yes, and Yes... Access is granted throughout.. Read, Write, Create, Erase, Modify and File Scan access is granted for this login ID. Any other suggestions? Thanks again Dave "Andrew Brampton" <[EMAIL PROTECTED]> wrote in message 00ca01c21ba6$b2b36ea0$7432260a@student5830">news:00ca01c21ba6

Re: [PHP] php & JavaScript

2002-06-24 Thread Jim lucas
nope, theres nothing in apache that needs to be setup for js to be used. does your js file have any php in it? when you say that you couldn't get it to work, do you mean that the include doesn't work or that the js doesn't work on the page that you are including it to? Jim Lucas - Original Me

[PHP] Run two separate version of Apache and Php

2002-06-24 Thread rdkurth
Hello php-general, I need to run a separate version of Apache on the same server I also what to use a different copy of the php.ini file with that version of apache. I am aware that I can override most of the php.ini settings in the httpd.conf file. But this is not what I want to do. Php will be

Re: [PHP] PHP with IIS

2002-06-24 Thread Andrew Brampton
Does the user to which ISS runs under have network permissions to access p:\ ? IIRC you need to set up ISUR_machine_name to have permission to the remote share. Andrew - Original Message - From: "Dave Leather" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, June 24, 2002 6:29 PM

Re: [PHP] session_is_registered = secure?

2002-06-24 Thread Kevin Stone
I don't know of any exploit that can start a session remotely. Only thing I can recommend is that you modify the default session id to prevent local hackers from hijacking your sessions (assuming you're on an ISP and not running your own server). Also you should consider testing those variables

Re: [PHP] function definition causing problems?

2002-06-24 Thread Erik Price
On Monday, June 24, 2002, at 01:30 PM, Ford, Mike [LSS] wrote: > You can use: > >echo "This script is called {$_SERVER['PHP_SELF']}"; >echo "This script is called ${_SERVER['PHP_SELF']}"; >echo "This script is called $_SERVER[PHP_SELF]"; > > or even > >echo "This script is calle

RE: [PHP] function definition causing problems?

2002-06-24 Thread Rasmus Lerdorf
Not inside a quoted string. On Mon, 24 Jun 2002, Johnson, Kirk wrote: > I thought this syntax, an unquoted key name, was deprecated ;) > > >From the manual at http://www.php.net/manual/en/language.types.array.php: > > "You should always use quotes around an associative array index." > > Kirk > >

RE: [PHP] function definition causing problems?

2002-06-24 Thread Johnson, Kirk
I thought this syntax, an unquoted key name, was deprecated ;) >From the manual at http://www.php.net/manual/en/language.types.array.php: "You should always use quotes around an associative array index." Kirk > Nope, use: > > echo "This script is called $_SERVER[PHP_SELF]"; -- PHP General M

[PHP] PHP with IIS

2002-06-24 Thread Dave Leather
Hello all, I am attempting to open and/or create a DBASE file on a NOVELL network. When I attemp a command such as if (!dbase_open("C:\\orders.dbf",2)){ print "COULD NOT OPEN DB"; }else{ print "DB WAS OPENED"; } I receive a message that says "DB WAS OPENED - no problem... On my IIS

RE: [PHP] function definition causing problems?

2002-06-24 Thread Ford, Mike [LSS]
> -Original Message- > From: Erik Price [mailto:[EMAIL PROTECTED]] > Sent: 24 June 2002 18:12 > > On Monday, June 24, 2002, at 12:15 PM, Johnson, Kirk wrote: > > > When you echo out an array element, the name needs to be enclosed in > > curlies, e.g., > > > > echo {$_SERVER['PHP_SELF']}

  1   2   >