[PHP] Re: W3C and PHP

2002-11-08 Thread conbud
Hey I did what both of you all said to do href="nav.php?page=about§ion=Linux" and my arg_separator.output is ok but Im stilling getting that same error with W3C, my page is executing ok and was before, but I cant get it W3C HTML 4.01 valid with that error. -Lee "Conbud" <[EMAIL PROTECTED]> w

[PHP] MySQL and PHP math problem...

2002-11-08 Thread Peter
I have a database that stores a value of the type double. I do a SUM() query on the column and return save the value to a variable called, '$amount' which I divide into a fixed value (5000) . The math works out fine when $amount < 1000. However, when $amount > 1000, then the decimal places are w

Re: [PHP] re: W3C and PHP

2002-11-08 Thread Rasmus Lerdorf
and in your php.ini file add: arg_separator.output = "&" On Sat, 9 Nov 2002, Khalid El-Kary wrote: > hi, > just use & instead > > > > > > > _ > Add photos to your e-mail with MSN 8. Get 2 months FREE*. > http://join.msn.com/?page=f

[PHP] re: W3C and PHP

2002-11-08 Thread Khalid El-Kary
hi, just use & instead _ Add photos to your e-mail with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/un

Re: [PHP] Securing PHP Code with GET | POST | SESSIONS or other things

2002-11-08 Thread Paul Nicholson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Never trust data from the client...always filter it(I use an lib to do that)! Make sure register_globals is off or code accordingly. HTH! ~Paul On Saturday 09 November 2002 01:12 am, Creighton Brown wrote: > I want to know recommendations securing GET

RE: [PHP] Need MENTOR for Fantasy football project

2002-11-08 Thread Karl James
Well the problem is I have a lot of questions.. Since im a noobie...sorry I will try to post it -Original Message- From: Jason Wong [mailto:php-general@;gremlins.com.hk] Sent: Friday, November 08, 2002 10:21 PM To: [EMAIL PROTECTED] Subject: Re: [PHP] Need MENTOR for Fantasy football proj

[PHP] calculate bytes in string

2002-11-08 Thread Ian Newlands
Does anyone know of a function, or a method to calculate how many bytes are in a string? Similar to the filesize file system function. Any help would be appreciated. Regards, Ian Newlands -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Need MENTOR for Fantasy football project

2002-11-08 Thread Jason Wong
On Saturday 09 November 2002 05:19, Karl James wrote: > Jason, I am trying small with forms, reading php > But I have so many questions that books cant answer sometimes > Thus the reason I need a guide... > Would you be able to help me with that? Why not just post your question(s) here and let eve

RE: [PHP] Need MENTOR for Fantasy football project

2002-11-08 Thread Karl James
Jason, I am trying small with forms, reading php But I have so many questions that books cant answer sometimes Thus the reason I need a guide... Would you be able to help me with that? -Original Message- From: Jason Wong [mailto:php-general@;gremlins.com.hk] Sent: Friday, November 08, 200

Re: [PHP] Need MENTOR for Fantasy football project

2002-11-08 Thread Jason Wong
On Saturday 09 November 2002 04:33, Karl James wrote: > I have the php bible 4 book but it > Doesn’t tell you how to do things all the way > And still leaves with lots of questions. Questions such as? If you have fairly specific questions then they are usually answered quite quickly on this list.

[PHP] Securing PHP Code with GET | POST | SESSIONS or other things

2002-11-08 Thread Creighton Brown
I want to know recommendations securing GET | POST | SESSIONS or other data in WebPages. One site I may be developing for the local govt has the need to take and receive data from a database and data will be past with GET | POST | SESSIONS. Any recommendations regarding this would be welcome. Th

[PHP] W3C and PHP

2002-11-08 Thread conbud
Hi, In some of my URLs I have to pass variables through the URL like nav.php?page=about§ion=linux - when i do this and then scan my site for W3C validation I get this Line 40, column 28: ... http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] DHTML and PHP

