RE: [PHP] Cookie

2002-10-01 Thread Smith, Benjamin
The register globals function must be turned ON in your php.ini for the first method to work. -Original Message- From: Max Buvry [mailto:[EMAIL PROTECTED]] Sent: Wednesday, 2 October 2002 2:38 AM To: [EMAIL PROTECTED] Subject: [PHP] Cookie Hi, I use : apache 1.3.26, php 4.2.3, post

Re: [PHP] Cookie

2002-10-01 Thread Bob Irwin
I'm pretty sure this is a global variables problem. There is an option in your ini.php file that refers to 'global variables' You need to set this on, otherwise reference to them with the absolute variable name. Best Regards Bob Irwin Server Admin & Web Programmer Planet Netcom - Original M

[PHP] Cookie

2002-10-01 Thread Max Buvry
Hi, I use : apache 1.3.26, php 4.2.3, postgresql 7.2 (under solaris 7). I attempt to modify my old sources which run with the previous versions and I meet a problem with the cookie. I read that we can see the contents of a cookie with 2 methods : echo $testcookie echo $_COOKIE["testcookie"]

Re: [PHP] XML Parser additional

2002-10-01 Thread Justin French
You want to retain ownership, AND take contributions? Generally it'd be an either/or proposition wouldn't it? Justin French on 02/10/02 2:26 PM, Khalid El-Kary ([EMAIL PROTECTED]) wrote: > hi, > i wanted to add something, i want to receive contribtions from developers as > well to make the pa

[PHP] Re: tricky gd question

2002-10-01 Thread electroteque
imagecopyresampled($dst_img,$src_img,50,0,0,0,$new_w,$new_h,imagesx($src_img ),imagesy($src_img)); i have this basically if i half the width of the ratio scaled image , it puts the entire image into that area not just half the image like a crop would ? "Mike Mannakee" <[EMAIL PROTECTED]> wrote

RE: [PHP] Access denied to php files in Netscape 6

2002-10-01 Thread Smith, Benjamin
It's not impossible if the site is not opened up to full public access, and he is using different proxy settings on each browser. Check those. -Original Message- From: Chris Shiflett [mailto:[EMAIL PROTECTED]] Sent: Wednesday, 2 October 2002 4:23 PM To: Chris Nielsen Cc: [EMAIL PROTECT

Re: [PHP] Access denied to php files in Netscape 6

2002-10-01 Thread Chris Shiflett
This seems absolutely impossible. Can you verify that you are using the *exact* same URL with each browser? I would recommend copy/pasting the URL from each into a text document or something to be sure every slash, etc., is identical. This will also ensure that you are accessing these scripts

[PHP] ええと

2002-10-01 Thread 松本創
‚±‚ê‚Á‚Ä‚Ç‚¤‚â‚Á‚ĉð“Ç‚·‚é‚ñ‚Å‚µ‚傤EEE -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Wanting to better understand

2002-10-01 Thread Chris Shiflett
Paul Nicholson wrote: >If ($days > 30) { >$days = "" . $days . ""; >}elseif ($days > 45) { >$days = "" . $days . ""; >} > Just a side note - the elseif when used like this is superfluous. If $days is not greater than 30, then it must be 30 or less. Thus, it will never be greater than 4

[PHP] Re: How to send POST info without a form?

2002-10-01 Thread lallous
try www.sloppycode.net * © Sloppycode.net All rights reserved. * @title Html Source class - api for getting/posting to websites * @author C.Small * @version 1.0 or phpclasses.org Elias, "Chris Nielsen" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I hav

RE: [PHP] backwards compat for newly developed scripts ($_GET / $HTTP_GET_VARS)

2002-10-01 Thread John W. Holmes
> I've been wondering about developing scripts that the end-user might run > on > php < 4.1.0. I've heard allot of ways except for one that I recently > thought > of. > How about using: > - > if(!isset($_GET)) { global $HTTP_GET_VARS; $_GET = &$HTTP_GET_VARS; } > - > ? That allows you to

RE: [PHP] Unable to load dynamic Library-Access Denied

2002-10-01 Thread John W. Holmes
> Environment: PHP 4.2.3/IIS/Win2k Server > > I tried to enable the PHP_MSSQL.dll module, but got the above error. > Does anyone know what is causing this? > > I've tried sharing (web sharing) the folders, and looked around the server > configuration...I found nothing that would explain this. >

Re: [PHP] Quick question.

