Hello,
I'm currently programming a webmail interface with php 4.1.2 and c-client
2001.
I'm getting the Mime data from the mail.
Now I have the image data as text but how I can get it into an field?
greetz peterschen
Liebe ist auch nach einem Bluescreen zu behaupten es gäbe keine Alternativ
Hi,
I want to create dynamic images using php4 & php4-gd2.
My problem now: in wich format the bitmap font file have to be to be
loaded correctly into my script?
Regards peterschen
---
Liebe ist es, nach einem Bluescreen zu behaupten es gäbe keine
Alternative.
http://www.peterschen.de/
--
PHP
Players
NFL_Team ( varchar32 )
Fantasy_team ( varchar32 )
I player can definitely be part of only 1 NFL Team. But how are you
handling your league? Is this just for a single small group of people? Or
is this database to be set up for lots of leagues? If the latter,
;<br>';
echo 'round( 0.12962500, 3 ) = ' . round( 0.12962500, 3 ) . '<br>';
echo 'round( 0.11590000, 3 ) = ' . round( 0.1159, 3 ) . '<br>';
echo 'round( 0.1575, 3 ) = ' . round( 0.1575, 3 ) . '<br>';
echo 'round( 0.13387500, 3 ) = ' . round( 0.13387500, 3 ) . '<br>';
echo 'round( 0.1197, 3 ) = ' . round( 0.1197, 3 ) . '<br>';
echo 'round( 0.1525, 3 ) = ' . round( 0.1525, 3 ) . '<br>';
echo 'round( 0.12962500, 3 ) = ' . round( 0.12962500, 3 ) . '<br>';
echo 'round( 0.1159, 3 ) = ' . round( 0.1159, 3 ) . '<br>';
echo 'round( 0.07875000, 3 ) = ' . round( 0.07875000, 3 ) . '<br>';
echo 'round( 0.06693750, 3 ) = ' . round( 0.06693750, 3 ) . '<br>';
echo 'round( 0.05985000, 3 ) = ' . round( 0.05985000, 3 ) . '<br>';
echo 'round( 0.13125000, 3 ) = ' . round( 0.13125000, 3 ) . '<br>';
echo 'round( 0.13375000, 3 ) = ' . round( 0.13375000, 3 ) . '<br><br>';
Why is the behavior of round() different to that of sprintf()? Both are
rounding numbers. I'll grant you that sprintf() has more utility and does
more things than round() but when you are dealing with numbers (and more
specifically, when you've used a numeric type specifier in the format
argument), sprintf() is doing the same type of thing to the value --
rounding. So why are they doing it differently? Is that a bug? I'm
reticent to say that but it doesn't make sense to me that they would behave
differently. If the general rule is to round up for 5s when preceeding is
odd and round down when even, that's not occuring here when using round().
thnx,
Christoph
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
thnx,
Christoph
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
// Check if site is preceeded by 'WWW'
public function checkWWW() {
$myDomain = $_SERVER['SERVER_NAME'];
$FindWWW = '.';
$POS = strpos($myDomain, $FindWWW);
if ($POS === false) {
return false;
} else {
return true;
Don't do that.
Some sites may or may not use www. for whatever reason...
Usually screwed-up A-name records by incompetent sysadmins, but there
it is...
Really? So
games.yahoo.com
blogreport.salon.com
mirror1.downloads.com
are examples of screwed up records by incompetent sysadmins?
thnx,
Chr
p--
You must set session.save_path to a valid windows path (i.e. "c:\temp" or
"c:\sessions" AND the directory must already exist.
Christoph
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
r browser. Refresh
the page where you call phpinfo() by hitting +F5.
If you change the ini file php uses (double check if it's the one you're
editing, notepad loves saving the file as php.ini.txt), the changes take are
reflected when you restart the webserver. There is no possilility of
e.g. a php
script using CURL, www.php.net/curl). You should at least combine the
REFERER check with a valid session on your host or look for a
corresponding log entry or something alike.
Christoph
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ipt, not to the original HTML-file.
PHP includes the file as is (imagine it puts the HTML code at the
place of the include statement) The browser does not know that there
is another HTML file, it only sees the output of the php script.
Christoph
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
' in
c:\inetpub\wwwroot\sdd\pages\redirection.php?
>Quote: "The brain can understand everything, but itself", Aaron Boeren,
oh, there are certainly other cases...
Christoph
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Dear List,
I´m writing a little framework with special features for my application. The
content of my Website is in HTML-Pages from other users working with
HTML-Editors.
I parse the content in their in my framework.
now I have to replace the content of their links from test to test. It
works f
If you use cgi, no problem, just put the php.ini into the php directory
(instead of the windows directory). This works.
If you use isapi, i think it's not possible, but i'm not shure.
Christoph
Scott Fletcher wrote:
> Hi!
>
> There are a couple of websites I had to move
Christoph Grottolo wrote:
> If you use cgi, no problem, just put the php.ini into the php
> directory (instead of the windows directory). This works.
sorry, forgot to write:
put the different versions of php into different directories (i.e.
c:\php\php421 and c:\php\php430)
Christoph
&g
hatever I try, the result always is an hour to much.
Any 'hacks' on this ?-)
Thanks for your time,
Christopher
--
sym.net - martin butz & christoph siefer gbr
zwirnerstrasse 26 - 50678 koeln - 0221/3762591
email: [EMAIL PROTECTED] - netz: http://www.sym.net
--
PHP Genera
x27;s a feature.
christoph starkmann
mailto:[EMAIL PROTECTED]
http://www.gruppe-69.com/
ICQ: 100601600
--
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
e quite easy, I guess. But that's not the
problem, it's about traffic.
>
> Answer these two questions and it will help me alot
Hope this did ;) Can you help me now? ;)
Cheers,
Kiko
--
It's not a bug, it's a feature.
christoph starkmann
mailto:[EMAIL PROTECTED]
http://
rs
seperated from the message body... But as far as I can see, this is not
possible. Sad but true ;)
So I have to trust my visitors ;)
Cheers,
Kiko
--
It's not a bug, it's a feature.
christoph starkmann
mailto:[EMAIL PROTECTED]
http://www.gruppe-69.com/
ICQ: 100601600
--
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
int. I was just hoping I
was simply missing some point, but then a login wil have to do.
Thanks for all your help...
Cheers,
Kiko
--
It's not a bug, it's a feature.
christoph starkmann
mailto:[EMAIL PROTECTED]
http://www.gruppe-69.com/
--
--
PHP General Mailing List (http://www
Hi there!
I don't find the function or variable
returning/containing the name of the
script itself;
like:
echo "Hi, my name is " . $SCRIPT_NAME;
Anyone can help?
(I did RTFM...)
Kiko
--
It's not a bug, it's a feature.
[.nfq]
christoph starkmann
tel.: 0821 / 56
idea how to avoid this? Of course I can strip simply everything
to [...]/htdocs/, but isn't there a smarter way?
Cheers,
Kiko
--
It's not a bug, it's a feature.
[.nfq]
christoph starkmann
tel.: 0821 / 56 97 94 34
fax.: 0821 / 56 97 94 38
http://www.gruppe-69.com/
ICQ: 1006016
Hi Liam, hi René!
Great, thanx alot, this gets me rid of all thinking ;)
At least concerning this... ;)
> $PHP_SELF
> see Language Reference chapter 7 Variables
Cheers,
Kiko
--
It's not a bug, it's a feature.
christoph starkmann
mailto:[EMAIL PROTECTED]
http://www.gr
> I think I can work around this with some different coding,
> but why should I
> have to? I have done this same thing in java, perl and other
> languages...
Yes, also with "==" ;)
Cheers,
Kiko
--
It's not a bug, it's a feature.
christoph starkmann
mailto:[EMAIL PROTECTED]
http://www.gruppe-69.com/
ICQ: 100601600
--
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Cheers,
Kiko
--
It's not a bug, it's a feature.
christoph starkmann
mailto:[EMAIL PROTECTED]
http://www.gruppe-69.com/
ICQ: 100601600
--
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
your server has phps (source view) enabled. If it has
> then you can see
> the source of any file by using the extension .phps.
Awright! But then it would be possible with any browser...
Kiko
--
It's not a bug, it's a feature.
christoph starkmann
mailto:[EMAIL PROTECTED]
htt
Stuart Dallas wrote:
> On Friday, June 14, 2002 at 10:01:24 PM, Sridhar Moparthy wrote:
>> Does any one know how to make mail() function to send mail to 'CC'
>> and 'BCC' address. I have tried to keep 'CC' and BCC' in header, but
>> it is not working. Mail function is sending the message to 'To'
>
Try a recent dev-snapshot from snaps.php.net/win32. The mail function has
been reworked.
Christoph
Lance wrote:
> yes, the + is a whitespace. hm... a bug, you could be right on that.
>
> i dont have a copy of php4.2.1 on linux to test and see if it is just
> windows2k that i
You should download php4.3.0 dev. The mail enhancements have not been merged
into the 4.2 branch. Sorry for not having been exact in my last posting.
Christoph
Lance wrote:
> i downloaded php4.2.2dev and tried my codes on it. still giving me the
> same problem.
>> Try a recent dev-s
Lance wrote:
> cool! 4.3.0dev work like a charm! but is it safe for deployment
> server?
>
No. It's a dev version which has not been going through qa. (We're using it
on an intranet and didn't have any probs until now.)
Christoph
--
PHP General Mailing List
You could use the mail class by Manuel Lemos on php.upperdesign.com if you
need cc/bcc and attachments. I've been using it for quite some time now with
good results.
Christoph
Lance wrote:
> ok. thanks for the info. guess i have to wait till it hit stable
> version before deploying
Sorry. The link below is broken. Try one of the mirrors on
www.phpclasses.org instead.
Christoph
Christoph Grottolo wrote:
> You could use the mail class by Manuel Lemos on php.upperdesign.com
> if you need cc/bcc and attachments. I've been using it for quite some
> time now wit
Maybe you could use PDF with FDF to accomplish this task (see
http://www.php.net/manual/en/ref.fdf.php).
Christoph
Rasmus Lerdorf wrote:
> Only using the commercial PDI library from pdflib.com
>
> On Thu, 11 Jul 2002, Tobias Talltorp wrote:
>
>> Is it possible to produce
Might it be your/your provider's anti-virus blocking the clsid string? You
could try to send another long mail with common text or HTML.
BTW mail() has been reworked for PHP 4.3.0, you can get a new (dev)version
to try out on http://snaps.php.net/win32
Christoph
Martin Clifford wrote
verzweifeln läßt.
Tausend Dank !
Christoph Lockingen
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
hello,
is it possible to use the socket-functions within a windows-environment, or
are they for linux-distributions only ...?
regards christoph
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To
... perm.inc on line 56
Hi all,
this message some ppl get when they try to connect to a mysql database.
i use php3 with phplib.
the problem is, when i try it over lan and with dialin over isdn, there
are no probs with win95, win98, winme and nt4.0 clients. neither with
ms-ie nor with netscape.
Hi there! Is there any mean to tell PHP to use ereg etc. greedy?
Thanx,
Kiko
-
It's not a bug, it's a feature.
[.nfq]
christoph starkmann
tel.: 0821 / 56 97 94 34
fax.: 0821 / 56 97 94 38
http://www.fh-augsburg.de/~kiko
ICQ: 100601600
-
--
PHP General Mailing
ly, your safe_mode seems to be
turned on.
One way would be to turn safe_mode off again: change the line
safe_mode=On
to
safe_mode=Off
in your php.ini.
The safer way would be to prepare $var1, for example like this:
$var1 = $HTTP_GET_VARS["var1"];
Now you can use $var1.
HTH,
Kiko
--
I
AFAIK, there are no lines in a textfield; Text is simply displayed
as needed to fit in the area of the textfield.
As soon as you can do anything with it in PHP, it is no longer in
a textfield but simply one string; This string you may search with
regular expressions or using PHP string functions
Hi all!
Is it possible to register an array to a session with PHP 4?
If yes, how can it be done?
Cheers,
Kiko
--
It's not a bug, it's a feature.
christoph starkmann
mailto:[EMAIL PROTECTED]
http://www.gruppe-69.com/
ICQ: 100601600
--
--
PHP General Mailing List (http://www.ph
Only one letter difference between PGP and PHP yet makes no sense... ;)
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
> -BEGIN PGP SIGNATURE-
> Version: GnuPG v1.0.6 (GNU/Linux)
>
> iD8DBQE8zWnJHpvrrTa6L5oRAv5DAJ9Fp8vq7+PPqIiM1Mnqf5sGZlhD5wCfWqan
> TWH60NiXJh5ESsHP0QNLsUY=
> =dJq7
>
ed automatically ?(I don't think and
don't hope so, but one never knows)
Thanx,
Kiko
--
It's not a bug, it's a feature.
christoph starkmann
mailto:[EMAIL PROTECTED]
http://www.gruppe-69.com/
ICQ: 100601600
--
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
> Yes, but that's what the php-db list is for.
I am sorry... Gonna get this list.
Kiko
--
It's not a bug, it's a feature.
christoph starkmann
mailto:[EMAIL PROTECTED]
http://www.gruppe-69.com/
ICQ: 100601600
--
--
PHP General Mailing List (http://www.php.net/)
To unsubs
ns the result as a HTML-doc
to your browser which renders the file.
Cheers,
Kiko
--
It's not a bug, it's a feature.
christoph starkmann
mailto:[EMAIL PROTECTED]
http://www.gruppe-69.com/
--
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ed in the WHYNOT behind this ;)
Can you give me a hint? Or at least some place where I could start reading
and would find an explanation, not only "you have to use..."?
Thanxx
Kiko
--
It's not a bug, it's a feature.
christoph starkmann
http://www.gruppe-69.com/
mailto:[
ug, it's a feature.
christoph starkmann
mailto:[EMAIL PROTECTED]
http://www.gruppe-69.com/
--
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
manual (mssql functions)
Note that php_mssql.dll is not included in the windows installer version of
php.
Christoph
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
traryVariable)==1) or (user($arbitraryVariable)==2) or (...))
Cheers,
Kiko
-
It's not a bug, it's a feature.
christoph starkmann
mailto:[EMAIL PROTECTED]
http://www.fh-augsburg.de/~kiko
ICQ: 100601600
-
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
nts are appreciated.
Cheers,
Kiko
-----
It's not a bug, it's a feature.
christoph starkmann
mailto:[EMAIL PROTECTED]
http://www.fh-augsburg.de/~kiko
ICQ: 100601600
-
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Outsch, sorry, I just found what I wanted...
> Is there any posibility to check if there is
> actually a website behind a link or just, let's
> say a 404?
http://www.hotscripts.com/PHP/Scripts_and_Programs/Link_Checking/
Have a nice day ;)
Kiko
-
It's not a bug, it
e? I guess I'm simply getting sth wrong...
Any hint would be great.
Cheers,
Kiko
-
It's not a bug, it's a feature.
christoph starkmann
mailto:[EMAIL PROTECTED]
http://www.fh-augsburg.de/~kiko
ICQ: 100601600
-
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
uot;error opening $url: \$errstr=$errstr,
> \$errno=$errno\n";
> > }
> > else
> > {
> > fputs ($fp, "GET / HTTP/1.0\r\n\r\n");
> > echo "s>>>" . fgets($fp,1024);
> > fclose($fp);
> > }
Cheers...
Kiko
-
It'
Oohh so sorry... Now it works.
I simply forgot to crop the tailing "/"
from the URL. Call me stupid for now...
Thanx alot ;)
Cheers,
Kiko
-
Fool me once. Shame on you. Fool me twice. Shame on me.
christoph starkmann
mailto:[EMAIL PROTECTED]
http://www.fh-augsburg.de/~kiko
ICQ:
Hi CHris!
> has anyone written a script to check if a host is alive -
> like a ping script ?
Something like this?
BTW, any hints to weak or wrong code are welcome, I'm not
this experienced with PHP ;)
Cheers, Kiko
P.S.: There are some formatting strings and some variables
stored in constants.
s http://www.gruppe-69.de/
't is redirected by my provider directly to
http://www.gruppe-69.com
but my linkchecker thinks it would be dead
(404)
Any idea how I can check this, too?
Thanx and cheers,
Kiko
-
It's not a bug, it's a feature.
christoph starkmann
mailto:[EMAIL PROTECT
k someone who isn't checking ouzt
the online doc would be reading the FAQ?
Regards,
Kiko
-
It's not a bug, it's a feature.
christoph starkmann
-
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ime (I include this, too).
Was this what you wanted to know?
Cheers,
Kiko
-
It's not a bug, it's a feature.
christoph starkmann
mailto:[EMAIL PROTECTED]
http://www.fh-augsburg.de/~kiko
ICQ: 100601600
-
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
which looks as if you where getting different pages...
Better now?
Cheers,
Kiko
-
It's not a bug, it's a feature.
christoph starkmann
mailto:[EMAIL PROTECTED]
http://www.fh-augsburg.de/~kiko
ICQ: 100601600
-
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
y ideas, hints?
Thanx alot,
Kiko
--
It's not a bug, it's a feature.
christoph starkmann
mailto:[EMAIL PROTECTED]
http://www.gruppe-69.com/
ICQ: 100601600
--
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
d only right way and is
part of a standard normalisation process, isn't it?
Nevertheless,
Thanx for your hint; If I not already had this this would be an important
one! And btw., I learnd a new english word, too (premise).
So I always keep learning ;)
Cheers,
Kiko
--
It's n
Hi Ron!
> Here is what I want to do.
>
> I am taking a poll and I would like to display the results in
> a bar graph
> format. What is the best way to do this.hopefully you
> will not say GD
> library!
If you don't like GD, why not try Flash instead? ;))
--
PHP General Mailing Lis
Hi Caspar!
$counter = -1;
while(++$counter <50)
{
if ($counter != 39)
{
do a task on all between 1 and 50 except on 39
}
}
This should do...
Cheers,
Kiko
--
It's not a bug, it's a feature.
christoph starkmann
mailto:[EMAIL PROTECTED]
http
Hi Michael...
> hmm...he has a table for premises and one for doctors, hasn't he?
> > FROM $medTable m,
> > $praxTable p
He has ;))
Cheers,
Kiko
--
It's not a bug, it's a feature.
christoph starkmann
mailto:[EMAIL PROTECTED]
http://www.gruppe-69.co
comparison with false
> in certain situations. Are there any cases where you need
> to do a direct comparison with true?
AFAIK it's only a matter of speed. Unary operators consume less
time than binary ones... Correct me if I'm wrong.
> Are you coming to Ottawa in
e is not limitation...
Cheers,
Kiko
-
It's not a bug, it's a feature.
christoph starkmann
mailto:[EMAIL PROTECTED]
http://www.fh-augsburg.de/~kiko
ICQ: 100601600
-
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands,
p?
HTML is "normalizing" all text; So any number of spaces, tabs newlines etc.
become one space " ";
If you want a certain number of spaces, you could use the -entity:
$a = "test";
$b = "test2";
$data = $a . "" . $b . "";
echo
.sock at port 111 ?!?!?!
I tried to reinstall it with yast2, reinstall it manually, but to no extend.
Anyone got an idea?
I'm quite new to Linux and mySQL... so forgive me
if this should be an easy/stupid question... ;)
Cheers, kiko
-
It's not a bug, it's a feature.
christoph
tire page, containing one php-script-section
at the very top and one at the very botton, and maybe some inbetween.
Now the above ereg always returns me the entire site in $phpIncludes[0];
All help is appreciated, thanx a lot,
cheers,
Kiko
-
It's not a bug, it's a feature.
ch
time...)
Any hints?
Cheers,
Kiko
-
It's not a bug, it's a feature.
christoph starkmann
mailto:[EMAIL PROTECTED]
http://www.fh-augsburg.de/~kiko
ICQ: 100601600
-
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional comman
ll directories, does something with all files found there and stops after
returning to the starting directory?
Phew... Would be great, I'm kind of in a hurry...
Cheers,
Kiko
-
It's not a bug, it's a feature.
christoph starkmann
mailto:[EMAIL PROTECTED]
http://www.fh-augsburg.de/
file or directory... If there was, I
wouldn't have to create one ;)
Any ideas? Hints?
Every tidy bit of wisom is appreciated...
Cheers,
Kiko
-
It's not a bug, it's a feature.
christoph starkmann
mailto:[EMAIL PROTECTED]
http://www.fh-augsburg.de/~kiko
ICQ: 100601600
-
--
PHP
BTW...
Can anybody tell me where the words
foo and bar
come from?
Thanx,
Kiko
-
It's not a bug, it's a feature.
christoph starkmann
mailto:[EMAIL PROTECTED]
http://www.fh-augsburg.de/~kiko
ICQ: 100601600
-
--
PHP General Mailing List (http://www.php.net/)
To unsubscri
it's a feature.
christoph starkmann
mailto:[EMAIL PROTECTED]
http://www.fh-augsburg.de/~kiko
ICQ: 100601600
-
--
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 administrat
-
It's not a bug, it's a feature.
christoph starkmann
mailto:[EMAIL PROTECTED]
http://www.fh-augsburg.de/~kiko
ICQ: 100601600
-
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contac
expected.
Replacing Custom_Round() by Floor() works fine, but why does the custom
function doing the same not work? Is this a bug in PHP?
This problem occurse in PHP 4.3.3 and PHP 5.0.1.
Thanks for help,
Christoph
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http
one know how (or even if) I can explicitly free the memory
used for the DOMDocument? Any help/advice would be greatly
appreciated!
thnx,
Christoph
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
my scripts inside a for/while loop; in the
> end I opted for a CLI script which opened worker threads then
> killed/restarted them when memory usage was X.
Unfortunately, that is not an option for me. It just blows my mind
that a method to free memory used for a DOMDocument object wasn
othing like this out there or if I'm just looking in the wrong
places.
Any advice/suggestions would be greatly appreciated!
thnx,
Christoph
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
selecting, you'll
need to use aliases.
http://dev.mysql.com/doc/refman/5.1/en/identifiers.html
In your code, when you are referencing the column, do so using the
alias. That should solve your problem.
thnx,
Christoph
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
By defining an
alias, it removes the ambiguity and allows mysql to return the value of
both columns. In your code, you would just reference it using:
$rowData['EmployeeName']
$rowData['EmployerName']
I hope that helps explain aliases a bit.
thnx,
Christoph
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
contemplation for everyone. :p
thnx,
Christoph
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ction? :P
Though I have read the explanation (many, many times) and I still
don't understand why '::' wasn't used. MyClass::MyStaticMethod is
utilizing namespacing. Why it was felt that '::' as the official
namespace operator would mess that up is beyond my ken
it in the directory, the group for the
link has not been changed to what I set it to. Is that not something
you can do for symbolic links programatically?
thnx,
Christoph
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
g used. e.g.,
$iVar = 1;
if(( isset( $_REQUEST['MY_NUMBER'] ) && ( is_numeric(
$_REQUEST["MY_NUMBER']))) {
$iVar = $_REQUEST['MY_NUMBER'];
}
$iCalculatedValue = $x / $iVar;
thnx,
Christoph
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
oint.
For it's use in the above equation, neither case is valid.
Consequently, you really should be doing some validation at some point
prior to that line.
thnx,
Christoph
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
lasses (eg, instantiation)
I've done some looking around but haven't really been able to find
anything that does even some of this. I could write functionality
that does this but didn't want to reinvent the wheel.
thnx,
Christoph
--
PHP General Mailing List (http://www.php.net/)
To
d want to eventually add anyway but it's something we could do over
time as we became much more familiar with the framework.
thnx,
Christoph
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
is_a() added back in when it was tossed
out on it's head in 5.0?
thnx,
Christoph
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
there something else I'm missing? Or doing wrong?
thnx,
Christoph
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ere is no distinction. That
seems both odd and wrong to me. But not nearly as wrong as fileinfo
reporting "application/msword" as the mime type of an excel document.
thnx,
Christoph
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
t-stream'
$ file -i excel.xls
excel.xls: application/msword
The xls file I am using was generated with Excel (of Office 2007) for
the Mac. So either you have a different magic file (assuming that's
what the file command uses) than I do or different versions of excel
contain different informati
d it may perhaps be an issue with the documents themselves.
As I stated in a post I just made, the excel document I'm looking at
was created using Office 2007 for the Mac.
thnx,
Christoph
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
spreadsheet saved using Office 2003 on XP
and received the same output: application/msword.
thnx,
Christoph
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
r::time( $obj ); // $obj becomes a Timer obj with $obj inside it
$obj->thingMethod(); // Timer passes call to Timer->obj
thnx,
Christoph
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
and going with the
STDIN and STDOUT constants. None of that worked. Is there a way I
can pipe/redirect output from a command line uhh, command as input to
my script?
thnx,
Christoph
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
;m starting from would
change. I suppose I could pass those arguments to my script and
access it using argv but I'm actually kind of curious how (if) I can
access output which has been piped (or redirected) to my script.
thnx,
Christoph
--
PHP General Mailing List (http://www.php
> Exactly. And if you just want redirected data you can try:
> $data = file_get_contents("php://stdin");
> --or--
> For an array of lines:
> $lines = file("php://stdin");
This is exactly what I was looking for. Thanks Shawn and Ben!
thnx,
Christoph
]: Invalid predicate
If I remove this part of the query
[...@alias="widgetType and @value="system"]
the error goes away.
As far as I can tell from googling around, the query is valid. If
that's the case, I don't understand what's causing the error.
Could someone e
much quicker. ;)
thnx,
Christoph
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
1 - 100 of 181 matches
Mail list logo