2002-11-08 Thread Jason Wong
On Saturday 09 November 2002 08:35, John Meyer wrote: > I want to get the top layer to appear right on top of where the other two > are. How do I do this? > > " style="visibility: visible; > zIndex:1"> href="javascript:show('Layer');show('layerhide Gremlins Associates -> www.gremlins.com.hk Open

RE: [PHP] Windows XP Session Issues

2002-11-08 Thread Karl James
Is there anyone online that can help me with the project I posted? I need some one to guide me thru this? Karl -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Windows XP Session Issues

2002-11-08 Thread @ Darwin
Jason, I'm running Windows XP with Apache and PHP 4.2.0. I never experienced such a problem with XP and sessions. I did, however, have to change the session path in the php.ini file for the sessions to save to the correct temporary directory. Maybe you have overlooked that? > -Original Messag

RE: [PHP] Need MENTOR for Fantasy football project

2002-11-08 Thread Karl James
I have the php bible 4 book but it Doesn’t tell you how to do things all the way And still leaves with lots of questions. -Original Message- From: Charles Wiltgen [mailto:lists@;wiltgen.net] Sent: Friday, November 08, 2002 9:03 PM To: List ˆ PHP General Subject: Re: [PHP] Need MENTOR fo

[PHP] Viewing jpegs problem

2002-11-08 Thread Andre Dubuc
While testing my site with various browsers, I've run into a viewing problem in IE6 and Mac/IE5.1. In IE6, all I see is a line (which would be the base of the picture), while in Mac/IE the output is 1" wide x 4" high and highly distorted. (that's why I set height to 'auto' - to allow for varyi

Re: [PHP] Need MENTOR for Fantasy football project

2002-11-08 Thread Kevin Myrick
Charles Wiltgen once said... > many fine books available on the subject If your looking for a book Karl, I would suggest PHP Advanced by Larry Ullman. Very easy to follow, very quick to help you figure out things. Takes a small amount of knowledge to learn, probably should know some programming.

Re: [PHP] Need MENTOR for Fantasy football project

2002-11-08 Thread Charles Wiltgen
Karl James wrote... > Would any want to help me with this please get with me asap I need to be able > to talk to you thru the end and make sure I do shit right. I want to do all > the work, just need a teacher. As they say, "Just Do It". Ask specific, PHP-related questions as you have them. If

[PHP] Windows XP Session Issues

2002-11-08 Thread Jason
I've been noticing that with Windows XP session variables migrate between open browser windows, where in other versions of Windows the session variables are kept within the browser window that they were initialized in. The problem with this is that it seems like my website gets confused by thi

[PHP] extension can't be found

2002-11-08 Thread liug
it seems my last post failed, let me try again: I just compiled/installed apache/php4.2.3 with postgres support. the default php.ini-dist is used. I added extension=pgsql.so but when I start apache, error_log shows it can't find pgsql.so. after some trial and error, I found the following line in

Re: [PHP] Unable to execute c++ .exe file from php - Resolved

2002-11-08 Thread Ladan Pickering
Thanks all for taking the time to help me out. I finally got the problem resolved. It appears that PHP was trying to use cygwin1.dll and could not find it. I am not sure why; I didn't think I even need cygwin to run php w/ Apache. Once I put a copy of cygwin1.dll in my system32 directory, my c++ .

RE: [PHP] For ... <= max($myArray) vs For ... <= $max

2002-11-08 Thread Daevid Vincent
> From: Kjartan Mannes [mailto:kjartan@;zind.net] > > Friday, November 8, 2002, 12:13:01 PM, Daevid Vincent wrote: > > $max = max($myArray); > > for( $x = 1; $x <= $length; $x++ ) {} > > > -- OR -- > > > for( $x = 1; $x <= max($myArray); $x++ ) {} > > > My gut instinct tells me since PHP is i

Re: [PHP] php header function...

2002-11-08 Thread Marco Tabini
Try removing all leading spaces between the shebang and the beginning of the script: #!/usr/bin/php -q Hey, > > > > Got a problem using the header function on a file upload page to redirect > the user back to a web page. Here's the code: > > > > #!/usr/bin/php -q > > > > > > > $file

RE: [PHP] Unable to execute c++ .exe file from php

2002-11-08 Thread Ladan Pickering
Thanks Ernest for your suggestion. I tried you idea with forward and backward slashes and nothing seem to change. I still see the return_var of 128. PHP is trying to tell me what the problem was, but I am unable to find what 128 means. Any idea as where the the "return_var" for the "system" and "ex

[PHP] php header function...

2002-11-08 Thread Brad Apps
Hey, Got a problem using the header function on a file upload page to redirect the user back to a web page. Here's the code: #!/usr/bin/php -q http://www.webfusion.net.au...";); else print("Error"); Any ideas on how i would get this to work. The error which shows is Warning:

[PHP] Need MENTOR for Fantasy football project

2002-11-08 Thread Karl James
-Original Message- From: Karl James [mailto:karl.james@;verizon.net] Sent: Friday, November 08, 2002 9:35 AM To: [EMAIL PROTECTED] Cc: 'Karl James' Subject: Need MENTOR for Fantasy football project Ok here is what I need help with I need help with how to set up the layout of this p

[PHP] Re: Do I need the closing ?> tag

2002-11-08 Thread David McArthur
"Sterling Hughes" <[EMAIL PROTECTED]> wrote in message news:20021109011938.GB14712@;bumblebury.com... > I definitely think that _you_ should do it. > But this is not the proper place for these questions, ask them on > [EMAIL PROTECTED] Sorry for the inappropriate cross-posting Sterling. I was exp

[PHP] Need MENTOR for Fantasy football project

2002-11-08 Thread Karl James
Ok here is what I need help with I need help with how to set up the layout of this project 1st I know I need a create account page for owners to create there username and password. Then once they successfully filled in the form they are logged in And taken to the Team choice page.. Then on

Re: [PHP] mkdir()

2002-11-08 Thread Marco Tabini
The problem is that your webserver is not running as "you"...it's running under a common user (probably nobody or apache) and that user does not--and cannot--have access to your folder for security reasons. You can try creating the directory through ftp via PHP. Marco -- php|archit

[PHP] mkdir()

2002-11-08 Thread Edward Peloke
I have been using the mkdir function sucessfully on my windows test machine, but when I uploaded my pages to my hosting server (which is linux) I get a permission error when the mkdir function is called. I know I can create directories because I can do it fine when I am using ws-ftp uploading p

Re: [PHP] RE

2002-11-08 Thread Charles Wiltgen
Karl James wrote... > Is there anyone online that can help me with a project > For a fantasy football league > Im trying to create a page where users login > And then can either trade there players or claim > Free agents of the free agent list and add them to there team > And I want to have it hap

[PHP] ¿ QUIERES GANAR DINERO POR INTERNET ??

2002-11-08 Thread Dinero en Internet
Si tienes una computadora, una conexion a internet y quieres ganar dinero, ESTA ES LA OPORTUNIDAD DE TU VIDA !!! Envia un email a la direccion: [EMAIL PROTECTED] Esperamos tu respuesta --- Si no deseas recibir mas informacion, envia un emai

Re: [PHP] Do I need the closing ?> tag

2002-11-08 Thread Ernest E Vogelsinger
At 23:24 08.11.2002, David McArthur said: [snip] >PHP 4.2.2 (linux) doesn't seem to mind if I leave off the closing ?> tag at >the end of a file. Is the ?> assumed at EOF? > >I have PHP that outputs binary and along the way I include() a lot of php >scripts.

[PHP] Re: [PHP-DEV] Do I need the closing ?> tag

2002-11-08 Thread Sterling Hughes
> PHP 4.2.2 (linux) doesn't seem to mind if I leave off the closing ?> tag at > the end of a file. Is the ?> assumed at EOF? > > I have PHP that outputs binary and along the way I include() a lot of php > scripts. I'm constantly having problems when I leave a little whitespace at > the end of so

[PHP] RE

2002-11-08 Thread Karl James
Is there anyone online that can help me with a project For a fantasy football league Im trying to create a page where users login And then can either trade there players or claim Free agents of the free agent list and add them to there team And I want to have it happen in a real time scenario

[PHP] Do I need the closing ?> tag

2002-11-08 Thread David McArthur
PHP 4.2.2 (linux) doesn't seem to mind if I leave off the closing ?> tag at the end of a file. Is the ?> assumed at EOF? I have PHP that outputs binary and along the way I include() a lot of php scripts. I'm constantly having problems when I leave a little whitespace at the end of some script af

RE: [PHP] Unable to execute c++ .exe file from php

2002-11-08 Thread Ernest E Vogelsinger
At 00:00 09.11.2002, Ladan Pickering said: [snip] >When I look at the program (hello.exe) under cygwin. >I see that the "x" bit is set for all. As far as I can >tell anyone is permitted to execute this program. [snip]

[PHP] DHTML and PHP

2002-11-08 Thread John Meyer
I want to get the top layer to appear right on top of where the other two are. How do I do this? " style="visibility: visible; zIndex:1">');show('layerhide');show('ViewFullProfile');hide('More')">Want to know more about me? Click here!

Re: [PHP] Re: wanted: array_diff for more than values

2002-11-08 Thread Nick Eby
"Kevin Stone" <[EMAIL PROTECTED]> wrote: > I think you're trying to defy logic here. How will the function know that > you want to keep color=>cherry or flavor=>cherry? What logical construct > makes that decision? The example you've given will result in an array that > looks eactly like $arr1 r

[PHP] Re: registering object in session - Object to string notice error?

2002-11-08 Thread BAROILLER Pierre-Emmanuel
To this : session_register('somevar') and it'll work.. if your're using PHP4, you can also do this : $_SESSIONS['somevar']=$somevar Regards, P.E. Baroiller "Paul" <[EMAIL PROTECTED]> a écrit dans le message de news: 002601c28743$42bebbf0$[EMAIL PROTECTED] > > I have a simple object/class: > > Cla

Re: [PHP] Unable to execute c++ .exe file from php

2002-11-08 Thread Mike Mannakee
I see. Well, it isn't executing, then. It doesn't surprise me that the output doesn't go to the browser, but not showing up in the file seals the deal. Sorry I can't be of more help. Mike - Original Message - From: "Ladan Pickering" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Cc: <[EM

[PHP] Re: wanted: array_diff for more than values

2002-11-08 Thread Nick Eby
yes, i'm aware of that. what i'm asking is, is there a PHP function (or a one-liner composite of several functions?) that can do an array_diff while also checking the key=>value mapping. "Baroiller Pierre-Emmanuel" <[EMAIL PROTECTED]> wrote in message news:20021109001822.33085.qmail@;pb1.pair.co

[PHP] Re: how can I unsubscribe from this

2002-11-08 Thread BAROILLER Pierre-Emmanuel
go to php.net and unsubsbribe this mailing list :) "Joe Reichmuth" <[EMAIL PROTECTED]> a écrit dans le message de news: [EMAIL PROTECTED] > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: big include

2002-11-08 Thread BAROILLER Pierre-Emmanuel
If you have a lot of code to process, it may be longer but, if it's a class include, it's very fast to load .. I've got classes about 60Kb, and the average for processing a page (from loading to the html output) is less than 5ms... "Khalid El-Kary" <[EMAIL PROTECTED]> a écrit dans le message de ne

[PHP] Re: wanted: array_diff for more than values

2002-11-08 Thread BAROILLER Pierre-Emmanuel
array_diff check value, not keys.. "Nick Eby" <[EMAIL PROTECTED]> a écrit dans le message de news: [EMAIL PROTECTED] > example: > $arr1 = array("color" => "red", "flavor" => "cherry"); > $arr2 = array("color" => "cherry", "flavor" => "red"); > print_r(array_diff($arr1, $arr2)); > > those 2 arrays

Re: [PHP] HTTP POST FILE UPLOAD HELP

2002-11-08 Thread BAROILLER Pierre-Emmanuel
Hi, how did you make for html form to upload files ? you need to add an encryption like this to post files... If you make a simple post form, you'll never get the posted files! :) File uploading works with php3 & php4 and it's very easy to implement. cheers. P.E. Baroiller "@ Darwin" <[EMA

Re: [PHP] HTTP POST FILE UPLOAD HELP

2002-11-08 Thread Justin French
Shsh!! What does "Example doesn't work for me" mean... to quote Dr Evil, "throw me a friggin' bone here"... HOW doesn't it work... what errors are you getting... what happens... etc etc. Make sure you have error reproting set to the highest level too (E_ALL) I think. Justin on 09/11/

Re: [PHP] Questions on PHP Variables

2002-11-08 Thread Justin French
They contain the same data. Newer versions of PHP (>= 4.1.1 I think) make use of the new superglobal arrays (like $_POST, $_GET, $_SESSION, $_COOKIE, $_SERVER, etc)... This way of doing things is more secure, and will encourage smarter programming. You can get the old behaviour back by changing

Re: [PHP] Finding HTML

2002-11-08 Thread Marco Tabini
Well, then, I'm afraid I've run out of ideas :( Those were the only options I could suggest. -- php|architect - The magazine for PHP Professionals The first monthly worldwide magazine dedicated to PHP programmers Come visit us at http://www.phparch.com! --- Begin Message --- Err, n

Re: [PHP] Installation Kit

2002-11-08 Thread electroteque
yes there is a way to use bind to setup a local domain that only class c network can see, or just use www.dyndns.org "Stephen" <[EMAIL PROTECTED]> wrote in message news:004301c28771$8aa50540$0200a8c0@;melchior... > I'm running Windows XP Pro with a firewall on the LAN so I'm not sure you > can, le

Re: [PHP] Finding HTML

2002-11-08 Thread Stephen
Err, not sure how with Windows XP. Plus my computer might crash or something since I use this for buisness/gaming/whatever else. - Original Message - From: "Marco Tabini" <[EMAIL PROTECTED]> To: "Stephen" <[EMAIL PROTECTED]> Cc: "PHP List" <[EMAIL PROTECTED]> Sent: Friday, November 08, 20

Fw: [PHP] Re: wanted: array_diff for more than values

2002-11-08 Thread Kevin Stone
I think you're trying to defy logic here. How will the function know that you want to keep color=>cherry or flavor=>cherry? What logical construct makes that decision? The example you've given will result in an array that looks eactly like $arr1 regardless of the content in either array. $arr1

[PHP] Re: wanted: array_diff for more than values

2002-11-08 Thread Nick Eby
in case anyone cares, here is my solution so far, please comment if you feel the need. function myArrayDiff($thing1, $thing2) { $diff = array(); while (list($key, $val) = each($thing1)) { if ((string)$val !== (string)$thing2[$key]) $diff[$key] = $val; } return $diff; } -- PHP Genera

[PHP] php 4.3r2 and directive overrides

2002-11-08 Thread electroteque
hi since i upgraded to php 4.3 this doesnt seem to work , was doing my head in php_value register_globals Off php_value track_vars On php_value arg_separator.output "&" php_value arg_separator.input "&" i have this set in htaccess tried in httpd.conf aswell , have Allowoverrides All selected, wh

[PHP] wanted: array_diff for more than values

2002-11-08 Thread Nick Eby
example: $arr1 = array("color" => "red", "flavor" => "cherry"); $arr2 = array("color" => "cherry", "flavor" => "red"); print_r(array_diff($arr1, $arr2)); those 2 arrays are different, but array_diff doesn't know it since it doesn't compare values at particular keys, just values in general. i want

RE: [PHP] Unable to execute c++ .exe file from php

2002-11-08 Thread Ladan Pickering
When I look at the program (hello.exe) under cygwin. I see that the "x" bit is set for all. As far as I can tell anyone is permitted to execute this program. Thanks for your suggestion. --- "John W. Holmes" <[EMAIL PROTECTED]> wrote: > I haven't been following this whole thread, but have > you ru

[PHP] php.ini

2002-11-08 Thread dk1eng
thank you all very much, you've been more than helpfull :-) peace dimitris -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Finding HTML

2002-11-08 Thread Marco Tabini
Can you set your client machine to call that script up every thirty days? You should be able to do that by schedule a browsing event (in windows) or by setting your crontab to run curl or lynx every thirty days (in UNIX). That way, your script stays on the web server and you do the scheduling with

Re: [PHP] Installation Kit

2002-11-08 Thread Stephen
I've always had trouble doing that. Is there like a tutorial or anything on how to setup PHP and MySQL? Right now I use phpdev5 and whenever I go to http://mycomputername either on another computer on the network or my computer, it gives me a Forbidden page... - Original Message - From: "

Re: [PHP] Finding HTML

2002-11-08 Thread Stephen
I'm on neither, I have a webhost. Gasping goes through the crowd, I have a reason. I'm behind a firewall so can't do much else. How would you do it INSIDE php? - Original Message - From: "Marco Tabini" <[EMAIL PROTECTED]> To: "Stephen" <[EMAIL PROTECTED]> Cc: "PHP List" <[EMAIL PROTECTED]

Re: [PHP] big include

2002-11-08 Thread Khalid El-Kary
hi, thanx ernest, infact every line in the code has a comment (maybe a long comment) directly above it :) and you are right i may be also able to remove some functions when they are not needed thanx khalid _ Tired of spam? Get

Re: [PHP] big include

2002-11-08 Thread Ernest E Vogelsinger
At 22:56 08.11.2002, Khalid El-Kary said: [snip] >hi, >I wanted to ask about if big include files affect the speed of the script ? if it's included with include_once, it shouldn'r make a big difference - on an average linux box loading a 21k file into memory

Re: [PHP] php.ini

2002-11-08 Thread Ernest E Vogelsinger
At 22:10 08.11.2002, dk1eng said: [snip] >here i go again :-) >so i compiled php as a module in apache. >Now how do i change the include path? >Just changing /etc/php.ini doesn't seem to have any effect whatsoever. [snip]--

Re: [PHP] Finding HTML

2002-11-08 Thread Marco Tabini
Well, you can turn your PHP script into a shell script and run it once a month using cron -- that's of course assuming you're using UNIX. In Windows, you can use the scheduler. Marco -- php|architect - The magazine for PHP Professionals The first monthly worldwide magazine dedicated

RE: [PHP] Installation Kit

2002-11-08 Thread John W. Holmes
> I was wondering, is there a PHP/MySQL installation kit, like phptriad, > that works network wide? For example, I have a site on my computer that's > hooked up to a lan. I want other people on the network to see my site by > typing in http://mycomputername/index.php or whatever. If there is, pleas

Re: [PHP] Finding HTML

2002-11-08 Thread Stephen
Ok, thanks, but then how would I set it to check once a month or so? - Original Message - From: "Adam Voigt" <[EMAIL PROTECTED]> To: "Stephen" <[EMAIL PROTECTED]> Cc: "PHP List" <[EMAIL PROTECTED]> Sent: Tuesday, November 05, 2002 12:22 PM Subject: Re: [PHP] Finding HTML > $f = fopen("$

Re: [PHP] big include

2002-11-08 Thread Marco Tabini
You should probably look at a caching system, like APC (free) or the Zend stuff (commercial). Marco -- php|architect - The magazine for PHP Professionals The first monthly worldwide magazine dedicated to PHP programmers Come visit us at http://www.phparch.com! --- Begin Message --

[PHP] big include

2002-11-08 Thread Khalid El-Kary
hi, I wanted to ask about if big include files affect the speed of the script ? Normally, it should, but i heared that PHP stores the parsed result of scripts in memory since the first run for next usage, is that true? and if not, does parsing 21 KB very time, really affects the speed? thanx kh

[PHP] Installation Kit

2002-11-08 Thread Stephen
I'm running Windows XP Pro with a firewall on the LAN so I'm not sure you can, let alone where to learn... > - Original Message - > From: "Adam Williams" <[EMAIL PROTECTED]> > To: "Stephen" <[EMAIL PROTECTED]> > Cc: "PHP List" <[EMAIL PROTECTED]> > Sent: Friday, November 08, 2002 4:54 PM

Re: [PHP] Installation Kit

2002-11-08 Thread Adam Williams
Learn how to do DNS. Adam On Fri, 8 Nov 2002, Stephen wrote: > Hello, > > I was wondering, is there a PHP/MySQL installation kit, like phptriad, that works >network wide? For example, I have a site on my computer that's hooked up to a lan. I >want other people on the ne

[PHP] Installation Kit

2002-11-08 Thread Stephen
Hello, I was wondering, is there a PHP/MySQL installation kit, like phptriad, that works network wide? For example, I have a site on my computer that's hooked up to a lan. I want other people on the network to see my site by typing in http://mycomputername/index.php or whatever. If there is, pl

Re: [PHP] php.ini

2002-11-08 Thread Sascha Cunz
> The easiest way to find out where PHP expects your php.ini to be is to > create a page that calls phpinfo() - the configuration file location is > near the top of the output. Just to mention this: phpinfo() outputs the exact file name, if it loaded a php.ini - and outputs the path, where it tho

Re: [PHP] php.ini

2002-11-08 Thread Stuart
On Friday, Nov 8, 2002, at 21:17 Europe/London, Marco Tabini wrote: I don't think that has to with it... the setting is --with_config_file_path=path if you grep PHP_CONFIG_FILE_PATH config.status in your PHP source folder, you should see where PHP is expecting php.ini to be--and you won't probab

Re: [PHP] php.ini

2002-11-08 Thread Marco Tabini
I don't think that has to with it... the setting is --with_config_file_path=path if you grep PHP_CONFIG_FILE_PATH config.status in your PHP source folder, you should see where PHP is expecting php.ini to be--and you won't probably find it there, you'll have to copy it there yourself. Marco --

[PHP] php.ini

2002-11-08 Thread dk1eng
i specified --prefix=/www php.ini is not in /www -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Questions on PHP Variables

2002-11-08 Thread Marco Tabini
Try looking in the manual for register_globals. It's a setting in php.ini that determines whether server variables are registered as regular variables or not. The material you have probably expects it to be turned on, whereas in more recent versions it has been turned off. It's considered a potenti

Re: [PHP] php.ini

2002-11-08 Thread Marco Tabini
That's probably because when you recompiled PHP you specified a different path for it. On my computer, for example, it's /usr/local/lib/php.ini -- that's the default for me if you don't specify it when you run configure. -- php|architect - The magazine for PHP Professionals The first

[PHP] Questions on PHP Variables

2002-11-08 Thread Ray Seals
I'm running PHP 4.2.3 as an Apache Module When I try to use $PHP_AUTH_USER it returns nothing. But if I print out $_SERVER["PHP_AUTH_USER"] it prints the user name I tried. All of the sample code and books that I have use the $PHP_AUTH_USER. Can anyone give me some insight on what the differenc

[PHP] php.ini

2002-11-08 Thread dk1eng
here i go again :-) so i compiled php as a module in apache. Now how do i change the include path? Just changing /etc/php.ini doesn't seem to have any effect whatsoever. That's it, peace dimitris -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] LDAP + Exchange