2002-10-01 Thread Simon Angell
Thanks for that Robert *it works*, now i have 1 more problem, after uploading to my web server i get this... Warning: fopen("wtest.txt", "wb+") - Permission denied in /home/canberra/public_html/bomonster/canberra.php on line 6 Dunno why either, the directory is not protected, can you help me with

[PHP] How to send POST info without a form?

2002-10-01 Thread Chris Nielsen
I have a single php file that I want to do some different things (only one at a time, based on a conditional): display a form to the user for input submit information from (above) form to database list information in database (that has been INSERTed by the above) I want this file to be able to c

Re: [PHP] PHP and Flash

2002-10-01 Thread Bob Irwin
Works fine for me... IE 6.023 Flash 6.0 if I click on 'stallions' I get a list of the stallions with pics. If I choose a horse from the dropdown menu, I get a picture of a horse with a flash textbox full of details. Not all of them do this though - some are missing info and pics - I'm assuming

RE: [PHP] How to send POST info without a form?

2002-10-01 Thread Martin Towell
from the client end, you can't from the server end, you can use curl. HTH Martin -Original Message- From: Chris Nielsen [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 02, 2002 3:09 PM To: [EMAIL PROTECTED] Subject: [PHP] How to send POST info without a form? I have a single php fil

[PHP] Access denied to php files in Netscape 6

2002-10-01 Thread Chris Nielsen
I'm running PWS on WinXP Pro. I can't test my php stuffs in Netscape cause it says Access Denied when I try to access any php file. They work fine in IE6. Any ideas? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: XML Parser

2002-10-01 Thread Manuel Lemos
Hello, On 10/02/2002 01:15 AM, Khalid El-Kary wrote: > hi, > i have developped an XML parser that's easy to use and very fast, and i > have run two websites using it. > > http://creaturesx.ma.cx > http://creaturesx.ma.cx/osman/jokes/index.php (not complete website) > > the question comes now w

RE: [PHP] PHP and Flash

2002-10-01 Thread Peter Houchin
am assuming tis up the top ( it loads other menu names) and the white space down the bottom. but either way it don't > -Original Message- > From: Justin French [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, 2 October 2002 2:29 PM > To: Rebekah Garner; [EMAIL PROTECTED] > Subject: Re: [PHP

RE: [PHP] PHP and Flash

