Hello
Try wget 'url'
BR
--
Diese Nachricht wurde von meinem Android-Mobiltelefon mit K-9 Mail gesendet.
If i am right then you have 1.44KB per request ?
BR/Torsten
"Stuart Dallas" schrieb:
>On Friday, 18 March 2011 at 17:36, Nathan Nobbe wrote:
>On Fri, Mar 18, 2011 at 11:19 AM, Stuart Dallas wrote:
>> > On Friday, 18 March 2011 at 17:14, Torsten Rosenberger wrote:
>
"Stuart Dallas" schrieb:
>On Friday, 18 March 2011 at 16:19, Torsten Rosenberger wrote:
>Hello
>>
>> First you need to decide which type of cluster you choose. If you use LVS
>> you can tell the director do bind one client to one server so you do not
&g
Hello
First you need to decide which type of cluster you choose. If you use LVS you
can tell the director do bind one client to one server so you do not need to
replicat session.
If you choose DNS for load balancing you should replicat the session by
database or DRBD or memcache server. Also t
Am Freitag, den 08.08.2008, 09:00 +0100 schrieb Luke:
> Maybe there is some configuration in the server somewhere causing it
> to incorrectly use the tmp?
normla config php.ini
; Whether to allow HTTP file uploads.
file_uploads = On
; Temporary directory for HTTP uploaded files (will use syste
Hello
> on a linux system (Suese 10.2) with 1 GB memory its not possible to upload
> via http a 1 Gb File. Thats no limit problem on my php config. i can look
> the mem stats when uploading and the growing tmp file. If the temp file has
> 900 MB, Main Memory free is 0 and the script aborts an
Hello
I watched docs.google.com an wonder how they can export the
WYSIWYG created content in pdf, word, ...
Are they working with COM() functions on Windows ? to generate the docs
and pdf
or is it possible to create them with XSLT
BR Torsten
--
PHP General Mailing List (http://www.php.net/)
T
Hey
when i upload a file with the move_uploaded_file function the perm on
the uploaded file is 0600
the same work with copy the result ist 0644
with php4 the result was always the same and know with php5 it is
diffrent
i serached in the bug list and found this in the link below
and it is not a b
Am Di, den 15.02.2005 schrieb Brian Dunning um 16:48:
> Is there any way to specify a timeout on a file_get_contents()? I'm
> trying to verify a URL but I don't want to spend more than a few
> seconds on it.
http://de.php.net/manual/de/function.fsockopen.php
not so easy a file_get_contents but
Hello
take a look a the Pear File_Find class
require_once 'File/Find.php';
$fs = new File_Find;
$data = $fs->maptree('my_dir');
$data[0] contains all directorys
$data[1] all files
$ok = 0;
$err = 0;
foreach ($data[1] as $key)
{
if (unlink($k
> and "the named.conf" looks like.?
options {
# The directory statement defines the name server's working directory
directory "/var/lib/named";
# Write dump and statistics file to the log subdirectory. The
# pathenames are relative to the chroot jail.
dump-file "/var/
Hello
is there a way to parse the named.conf file with preg_match_all to get
back an array which looks like
[options][directory] = '/var/lib/named'
[options][forwoarder] = '192.168.0.2'
[zone][mydomain.com][type] = 'master'
[zone][mydomain.com][notify] = 'yes'
[zone][domain2.com][type] = 'slave'
Hello
take a look a gettext in the manual
BR/Torsten
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
hello
> I think that maybe the mouse cursor would be in a form field, scan the
> barcode and the data from the barcode reader would go into the form field of
> which I can issue a OnChange instruction, but I might be completely wrong.
the input field should have the focus
(cursor must in the fi
"VALUES ($data[1],$data[2])";
unset ($sql);
}
only the building of the string consumes more memory in every loop !?
I don't know what to do
BR/Torsten Rosenberger
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hello
I have two servers on with SuSe 8.2 and PHP 4.3.1
and a new one with SuSE 9.0 and Php 4.3.3
i trie to write some data on the new server into a file.
(characters are german ö ä ü)
in the file the data are encoded !?
I trid to find out what mbstring does. no luck
I disabled mbstring in the p
> So that program is writing \r\n as the newline instead of just \n. It's
> still just your editor that's displaying the ^M. Maybe you should get a new
> editor.
i use vim
and the input file don't have \r\n they look normal in vim
after the preg_replace in php then they have the ^M
BR/Torsten
Hello
> Those are \r characters from dos newline (\r\n). Generally they are not
> harmful and many editors can work with them without problems (vim). You
> can use some utility commands to convert to or from dos or unix newlines.
But i'm working under Linux.
I made a test with HTML Template IT
Hello
i try to replace a string in a file
but if i have linefeeds in the string
the output file after the replacement has
^M carachters in in
if the $replacements[] = "test"; has no \n in it
all is OK
$fp = fopen ("draft.html", "r");
$incont = fread ($fp,filesize("draft.html"));
fclose ($fp);
Hello
is it possible to find out the memory consumption on a php script ?
I trie to develop a chat with php and SHM and want to fiend out how
much memory is used to scale the chat server
BR/Torsten
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/un
hello
Am Fre, 2003-07-04 um 09.27 schrieb Tassos T:
> hello,
>
> I faced a problem with apache httpd.conf.
>
> I have a virtual host and i write in httpd.conf that lines :
>
>
> php_value track_vars "Off"
>
trie only Off not "Off"
but i don't know if you cann write this line
in a ifmodule
Hello
i plan to reorganize my CMS code.
The idee is to only use classes for the hole system.
There should be a Core class to handle the whole functionality
(Login, Backend, Permission, Modules)
Every Module as a class (News, Pictures ...)
the construct should be like this
class Core extends
Hello
i'd like to split Benutzer_CRA.php
to get CRA but sometimes the files are called
Benutzer_OVE_CRA.php and therefore the result schould OVE_CRA
how cann i tell preg_split to split the string at the
first occurence of _ and before .php
BR/Torsten
--
PHP General Mailing List (
So i cann't store it in mysql (possible are varchar)
But to compare the perms they must have the type integer
settype ($perm,interger) brings a wrong value in case that the number
is greater as the BIGINT.
Someone have a better solution ? or a way out.
BR/Torsten Rosenberger
--
PHP Genera
Hello
has someone done some benchmarks with Cache scripts?
I wrote a small and easy Script to cache some sites;
I have seen that the Cache needs more time to send the Data
as php alone.
I also tried it with PEAR Cache but there was the same.
On small files PHP witout Caching is faster,
On larg
Hello
I parse the apache logfile and get a date format like this
[03/Feb/2003:09:22:50 +0100]
OK i split it with preg_match and the result is
Array
(
[0] => 03
[1] => Feb
[2] => 2003
[3] => 09
[4] => 22
[5] => 50
)
Now I'd like to convert it in a timestamp
with
Hello
> Warning: Could not find/open font in
> /usr/home/hosting/b4u/public_html/congressos/fenasoft/ProgramacaoListar.php
> on line 5
You must give the absolute path to your font dir
for example /usr/home/hosting/b4u/fontsdir
BR/Torsten
--
PHP General Mailing List (http://www.php.net/)
To
ility to read a part of the file and not the hole
contend a time (like RPC or a database select)
BR/Torsten Rosenberger
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
_length.If there are images in the side this method faild
ob_get_length ignores the images.
I can get the size if i parse the apache log file but there is no way
to assign it to a customers homepage because i use a CMS.
Maybe there are other ways.
BR/Torsten Rosenberger
--
PHP General Ma
)
(RYFM). Nevertheless it's strange that the getenv function does not return
any Value for OSTYPE. I gues that this is a special shell variable the
server does not know anything about.
Regards,
--
Rainer Rosenberger
__
NetAktiv, Beratung &
Hi,
your call to abc_recurse returns the return value of the FIRST call. You
forgot to pass the result back to the calling funtions (below corrected
code).
Regards
--
Rainer Rosenberger
__
NetAktiv, Beratung & Realisierung
Dr. Ra
ux-gnu" whereas
getenv("OSTYPE") returns nothing
Any idea why the simple getenv-solution does not work. Any simpler solution
than calling the shell "echo"?
Regards
--
Rainer Rosenberger
__
NetAktiv, Beratung & Rea
32 matches
Mail list logo