2002-11-08 Thread Raceeend
lol What are these risks? btw i'm not giving all user access just a few and i want to do that with one account with the proper rights. Are there any examples of this? Marco Tabini wrote: i have never done this, there are some serious risks to exchange if you do this... Yea, it's dangerous

Re: [PHP] LDAP + Exchange

2002-11-08 Thread Raceeend
Well i need to give some users access to the user attributes of exchange to change them. .: B I G D O G :. wrote: Yes, what are you looking for... On Fri, 2002-11-08 at 19:58, Raceeend wrote: Hello, Has anybody tried to connect to Exchange via LDAP? Because i would like some examples of th

Re: [PHP] LDAP + Exchange

2002-11-08 Thread .: B i g D o g :.
That is the truth...i cant even imagine allowing user to edit information on the exchange server...its so vulnerable anyways... I highly recommend that you DO NOT allow users to edit info on your exchange server... On Fri, 2002-11-08 at 20:36, Marco Tabini wrote: > >i have never done this, ther

Re: [PHP] LDAP + Exchange

2002-11-08 Thread Marco Tabini
>i have never done this, there are some serious risks to exchange if you >do this... Yea, it's dangerous to let Microsoft software come into contact with something that actually works... :-) Sorry, had to come up with my stupid joke of the day. --- Begin Message --- I followed the instructions