2002-10-01 Thread Peter Houchin
do you mean load into the menu as in populate the menu? if so then that is working but if u mean u click on a link then nothing comes up > -Original Message- > From: Rebekah Garner [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, 2 October 2002 2:15 PM > To: [EMAIL PROTECTED] > Subject: [P

Re: [PHP] PHP and Flash

2002-10-01 Thread Justin French
What f'n text field? Justin on 02/10/02 2:15 PM, Rebekah Garner ([EMAIL PROTECTED]) wrote: > Okay, this may be a bit off topic, BUT we just finished a website using PHP, > MySql and Flashwell, I need someone...anyone to check out this URL for me > and click on the Stallions menu, and tell

[PHP] XML Parser additional

2002-10-01 Thread Khalid El-Kary
hi, i wanted to add something, i want to receive contribtions from developers as well to make the parser be better _ Send and receive Hotmail on your mobile device: http://mobile.msn.com -- PHP General Mailing List (http://www

[PHP] Undefined index:

2002-10-01 Thread Voisine
Hi, I'm learning php from a book but because of global off I have have several "Undefined index" message! I don't want to change the default setting in my php.ini because I want to learn the good way. What I'm doing wrong? Undefined index: categorie if ($_POST['categorie'] == "New") { Undefined

[PHP] XML Parser

2002-10-01 Thread Khalid El-Kary
hi, i have developped an XML parser that's easy to use and very fast, and i have run two websites using it. http://creaturesx.ma.cx http://creaturesx.ma.cx/osman/jokes/index.php (not complete website) the question comes now what's best way to contribute this parser to the PHP community without

[PHP] PHP and Flash

2002-10-01 Thread Rebekah Garner
Okay, this may be a bit off topic, BUT we just finished a website using PHP, MySql and Flashwell, I need someone...anyone to check out this URL for me and click on the Stallions menu, and tell me if anything loads into the text field. The client swears that it isn't, but it is dammit. Or i

Re: [PHP] backwards compat for newly developed scripts ($_GET / $HTTP_GET_VARS)

2002-10-01 Thread Sascha Cunz
> ummyou'd have to include that line at the top of every function that > uses get(or any of the other) vars(scoping reasons) or somehow pass it via > a reference to the function. I've always added the line at the top. At the top of each _function_? Urgs. Sounds like a hell of a lot of work.

Re: [PHP] Incrementing the value

2002-10-01 Thread Uma Shankari T.
Hello, PN>Hey, PN>Whats the php version on the window machine? register_globals on? I am using php4 and also the register_globals are On only.. PN>Try: PN>src="Gif/nextque.gif" PN> border="0"> Already i have tried this code also..Can anyone please tell me how to go about with this ?? Regards

Re: [PHP] Re: inputbox?

2002-10-01 Thread Jeff Bluemel
thanks - I will have to look through things... you explanation made sense, and I believe I can get it to work that way. I think I'm going to try Tom's Java script first, and use this is a fail safe. Jeff "Justin French" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECT

Re: [PHP] Re: inputbox?

2002-10-01 Thread Justin French
phpMyAdmin(.org) is a GUI web interface for managing MySQL databases. it's open source, so if you like what you see, you can dig around in the code and "borrow"... they pop-up confirmations on delete and empty type queries. as for a simple confirmation script... I don't really have the time righ

Re: [PHP] Incrementing the value

2002-10-01 Thread Paul Nicholson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hey, Whats the php version on the window machine? register_globals on? Try: HTH! ~Pauly On Tuesday 01 October 2002 11:53 pm, Uma Shankari T. wrote: > Hello , > > border="0"> > > While clicking this link the $hid value get incremented and fetch the

[PHP] Incrementing the value

2002-10-01 Thread Uma Shankari T.
Hello , While clicking this link the $hid value get incremented and fetch the value from the database according to that..the same thing is working in linux platform and it is not working for the windows platform..the value is not getting increment..Can anyone please tell me how to go about

Re: [PHP] Wanting to better understand

2002-10-01 Thread Paul Nicholson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 oppsI need those reversed. - switch (TRUE) { case ($days > 45): $days = "" . $days . ""; break; case ($days > 30): $days = "" . $days . ""; break; } - If ($days > 45) { $days = "" . $days . ""; }

Re: [PHP] backwards compat for newly developed scripts ($_GET / $HTTP_GET_VARS)

2002-10-01 Thread Paul Nicholson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hey, [snip] > If any script shall be executeable on such an old PHP release, this method > sounds really good. But, for security reasons i would prefer to ship this > in an extra script, which the user has explicitly to include (Maybe just > paranoia)

Re: [PHP] backwards compat for newly developed scripts ($_GET / $HTTP_GET_VARS)

2002-10-01 Thread Sascha Cunz
> Hey gang, > I've been wondering about developing scripts that the end-user might run on > php < 4.1.0. I've heard allot of ways except for one that I recently > thought of. > How about using: > - > if(!isset($_GET)) { global $HTTP_GET_VARS; $_GET = &$HTTP_GET_VARS; } > - > ? That allow

Re: [PHP] Wanting to better understand

2002-10-01 Thread Paul Nicholson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 yeah, I know...duh! *yawn* long nite...I'll see y'all in the morn. :) ~Paul On Tuesday 01 October 2002 11:22 pm, Chris Shiflett wrote: > Paul Nicholson wrote: > >If ($days > 30) { > >$days = "" . $days . ""; > >}elseif ($days > 45) { > >$days

Re: [PHP] Wanting to better understand

2002-10-01 Thread Sascha Cunz
Anyway... cool way to use switch Obviously i've been working too much with C, that i never thought of a way, you could use the conditional-expression in the "case", not in the switch ;) Sascha > switch (TRUE) { > case ($days > 45): > $days = "" . $days . > ""; break; case

[PHP] Is there PHPLIB in windows? I want to use template.

2002-10-01 Thread 家文 方
thanks. please email me,or links?? _ Do You Yahoo!? "·¢¶ÌÐÅÓ®ÊÖ»ú,¿ìÀ´²Î¼ÓÑÅ»¢¾ÞÐÇÐã!" http://cn.ent.yahoo.com/star/midautumn/index.html -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.ph

Re: [PHP] Wanting to better understand

2002-10-01 Thread Paul Nicholson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hey, ok, I'm not sure if I totally understand what you're trying to do but.I'll give it my best. Try: switch (TRUE) { case ($days > 30): $days = "" . $days . ""; break; case ($days > 45): $days = ""

Re: [PHP] Wanting to better understand

2002-10-01 Thread Chuck PUP Payne
A, ok. You know am still having problems with elseif, else, Ok, thanks I will give it a try. Chuck On 10/1/02 11:03 PM, "Chris Shiflett" <[EMAIL PROTECTED]> wrote: > Chuck, > > I'm not sure what you're trying to do, but I think you might just want > to order it the other way around. > >

[PHP] Re: The latest PHP version??? NOT Ver7.2??

2002-10-01 Thread Jeff Bluemel
4.2.3 > thanks. > > Can you email me??? > > _ > Do You Yahoo!? > "·¢¶ÌÐÅÓ®ÊÖ»ú,¿ìÀ´²Î¼ÓÑÅ»¢¾ÞÐÇÐã!" > http://cn.ent.yahoo.com/star/midautumn/index.html -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.p

[PHP] Wanting to better understand

2002-10-01 Thread Chuck \"PUP\" Payne
Hey, I am trying to better understand something, I learned a couple weeks ago that if I do this... If ($field == "value1") { $field = "change to new value"; Now I have use this to change -00-00 to  . And the following. If ($days > "30") { $days "" . $days . ""; } Want I want to d

Re[4]: [PHP] inputbox?

2002-10-01 Thread Tom Rogers
Hi, Wednesday, October 2, 2002, 12:21:29 PM, you wrote: JB> OK Tom - that script worked beautiful. JB> there are a few different applications that I need this for, and I'm JB> wondering if you can either help me with the coding, or refer me to a JB> webpage that can get me started in the right d

RE: [PHP] Wanting to better understand

2002-10-01 Thread Jarrad Kabral
and just when I thought this day couldnt get any more confusing:| -Original Message- From: Chuck "PUP" Payne [mailto:[EMAIL PROTECTED]] Sent: Wednesday, 2 October 2002 12:50 PM To: PHP General Subject: [PHP] Wanting to better understand Hey, I am trying to better understand s

Re: [PHP] Wanting to better understand

2002-10-01 Thread Chris Shiflett
Chuck, I'm not sure what you're trying to do, but I think you might just want to order it the other way around. if ($days > "45") { # $days is 46 or more do stuff } elseif ($days > "30") { # $days is 31-45 do other stuff; } else { # $days is 30 or less more stuff;

Re: [PHP] Re: safe_mode and include "http://"; question

2002-10-01 Thread Tomasz Orzechowski
[EMAIL PROTECTED] wrote on Wed, Oct 02, 2002 at 03:22:26AM +0200: > Post it as a bug please. It looks like one, anyway it will be closed > if its not. done, as bug #19703 safe_mode allows include-ing of http documents http://bugs.php.net/bug.php?id=19703 thanks, -- Tomasz Orzechowski

Re: [PHP] The latest PHP version??? NOT Ver7.2??

2002-10-01 Thread Tyler Longren
latest version is: 4.2.3 not 7.2 tyler On Wed, 2 Oct 2002 10:36:08 +0800 (CST) ¼ÒÎÄ ·½ <[EMAIL PROTECTED]> wrote: > thanks. > > Can you email me??? > > _ > Do You Yahoo!? > "·¢¶ÌÐÅÓ®ÊÖ»ú,¿ìÀ´²Î¼ÓÑÅ»¢¾ÞÐÇÐã!" > http://cn.ent.yahoo.com/s

[PHP] The latest PHP version??? NOT Ver7.2??

2002-10-01 Thread 家文 方
thanks. Can you email me??? _ Do You Yahoo!? "·¢¶ÌÐÅÓ®ÊÖ»ú,¿ìÀ´²Î¼ÓÑÅ»¢¾ÞÐÇÐã!" http://cn.ent.yahoo.com/star/midautumn/index.html -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] PHPLIB version? the latest.

2002-10-01 Thread 家文 方
Sorry,it's my fault. I want to know the latest PHPLIB version. Can you email me PHPLIB?? thanks a lot . = ## //Javen Fang// //Froma CHina// ### _ Do You Yahoo!? "·¢¶ÌÐÅÓ®ÊÖ»ú,¿ìÀ´²Î¼ÓÑÅ»¢¾ÞÐÇÐã!" http://cn.e

Re: [PHP] Re: inputbox?

2002-10-01 Thread Jeff Bluemel
Justin... could I talk you into giving me an example in code of this? (I would really appreciate it) where is this phpmyadmin? I'm not seeing a function, and I searched php's website for this string, and I'm not finding anything. Jeff "Justin French" <[EMAIL PROTECTED]> wrote in message [EMA

Re: Re[2]: [PHP] inputbox?

2002-10-01 Thread Jeff Bluemel
OK Tom - that script worked beautiful. there are a few different applications that I need this for, and I'm wondering if you can either help me with the coding, or refer me to a webpage that can get me started in the right direction. I need to collect a value that will be used in a query. (assu

Re: [PHP] Re: inputbox?

2002-10-01 Thread Justin French
Confirmation is easy -- the client has the right to ask for this component. It's the method in which you want to confirm (javascript, pop-ups, etc) that is the problem. It can be as simple as: submit form page asking are you sure you want to blah blah blah submit yes or no action taken No javas

Re: Re[2]: [PHP] inputbox?

2002-10-01 Thread Jeff Bluemel
Tom, I am going to work with this command, and see if I can get it to work. Thanks, Jeff "Tom Rogers" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hi, > > Wednesday, October 2, 2002, 11:52:34 AM, you wrote: > TR> Hi, > > TR> Tuesday, October 1, 2002, 1:36:

Re: [PHP] Re: inputbox?

2002-10-01 Thread Jeff Bluemel
LOL - I've been using VB for about 6 years, and I'm just beginning to convert over to php. the application I am writing is for prepaid phone cards. if they are going to activate a pin, inactivate, or recharge then I want a confirmation box. I would prefer to also have a box pop up to get the va

Re[2]: [PHP] inputbox?

2002-10-01 Thread Tom Rogers
Hi, Wednesday, October 2, 2002, 11:52:34 AM, you wrote: TR> Hi, TR> Tuesday, October 1, 2002, 1:36:43 PM, you wrote: JB>> is there a way to for an input box to come up looking for a value? I know JB>> there are a few ways I could resolve my current issue, but I would prefer to JB>> display an i

Re: [PHP] inputbox?

2002-10-01 Thread Tom Rogers
Hi, Tuesday, October 1, 2002, 1:36:43 PM, you wrote: JB> is there a way to for an input box to come up looking for a value? I know JB> there are a few ways I could resolve my current issue, but I would prefer to JB> display an inputbox, and use that value in my query. JB> basically I would do a

[PHP] Help with Imap : getting attachment

2002-10-01 Thread Nokar
$attachdata[$x] = imap_base64($attachment); on that part sometimes the attachdata get empty so i did a IF but at that point i'm stuck. If i output it raw it will simply not work. Please help ! Here the code : if ($AsAttach == "Y") { for ($x=0;$x PID : $pid[$x] Type : $type[$x] "; $attachment =

[PHP] Re: safe_mode and include "http://"; question

2002-10-01 Thread nicos
Post it as a bug please. It looks like one, anyway it will be closed if its not. -- Nicos - CHAILLAN Nicolas [EMAIL PROTECTED] www.WorldAKT.com - Hébergement de sites Internet "Tomasz Orzechowski" <[EMAIL PROTECTED]> a écrit dans le message de news: [EMAIL PROTECTED] > should PHP with safe_mode

[PHP] backwards compat for newly developed scripts ($_GET / $HTTP_GET_VARS)

2002-10-01 Thread Paul Nicholson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hey gang, I've been wondering about developing scripts that the end-user might run on php < 4.1.0. I've heard allot of ways except for one that I recently thought of. How about using: - if(!isset($_GET)) { global $HTTP_GET_VARS; $_GET = &$HTTP_

RE: [PHP] Connect to oracle on another host

2002-10-01 Thread Todd Pasley
Try looking at the following paper, it looks very good. http://conf.php.net/pres/slides/oci/paper.txt HTH Todd. > -Original Message- > From: Juan Antonio Ruiz Zwollo [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, 2 October 2002 11:28 AM > To: [EMAIL PROTECTED] > Subject: [PHP] Connect t

[PHP] Not sure if it pass the first time : Help with imap attachment

2002-10-01 Thread Nokar
$attachdata[$x] = imap_base64($attachment); on that part sometimes the attachdata get empty so i did a IF but at that point i'm stuck. If i output it raw it will simply not work. Please help ! Here the code : if ($AsAttach == "Y") { for ($x=0;$x PID : $pid[$x] Type : $type[$x] "; $attachment =

RE: [PHP] Re: inputbox?

2002-10-01 Thread Todd Pasley
What you seem to be looking for are the javascript functions, alert, confirm and/or prompt. for a billion examples see... http://www.google.com/search?num=20&hl=en&lr=&ie=UTF-8&oe=UTF-8&newwindow=1&; safe=off&q=confirm+alert+prompt&btnG=Google+Search Todd. > -Original Message- > From: J

[PHP] Connect to oracle on another host

2002-10-01 Thread Juan Antonio Ruiz Zwollo
Hi! I've been writing PHP scripts for a long time but never needed to get data from an Oracle database. Till now. Can somebody give me a hand? The Oracle database is running on another server. The information I have been given is: host (e.g. somewhere.somewhere.com) username (e.g. USER_NA

[PHP] imagecreatefromstring

2002-10-01 Thread Todd Pasley
Hi, I asked a question similar to this earlier, but I thought it may have required simplification/rewording. According to the doco, imagecreatefromstring has the following declaration: resource imagecreatefromstring ( string image) Does anyone know how an image can be transformed into a string

Re: [PHP] Re: inputbox?

2002-10-01 Thread Brad Bonkoski
pop-up windows, reminds me of the days of visual basic programming I know you can display dialog boxes using javascript, but not sure if they will take a value in them, just like a confimirmation type box, like "Are you sure? " To the point, check some javascript references out, I know ther

Re: [PHP] Re: inputbox?

2002-10-01 Thread Justin French
I don't understand. Twice. Tell us what you need, slowly and clearly. Justin French on 02/10/02 10:35 AM, Jeff Bluemel ([EMAIL PROTECTED]) wrote: > anybody??? > > anyway to pop up an inputbox that will get a variable? also, and yes / no > or ok / cancel boxes I can make pop up? > > >

Re: [PHP] stuck n00b

2002-10-01 Thread Chris Nielsen
I was sure I'd tried it, but $_POST works now. Thanks guys. "Jay Blanchard" <[EMAIL PROTECTED]> wrote in message 000501c2697d$ded95a10$8102a8c0@000347D72515">news:000501c2697d$ded95a10$8102a8c0@000347D72515... > [snip] > My form is actually using method="post". And I did use $_POST. Can't > reme

[PHP] Re: stuck n00b

2002-10-01 Thread Chris Nielsen
Well, $_POST['userName'] is now working, but I could have sworn I was trying that last night and it was returning the same error. Oh well, thanks for the help guys. "Chris Nielsen" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I have a simple form: > > > E

[PHP] safe_mode and include "http://"; question

2002-10-01 Thread Tomasz Orzechowski
should PHP with safe_mode enabled allow include-ing of files via http:// or not? The way I read the docs it shouldn't and I would expect it to not allow such includes if it enforces permissions and open_basedir and such. i browsed around on bugs.php.net but cannot find anything revevant. is thi

Re: [PHP] submitting a form to multiple places!!!

2002-10-01 Thread Justin French
Don't think it can be done... at least not the way you describe. *maybe* it can be done with javascript, but I'd try to do it this way: 1. user completes form, clicks submit 2. your scripts don't send any output to the browser (ie, it's not a page, it's a script), generate the auto-responders, w

[PHP] Re: inputbox?

2002-10-01 Thread Jeff Bluemel
anybody??? anyway to pop up an inputbox that will get a variable? also, and yes / no or ok / cancel boxes I can make pop up? "Jeff Bluemel" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > is there a way to for an input box to come up looking for a value? I

Re: [PHP] PHP version

2002-10-01 Thread Brad Bonkoski
Sorry... I think: http://www.php.net/manual/en/function.phpversion.php will be more inline with what you want... -Brad Alex Shi wrote: > Is there any way to report PHP version? > > -- > --- > TrafficBuilder Network: > http://www.bestadv.net/index.cfm?ref=7029 > > -- > PHP

Re: [PHP] PHP version

2002-10-01 Thread Chris Wesley
On Tue, 1 Oct 2002, Alex Shi wrote: > Is there any way to report PHP version? Sure. What version of PHP are you using? ;) ~Chris P.S. - if you didn't find that amusing, just check out http://www.php.net/manual/en/function.phpversion.php -- PHP General Mailing List (http://w

Re: [PHP] PHP version

2002-10-01 Thread Tyler Longren
You can get it out of this variable: _SERVER["SERVER_SOFTWARE"] tyler On Tue, 1 Oct 2002 20:03:25 -0400 "Alex Shi" <[EMAIL PROTECTED]> wrote: > Is there any way to report PHP version? > > > -- > --- > TrafficBuilder Network: > http://www.bestadv.net/index.cfm?ref=702

Re: [PHP] PHP version

2002-10-01 Thread Brad Bonkoski
perhaps glean it from the SERVER_SOFTWARE variable? -Brad Alex Shi wrote: > Is there any way to report PHP version? > > -- > --- > TrafficBuilder Network: > http://www.bestadv.net/index.cfm?ref=7029 > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe,

[PHP] PHP 4.2.2 vs PHP 4.0.6

2002-10-01 Thread Alex Shi
Hi, I didn't realized that PHP had been going so fast that it was creating problems for compatiblility. Here is my situation: PHP on my development server is 4.0.6 while on the application server it is PHP 4.2.2. I bet you all know that there's a huge basic differences between the two but I d

[PHP] Unable to load dynamic Library-Access Denied

2002-10-01 Thread [-^-!-%-
Environment: PHP 4.2.3/IIS/Win2k Server I tried to enable the PHP_MSSQL.dll module, but got the above error. Does anyone know what is causing this? I've tried sharing (web sharing) the folders, and looked around the server configuration...I found nothing that would explain this. Please help. -

Re: [PHP] PHP version

2002-10-01 Thread Tyler Longren
yes, that would work much better. tyler On Tue, 01 Oct 2002 20:11:21 -0400 Brad Bonkoski <[EMAIL PROTECTED]> wrote: > Sorry... > I think: > http://www.php.net/manual/en/function.phpversion.php > will be more inline with what you want... > -Brad > > Alex Shi wrote: > > > Is there any way to re

[PHP] PHP version

2002-10-01 Thread Alex Shi
Is there any way to report PHP version? -- --- TrafficBuilder Network: http://www.bestadv.net/index.cfm?ref=7029 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP 4.2.2 vs PHP 4.0.6

2002-10-01 Thread Mike Dunlop
That's because in the newer versions of php the register globals directive is set to off by default...If you turn that directive on and then restart apache, you will be able address GET/POST vars normally (by their identical var name) - Mike D >Hi, > >I didn't realized that PHP had been go

Re: [PHP] PHP 4.2.2 vs PHP 4.0.6

2002-10-01 Thread Alex Shi
THanks! "John W. Holmes" <[EMAIL PROTECTED]> wrote in message 000f01c269a4$a7329be0$7c02a8c0@coconut">news:000f01c269a4$a7329be0$7c02a8c0@coconut... > > I didn't realized that PHP had been going so fast that it was creating > > problems for compatiblility. > > > > Here is my situation: PHP on m

[PHP] PHP5

2002-10-01 Thread Brad Bonkoski
Hello... Don't know if this has been discussed but I saw a book on PHP5 listed on Amazon, saying that PHP5 would be released in the fall of 2002? Was wondering if there has been any information posted about this? -Brad -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: h

RE: [PHP] PHP5

2002-10-01 Thread Dan Harrington
Who cares about a new version number, these days you have to think in much grander terms. Redesign the packaging without changing the product one bit, do a massive AD campaign, rename PHP, release a few press releases that you're now under new management... arrange for the arrest of a few "PHP

RE: [PHP] PHP 4.2.2 vs PHP 4.0.6

2002-10-01 Thread John W. Holmes
> I didn't realized that PHP had been going so fast that it was creating > problems for compatiblility. > > Here is my situation: PHP on my development server is 4.0.6 while > on the application server it is PHP 4.2.2. I bet you all know that there's > a huge basic differences between the two but

[PHP] Constant LDAP errors

2002-10-01 Thread David Chait
Greetings all, I have been trying to get LDAP to compile properly using PHP 4.1.2 with little success. This is a RedHat 7.3 platform using Apache 1.x as the web server, adding PHP as a DSO. When compiling PHP I use ./configure --with-ldap --with-mysql --with-apxs=/usr/local/apache/bin/apx

[PHP] mail function problems

2002-10-01 Thread Dan McCullough
I use the mail function tons, never had a problem. I am working with a client with a different hosting vendor, they are using PHP 4.2.3, which I guess was a recient upgrade, anyway I was informed by the client that he wasnt getting email submissions from the website, but he was getting other e

Re: [PHP] PHP5

2002-10-01 Thread Rasmus Lerdorf
They are dreaming in technicolour. -Rasmus On Tue, 1 Oct 2002, Brad Bonkoski wrote: > Hello... > > Don't know if this has been discussed but I saw a book on PHP5 listed on > Amazon, saying that PHP5 would be released in the fall of 2002? Was > wondering if there has been any information posted

RE: [PHP] PHP5

2002-10-01 Thread Jarrad Kabral
I was wondering the same thing... There was a URL to an interview with Zeev Suraski posted on here once where he was talking about the new featuresbut it was in german :( Jarrad -Original Message- From: Brad Bonkoski [mailto:[EMAIL PROTECTED]] Sent: Wednesday, 2 October 2002 9:44

RE: [PHP] PHP 4.2.2 vs PHP 4.0.6

2002-10-01 Thread Jarrad Kabral
Alex You can change back to the old way of parsing vars by simply changing the "register_globals" setting to "on" in your PHP config. Though this is certainly not recommended (mainly for security concerns). Good PHP coding practice suggests that you use superglobals when you wish to access sessi

Re: [PHP] document_root

2002-10-01 Thread Brad Bonkoski
I think: string getcwd ( void) would do the trick. (dirname() requires that you know the path of a file and want to extract just the directory path) -Brad "John W. Holmes" wrote: > OK. My bad. That's why I see DOCUMENT_ROOT on sourceforge is /var/www/, > while my scripts are in /home/groups/p/pr

Re: [PHP] php question

2002-10-01 Thread Brad Bonkoski
Of course compiled versus interpreted code is a pretty major difference, so it would be hard for me to say it is "like" a compiled language like C/C++ just because is borrows some of the syntax. I have seen only very generic classifications, but IMHO I would lean more towards saying it is a scrip

Re: [PHP] Freeze a MySQL field?

2002-10-01 Thread Brad Bonkoski
Locking it after insertion? *thinking..like locking my front door so it will never open again* Don't think this is a feature we would want. You can, however, control it with your PHP code, assign a "lock" field in the record, or other ways Or you could create another database with another

RE: [PHP] php question

2002-10-01 Thread John W. Holmes
> I am trying to understand in deatil exactly what PHP is, I know that it is > a > scripting markup type language, but. > > Is it correct to say that PHP is essentially just C++ code wrapped in PHP > blocks which are embedded in HTML? Well, more of a C/C++ syntax, actually. PHP has a lot of

RE: [PHP] document_root

2002-10-01 Thread John W. Holmes
OK. My bad. That's why I see DOCUMENT_ROOT on sourceforge is /var/www/, while my scripts are in /home/groups/p/pr/project/htdocs/. Sorry for causing confusion in the ranks. :) So what the OP wants is dirname() ?? ---John Holmes... > -Original Message- > From: Chris Shiflett [mailto:[EM

RE: [PHP] document_root

2002-10-01 Thread Tony Crockford
> Check out: > http://www.php.net/manual/en/function.getcwd.php > > HTH > -Brad Certainly does, thanks. I suppose if I'd thought to look at the manual contents rather than trying to construct a *search* I might have found that Oh well, so much to learn so little time. Thanks Tony -- P

RE: [PHP] document_root

2002-10-01 Thread John W. Holmes
You want DOCUMENT_ROOT. If you have a file /home/groups/myproject/htdocs/file.php then, from within that file.php, DOCUMENT_ROOT is /home/groups/myproject/htdocs/ I think it would be $_SERVER['DOCUMENT_ROOT'] in newer versions of PHP. ---John Holmes... > -Original Message- > From: To

[PHP] Problem with images

2002-10-01 Thread Sirio-7G
I've installed GD library on my server and I've compiled PHP with GD support, but some functions like 'imagecreate' doesn't work. I've the same fatal-error: Fatal error: Call to undefined function: imagecreate() How can I solve it? Best Regards Alessandro __ Ota itsellesi luotettava kotima

Re: [PHP] PHPTriad on Windows XP?

2002-10-01 Thread J Wynia
PHPTriad 2.2 will work on XP. No, Sokkit is not out yet. Sokkit will most definitely work on XP as that's what I'm developing it on. Stephen wrote: > Is this even out yet? I have PHPTriad 2.2 I'm pretty sure. > > - Original Message - > From: "Tyler Longren" <[EMAIL PROTECTED]> > To: "St

Re: [PHP] PHPTriad on Windows XP?

2002-10-01 Thread Tyler Longren
Did you even try to find the answer by yourself? You could have found the answer to this on the PHPTriad(now called Sokkit) homepage: http://www.phpgeek.com/sokkit/ The answer is listed under "Sokkit Requirements". tyler On Tue, 1 Oct 2002 17:19:13 -0500 "Stephen" <[EMAIL PROTECTED]> wrote: >

RE: [PHP] Call HTML from php

2002-10-01 Thread John W. Holmes
Why not fix the problem instead of working around it. I think you already solved this, but the error message tells you exactly what's wrong. Headers are sent when you output anything to the browser, and your output started on redirect.php:3, that means line 3. ---John Holmes... > -Origina

Re: [PHP] document_root

2002-10-01 Thread Chris Shiflett
*cringe* No, document root is a defined directory, not an attribute of a specific file. It is used to map the root URL to a directory on the filesystem. For example, when you request http://www.google.com/, that final slash in the URL is the resource you are requesting. In this case, it is the

  1   2   3   >