FW: [PHP-WIN] Problems! 4.01pl2 to 4.04pl1 upgrade

2001-01-23 Thread Mangiola Nunzio Datavia
> If you are having a problem for an undefined variable on > line such as: $submit > > Then all you do is put in: if (isset($submit)) > > That should sort it out. For your other other I have no clue. > > -- > From: Warwick Chapman > (Budgee)[SMTP:[EMAIL PROTECTED]] > Sent:

[PHP-WIN] Exec not working still

2001-01-23 Thread Michael Cartmel
Has anyone got exec/passthru/system to work under Win2k? smime.p7s

Re: [PHP-WIN] Problems! 4.01pl2 to 4.04pl1 upgrade

2001-01-23 Thread Michael Cartmel
I had a similar problem... seems to be picky about the session.save_path in php.ini. Changed it from c:\temp to c:/temp and it fixed it. Not sure what the issue is there... Cheers, -mic - Original Message - From: "Warwick Chapman (Budgee)" <[EMAIL PROTECTED]> To: <[EMAIL PROT

Re: [PHP-WIN] RES: PHP4 / WinNT 4 / Oracle 7.3 via ODBC

2001-01-23 Thread Jean-Christophe Le Brun
Hi Carlos ! >Thanks a lot for the help!! I´ve reinstalled Oracle Cliente (version 8.1.5.0.0) and PHP 4.0.4pl1 and tried Jean-Christophe suggestion, with success: Good ! If you find a way to bypass the $Connection from tnsnames.ora, send a mail, i would prefer to use the alias done with Orcale

[PHP-WIN] Problems! 4.01pl2 to 4.04pl1 upgrade

2001-01-23 Thread Warwick Chapman (Budgee)
Hi Sessions don't seem to be working with 4.04pl1? Any ideas. I had to turn off display errors to get rid of Undefined variable problems and errors about session data not being able to be tread from the files, which are not being created? Please help any ideas? track_vars is on and register_g

Re: [PHP-WIN] Possible to make an array from a post form?

2001-01-23 Thread phobo
Don't worry, I thought I had tried this, but had made a mistake, and have this working :) Yay :) Is there anything I shuold know about uising arrays in HTTP_POST_VARS? Siggy - Original Message - From: "phobo" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, January 24, 2001

[PHP-WIN] Possible to make an array from a post form?

2001-01-23 Thread phobo
Is there a way to make an array from a post form, like this? Siggy

[PHP-WIN] RE: PDF Problem

2001-01-23 Thread Nold, Mark
- Disclaimer: The information contained in this email is intended only for the use of the person(s) to whom it is addressed and may be confidential or contain legally privileged information. If you are no

Re: [PHP-WIN] Random Code

2001-01-23 Thread phobo
Nah the values are being stored in a transaction log type thing ... Siggy - Original Message - From: "Asendorf, John" <[EMAIL PROTECTED]> To: "phobo" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Wednesday, January 24, 2001 10:00 AM Subject: RE: [PHP-WIN] Random Code > "These values A

php-windows Digest 23 Jan 2001 21:00:32 -0000 Issue 411

2001-01-23 Thread php-windows-digest-help
php-windows Digest 23 Jan 2001 21:00:32 - Issue 411 Topics (messages 5149 through 5176): Re: createing a php script with reloadable modules. 5149 by: phobo 5152 by: kill-9 5164 by: Larry Forrister 5167 by: John McCreesh 5168 by: Gonzalo Vera Re: Auto

RE: [PHP-WIN] Random Code

2001-01-23 Thread Asendorf, John
"These values ARE being stored in a database; however, once this database gets to a million or so rows, it would take a very long time to check it doesn't overlap, wont it?" Well, you **could** make a database of ALL possibilities and delete each possibility as it is used :) Then the program wo

Re: [PHP-WIN] Random Code

2001-01-23 Thread Sigurd Magnusson
I used to generate apparent 'random' by having a function like x = (x + static-largishprimenumber) mod maxrange (eg x = (129123 + 12391) mod 1,000,000,000 That always seemed to work for me, and it would take 1000,000 tries to reuse the values, wouldnt it?? I'd prefer to not go 00

Re: [PHP-WIN] Random Code

2001-01-23 Thread phobo
Oops, 36^8 :) This value would only have to generated perhaps a few times an hour, but should't take more than a second to compute. These values ARE being stored in a database; however, once this database gets to a million or so rows, it would take a very long time to check it doesn't overlap, wo

RE: [PHP-WIN] Random Code

2001-01-23 Thread Svensson, B.A.T.
Just realized a serious problem with this approach: it will, due to its nature, run very quickly towards +oo ... hence it is not proper to implement as a computer program. >-Original Message- >From: Svensson, B.A.T. [mailto:[EMAIL PROTECTED]] >Sent: Tuesday, January 23, 2001 9:10 PM >To:

