[PHP-WIN] Creating files with PHP - need help

2002-10-08 Thread Sviss
t; File 54.txt gets created but not at the intented location, instead it gets created in htdocs. Can anyone help me by telling me how I'm suppose to do this? I'm running PHP on Win98 with Apache. ~ Sviss -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-WIN] passthru(), system() and exec() - help please

2002-02-24 Thread Sviss Cobazor
e combo as me has gotten this/these function(s) to work? Please let me know asap if you know how to make this work, I really need it. Thanks... ~ Sviss [EMAIL PROTECTED] -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] passthru(), system() and exec() - help please

2002-02-25 Thread Sviss Cobazor
PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Show us the part of the script where you use these functions. > A+ > Alain > > > -Original Message- > From: Sviss Cobazor [mailto:[EMAIL PROTECTED]] > Sent: Sunday, February 24, 200

[PHP-WIN] passthru() on Win98 ??

2002-02-25 Thread Sviss Cobazor
o get this to work please note that an example from WinNT or Win2k may not be of any use because I think that the fact that I'm using Win98 is very important in this case. Please help if you can. Thanks ~ Sviss -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] passthru() on Win98 ??

2002-02-25 Thread Sviss Cobazor
eb 2002 23:20:35 GMT > Server: Apache/1.3.20 (Unix) PHP/4.0.6 mod_ssl/2.8.4 OpenSSL/0.9.6 > X-Powered-By: PHP/4.0.6 > Transfer-Encoding: chunked > Content-Type: application/pdf > > This will tell you if the data is indeed being transferredhope it helps. > Court >

Re: [PHP-WIN] passthru() on Win98 ??

2002-02-25 Thread Sviss Cobazor
you should now see something like the following: > HTTP/1.1 200 OK > Date: Tue, 26 Feb 2002 00:46:52 GMT > Server: Apache/1.3.20 (Unix) PHP/4.0.6 mod_ssl/2.8.4 OpenSSL/0.9.6 > Connection: close > Content-Type: application/pdf > > *your data should follow the line after the blank

Re: [PHP-WIN] passthru() on Win98 ??

2002-02-26 Thread Sviss Cobazor
now works and sends the result pdf directly to the browser. Thanks for your time Court, I wouldn't have thought of using Telnet myself :) ~ Sviss "Court Shrock" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > To explain the 400 bad

Re: [PHP-WIN] passthru() on Win98 ??

2002-02-26 Thread Sviss Cobazor
nt to it is to be handled as a pdf document (as in load Acrobat Reader)? "Sviss Cobazor" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > It seemed that it was Putty itself that wouldn't work for me (don't ask me > why). > So I

Re: [PHP-WIN] passthru() on Win98 ??

2002-02-26 Thread Sviss Cobazor
f file, > ahead of time. So you want to do something like this: > > $query = 'SELECT strFileFilename FROM tblFiles '; > $query .= "WHERE intFileID=$id"; > $filename = mysql_result(mysql_query($query), 0); > print "Here's the PDF\n"; > ?&

[PHP-WIN] Re: PHP + ODBC

2002-02-26 Thread Sviss Cobazor
ot;" to make it work. Like if odbc_connect wanted somthing else than empty strings, beats me. ~ Sviss "Sebastian Timocea" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hello! > > I am having a really ugly problem her

Re: [PHP-WIN] passthru() on Win98 ??

2002-02-26 Thread Sviss Cobazor
it doesn't matter. Just the > file that you want the .pdf document to be known as to the user's browser. > > At 05:07 PM 2/26/2002 +0100, Sviss Cobazor wrote: > >Hmm in my case there is no file to link to. The pdf document doesn't exist, > >it's generat

Re: [PHP-WIN] passthru() on Win98 ??

2002-02-26 Thread Sviss Cobazor
ke Flynn" <[EMAIL PROTECTED]> wrote in message > >[EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > > Use a slash and then the filename.pdf. So > > > http://whatever/stuff.php?options/desired_filename.pdf would do it. It's > > > ok that you aren't linking t

[PHP-WIN] MySQL auto_increment ??

2002-03-06 Thread Sviss Cobazor
Hi NG. Now I've read page up and page down in the MySQL online manual about how to use the auto_increment. But I didn't find anywhere how to reuse a deleted id created by auto_increment. Say I have a table [users] with 4 columns: | ID | name | username | password | ID is an auto_increment valu

[PHP-WIN] strings with $ sign

2002-03-09 Thread Sviss Cobazor
Hi NG. I just wanted to know how to use strings with $ sign. If a word starts with a dollar sign php will think it's a variable, how can I make " $bla bla and bla $bla " to stay that way? Will this work? " \$bla bla and bla \$bla " -- PHP Windows Mailing List (http://www.php.net/) To unsub

[PHP-WIN] Re: strings with $ sign

2002-03-10 Thread Sviss Cobazor
The thing is that the result html code is to be parsed by HTMLDOC (pdf generator) to create pdf from the webpage. By inserting <-- "some string" !--> into the html, HTMLDOC can catch these strings and act from them. example: $result_html = " ... html code<-- " FOOTER CENTER $LOGOIMAGE footer

[PHP-WIN] session_unregister and _destroy ??

2002-03-14 Thread Sviss Cobazor
;); session_unregister('var4'); session_unregister('var5'); session_destroy(); Note: I'm using Win98/PHP 4.1.1/Apache. Session-auto-start is turned on. ~ Sviss -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-WIN] Re: Session read problem

2002-03-16 Thread Sviss Cobazor
for access after restart use a database or files. ~ Sviss. "Martin" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hmm seems to have a problem here.. > The session is set and everything but when > I tries to access it nothing ha

[PHP-WIN] Problems with session_destroy()

2002-03-16 Thread Sviss Cobazor
ull; $_SESSION['var5'] = null; session_destroy(); Doesn't work either. Note: I'm using Win98/PHP 4.1.1/Apache. Session-auto-start is turned on (should it be off?). ~ Sviss -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-WIN] how and where to turn autocommit off ?

2002-03-18 Thread Sviss Cobazor
help... ~ Sviss -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-WIN] BDB transactions ?

2002-03-19 Thread Sviss Cobazor
inserted although my test function never gets to call commit but instead calls rollback. Anyone have an idea why this is? ~ Sviss. -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-WIN] MySQL-max and transaction isolation level ?

2002-04-14 Thread Sviss Cobazor
READ-UNCOMMITTED, READ-COMMITTED, REPEATABLE-READ, SERIALIZABLE But what does each of these mean? thanks in advance... ~ Sviss -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php