hp :)
cya
Stefan Rusterholz
Am Dienstag den, 11. Juni 2002, um 09:02, schrieb Mario A. Salinas:
> Hi Folks,
>
> Let me begin with the direct question to save you time. If you want
> more info read more about the issue by reading 'The Problem:' below.
>
>
>
> The
gt; Captain Jack Communications
> www.captainjack.com
> [EMAIL PROTECTED]
>
> ----- Original Message -
> From: "Stefan Rusterholz" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Tuesday, May 28, 2002 10:15 AM
> Subject: [PHP] browscap.ini
>
>
>> Hi
Hi
Has anyone got an up to date browscap.ini-file or does someone know
where to get one?
The most up to date browscap I found got it's last update in October 9,
2001 - since then a lot new browser appeared...
best regards
Stefan Rusterholz
--
PHP General Mailing List (http://www.ph
h);
fclose($fh1);
fclose($fh2);
fclose($fh3);
I just tells me that it's not capable of executing one handler multiple
times. If I delete the lines with exec1 and exec2 it works but only
stores the last page...
Who can help?
TIA & greets
Stefan Rusterholz
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I
I search a class to parse mp3-files' id3 tag. I already found one at
upperdesign.com but it seems not to be capable of parsing newer versions
of the id3 tag :(
So does anyone know an already existing class doing that for me?
TIA
Stefan Rusterholz
--
PHP General Mailing List
'anotherusername'
);
The issue is the string after the : (the other part is relativly easy as
you could think)
Is there anyone having a parsing algorithm for that just out of the box?
It would save me reinventing the wheel ;-)
TIA
stefan rusterholz
--
PHP General Mailing List (htt
kind of typo ;-)
(*$HTTP_GET_VARS['save'] works also. And use that quotes $array['E_ERROR']
is not the same as $array[E_ERROR]! The second is a constant and thats not
what you _really_ want even if php normally correctly converts it to a
string)
best regards
Stefan Rusterholz
&g
Thank you for that hint.
Where do I get netpbm?
Is it fast?
What image-formats are supported (jpg, png, gif, ...)?
What operations are supportetd (resizing, antialiasing, merging, writing
text to pictures, etc.)?
best regards
Stefan Rusterholz
- Original Message -
From: "Tony
ot;D'oh, an error has occurred: $message.\n";
echo "It happened in file $file at line $line and it is a $level-error";
}
the most beauty about that is that you can also cover errors you didn't
handle (e.g. if fopen triggers a warning or whatever)
best regards
stef
Is there a place especially meant to make feature-requests to the
php-development team?
TIA
stefan rusterholz
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e
f one or two hundreds of mails. 190 loops shouldn't be
bad.
good luck
stefan rusterholz
- Original Message -
From: "val petruchek" <[EMAIL PROTECTED]>
To: "Stefan Rusterholz" <[EMAIL PROTECTED]>
Sent: Tuesday, January 29, 2002 12:00 PM
Subject: Re: [PHP]
didn't miss the point
best regards
Stefan Rusterholz
- Original Message -
From: "Scott Fletcher" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, January 25, 2002 6:31 PM
Subject: [PHP] How to echo the "/n", "/r", etc... to the HTML dis
- Original Message -
From: "Alexander Weber" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, January 25, 2002 10:34 AM
Subject: Re: [PHP] Correct URL's
> Stefan Rusterholz wrote
> > What was the best way to check, if the give address rea
r me to cover all of them)
-What was the best way to check, if the give address really exists? (I thought on a
test like this:
$exists = true;
@fopen($url) or $exists = false;
return $exists;)
TIA
Stefan Rusterholz
Sorry, I don't have an answer on your question, but a question to you:
I'm currently building a class to browse a page and was interested in the
source of your script. Especially on that part extracting the links.
Would you mind providing the source or is it a commercial?
best rega
t line by tab
-check if record is already in mysql database (only if you have to import
more than once)
-build mysql insert query
-done :)
If you have more questions or more detailed questions just ask
best regards
Stefan Rusterholz
> Now I need this db to make a db content based website. I kn
file (he could have sent an empty form)
-check what extension is needed (.jpg, .gif or whatever)
-move_uploaded_file($userfile, "Your/Directory/".time().$extension)
hope this helps
stefan rusterholz
- Original Message -
From: "Philip J. Newman" <[EMAIL PROTECTED]
preciated!
TIA & best regards
Stefan Rusterholz
n-var is still intact, so it's not just a wrong loaded session var).
My Question is now: is it possible that PHP 4.03pl1 was NOT able to store an object in
a session var?
Best regards and TIA
Stefan Rusterholz
upgrade the RaQ to PHP 4.06 or even 4.1.1 in a
usable time (I don't want to try to compile PHP myself)?
TIA
Stefan Rusterholz
l could
display it on multiple lines).
and here a smaller explanation of the ternary operator (?:):
echo (condition) ? "condition is true" : "condition is false";
if conditions evaluates to true then PHP interprets it like
echo "condition is true";
else
echo &q
\"somename_$var\"] is not set.");
I'll explain, what this code does:
it first checks isset($var) - if this variable (or in this case the indice
of the array) exists, this is true. so if $row["somename_$var"] exists and
is not empty, it does 'echo' the stuff be
et_error_reporting(0) and you'll see PHP's complaints about it)
so PHP converts it to $row['constant'].
You may now understand, that PHP "translates" your code to
$row['coloumname_$variable'] whre $variable is a string and not a variable.
I hope, I could ex
sure that at last for PHP 4.06 or higher this is deprecated. I
don't know why it is still in the manual.
Please correct me if I'm wrong.
best regards
Stefan Rusterholz
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
Since some time there has only one difference left (don't know at which
version it changed):
include causes a warning and require an error on fail. (very useful for
debugging - require your error-handler and include everything else)
best regards
Stefan Rusterholz
- Original Me
Sure you can. Right out from the manual:
If "URL fopen wrappers" are enabled in PHP (which they are in the default
configuration), you can specify the file to be include()ed using an URL
instead of a local pathname. See Remote files and fopen() for more
information.
best rega
> might explain why the variable is not known on the remote server?
>
> Thanks in advance!
> --
> Imar de Vries - [EMAIL PROTECTED] - ICQ 6972439
best regards
Stefan Rusterholz
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, January 14, 2002 10:24 AM
Subject: [PHP] Re: How to get a function backtrace?
> Stefan Rusterholz wrote:
>
> > Im not sure if "function-backtrace" is the correct word for what I need,
so I'll explain:
> > I
ow, what functions have been called. If you know
perl, then adequate function was "caller".
I already searched php.net for it but had no luck for it - so if you please could
point me to the right direction I was very happy.
TIA
Stefan Rusterholz
> > If you want the [ to be escaped in the regex you have to "double-escape"
> it:
> > $x = "\ \["; (sorry, the two \ should be together without a space but my
> > stupid mail-app converts the string thinking it's an network address)
> > so $x will contain "\[" as you want ( the first backslash e
stupid mail-app converts the string thinking it's an network address)
so $x will contain "\[" as you want ( the first backslash escapes the
second).
> foreach ($tags as $currentTag)
> if (preg_match ("/^<\/". $currentTag. "/", $content))
> //
Donnerstag den, 27. Dezember 2001, um 18:36, schrieb Brian Clark:
> * Stefan Rusterholz ([EMAIL PROTECTED]) [Dec 27. 2001 12:12]:
>
>>> Is there a `locale' package you can install for OSX? (There is for my
>>> system.)
>> There is one, but not for PHP, only for the
I forgot to mail that to the mailinglist too...
>> * Stefan Rusterholz ([EMAIL PROTECTED]) [Dec 27. 2001 11:30]:
>>
>>> I did that. For localedef it hasn't an entry. But for locale it has
>>> one.
>>> I don't think that's what you expect
Thanks for your help, but it doesn't work either :-(
Am Donnerstag den, 27. Dezember 2001, um 16:12, schrieb Brian Clark:
> * Stefan Rusterholz ([EMAIL PROTECTED]) [Dec 27. 2001 09:13]:
>
>> Hi
>
> Hiya
>
>> I'm using following code:
>
>> set
r that function to work correct. Does someone
know where to get those files and where to put them in my system?
best regards
Stefan Rusterholz
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
to be equal to the sum of it's content?
I'm more interested in how many kbytes of RAM my array is using than the
size in bytes of it's content...
But thank you anyway for helping me!
best regards
Stefan Rusterholz
> Had the same problem not long ago and I didn't find a simple so
I don't know if it matches your needs but perhaps it helps:
http://www.php.net/manual/en/ref.outcontrol.php
http://www.php.net/manual/it/ref.outcontrol.php this page isn't translated,
but perhaps some subpages...
good luck
Stefan Rusterholz
- Original Message -
From: &qu
Hi
I have a rather large array in my script and I was interested how much
memory it uses. Is there a way to get the size of an array in bytes?
BTW: I did RTFM and didn't find an accomidating function, so if there is
one, please point me to it...
TIA
Stefan Rusterholz
--
PHP General Ma
You should be able to using fsockopen.
You can use the class below and modify it. Search the class for the string
"User-Agent:" and change what's behind.
http://phpclasses.upperdesign.com/browse.html?file=1222
happy querying
Stefan Rusterholz
- Original Message -
F
if you want a php-only solution, you should probably also consider
fsockopen.
http://www.php.net/manual/en/function.fsockopen.php
best regards
Stefan Rusterholz
- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: M
Try this (I only tested it shortly if it works with scalars, but it should
also with arrays):
#swap $a, $b
list($a, $b) = array($b, $a);
Stefan Rusterholz, [EMAIL PROTECTED]
--
interaktion gmbh
Stefan Rusterholz
Zürichbergstrasse 17
8032 Zürich
whoops, you are absolutly right
I'm sorry - big apologizes
:~/ *taking myself on my nose*
And I (*stupid*) had almost downloaded 4.06 twice (since I've 4.06 already
installed) not remarking that this are the "old" 4.06 binaries...
Stefan Rusterho
Rusterholz, [EMAIL PROTECTED]
--
interaktion gmbh
Stefan Rusterholz
Zürichbergstrasse 17
8032 Zürich
--
T. +41 1 253 19 55
F. +41 1 253 19 56
W3 www.interaktion.ch
--
- Original Message -
From
If you have the whole in frame A and want the result in frame B then
use
If you have the form in frame A and the "search" button in frame B then
you'll have to use JavaScript
To: <[EMAIL PROTECTED]>
Sent: Monday, December 10, 2001 4:03 PM
Subject: [PHP] Frames creating problems...
> Hello Gu
Sorry, ignore my last mail. I was wrong. phpMyAdmin indeed does provide a
surface for adding users and setting privileges.
Sorry.
Stefan Rusterholz, [EMAIL PROTECTED]
--
interaktion gmbh
Stefan Rusterholz
Zürichbergstrasse 17
8032 Zürich
Yes phpMyAdmin IS great, but it does only allow you to access the 'mysql' db
with 'user' table in it. It doesn't provide anything to make it easier to
create new user accounts (user accounts != tables) and setting the users
privileges :(
thats what I'm searching f
Does anyone know a webbrowser/php based tool which allows to administer user
privileges in mysql easily?
Stefan Rusterholz, [EMAIL PROTECTED]
--
interaktion gmbh
Stefan Rusterholz
Zürichbergstrasse 17
8032 Zürich
--
T. +41 1 253 19
Does anyone know a webbrowser/php based tool which allows to administer user
privileges in mysql easily?
Thanks in advance
Stefan Rusterholz, [EMAIL PROTECTED]
--
interaktion gmbh
Stefan Rusterholz
Zürichbergstrasse 17
8032 Zürich
ields then tell me.
I hope I could help
Stefan Rusterholz, [EMAIL PROTECTED]
--
interaktion gmbh
Stefan Rusterholz
Zürichbergstrasse 17
8032 Zürich
--
T. +41 1 253 19 55
F. +41 1 253 19 56
W3 www.interakti
did you ever read that f 4 lines at bottom of each mail???
To unsubscribe, e-mail: [EMAIL PROTECTED]
first think, then do
Stefan Rusterholz, [EMAIL PROTECTED]
--
interaktion gmbh
Stefan Rusterholz
Zürichbergstrasse 17
8032 Zürich
As soon as the mysqld is running (and PHP also of course), you can use
phpMyAdmin to set up new tables. If you are not experienced in CLI it's a
nice way to go avoiding the CLI as far as possible (IMHO).
Get a look at those pages:
www.macosx.org
www.stepwise.com
best regards
Stefan Ruste
work on a windows machine where I prefere to use UltraEdit.
happy coding
Stefan Rusterholz, [EMAIL PROTECTED]
--
interaktion gmbh
Stefan Rusterholz
Zürichbergstrasse 17
8032 Zürich
--
T. +41 1 253 19 55
F. +41 1 253 19 56
W3 www.inte
u "File" with which you can easily open and edit the httpd.conf (as
erik said it is normally located under /etc/httpd/httpd.conf) . BBedit will
probably tell you that you haven't appropriate rights to edit and save the
file - log out and log in as root again (or chown/chmod the file).
>
ations together, fast searching of images with keywords and so on)
best regards
Stefan Rusterholz, [EMAIL PROTECTED]
--
interaktion gmbh
Stefan Rusterholz
Zürichbergstrasse 17
8032 Zürich
--
T. +41 1 253 19 55
F. +41 1 253 19 56
W3 www
and I cannot figure out why, any
ideas??
What error? What does it tell you?
Why don't you use fopen or fsockopen which are implemented in PHP instead of
doing probably dangerous exec()?
best regards
Stefan Rusterholz
> TIA
> Ade
>
>
> --
> PHP General Mailing List (http:
or other things afterwards because you
could run into unsolvable problems (what when a coder has in his code?
You could destroy it!)
I hope I could help
Stefan Rusterholz, [EMAIL PROTECTED]
------
interaktion gmbh
Stefan Rusterholz
Zürichbergstrasse 17
8032 Zürich
--
avoid /g
there have been some more problems during my transition, but I don't
remember all of them...
read the user comments on the documention on php.net, they are very helpful
hope I could help
Stefan Rusterholz, [EMAIL PROTECTED]
--
interak
Can you explain me, how to build a (standalone) daemon or point me to a good
tutorial?
Thank you for help in advance
Stefan Rusterholz, [EMAIL PROTECTED]
--
interaktion gmbh
Stefan Rusterholz
Zürichbergstrasse 17
8032 Zürich
--
T
Hi
Besides that I think this is the wrong mailing list for dealing with that
question:
Zip that pdf-file and link to the zipped file.
Everything else (AFAIK) won't work because this phenomenon is caused by the
client and not by the server.
Stefan Rusterholz, [EMAIL PROT
s" and I will gain
access.
I'm sorry, but I can't tell you a better way to do it.
Stefan Rusterholz, [EMAIL PROTECTED]
------
interaktion gmbh
Stefan Rusterholz
Zürichbergstrasse 17
8032 Zürich
--
T. +41 1 253 19 55
have image-output
functions in a separate file. You can still use that file for all images in
your database
If I misunderstood you and you just want a sample code for outputting
picture-data then look at this:
I hope I could help you
Stefan Rusterholz, [EMAIL PROT
there is a _very_ good
documentation. (For this topic look at "array functions")
Stefan Rusterholz, [EMAIL PROTECTED]
------
interaktion gmbh
Stefan Rusterholz
Zürichbergstrasse 17
8032 Zürich
--
T. +41 1 253 19 55
F. +41
spend any time checking it but I think it could work.
Good luck!
PS: if you make progress with that I was also interested in informations
about this kind of stuff - please send a mail :)
Stefan Rusterholz, [EMAIL PROTECTED]
--
interaktion gmbh
Stefan Rusterholz
Züric
didn't spend a lot of time investigating it).
Anyway: why do you want to translate a ã to an a?
I made good experiences with storing original chars and using htmlentities()
(or otherway round if you don't have to edit that stuff)
Stefan Rusterholz, [EMAIL
For UltraEdit I have edited the words file a bit and added PHP as language
so that it highlights PHP commands as well.
(I haven't included all commands, but a lot)
Just if someone is interested, he/she can send me an email with subject
"UltraEdit Wordfile" :-)
Stefan Rus
IE Versions under
Windows encountered no problems with that)
Has someone an Idea or a working work-around?
Any help would be appreciated...
Best regards
Stefan Rusterholz, [EMAIL PROTECTED]
--
interaktion gmbh
Stefan Rusterholz
Zürichbergstrasse 17
8032 Zürich
--
T. +41 1 253 19 55
F. +41 1 253 19 56
W3 www.interaktion.ch
--
;
If you do that this way it looks for php like this:
zzz';
#eval($string);
xxx zzz
?>
(as someone before correctly stated)
As you see, for PHP is some HTML-Code in the php-code-zone. To avoid this,
do it that way:
zzz';
eval("?>$string");
?>
Pa
e filepath is necessary)
If someone is interested in that, I can give some additional info's
Thank you all for your help!
Stefan Rusterholz, [EMAIL PROTECTED]
- Original Message -
From: "Matt Friedman" <[EMAIL PROTECTED]>
To: "Stefan Rusterholz" <[EMAIL
Well, I would do that but I don't know such an application.
Please, can you suggest me one?
Stefan Rusterholz, [EMAIL PROTECTED]
- Original Message -
From: "Julio Nobrega" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, October 30, 2001 4:40 PM
S
the manual, so if you tell me to rtfm - please point
me to the corresponding entry also :)
Thanks in advance
Stefan Rusterholz, [EMAIL PROTECTED]
--
interaktion gmbh
Stefan Rusterholz
Zürichbergstrasse 17
8032 Zürich
--
T. +41 1 2
realtime - total appears after sending it. You can combine this
solution with the first to avoid problems with browsers that have JavaScript
disabled (I'd recomend that anyway)
Regards
Stefan Rusterholz, [EMAIL PROTECTED]
--
interaktion gmbh
Stefan Rusterholz
Zü
It seems I didn't read the descrition of 'exec()' good enough when I read it
the first time :(
Now it works, thank you
From: "Krzysztof Kocjan" <[EMAIL PROTECTED]>
To: "Stefan Rusterholz" <[EMAIL PROTECTED]>
> See exec() and system function
is
empty after the execution of the perl-script.
I needed the output in $result and don't want that the perl script prints to the
browser...
The whole thing is running on a win2k Server machine.
Does someone know what I'm doing wrong?
By the way: which number in $status means what?
reg
;Content-type: $mime");
echo $image;
I know that the routine could be written better, but I think I wrote it in a
hurry when I wrote it :)
Perhaps you can do something with that routine (it works fine on a linux
machine)...
regards
stefan rusterholz
- Original Message -
From: &qu
- Original Message -
From: "Johan Vikerskog (EMP)" <[EMAIL PROTECTED]>
To: "'Stefan Rusterholz'" <[EMAIL PROTECTED]>; "Johan Vikerskog (EMP)"
<[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Tuesday, September 25, 2001 9
Hmmm,
thank you but this:
Fatal error: Call to undefined function: imap_8bit()
seems to show me that my php has no imap support :-/
So, is there another way?
Best regards
Stefan Rusterholz
- Original Message -
From: "Martin Pavlas" <[EMAIL PROTECTED]>
To: <[EMA
unction in the comments of the online
documentation. Does it work correct?
By the way: with wich encoding should I encode picture-data for e-mails? base64 works,
but with about 33% more space it doesn't seem to me to be the very best solution :(
Thanks
Stefan Rusterholz
l return true (because 0 and "" are equal to false)
but I think you'll have to combine it because
0 === "somestring" will also return false
hope you can use those informations
Stefan Rusterholz, [EMAIL PROTECTED]
--
interaktion gmbh
Stefan
$matches[1];}
preg_replace("/$matches[1]/","",$text);
}
If it doesn't work, I'm sorry, but currently I'm not able to test it. But I
hope, you can see the idea behind it.
best regards
Stefan Rusterholz, [EMAIL PROTECTED]
- Original Message -
Fro
And after having read it thorugh I remark, that I'm going to disgrace
myself... :-(
Just forget my answer, Jack Dempsey is right.
Sorry
- Original Message -
From: "Stefan Rusterholz" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, July 20, 2001 3:
work. But probably it was a better solution to insert the spaces
with a loop between the words than to run the risk, that the separator is
somewhere in the text...
best regards
Stefan Rusterholz, [EMAIL PROTECTED]
- Original Message -
From: "Stefan Rusterholz" <[EMAIL PROTEC
myarray = preg_split ("/\s+/",$sometext2split);
you should get
$myarray := ['hello', 'world', 'with', 'a', 'lot', 'of', 'whitespaces!']
But remark: \t (tabs) will also count as whitespace, but not \n and \r. See
docu for mo
82 matches
Mail list logo