Re: [PHP-WIN] Page names as variables?

2001-01-23 Thread Ed Meyer
RE: [PHP-WIN] Page names as variables?That's perfect... Now I can get everyone off my back :-) Thanks! Ed Meyer Smarts Broadcast Systems Actually, for something like this, you are going to want to use: $REQUEST_URI as the former does not include any GET variables whereas the latter wi

RE: [PHP-WIN] Random Code

2001-01-23 Thread Svensson, B.A.T.
If one need to create multiple numbers per second (that is cal;culation time is critical), then I would suggest, in accordance to my previous letter, that one should pick a functions that is guaranteed to be constantly growing, that is that the property "x1>x2 -> f(x1)>f(x2)" always will hold true

RE: [PHP-WIN] Random Code

2001-01-23 Thread Svensson, B.A.T.
Indeed a very interesting question you put forward (and probably OOT too :-) In programming there does not exist "The Best Way". "Best" always depends on what you consider to be important and less important - that's why programmers most often writes same piece of code in different ways, and that'

[PHP-WIN] PDF Problem

2001-01-23 Thread Conover, Ryan
I keep getting the following error on a line of the funciton below function marketingoutput($top, $pdf){ $z=0; $currentline=$top-$this->standardboxheight; while ($z<$this->zarrayofboxes){ $tempbox2=$this->arrayofboxes[$z];

Re[2]: [PHP-WIN] createing a php script with reloadable modules.

2001-01-23 Thread Gonzalo Vera
I wonder at what kind of script you have, that needs to be run absolutely nonstop 24/7, but I'll share some "wild guesses": 1. It is not run by a web server, otherwise it would timeout the server (which doesn't mean that it doesn't have relation with your web pages). Your 24/7 script is being com

Re: [PHP-WIN] createing a php script with reloadable modules.

2001-01-23 Thread John McCreesh
In article <003e01c0852c$b4236e50$064af2d4@kill9>, kill-9 writes >btw thanks for all your feelings. having someone to hash this out with is >helping. If someone has a cached copy of your page in their browser / their proxy server cache / their ISP's proxy server cache / etc, I don't know of any

RE: [PHP-WIN] Random Code

2001-01-23 Thread Asendorf, John
Oh, I didn't think of transaction time... this is a very good question. And a very good project for someone else to look in to - John Asendorf - [EMAIL PROTECTED] Web Applications Developer http://www.lcounty.com - NEW FEATURES ADDED DAILY! Licking County, Ohio, USA 740-3

Re: [PHP-WIN] Random Code

2001-01-23 Thread Larry Forrister
Do you mean W3E4-22ER would be valid? If so there would be 36^8 (2,821,109,907,456) possible values. A truly random generator algorithm cannot guarantee uniqueness. I'm guessing what you want is to generate each possible value once in a pseudo-random order. Would just apparent randomness suf

Re: [PHP-WIN] createing a php script with reloadable modules.

2001-01-23 Thread Larry Forrister
Is this running under a web server? How is it running 24/7? ~~LF kill-9 wrote: > yes but. when does it cashe the file. at the beginning right when the > script first starts running. isn't there a way to make it hmm refresh the > cashed file reload its self to pick up the changes? what if I a

RE: [PHP-WIN] Page names as variables?

2001-01-23 Thread Boget, Chris
> Is there an easy way to grab the page name or the referring page from > another page? I have a logon script which checks if they are > logged in and dumps them to a logon page if they aren't and I'd like to > have a way for them to get back to where they came from (ie. they walked > away fr

RE: [PHP-WIN] PHP4 / WinNT 4 / Oracle 7.3 via ODBC

2001-01-23 Thread Svensson, B.A.T.
First an ignorant remark/question (which really have nothing to do with your current problem): The subject line says "... Oracle 7.3 ...", and you are trying to communicate with this server via a DLL for Oracle version 8.x(?). Is this DLL backwards compatible with Oracle version 7.x? About your

RE: [PHP-WIN] Page names as variables?

2001-01-23 Thread Robert Collins
Try the $HTTP_REFERER -Original Message- From: Ed Meyer [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 23, 2001 10:14 AM To: [EMAIL PROTECTED] Subject: [PHP-WIN] Page names as variables? Is there an easy way to grab the page name or the referring page from another page? I have a l

[PHP-WIN] WinNT 4.0 wrkst / Oracle 8.1.6 - succeed

2001-01-23 Thread Andris Jancevskis
Sorry for second mail: I use PHP v.4.0.3 cgi version on iis4.0 Hi, It may interested someone: I have succesfully connected to Oracle: use ORACLE 6i runtime connect to Oracle 8.1.6 from winnt4.0 workstation SP6 Code I use: full server description: Oracle8i Enterprise Edition Release 8.

[PHP-WIN] WinNT 4.0 wrkst / Oracle 8.1.6 - succeed

2001-01-23 Thread Andris Jancevskis
Hi, It may interested someone: I have succesfully connected to Oracle: use ORACLE 6i runtime connect to Oracle 8.1.6 from winnt4.0 workstation SP6 Code I use: full server description: Oracle8i Enterprise Edition Release 8.1.6.0.0 - 64bit Production PL/SQL Release 8.1.6.0.0 - Production

[PHP-WIN] Page names as variables?

2001-01-23 Thread Ed Meyer
Is there an easy way to grab the page name or the referring page from another page? I have a logon script which checks if they are logged in and dumps them to a logon page if they aren't and I'd like to have a way for them to get back to where they came from (ie. they walked away from their desk

[PHP-WIN] RES: PHP4 / WinNT 4 / Oracle 7.3 via ODBC

2001-01-23 Thread Carlos Correa Goncalves
Hi all, Thanks a lot for the help!! I´ve reinstalled Oracle Cliente (version 8.1.5.0.0) and PHP 4.0.4pl1 and tried Jean-Christophe suggestion, with success: -- "); while(OCIFetch($result)) { $CC = OCIResult($result,1); $CCNome = OCIResult($result,2); echo('' . $CC . '' . $CC

Re[2]: [PHP-WIN] No More Crashes!

2001-01-23 Thread Gonzalo Vera
Yes, I'll file a bug report. Thanx! Gonzalo. > On 22.01.01 at 11:47 Gonzalo Vera wrote: >> 1. With PHP running as an apache module, launching applications from >> context menus freezes explorer, messing up the display by having to >> kill the application and having Win run it again (thus, losi

RE: [PHP-WIN] Random Code

2001-01-23 Thread Asendorf, John
My guess is that you would need to create the random number and then check that number against a database of saved "random" numbers, to insure uniqueness. If someone would like to critique it, please do I wrote this just for you because I was curious... - John Asendorf -

[PHP-WIN] True Type Fonts

2001-01-23 Thread Mariusz Buk
I'm using PHP4 on WinNT with latest Apache... in documentation is written I should use freetype library to be able to use ttf functions... i can't get this library, becouse www.freetype.org has some troubles with it's web page. Could somebody help me with this? Thx Mariusz -- PHP Windows Ma

[PHP-WIN] PHP error accessing ORA 8i

2001-01-23 Thread Leon Santos Filho
Hello! I'm a beginner in PHP and I try to access an Oracle 8i database through OCI and ORACLE extensions, but it always generate an Access Violation Error in module ORANLS8.DLL. PHP is running in following configuration : PIII - 800Mhz w/ 64 mb ram Win98 SE w/ PWS client Ora8i PHP code using Or

Re: [PHP-WIN] createing a php script with reloadable modules.

2001-01-23 Thread kill-9
yes but. when does it cashe the file. at the beginning right when the script first starts running. isn't there a way to make it hmm refresh the cashed file reload its self to pick up the changes? what if I add a new module while it is running. how do I get it to pick up this new module. what i

Re: [PHP-WIN] No More Crashes!

2001-01-23 Thread Arve Bersvendsen
On 22.01.01 at 11:47 Gonzalo Vera wrote: > 1. With PHP running as an apache module, launching applications from > context menus freezes explorer, messing up the display by having to > kill the application and having Win run it again (thus, losing all > tray icons). > > 2. With PHP as module, sev

AW: [PHP-WIN] Automating web data input and extraction

2001-01-23 Thread Michael Rudel
Hi Emmanuel, I think a possible way is to create a JavaScript that opens the site. You can now enter the values in the Form-fields (JavaScript). Then you Post it. Now you have your result page. Do with it what you want (e.g. parse it ...). Hope this helps. Greetinx, Mike (Germany) -Urspr

Re: [PHP-WIN] createing a php script with reloadable modules.

2001-01-23 Thread phobo
I can't see why PHP would crash? When it runs a PHP file, it would open the entire file and cache the whole thing surely ? In the .05ms that it takes to overwrite a file, it would be apache not PHP i would say, that would cause problems ... ? Siggy - Original Message - From: "kill-9" <[E

php-windows Digest 23 Jan 2001 08:55:32 -0000 Issue 410

2001-01-23 Thread php-windows-digest-help
php-windows Digest 23 Jan 2001 08:55:32 - Issue 410 Topics (messages 5144 through 5148): Re: fwrite is adding extra text, why? and where is it coming from 5144 by: alain samoun Automating web data input and extraction 5145 by: Emore, Emmanuel Re: [PHP-Win2000 IIS5] Fil

[PHP-WIN] Random Code

2001-01-23 Thread Sigurd Magnusson
Whats the best way to make a completely random, unique code in the format "ABCD-1234" where each of the 8 characters can be alphanumerc; 0-9,A-Z... I thought about generating a 36^4 number, converting to to base '36', and repeating the process. What's a good way to ensure the code is not repeat