[PHP] MYSQL_CLIENT_COMPRESS not working?

2003-02-28 Thread Sebastian Stadtlich
Hi all Is this a Bug? or a feature that i don't understand ? This is what I do: mytest.php : -- $mycmsconn=mysql_connect($dbip,$dblogin,$dbpass,false,MYSQL_CLIENT _COMPRESS) ; $mycmsdataquery=SELECT * FROM foo; $mycmsdataresult = mysql_query($mycmsdataquery,$mycmsconn);

[PHP] crashed apache-processes eat up my cpu

2002-11-21 Thread sebastian stadtlich
Sorry it is not 100% sure that this PHP relatet, but since PHP is the only thing i run on the Server it is very likely : Every day i find strange httpd-processes that eat up my cpu power. # /top 336 nobody17 0 6012 6012 4944 R95.9 0.5 55:49 httpd 32745 nobody19 0 6324 6324

[PHP] please don't flame : it's an editor-question

2001-12-06 Thread Sebastian Stadtlich
Hi I use PHPed for ages now, since it has one feature that i definitely need : if i have used the variable $fooBar somewhere in a script, then i just have to type '$fo' and the editor shows me all valiables that start with '$fo' and i just have to hit Enter to use it. I know of pleanty editors

[PHP] Any known reason, why 'ob_start(ob_gzhandler)' does not work?

2001-11-09 Thread Sebastian Stadtlich
Hi all I have two scripts on the server in the SAME directory. both have this line in the beginning: ob_start(ob_gzhandler); in one script it works. in the other it does not... it buffers, but does not zip the html... the one where it does not work is VERy huge and does lots of stuff,

[PHP] need help with compiling apc-cache

