Hi
Anyone who knows why get variables whit spaces in looking like this in
the URL blah.php?aa+bb=1 is changed to aa_bb in $_GET resulting in
$_GET['aa_bb'] instead of $_GET['aa bb']?
/P
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
1lt John W. Holmes wrote:
Anyone who knows why get variables whit spaces in looking like this in
the URL blah.php?aa+bb=1 is changed to aa_bb in $_GET resulting in
$_GET['aa_bb'] instead of $_GET['aa bb']?
That's just what PHP does. It'll also convert any periods in a form element
name to an un
I try to use a SQLqry in PHP, but i get this anwser in my browser:
FATAL: emalloc(): Unable to allocate 1073741824 bytes
Somthing i can do to fix it in PHP?
(I have no rights at the server)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
x27;t get it to
work.
/Per
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
d: m
> (2) in d:\phpdev\www\phpdev4\samples\samp13.htm on line 4
Run a phpinfo() to see what session.save_path you have registred. It
seems like php tries to open from the default directory /tmp.
Maybe you have not restarted the web server after altering the php.ini.
/Per
--
PHP General
Hi
\ is the escape character:
$real_path=$real_path."\DefaultFld\SubFld\";
should be
$real_path=$real_path."\\DefaultFld\\SubFld\\";
or
$real_path .= "\\DefaultFld\\SubFld\\";
if you want to shorten it.
Ppf wrote:
Hi All:
I am trying to generate the directory path dynamically
to save the Uploaded
[EMAIL PROTECTED] wrote:
> hi all
>
> does anyone have any recommendations for good open source content
> management systems for websites? - preferably, written in php...
http://typo3.com/
/Per
--
Per Jessen, Zurich
http://timian.jessen.ch - an analog report formatter usin
i have a textarea where ppl will enter their bio.
after they submit the form, i need to compute the size of their bio in bytes _without_
creating any file. is this at all possible ?
please advise.
sample script:
rgds.
---
Sign Up for free
rgds.
Quoting Ralph Guzman <[EMAIL PROTECTED]>:
> How can I get the last day for the current month?
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
---
Sign Up for f
the manual. I guess it's time for me to call
> it a night.
>
> Thanks.
>
>
> -Original Message-
> From: Sn!per [mailto:[EMAIL PROTECTED]
> Sent: Friday, August 15, 2003 1:21 AM
> To: Ralph Guzman
> Cc: PHP General Mailing List
> Subject: Re: [P
i am using Horde's IMP.
i am playing with the idea of saving mail attachment(s) into another server.
the mail server is like mail.example.com on server-A and the 2nd server is like
photos.example.com on server-B.
is this _normally_ done with cURL and/or snoopy ?
appreciate some guidelines.
rgd
print date('Y-m-d',mktime(0,0,0,date('m'),date('d')+30,date('Y')));
Quoting James Johnson <[EMAIL PROTECTED]>:
> Sorry about the previous post.
>
> Hi,
>
> I need to make a date that is 30 days from the current date, and, am
> having problems with mktime
>
> Here's what I've tried:
>
> $endD
the output of this short mcal-php script is 0. and the no /var/calendar/[EMAIL
PROTECTED] mcal file was created.
appreciate some advise.
","cal","passwd");
mcal_event_set_title($stream,$title);
mcal_event_set_description($stream,$description);
mcal_event_set_category($stream,$category);
mcal_ev
nt "Done.";
This is php4.3.2 on apache 2.0.45.
/Per
--
Per Jessen, Zurich
http://timian.jessen.ch - an analog report formatter using XSLT.
http://www.dansk.org - for alle danskere i udlandet!
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
sking. What are the plans, if any, regarding apache 2.0.x and php?
For my purposes, I would be perfectly happy if my php script would stop
running once the client has disconnected.
/Per
--
Per Jessen, Zurich
http://timian.jessen.ch - an analog report formatter using XSLT.
http://www.dansk.o
Jeff Harris wrote:
> I'm just guessing here, because you didn't give us the desired result,
> but how about:
> if (connection_status() ) break;
Yeah, that would do about the same.
The expected result is for the script to stop running once the client
disconnects.
/
I have several admin modules for my portal. And I have also several admin users who
are supposed to have access only to certain modules.
Say, the superadmin can access ALL modules (modA, modB, modC, modD) and
admin-A can only access modA and modB
admin-B can only access modA and modD
...
...
How
ourself.
But then again, that doesn't mean that it cannot work. I have had it
running on Linux for quite a while now with very few problems.
I recommend going with option (1) since you seem to say you don't have
very much experience setting PHP up.
--
Best regards,
Per Lundberg / Capio
g.
I guess it has something with Anonymous user to do, but I dont know what?!
Per L.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
been downloaded, if it reach the amount, delete it,
otherwise update the database with one more download for this file!
How to upload files can be read in the PHP-Manual.
For database use: www.mysql.com
Per L.
"Vicky" <[EMAIL PROTECTED]> wrote in message
016801c2922c$71472720$0
PEAR Date Calc is your friend.
rgds.
--
Quoting "CPT John W. Holmes" <[EMAIL PROTECTED]>:
> From: "Dan Anderson" <[EMAIL PROTECTED]>
>
>
> > Does anybody know how to generate calendars easily? (i.e. print out
> > complete calenders from the current month on)
>
> I'd check out PEAR or phpcla
nebody know where i can find a script that does something like:
(the admin module)
- add/edit/delete tv programme lineup daily/weekly/monthly
- lineup will include things like programme title, episode, time, synopsis etc
(the public portion)
- can perform search
- calendar
- hilights
- etc
pls a
;klonk\" æ 'å' ";
$b=html_entity_decode( $a, ENT_QUOTES, "UTF-8" );
It seems to default to ISO-8859-1?
thanks
/Per
--
Per Jessen, Zurich
http://timian.jessen.ch - an analog report formatter using XSLT.
http://jessen.ch/dansk-listen - for alle danskere i udlandet!
Quoting Justin French <[EMAIL PROTECTED]>:
> Theory 3:
> For more complex transformations (I have a library which performs heaps
> of transformations for paragraphs, headings, line breaks, ol and ul
> lists, and heaps more), ...
and where can we find that library ?
--
-
ut "don't
expect php to work in apache 2.0". It was something to do with
error-handling and timeout, IIRC.
Why not go with Apache 2.0? If you should run into some showstopper, revert
to 1.3 - it's not that much of an effort (provided you don't start using
apache 2.0-only f
fore...
Please respond to [EMAIL PROTECTED]
/Per Kallin
--
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]
D]
>Subject: Press Picture Download
>
> Name: Bla bla bla
> Company: Bla bla bla
> Adress: Bla bla bla
> Email: [EMAIL PROTECTED]
> Business: Bla bla bla
> Send Snowcrash info:
> Comments: Bla bla bla
>
>From: [EMAIL PROTECTED]
>X-Originating-IP: [111.
Need some help here, Im getting this error:
Warning: Cannot add header information - headers already sent by (output
started at /home/p/pe/perphp/public_html/login.php:4) in
/home/p/pe/perphp/public_html/login.php on line 44
...while trying to run the following .PHP code on my server. Any ideas
Thank you Jon & folks, now its OK! ;)
Per
> You've already sent something to the browser... the line that starts with
> ...
>
> Move that below the authentication code and all should be well.
>
> HTH
> Jon
>
>
> -Original Message-
> From: Pe
Joey wrote:
> Sorry for the delay.
>
> The purpose is to be able to see what is running on a site at any
> given time.
Apaches 'server-status' perhaps?
/Per Jessen, Zürich
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
t;> http://www.onshore.com
>>
>>
> Though I always script to W3 Standards, I could care less if browsers
> follow those standards, so long as we wind up closer and closer to a
> general set of rules we can obide by.
Uh, only as long as that general set of rules is
/images/sam-menu-ff2.jpeg
FF3: http://jessen.ch/images/sam-menu-ff3.jpeg
Notice how the fonts are really quite different, in FF3 they make the
long orange menu line spill over the page margin. No FF3 around here
for a while yet.
/Per Jessen, Zürich
--
PHP General Mailing List (http://www.php.
Nathan Rixham wrote:
> Per Jessen wrote:
>> Nathan Rixham wrote:
>>
>>> i never understand this, if i was makign a browser I'd be "where's
>>> the rfc's" then code it to implement those rfc's - why people choose
>>&g
general set of rules is well documented.
>>
>>
>> /Per Jessen, Zürich
>>
>
> i never understand this, if i was makign a browser I'd be "where's the
> rfc's" then code it to implement those rfc's - why people choose not
> to is beyond me?
#x27;s out of the question,
you're in for a difficult time.
/Per Jessen, Zürich
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Ashley Sheridan wrote:
> On Fri, 2008-11-28 at 10:15 +0100, Per Jessen wrote:
>> Ashley Sheridan wrote:
>>
>> > Do any of you have a copy of this extension, or failing that, a
>> > suggestion of how I can parse XML files without having to install
>> >
; bit over-the-top. The skit centered on how fat Americans were.
Well, they are a bit over-the-top ...
> I am sure if he ran that skit in a trailer for one of his movies in
> the States, the attendance for his movie would drop -- a bit like
> biting the fat-hand that feeds him.
Just one
ng a simple
XSL stylesheet according to recognised standards etc. Just my opinion
of course.
/Per Jessen, Zürich
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Peter Ford wrote:
> Per Jessen wrote:
>>
>> That's cool, but XSL is still the more appropriate tool IMO. It does
>> exactly what you need - it parses and validates the XML document,
>> allows you to extract the bits you need and in virtually any format
>
>importStyleSheet($xsl);
$pos=$_GET['pos'];
$xp->setParameter('', array('pos' => $_GET['pos']) );
$file=$xp->transformToXML($xml);
$file in this case is just a single filename, no XML. My input data has
a list of filenames, the '
// attach the stylesheet
>> $xp->importStyleSheet($xsl);
>>
>> $pos=$_GET['pos'];
>> $xp->setParameter('', array('pos' => $_GET['pos']) );
>>
>> $file=$xp->transformToXML($xml);
>>
>>
>> $file
franzemmanuel wrote:
> Hi everybody,
>
> For those who are interested in Countries and timezones.
>
> I needed to have the list of all the countries in the world and the
> timezones by country without redundancy.
>
Couldn't you just have use the timezone info
Benjamin Hawkes-Lewis wrote:
> Everyone has their favorite unstandardized feature they'd love IE to
> support. (Personally I'd be delighted by -ms-border-radius and
> content:uri() support.)
Nope, I don't have a single one.
/Per Jessen, Zürich
--
PHP General Mailing
> What does everyone prefer?
I don't think it's about the developer preference, it's about the user.
Javascript enables lots of checking at data entry time, and can improve
the overall user experience. If you're not particularly concerned with
the user experience, don'
t be [EMAIL PROTECTED]
which mail-agents with IDN support should display and accept like this:
[EMAIL PROTECTED]
/Per Jessen, Zürich
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Per Jessen wrote:
> address. The same really goes for the same on the right hand side of
> the @, but some people have difficulties distinguishing between the
> _actual_ email address and it may be rendered when the domain part is
> converted from punycode.
That should have read &qu
Yeti wrote:
> I think hotmail, or was it some other mail mogul, is allowing their
> users to have those weird German umlauts and some accented characters.
>
> EXAMPLE:
> [EMAIL PROTECTED]
>
Anyone who allows 8-bit characters on the left side of the @ is in for
trouble. It w
tedd wrote:
> At 5:10 PM +0100 12/7/08, Per Jessen wrote:
>> You cannot have 8bit characters to the left of the @ in the email
>> address.
>
>
> I'm not sure that's correct.
I am sure. In fact, the entire email header must not contain any 8-bit
chara
Tedd, I've got a distinct feeling of deja-vu here, but Thunderbird
displays all Swiss, German, French, Greek and Danish IDNs 100%
correctly, probably many more too.
The ones you're having a problem with are the ones that allow the entire
UTF8 charset, IIRC.
/Per Jessen, Zürich
--
PHP
f files, e.g. 100,000s, also depends a
lot on the filesystem.
/Per Jessen, Zürich
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ary (/bin/ls), not a system call. The regex
functionality is part of the shell, usually bash.
/Per Jessen, Zürich
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
c source code of php. Maybe its time to
> actually do that. But it might be easier if someone can answer this
> from the top of their head.
There is no real need - most PHP code runs in apache with each request
being separately initated and terminated. There's no underlying
runtime
ttachment. That's how
you need to format your email-text.
/Per Jessen, Zürich
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
e page as a
> separator page which will be used to split the multipage document into
> smaller single or multipage documents.
>
> Has anyone ever heard of anything that might help me in this process?
I can't say for certain, but have a look at zebra:
http://zebra.sourceforge.net/
Daniel Kolbo wrote:
> Hello,
>
> I have a text file encoded in utf-8.
> i am using fopen/fgets/echo etc..
>
> how do i display these utf8 characters from the file on the web?
>
header("Content-Type: text/html; charset=utf-8")
readfile(your-utf8-file);
/Per
c...@l-i-e.com wrote:
> In some circumstances, with "mixed" charsets on a page, and with IE
> in quirks mode, IE will try to "guess" the charset and get it (very)
> wrong.
A single page or response can only have one characterset, there is no
mixing possible.
he filter extension both use the same regex caching mechanism. If
the regex has not been compiled, the first call will compile it,
subsequent calls will use the already compiled regex.
/Per Jessen, Zürich
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://ww
x27;t match, it will complain. If converting with
htmlentities() works for your purpose, that's one solution, otherwise
I'd make the mysql table use UTF8 and then look into iconv to convert
all scraped pages to UTF8.
/Per Jessen, Zürich
--
PHP General Mailing List (http://www.php.net
c...@l-i-e.com wrote:
>
> I often thought PHP would be a nice language for a MUD, if one could
> get the performance out of it...
Design your code such that you can just throw more hardware at it
whenever you need more performance.
/Per Jessen, Zürich
--
PHP General Mailing L
hy ?
It's a floating point rounding error. If you don't need the accuracy,
just round it to what you need.
/Per Jessen, Zürich
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
need/want straight scalability, go for the 32 cores all
ticking at 3GHz. Once that is saturated, buy another one.
/Per Jessen, Zürich
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
a matter of
space, cooling, electricity etc. The big monolith is easier to deal
with, but also carries a different pricetag. The many machines can be
gradually expanded at a lower cost, but need much more in terms of
infrastructure.
/Per Jessen, Zürich
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
elling your non-GPL software and you use GPL
software with it, then yes, I believe you are required to make your
source code available to the end-user too.
Maybe have a quick look at http://gpl-violations.org/
/Per Jessen, Zürich
--
PHP General Mailing List (http://www.php.net/)
To un
f an overhead
> so that bandwidth is actually that much of an issue?
>
The implementation language does not affect your bandwidth requirements
at all.
/Per Jessen, Zürich
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
will slow it down too much.
/Per Jessen, Zürich
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
a "text-based MUD" is. I thought we were talking some network gaming
engine a la WoW and such.
I still think my initial response was appropriate though - if PHP as a
language is a performance concern, it's best solved by throwing more
hardware at it. If that is not an option, don
be great.
>
Yes, that is exactly what https does.
/Per Jessen, Zürich
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Let's say I have these URLs
http://example.com/index.php?q=gallery
http://example.com/index.php?q=gallery&g2_itemId=81
http://example.com/index.php?q=gallery&g2_itemId=100
I want to have a line of code that will extract just the
"http://example.com/index.php?q=gallery"; part of the URL.
I am
Then Ashley Sheridan said:
Why do you need a regex here? All the URL's have the same foremost
component, which is exactly 38 characters in length. Do you perchance
need a regualr expression to parse other URL's?
If you just need to extract everything before the first ampersand, then
strpos and
write your code to
work without the database connection.
/Per Jessen, Zürich
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
classes, I have the db close function
> in the destructor just to make sure
I guess it depends on the type of application - for a web-transaction
running on a web-server, why bother? It'll clean up after itself
anyway.
/Per Jessen, Zürich
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Per Jessen wrote:
> Nathan Rixham wrote:
>
>> Bastien Koert wrote:
>>> 1. Make sure you are freeing up all resources as soon as you can ->
>>> mysql_close();
>>>
>>
>> little thing I've done for some time that's stuck with; (php
a while ago, it worked pretty well AFAIR.
/Per Jessen, Zürich
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Tony Marston wrote:
> If you really *need* to used a staticly typed language then don't use
> PHP, and don't try to change PHP to match your needs.
+1
/Per Jessen, Zürich
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
her
programming languages. PHP is an interpreted language with all the
strengths and weaknesses that come with it. A need for static or
compile-time typing is a need for a different language, honestly.
/Per Jessen, Zürich
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Nathan Rixham wrote:
> Per Jessen wrote:
>> Nathan Rixham wrote:
>>
>>> Tony Marston wrote:
>>>> If you really *need* to used a staticly typed language then don't
>>>> use PHP, and don't try to change PHP to match your needs.
>>
;s a tonne of amazing tools and frameworks for java, and
> I'm sure that a vast majority of them are possible because of this
> static typing (from orms to web service frameworks and all in between)
> - am I so bad for wanting that for php and my fellow devs?
No, you're not so
quot;, but would fail miserably
with "php -strongtyping". In essence, with your optional strong typing
enabled, you'd have a different language.
/Per Jessen, Zürich
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
to test your
> infrastructure; when you can't compile and do this testing becuase the
> app isn't bug free or completed it's rather limiting. Sometimes unit
> tests just don't cover what you need.
I agree. You need a full blown test system. That is pretty much the
no
Nathan Rixham wrote:
> Per Jessen wrote:
>> Nathan Rixham wrote:
>>
>>>> You can't have your cake and eat it. You can't/shouldn't have
>>>> strong
>>>> and loose typing in the same language. In my opinion.
>>> "Ins
Eric Butera wrote:
> On Sun, Jan 18, 2009 at 11:44 AM, Per Jessen wrote:
>> I think that's at best an example of someone having chosen the wrong
>> tool. I can easily appreciate the frustration. My own rule-of-thumb
>> - scripts are for small things and rapid prototyp
) that you need to utilize
efficiently or
2) your processing is very CPU-bound, e.g. scientific or graphics code.
you won't gain anything by moving to a 64bit OS/Apache.
/Per Jessen, Zürich
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Dušan Novaković wrote:
> Hi,
>
> Is there some elegant solution how to redirect if someone try to open
> some non existing page (e.g www.domain.com/nonexistingpage.php) to
> main page www.domain.com on website?
>
See Apache "ErrorDocument" directive.
/Per Jes
Richard Heyes wrote:
>> ...
>
> Really, for URLs that don't exist you should be showing a 404, This
> way the user doesn't falsely believe that the URL is a valid one and
> keep using it. By using the ErrorDocument directive like Per
> suggested, you can cust
rrectly, so what else
> is suggested?
I would use a 303 redirect, just like after processing a POST.
/Per Jessen, Zürich
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
; Basically, I'd like to create a bunch of test apps/processes, and then
> to be able to kill them by a separate process if the apps take too
> long to run..
Why not put a timer in each individual process?
/Per Jessen, Zürich
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
e processes. To get exactly 10 children running the same code:
if ($iPid == 0)
{
// child
echo ("child $icount\n");
// do childish stuff
// then exit
exit;
}
/Per Jessen, Zürich
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
mattias wrote:
> ERR_DB_NO_DB_PASS
>What will this meen?
No database password has been set in config.
/Per Jessen, Zürich
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Tom Sinclair wrote:
>> Per Jessen wrote:
>>
>> for($icount=0;$icount<11;$icount++)
>
> Iterates 10 times??
> Hmm
10, 11 - no big difference is there?
/Per Jessen, Zürich
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
have many options.
One of my key concerns is - for the translation, I need to be able to
wrap everything up and ship it off to a translator, perhaps via elance
or similar.
Does anyone have any best practice suggestions or comments in general?
/Per Jessen, Zürich
--
PHP General Mailing
Richard Lynch wrote:
> I can't help with the bits you are asking about, but I can give this
> advice:
>
> Don't rely solely on the Apache/browser content-negotiation, please.
>
Don't worry, the site already has a user-override option.
/Per Jessen, Zürich
--
s.
I don't know about the PHP mysql_query(), but the MySQL C API works fine
with multiple queries, it just has to be specifically enabled - the
default is one query per call.
However, it looks like the multiple query option is not supported by
PHP:
http://php.net/manual/en/mysqli.real-connect
lower and I
> can't help but feeling that serving up a static page created by code
> is a better solution.
That's part of what we're thinking of doing, but it's difficult to
separate the language and code completely. Which is where gettext()
comes in.
Does anyone on th
hop ( :-( ), therefore no Linux and no PHP
Ah. :-)
> b) the db current doesn't support multi-byte charsets
>
The gettext db doesn't support UTF8??? Uh oh, that's a show-stopper.
/Per Jessen, Zürich
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Jan Kaštánek wrote:
> Per Jessen:
>>
>> The gettext db doesn't support UTF8??? Uh oh, that's a show-stopper.
>
> It supports. We use it. But only in MsgStr (translation), not in MsgId
> (original strings).
>
Yeah, I found out too. (from the GNU gettext
t's how HTML works.
> The second question is closely related to the first. When formatting
> text using printf the padding works great when running from the
> command line but not at all when in a browser.
Same answer.
/Per Jessen, Zürich
--
PHP General Mailing List (http://ww
ng.
No, the scripts are written the same way, but you are using two
different output media, so your output must be different.
Like Stuart said - if you want your browser to output in text-mode, just
set the right header-type. (text/plain).
/Per Jessen, Zürich
--
PHP General Mailin
;Item' , $hotelElement );
>
>
>
> I know you can use an @ sign but I am not 100% sure.
Yes, you use an '@' to retrieve attributes of an element.
query( 'HotelDetails/Hotel/@Code'
/Per Jessen, Zürich
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Angelo Zanetti wrote:
> Thanks Per but I didn't send all the XML but you see that there is a
> city code and an item code:
>
>
>
>
>
>
> How would I get the Item code then? Based on your answer above?
>
Hi Angelo
this
Linux CentOS 5.2 server this mail is being sent
> but the subject is rubbish.
> All encodings are in UTF-8 (the php file, the encoding of the mail
> client etc) so to solve this I have added the mb_encode_mimeheader
> line.
But for some reason you've specified ISO-8859-1 instead of UT
1 - 100 of 1060 matches
Mail list logo