Re: [PHP] LDAP + Exchange

2002-11-08 Thread .: B i g D o g :.
I followed the instructions for ldap used the windows nt username and password to bind to the exchange ldap server. Then you can allow them to change their attributes...i have never done this, there are some serious risks to exchange if you do this... On Fri, 2002-11-08 at 20:39, Raceeend wrote:

Re: [PHP] LDAP + Exchange

2002-11-08 Thread Raceeend
Well i need to give some users access to user attributes of exchange to change these. .: B I G D O G :. wrote: Yes, what are you looking for... On Fri, 2002-11-08 at 19:58, Raceeend wrote: Hello, Has anybody tried to connect to Exchange via LDAP? Because i would like some examples of thi

Re: [PHP] Unable to execute c++ .exe file from php

2002-11-08 Thread Ladan Pickering
Very good question Mike. In my hello.cc file, I have a cout to the stdout and I open a file and write a couple of lines to it. The reason I believe it is not running is that when the .php file is running from the cli, I see my "cout" and the file (test.txt) that I open is created and my lines are

Re: [PHP] For ... <= max($myArray) vs For ... <= $max

2002-11-08 Thread .: B i g D o g :.
Sorry bro, was thinking that in the initialization section that it would run the count again, but that is not the case... $max is initialized first and never looked at again during the for loop... On Fri, 2002-11-08 at 19:00, Marek Kilimajer wrote: > If you reed the code carefully, it first as