2001-09-05 Thread Sebastian Stadtlich
Hi I'm completely desperate. it looks i'm missing something when i try to install the cache on my server :-[ maybe anyone can have a quick look and point me to my error. Thanks in advance.. i try to install APC on my redhat 7.1 server. I use apache apache_1.3.19 and built php in it. ( is

[PHP] AW: HELP : How to suggest a download-filename for IE on MAC

2001-08-30 Thread Sebastian Stadtlich
: Donnerstag, 30. August 2001 07:11 An: Sebastian Stadtlich Betreff: re: HELP : How to suggest a download-filename for IE on MAC I just submitted my results from a download script test. You can see the full results in the archive search force download. The short version is: IE for Mac

[PHP] HELP : How to suggest a download-filename for IE on MAC

2001-08-29 Thread Sebastian Stadtlich
HELP i'm desperate I try to write a downloadskript, which results in the fillowing URL : http://www.myserver.de/securedownload.php?pdfdownload=checkliste3.pdf yes you guessed right : securedownload does some auth-stuff it works on win2000 IE 6.0,5.5 NE 6.0 AND 4.76. it also works well

[PHP] PHP/Sendmail interaction : how to get rid of wrong emails

2001-08-28 Thread Sebastian Stadtlich
Hi all I'm facing the Problem that lots of my users are too stupid to write their email correct. When i mail them with php a return email is send to me by their mailserver, which results in LOTS of mail for the root account. Can i get sendmail to put the returned emails in a file? so that i can

AW: [PHP] PHP/Sendmail interaction : how to get rid of wrong emails

2001-08-28 Thread Sebastian Stadtlich
any hint where to find the perl mod or some php-code that contacts mailservers like you described? -Ursprüngliche Nachricht- Von: Jon Farmer [mailto:[EMAIL PROTECTED]] Gesendet: Dienstag, 28. August 2001 16:14 An: Sebastian Stadtlich; 'Php-General (E-Mail) Betreff: RE: [PHP] PHP

AW: [PHP] Alternative to phpMyAdmin

2001-07-13 Thread Sebastian Stadtlich
one, but postgresql is 5432) and therefore where you are is not an issue. Well, the issue is, that normally, connects to mysql are NOT allowed from any arbitrary host. Normally, in safe setups, network connections to mysql are not possible. And if they are, you need to specify a

AW: [PHP] Re: Detection of no cookies?

2001-07-12 Thread Sebastian Stadtlich
that does not work since cookie will just be available on the next page.. try tesp.php ? if (!(isset(cookietest))) { setcookie(blahblah...); //new request, so cookie will be send to server header(Location: test.php?cookietest=yes); exit; } else { if

AW: [PHP] Speed of loding PHP pages

2001-07-11 Thread Sebastian Stadtlich
recently heard of a review which measured that IE 6(on win) was 3 times faster with 'tricky'-pages then everything else on win linux. looking at HTML specifications it also won with 93% of supported html-standard the review as in a linux mag/webpage ( even opera which runs VERY nice in

AW: [PHP] Oracle question

2001-07-10 Thread Sebastian Stadtlich
oracle does not have an autoincrement. it has the more powerfull concept of TRIGGERS unfortunatelly you have to write them in pl/sql or java... have a look on the net for oracle trigger tutorial or you can find a super oracle-feature-documentation here : http://conf.php.net/oci2

[PHP] how to use/compile ssl with apache and php?

2001-07-10 Thread Sebastian Stadtlich
I had to recompile apache on my redhat 7.1, because the default compilation missed some 'features'. I acomplished that since it was well documented in the php readme/install. But now i need ssl in that apache too. is there a EASY way to do that? a small tutorial? all i found with google were big

AW: [PHP] global.asa or application.cfm equivalent?

2001-07-10 Thread Sebastian Stadtlich
Hello, is there an equivalent of the global.asa (ASP) or application.cfm nope , but usually you can work around that by a sessionstuff b persistent DB connections + storing information there c enviroment vars d ... what do you need it for? sebastian -Ursprüngliche Nachricht-

AW: [PHP] Access to oracle db

2001-07-10 Thread Sebastian Stadtlich
hi did you specify the third 'optional' parameter? OCILogon (string username, string password [, string db]) db should be your tnsname on windows i could not make it without that parameter. it should be set as enviroment variable ORACLE_SID, but that did not work for me on win( it does on linux

AW: AW: [PHP] Access to oracle db

2001-07-10 Thread Sebastian Stadtlich
] [mailto:[EMAIL PROTECTED]]Im Auftrag von Parisi Giuliano Gesendet: Dienstag, 10. Juli 2001 17:49 An: Sebastian Stadtlich Cc: 'Php-General (E-Mail) Betreff: Re: AW: [PHP] Access to oracle db HI, I use this PHP call to open an Oracle db connection: ora_logon(sr_tst@ORATEST , sr_tst

AW: [PHP] Image manipulation

2001-07-10 Thread Sebastian Stadtlich
http://www.php.net/manual/en/function.getimagesize.php sebastian -Ursprüngliche Nachricht- Von: Kevin Pratt [mailto:[EMAIL PROTECTED]] Gesendet: Dienstag, 10. Juli 2001 19:05 An: [EMAIL PROTECTED] Betreff: [PHP] Image manipulation Does any one know if you can check the

AW: [PHP] Very urgent!!!

2001-07-06 Thread Sebastian Stadtlich
have a look here : http://www.php.net/manual/en/function.ocinewdescriptor.php second example should answer all your questions... sebastian -Ursprüngliche Nachricht- Von: Duy B [mailto:[EMAIL PROTECTED]] Gesendet: Samstag, 9. Januar 1999 00:16 An: [EMAIL PROTECTED] Betreff: [PHP]

AW: [PHP] caching

2001-07-03 Thread Sebastian Stadtlich
you could attach a random number as a get parameter img src=test.php?nothing=2637846294626378264 that image would hardly ever be cached... sebastian -Ursprüngliche Nachricht- Von: Jon Yaggie [mailto:[EMAIL PROTECTED]] Gesendet: Donnerstag, 31. Mai 2001 00:36 An: [EMAIL PROTECTED]

[PHP] how to determine size of gz-handler output

2001-06-29 Thread Sebastian Stadtlich
Hi all I'd like to know how small my content gets when i use ob_gzhandler. so far i tried $cont=ob_get_contents(); $length=strlen($cont); echo !-- $length --\n; but it outputs !-- 17280 -- while apache says in its logfile: 217.81.41.121 - - [29/Jun/2001:12:43:59 +0200] GET / HTTP/1.1 200

AW: [PHP] Help with PHP/Oracle and serializing data

2001-06-26 Thread Sebastian Stadtlich
NO NO NO NO NO NO NO NO NEVER use long varchar2 for 4k or clob for longer does long still exist in oracle9 i thought it is supposed to be left out ( as soon as possible ) to your question at first : why don't you try to overwrite the php session handling funktions? serialisation is done

AW: [PHP] apache and php ate up all my memory :-[

2001-06-25 Thread Sebastian Stadtlich
Message- From: Sebastian Stadtlich [mailto:[EMAIL PROTECTED]] Sent: Friday, June 22, 2001 6:36 AM To: [EMAIL PROTECTED] Subject: [PHP] apache and php ate up all my memory :-[ Hi all Probably some Apache/mysql/php-Admin gurus can give me a hint : i just moved a website to it's own

[PHP] apache and php ate up all my memory :-[

2001-06-22 Thread Sebastian Stadtlich
Hi all Probably some Apache/mysql/php-Admin gurus can give me a hint : i just moved a website to it's own server ( my first one). now apache had eaten up all physical and virtual memory some httpd had allocated 45MB of RAM, memory ran out myqsl crashed... php is compiled in to apache

AW: [PHP] .htaccess logout sequence

2001-06-20 Thread Sebastian Stadtlich
the key to logout is the realmname. the browser will always send password etc again to the same realm as long as you don't close it. extend the realmname by a random number or timestamp and store it in a session or wherever. to logout change that realmname... sebastian -Ursprungliche

[PHP] apache and php ate up all my memory :-[

2001-06-19 Thread Sebastian Stadtlich
Hi all Probably some Apache/mysql/php-Admin gurus can give me a hint : i just moved a website to it's own server ( my first one). now apache had eaten up all physical and virtual memory some httpd had allocated 45MB of RAM, memory ran out myqsl crashed... php is compiled in to apache

RE: [PHP] Help! OCIFetchInto does not work at all

2001-05-17 Thread Sebastian Stadtlich
please try this : OCIFetchInto ($stmt, $row, OCI_ASSOC); usually i also use a second modifier OCI_ASSOC+OCI_RETURN_NULLS sebastian I'm tryibg to execute a simple query on Oracle: $cn=OCILogon($DB_USER, $DB_PASSWORD, $DB_NAME); $stmt=OCIParse($cn,select *

AW: AW: [PHP] Kill a cookie....

2001-05-17 Thread Sebastian Stadtlich
LOOK at the manual!!! a cookie new cookie value is just accessible on the next page sebastian -Ursprungliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Gesendet: Donnerstag, 17. Mai 2001 11:56 An: [EMAIL PROTECTED] Betreff: Re: AW: [PHP] Kill a cookie

AW: [PHP] Kill a cookie....

2001-05-16 Thread Sebastian Stadtlich
you kill a cookie by setting an emty one with the same name www.php.net/setcookie sebastian -Ursprungliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Gesendet: Mittwoch, 16. Mai 2001 18:39 An: [EMAIL PROTECTED] Betreff: [PHP] Kill a cookie I am

AW: [PHP] remotly include file

2001-05-08 Thread Sebastian Stadtlich
include(http://www.somehost.ext/path/to/include/include.php;); i don't think that is a goob idea... if it works ( what i'm not sure ) you would get the complete output of the file, BUT in that remote file you would miss the parameters,etc from the calling script. is it is on the same server (

AW: AW: [PHP] remotly include file

2001-05-08 Thread Sebastian Stadtlich
i think the proplem is, that within the included file there are other files included (and so on...). Error Message: Warning: Failed opening 'inc/var_general.inc.php3' for inclusion (include_path='') in /opt/... i think you gave the answer yourself. you need to use the full path to the

[PHP] bug with sessions and output-compression?????

2001-04-27 Thread Sebastian Stadtlich
Hi I just rewrote a website to use sessions all over the site. on one page i used output-compression just to test it. if i use MSIE everything just works fine, BUT: if i use Netscape WITHOUT cookies the PHP does not rewrite the relative urls here is the code of the page : session_start();

AW: [PHP] Passing values from ASP to PHP

2001-03-01 Thread Sebastian Stadtlich
Hi you could try to ad a filter for 'exactfilename.asp' and assign it to php. i forgot most of my iis knowledge, but as far as i recal the .asp filter can be changed on per-directory basis. putting exactfilename.asp in the filter- tab higher then the asp one should map it to php it can be

[PHP] download prompt not woking on macintosh

2001-02-14 Thread Sebastian Stadtlich
Hi all I tried to build a script that displays the 'save-file dialog', because the files that should be downloaded are huge 32bit jpeg for printing. the problem is that it works in IE on PC, Netscape on PC and MAC, but not in IE on a MAC. the files are jpeg, IE on Mac either tried to open the

AW: [PHP] Bad Practices

2001-02-14 Thread Sebastian Stadtlich
OR you could tell apache to parse everything that ends with .inc with php. you can name it .inc .linux .linuxsucks .microsoftsucks (you'll need to have access to http.conf or .htaccess+right to override ...) sebastian -Ursprngliche Nachricht- Von: Rick Hodger [mailto:[EMAIL

[PHP] can i install apache php-module AND php-cgi on the same windows-apache?

2001-02-08 Thread Sebastian Stadtlich
i need it, because i want to do some image genaration and that is broken in win32 in the apache module. i would like to have a different ending for these skripts that need to be executed as CGI... it would be easy possible with IIS, but i still would prefer apache, since with IIS there are

AW: [PHP] gethostbyaddr timeout

2001-02-01 Thread Sebastian Stadtlich
I'm at the end of my rope here... I have a 100,000+ line file containing IP addresses. For each line, I need to run a "gethostbyaddr" command. However, some lines take a long time to timeout. Is there a way I can decrease this timeout period to one or two seconds? i don't know

[PHP] W2K Pro, IIS5.0 + PHP4.4 install trouble....

2001-01-30 Thread Sebastian Stadtlich
i just installed php on IIS5.01. i placed a file phpinfo.php in the webroot --- ?php phpinfo(); ? -- whatever i try i always get the following error : Warning opening 'c:\inetpub\wwwroot\phpinfo.php' for inclusion (include_path='') in unknown on line 0 i'm not sure

[PHP] could someone point me to a phpbased searchengine crawler?

2001-01-30 Thread Sebastian Stadtlich
I have a tool, that submits our clients pages to popular searchengines. now i need a script that crawls popular searchengines and look where our pages are ranked... i'm sure there must be something like that out there, but i can't find it Sebastian Stadtlich

AW: [PHP] Non-existant folders??

2001-01-23 Thread Sebastian Stadtlich
hi you can do that by assigning custom error pages if you use apache. if you have access to the hhtp.conf place this in it : ErrorDocument 404 /redirect.php is you can't access httpd.conf you can hope that you are allowed to overide it by a .htaccess in redirect.php you need to parse the

AW: [PHP] url hide

2001-01-22 Thread Sebastian Stadtlich
you can do that by using a frames site that just has 1 frame(=the 'hidden' url). this is very weak , because the user just has to take a look at page properties to see the real URL. another aproach would be to wrap all access to your server through apache 404 to a php that opens the desired url

AW: [PHP] problem with rewind

2001-01-11 Thread Sebastian Stadtlich
[Sebastian Stadtlich] you are missing 2 times a ' $file = fopen (' http://ultra10:9000/cgi-bin/query?mss=search http://ultra10:9000/cgi-bin/query?mss=search ', "r"); ok? Sebastian Hi! I try use this code, but not work $file = fopen ( http://ultra10:9000/cgi-bin/query?mss=s