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
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
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
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
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 that
Gesendet: 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 down
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 on
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)
&g
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
> > 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 spe
that does not work since cookie will just be available on the next
page..
try
tesp.php
a hack could be just to try to set one, like
>
> if (setcookie(...)) {
> "the user has cookies";
> } else {
> echo "No cookies";
> exit;
> }
--
PHP General Mailing List (http://www.p
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
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
rungliche Nachricht-
> Von: [EMAIL PROTECTED] [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
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
> 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-
>
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
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
http://conf.php.
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
you could attach a random number as a get parameter
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]
> Betreff: [PHP] caching
>
>
> Ok I am
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 "\n";
but it outputs
while apache says in its logfile:
217.81.41.121 - - [29/Jun/2001:12:43:59 +0200] "GET / HTTP/1.1" 200 2028
i'm starting to get
there is an option in php ini :
session.referer_check =
which should fit your needs
not sure how to use it, but probably one of the php-developers on this
list
can assist...
sebastian
> -Ursprüngliche Nachricht-
> Von: adam (dahamsta) [mailto:[EMAIL PROTECTED]]
> Gesendet: Mittw
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
er Productions - Professional PHP Hosting
> Hosting - Dedicated Servers - Design - Programming
> http://www.toolshed51.com
>
> -Original Message-
> From: Sebastian Stadtlich [mailto:[EMAIL PROTECTED]]
> Sent: Friday, June 22, 2001 6:36 AM
> To: [EMAIL PROTECTED]
&
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
Apache/1.3
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 Nach
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
Apache/1.3
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.
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 *
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 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 i
>
> 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 serve
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();
fu
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 do
> writing an apache module that did the following:
>
> When a file with .pdf is asked for it looks to see if the user is
> currently in a session (aka 'logged on'). I'm guessing the module can
> know this by using the HTTP headers. Figuring we can look to see if
> its giving a cookie with the
this one uses pipe
$command=`find $verzeichnis. -iname $DateiPattern |sort -f`;
$verzeichnisliste = explode ("\n",$command);
sebastian
-Ursprungliche Nachricht-
Von: Martin Kong [mailto:[EMAIL PROTECTED]]
Gesendet: Mittwoch, 21. Februar 2001 15:45
An: [EMAIL PROTECTED]
Betreff: [PHP
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
> -Ursprüngliche Nachricht-
> Von: Rick Hodger [mailto:[EMAIL PROTECT
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
fil
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 oth
i never heard anything about speed difference,
but as far as i remember OCI supports some things
that don't work with ORA ( lobs, stored procedures,pl/sql,etc)
and i think OCI is still improved and developed while ORA is not.
Sebastian
> -Ursprungliche Nachricht-
> Von: Reuben D Budiardj
> 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
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
i just installed php on IIS5.01.
i placed a file phpinfo.php in the webroot
---
--
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 what this include t
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 $
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 wi
why don't you rename your include files to
*.inc.php
so they are parsed by php and no valuable information would be given out.
also you could use folowing lines in a .htaccess
# .inc-files not readable:
Order allow,deny
Deny from all
sebastian
> -Ursprüngliche Nachricht-
[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
Hi
i think it's useless since http is stateless, but you can find one here :
http://www.php-homepage.de/scripts/source.html?scriptid=20
Sebastian
> -Ursprüngliche Nachricht-
> Von: Gregor [mailto:[EMAIL PROTECTED]]
> Gesendet: Donnerstag, 11. Januar 2001 18:29
> An: [EMAIL PROTECTED]
>
Hi All
my isp mumbels something about trouble with header changes with php since
it's
running in CGI mode. I diffuse remember a way to connect to a webserver with
telnet on port
80 and then typing something to request a page.. could somone please tell me
what that something
was? or a page that p
if your server is not in safemode or as stupid cgi:
http://www.php.net/manual/html/function.ignore-user-abort.html
Sebastian
> -Ursprüngliche Nachricht-
> Von: DonJuan [mailto:[EMAIL PROTECTED]]
> Gesendet: Donnerstag, 11. Januar 2001 14:56
> An: [EMAIL PROTECTED]
> Betreff: [PHP] runni
50 matches
Mail list logo