RE: [PHP] Unable to execute c++ .exe file from php

2002-11-08 Thread John W. Holmes
I haven't been following this whole thread, but have you ruled out permissions problems? If you have NTFS, does whatever user PHP is running as have permission to run the program? ---John Holmes... > -Original Message- > From: Ladan Pickering [mailto:ladan_pickering@;yahoo.com] > Sent: Fr

Re: [PHP] Unable to execute c++ .exe file from php

2002-11-08 Thread Ladan Pickering
I have tried escaping with backslashes and also tried forward slashes with no luck. I believe my path specification is correct because I can look at different directories. $cmd = "dir c:\abc\efg"; system ($cmd, $errCode); Correctly display the content of "efg", and the errCode is 0; I think the

Re: [PHP] LDAP + Exchange

2002-11-08 Thread .: B i g D o g :.
Yes, what are you looking for... On Fri, 2002-11-08 at 19:58, Raceeend wrote: > Hello, > > Has anybody tried to connect to Exchange via LDAP? > > Because i would like some examples of this. > > kind regards, > Martijn > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe

[PHP] LDAP + Exchange

2002-11-08 Thread Raceeend
Hello, Has anybody tried to connect to Exchange via LDAP? Because i would like some examples of this. kind regards, Martijn -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] HTTP POST FILE UPLOAD HELP

2002-11-08 Thread Jason Wong
On Saturday 09 November 2002 03:03, [EMAIL PROTECTED] wrote: > Nope, tried that just now. The example doesn't work for me. Any other > suggestions? How doesn't it work? Error messages? Aliens stole your file? If you can't get the example from the manual to work then you've got serious problems :

Re: [PHP] specifying different port for db connections

2002-11-08 Thread heath boutwell
>mssql_connect() establishes a connection to a MS SQL server. The >servername argument has to be a valid servername that is defined in the >'interfaces' file. <-- this is what i am referring too This is my connection string MSSQL_CONNECT("192.168.10.1 2461",$username,$password) or DIE("DATABASE

RE: [PHP] HTTP POST FILE UPLOAD HELP

2002-11-08 Thread @ Darwin
Nope, tried that just now. The example doesn't work for me. Any other suggestions? - Darwin > -Original Message- > From: Justin French [mailto:justin@;indent.com.au] > Sent: Friday, November 08, 2002 7:13 AM > To: @ Darwin; Php-General > Subject: Re: [PHP] HTTP POST FILE UPLOAD HELP > > >

Re: [PHP] For ... <= max($myArray) vs For ... <= $max

2002-11-08 Thread Marek Kilimajer
If you reed the code carefully, it first assigns $x=1 and $max=count($myArray), then it compares $x with $max .: B i g D o g :. wrote: Then only problem with doing it like for($x = 1, $max = count($myArray); $x <= $max; $x++ ) is that the $max = count( $myArray ) is always verified in each lo

[PHP] how can I unsubscribe from this

2002-11-08 Thread Joe Reichmuth, PolyTechDev, GTD USA

Re: [PHP] Lynx/Apache PHP execution vs. PHP interpreter

2002-11-08 Thread Chris Wesley
On Fri, 8 Nov 2002, Jason Young wrote: > I've edited the reporting functions so that instead of throwing it up on > the console like it normally does, it instead calls lynx with the -dump > parameter to the PHP page, and that in turn puts the variables into a > DB... (Basically I can access my ful

RE: [PHP] arg parsing

2002-11-08 Thread John W. Holmes
Look at register_globals in your php.ini. Your variables are being passed, it's just that with register_globals OFF, you reference it as $_GET['action'] and with it on, you reference it as just $action. ---John Holmes... > -Original Message- > From: phil [mailto:phil@;localwebpages.co.uk

Re: [PHP] arg parsing

2002-11-08 Thread Marco Tabini
Well, it's probably the fifth time it's asked today :-) The setting is register_globals Marco -- php|architect - The magazine for PHP Professionals The first monthly worldwide magazine dedicated to PHP programmer Come visit us at http://www.phparch.com! --- Begin Message --- Ap

  1   2   3   >