> Could someone please fix the function pages on http://www.php.net, so
> that when people submit code all nice and formatted, it retains that
> formatting in the contributed notes section? There are some really
> intricate examples, and it just makes it that much easier to read. Not
> to mention,
Hello,
I´m using ClibPDF function cpdf_set_font like:
cpdf_set_font($cpdf, "Times-Roman", 30,"WinAnsiEncoding");
But I need to have Windows-1250 Encoding or ISO-8859-2 (I need czech chars).
Does anybody know how can I do that?
Thank you very much
Tomas Kubis
--
PHP General Mailing List
In article <002e01c27f99$20e35b50$030a0a0a@skink>,
[EMAIL PROTECTED] says...
> Hi All
>
> I'll start by saying that I've checked the online manual (and comments)
> as well as having done a Google search on this with no success.
>
> My problem is that files uploaded through a form are increasing
Hi
I have this
***
line 1
line 2
...
***
and i want have this after my script ...
***
MY NEW TEXT
line 1
line 2
...
***
i had test this but it seems not work :
$fp = fopen("test", "a+");
fseek ($fp,0);
fputs($fp,"set IP=192.11.11.11\n");
fclose($fp);
i had
Hi All,
I'm scanning email address for our mailing list to see if they are valid and
the PHP app I have built for this bombs out at random complaining of a
Segmentation Fault.
I believe this is to do with memory and possibly down to the number of open
file handles but the code is spot on in that
> -Original Message-
> From: PHP List [mailto:php_list@;ibcnetwork.net]
> Sent: 29 October 2002 17:20
> To: php
> Subject: Re: [PHP] Array Question
>
>
> No, array_keys does not do what I want, in order to user
> array_keys, it
> assumes I know the value of the key, but I don't,
Er -- n
Like noone seems to find something usefull to help me.. I've done the work
myself :)
I've tried this :
$eregstr="/]*>([^<]|<[^\/]|<\/[^style]|<\/style[^>])*<\/style[^>]*>
/msi";
$data=preg_match_all($eregstr,$str,$matches);
$str=preg_replace($eregstr,"",$str);
$styles=implode("\n",$
> -Original Message-
> From: John W. Holmes [mailto:holmes072000@;charter.net]
> Sent: 30 October 2002 01:15
> To: 'Jarrad Kabral'; [EMAIL PROTECTED]
>
> Pretty sure this is a known bug; it's been discussed on here a few
> times. Do a search for it.
Oh yeah, at least half a dozen -- I fou
> -Original Message-
> From: Paul Nicholson [mailto:paul@;dtnicholson.com]
> Sent: 29 October 2002 19:10
> To: Sascha Cunz; Petre Agenbag; [EMAIL PROTECTED]
>
> Hey,
> I think you should be able to serialize and urlencode the
> array and then
> pass that via get/post.post would be a l
basicly you need to do select .. limit $ptr, 1
and links prev = $ptr-1 (if $ptr!=0) and next = $ptr +1 (if $ptr <
select count(*))
Petre Agenbag wrote:
Rick,
thanks,
I will check the lists, but I'm not sure that will resolve my problem, I
don't want to limit the display in the initial
[snip]
I'm new to php coding but after some research am I right in saying that the
latest release that I installed is PHP4.2.3 then there is a configuration
setting
called "register_globals". Up until 4.2 it has always been "ON". But not..
as of 4.2 it is "OFF". is this right? if so have the scri
Instead of splitting the string on chars that don't equal \w and ',
split it on chars that equal \s (or any other you need)
Gerard Samuel wrote:
Im trying to explode a string into an array of words using ->
$title = preg_split('/[^\w\']/', $title, -1, PREG_SPLIT_NO_EMPTY );
It seems to work we
Hi,
1. The server I am using does not have the Calendar functions compiled into
PHP.
2. The online manual comments for GregoriantoJD supplies a standalone
function to convert one way.
3. A counterpart function, translating back JDtoGregorian, is missing.
Does anyone have a matching pair of the
Tine wrote:
Greetings,
Forgive my newbism here, but I am having a hard time recieving check(box)ed
items from a form sent to e-mail using PHP.
The code is as follows:
//Routine for checkboxes
$MailBody .="Type medlemskap : ";
$items = 2; //initiate possible # of items
for ($i = 1; $i
There is no insert in fputs, you need to make a new file and then rename
it to
your old one, or build it in the memory and then overwrite it.
Sébastien Eckert -- Netika wrote:
Hi
I have this
***
line 1
line 2
...
***
and i want have this after my script ...
***
MY NEW
Forgive me if you guys have seen this. Just read it on
www.webmasterworld.com
Yahoo moves to PHP
http://public.yahoo.com/~radwin/talks/yahoo-phpcon2002.htm
--
Nick Wilson // www.tioka.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.
We're taking over.
Steve Bradwell
MIS Department.
"If you give someone a program, you will frustrate them for a day. If
you
teach them how to program, you will frustrate them for a lifetime."
-Original Message-
From: Nick Wilson [mailto:nick@;tioka.com]
Sent: Wednesday, October 30, 2002
I just got done reading the online docs concerning http authentication
and tried out a script that appears on the page. Apparently it is easy
enough to protect any page with http authentication after you have already
forced someone to enter a username and password on a regular .htaccess
prompting
I never noticed before...there is no easy way to perform random-access read and WRITE
on a
file.
I vote/recommend/suggest that this most basic functionality be added to the next
release
of PHP. This would not be an enhancement; rather, it is correcting a serious flaw.
Or am I missing something
> -Original Message-
> From: Rick Emery [mailto:[EMAIL PROTECTED]]
> Sent: 30 October 2002 13:46
>
> I never noticed before...there is no easy way to perform
> random-access read and WRITE on a
> file.
>
> I vote/recommend/suggest that this most basic functionality
> be added to the next re
Rick,
If you have a file that is to large to simply read into memory, do your
inserts and then write back out then you need to move it to a database.
Cluttering up the main code base with random flat-file reads and writes is
not necessary.
If you seriously need it then you can do as suggested, cr
hi, i am a competant perl programmer of nearly a year and a half and I have
just this week started looking at php.
I am trying to write a couple of webpages that will allow me to update a
mysql database which is powering a dns server, for a dynamic dns service.
every time i have tried to grab som
Hi, using php_ldapadd, I get this error in ldap.log:
Oct 30 09:23:43 Lunar slapd[10714]: conn=202 op=1 RESULT tag=105 err=65
text=object class 'posixAccount' requires attribute 'uidNumber'
How do I get the next available uid number from my ldap database and then
use that number for uidnumber?
Tha
Hi all,
I am having problems unsetting Session Variables - where I know it
should work.
I have a form. It contains both links with GET variables, and also a
POST form. They all go to the same next page.
Page 2 simply clears all session variables, and then sets them based
upon the contents of the
Mike Ford had the answer:
$fp = fopen("test", "r+");
- Original Message -
From: "Marek Kilimajer" <[EMAIL PROTECTED]>
To: "PHP" <[EMAIL PROTECTED]>
Sent: Wednesday, October 30, 2002 6:28 AM
Subject: Re: [PHP] write on the begin of a file
There is no insert in fputs, you need to make a ne
You are correct. In fact, simply r+ works; I just tried it.
Thanks
- Original Message -
From: "Ford, Mike [LSS]" <[EMAIL PROTECTED]>
To: "'Rick Emery'" <[EMAIL PROTECTED]>; "PHP" <[EMAIL PROTECTED]>
Sent: Wednesday, October 30, 2002 8:05 AM
Subject: RE: [PHP] File Random Access
> -O
Hello,
Can you give me any url, where from I can get any Text patterns, I'm making
a list of text patterns for code writing optimization. I'm in need of any
type of patterns - e-mail, utl, ftp, etc. Any custom patterns are welcome ;)
Thank you in advance ;)
--
PHP General Mailing List (http://
Are you doing a session_start() on the page you are unsetting on?
Timothy Hitchens (HiTCHO)
[EMAIL PROTECTED]
If you need PHP hosting with an experienced
support team 24/7 then email me today.
On Wed, 30 Oct 2002, David Russell wrote:
> Hi all,
>
> I am having problems unsetting Session Varia
This is not an answer for him, this would overwrite the old stuff, but
he wants to prepend it.
Rick Emery wrote:
Mike Ford had the answer:
$fp = fopen("test", "r+");
- Original Message -
From: "Marek Kilimajer" <[EMAIL PROTECTED]>
To: "PHP" <[EMAIL PROTECTED]>
Sent: Wednesday, October 3
attached is a dump of the mysql database. The passkeys are not on a per user
basis, but rather per domain. this can change if that is not good.
On Wed, Oct 30, 2002 at 03:36:58 +0100, Martin Hudec wrote:
> Hello Mat,
>
> MH> hi, i am a competant perl programmer of nearly a year and a half and I
> -Original Message-
> From: David Russell [mailto:DavidR@;BarloworldOptimus.com]
> Sent: 30 October 2002 14:32
>
> I am having problems unsetting Session Variables - where I know it
> should work.
>
> I have a form. It contains both links with GET variables, and also a
> POST form. They
> -Original Message-
> From: Rick Emery [mailto:[EMAIL PROTECTED]]
> Sent: 30 October 2002 14:35
>
> You are correct. In fact, simply r+ works; I just tried it.
> Thanks
Yes, but that's not guaranteed to be binary-safe on Windows -- if your data happens to
include null bytes, you might
there is no real hurry on the app but obviously I can't afford the lay down
on the job. i would appreciate the help and especciallu the comments, but
only if you are sure you have the time.
this is the sort of options the user would have:
sign up user
login
create domain
Why domains.domain_id and users.user_id are not auto_increment?
Mat Harris wrote:
attached is a dump of the mysql database. The passkeys are not on a per user
basis, but rather per domain. this can change if that is not good.
On Wed, Oct 30, 2002 at 03:36:58 +0100, Martin Hudec wrote:
Hell
I have a little question. I'm having some difficulty with regular
expressions:
here it is:
(this)example
should be output in an array
[0]=> this
[1]=> thisexample
I'm supposing this should be done with preg_grep, but I'm not really
familiar with some of it's syntax for the regular expression.
I
$str = "(this)example";
preg_match("/\((.*?)\)(.*)/",$str,$regs);
$a[0] = $regs[1];
$a[1] = $regs[1].$regs[2];
On Wed, 30 Oct 2002, Simon Dedeyne wrote:
> I have a little question. I'm having some difficulty with regular
> expressions:
>
> here it is:
> (this)exam
If I understand you correctly, I think you want this?
$matches = array();
$test = "(this)example";
preg_match("/\((.*)\)(.*)/", $test, $matches);
array_shift($matches);
On Wed, 30 Oct 2002, Simon Dedeyne wrote:
> I have a little question. I'm having some difficulty with regular
> expressions:
>
Whoops.. I missed one bit. Rasmus did it right. ;)
On Wed, 30 Oct 2002 [EMAIL PROTECTED] wrote:
> If I understand you correctly, I think you want this?
>
> $matches = array();
> $test = "(this)example";
> preg_match("/\((.*)\)(.*)/", $test, $matches);
> array_shift($matches);
>
> On Wed, 30 Oc
PHP 4.2.2
Register Globals Off
Using only $_SESSION
No session_register() calls at all
Interestingly enough, doing session_unregister('variablename') *in*
*addition* does work (although I am sure it shouldn't)
session_write_close() does not help
Any suggestions?
> -Original Message-
> Fr
Can someone tell me why I can't have
$_SESSION['foo'] = 'content of foo';
following by
header('Location: http://www.mysite.com');
Someone from www.php.net told me that it can confuse
browser (http://bugs.php.net/19991). But, still I
can't the idea why it can happen. Does register
session means
> -Original Message-
> From: David Russell [mailto:DavidR@;BarloworldOptimus.com]
> Sent: 30 October 2002 15:30
> To: 'Ford, Mike [LSS]'
> Cc: [EMAIL PROTECTED]
> Subject: RE: [PHP] Unsetting Session Variables
>
>
> PHP 4.2.2
> Register Globals Off
> Using only $_SESSION
> No session_regi
hi,
i hope im sending this to the correct place.
im getting this error (below) when i run a script on my server. Im assuming I need to
communicate with my admin about permissions, but im not 100% sure what the permission
is. I'm basically trying to create an html file.
if anyone can give me
Why doesn't this work?
If I select "that" from the form submitting the value to "var" I get a
header already sent error. There is nothing else above these statments in
my script.
Thanks,
Ed
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub
Not sure if this is what you're looking for, but a possible solution could
be:
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, October 30, 2002 6:25 AM
Subject: [PHP] Mutiple header statements?
Why doesn't this work?
If I select "that" from the form submitting the value to "var" I get a
header already sent error. Ther
When retrieving an array from $_POST, which is the right way:
$arrInterests = $_POST["interests[]"];
or
$arrInterests = $_POST["interests"];
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I have noticed this behavior before, and I find it very inconsistent.
Does anybody know if this
is going to be fixed?
Ford, Mike [LSS] wrote:
-Original Message-
From: David Russell [mailto:DavidR@;BarloworldOptimus.com]
Sent: 30 October 2002 15:30
To: 'Ford, Mike [LSS]'
Cc: [EMAIL PROTEC
What happened when you tried both methods?
- Original Message -
From: "John Meyer" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, October 30, 2002 10:29 AM
Subject: [PHP] array question
When retrieving an array from $_POST, which is the right way:
$arrInterests = $_POST["
You might be able to solve this yourself, connect using ftp and try
"chmod o+w directory",
where directory is the directory that you want to write to.
[EMAIL PROTECTED] wrote:
hi,
i hope im sending this to the correct place.
im getting this error (below) when i run a script on my server. Im
Either way, I'm not getting the interests.
-Original Message-
From: Rick Emery [mailto:remery@;emeryloftus.com]
Sent: Wednesday, October 30, 2002 9:34 AM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] array question
What happened when you tried both methods?
- Original Message -
From
What does you HTML look like?
- Original Message -
From: "John Meyer" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, October 30, 2002 10:36 AM
Subject: RE: [PHP] array question
Either way, I'm not getting the interests.
-Original Message-
From: Rick Emery [mailto:r
I'm interested in the possibility of interfacing with SAP for a project
using PHP or Perl. I've not found any documentation that might help yet:
Can anyone point me in the direction of any help? I've only used PHP with
MySQL to date.
Thanks,
Mick
e-ssociate
EPSON (UK) Ltd.
Tel 01442 227374
w
Dear all,
I am just approaching to XML and I would need some explanation, which most
of you will probably consider very trivial.
I have read about the XLS Sablotron functions, which are able to apply XLS
stylesheets to an XML document.
My question is: if my aim is to apply to an XML document an
Hello,
"John Meyer" <[EMAIL PROTECTED]> wrote:
> Either way, I'm not getting the interests.
>
...[snip]...
>
> When retrieving an array from $_POST, which is the right way:
>
> $arrInterests = $_POST["interests[]"];
>
> or
> $arrInterests = $_POST["interests"];
>
Try this instead:
$arrI
On Wed, 30 Oct 2002, Rick Emery wrote:
>
> if ($_POST['var'] == "this") {
> header("Location: scipt1.php"); exit;}
>
> if ($_POST['var'] == "that") {
> header(Location: script2.php"); exit; }
Nope, I still get a header already sent error if I choose "that."
Ed
--
PHP General Mailing L
Sounds interesting.
Is there any other official info about it somewhere?
--
Maxim Maletsky
[EMAIL PROTECTED]
www.PHPBeginner.com // PHP for Beginners
www.maxim.cx // my Home
// my Wish List: ( Get me something! )
http://www.amazon.com/exec/obidos/registry/2IXE7SMI5EDI3
Philip
I suppose this is just an excerpt, could you paste some more code here?
[EMAIL PROTECTED] wrote:
On Wed, 30 Oct 2002, Rick Emery wrote:
if ($_POST['var'] == "this") {
header("Location: scipt1.php"); exit;}
if ($_POST['var'] == "that") {
header(Location: script2.php"); exit; }
Nope,
On Wed, 30 Oct 2002 [EMAIL PROTECTED] wrote:
> Not sure if this is what you're looking for, but a possible solution could
> be:
>
> if ($_POST['var'] == "this")
> $page = "script1";
>
> if ($_POST['var'] == "that")
> $page = "script2";
>
> header("Location: $page.php"); }
> ?>
> On Wed, 30 Oct 2002, Rick Emery wrote:
>
> > >
> > if ($_POST['var'] == "this") {
> > header("Location: scipt1.php"); exit;}
> >
> > if ($_POST['var'] == "that") {
> > header(Location: script2.php"); exit; }
>
> Nope, I still get a header already sent error if I choose "that."
WHAT IS THE ERRO
I can't say that I've noticed this in 4.2.3. I just wrote an application
where all I used was $_SESSION and unset() and it worked perfectly.
---John Holmes...
- Original Message -
From: "Marek Kilimajer" <[EMAIL PROTECTED]>
To: "PHP" <[EMAIL PROTECTED]>
Sent: Wednesday, October 30, 2002 1
> Can someone tell me why I can't have
>
> $_SESSION['foo'] = 'content of foo';
>
> following by
>
> header('Location: http://www.mysite.com');
>
> Someone from www.php.net told me that it can confuse
> browser (http://bugs.php.net/19991). But, still I
> can't the idea why it can happen. Does regis
On Wed, 30 Oct 2002, Marek Kilimajer wrote:
> I suppose this is just an excerpt, could you paste some more code here?
>
> [EMAIL PROTECTED] wrote:
>
> >On Wed, 30 Oct 2002, Rick Emery wrote:
> >> >>
> >>if ($_POST['var'] == "this") {
> >>header("Location: scipt1.php"); exit;}
> >>
> >>if ($_PO
A very important question indeed :)
print $_POST['interests'][0];
print $_POST['interests'][1];
print $_POST['interests']['foo'];
print $_POST['interests']['bar'];
Read the manual section on arrays for more
information on using them.
http://www.php.net/manual/en/language.types.array
(Well, at least it's tricky for me... :-)
I need to sort an array based on three numbers that are situated in the
middle of each array element. For example:
$list[] is an array, and contains the following [unsorted] elements:
Super-S862-030.jpg
Super-S1162-040.jpg
Super-S874-010.jpg
Super-S1174
hi,
i hope im sending this to the correct place.
im getting this error (below) when i run a script on my server. Im assuming I need to
communicate with my admin about permissions, but im not 100% sure what the permission
is. I'm basically trying to create an html file.
if anyone can give
Daniele Baroncelli wrote:
Dear all,
I am just approaching to XML and I would need some explanation, which most
of you will probably consider very trivial.
I have read about the XLS Sablotron functions, which are able to apply XLS
stylesheets to an XML document.
My question is: if my aim is to
> WHAT IS THE ERROR?? It tells you _exactly_ in the header error message where
> the output was started. Look on or near that line because it caused some
> output to the browser and now headers cannot be sent.
>
> ---John Holmes..
Here's the code:
and on from here...
You have an empty line there, get rid of the
?>
pair
[EMAIL PROTECTED] wrote:
WHAT IS THE ERROR?? It tells you _exactly_ in the header error message where
the output was started. Look on or near that line because it caused some
output to the browser and now headers cannot be sent.
---John
Give it a try, that's the way I do it.
jennifer villany wrote:
hi,
thanks for your feedback. chmod is greyed out in my ftp client.
im using smart ftp. can i make these changes at the command line?
thanks again,
jennifer
"Marek Kilimajer" <[EMAIL PROTECTED]> wrote in message
news:<[EMAIL PROTE
the -5 should be -7
René Fournier wrote:
(Well, at least it's tricky for me... :-)
I need to sort an array based on three numbers that are situated in
the middle of each array element. For example:
$list[] is an array, and contains the following [unsorted] elements:
Super-S862-030.jpg
Super-
On Wed, 30 Oct 2002, Marek Kilimajer wrote:
> You have an empty line there, get rid of the
> ?>
>
> pair
That did it!! I didn't know a blank line inside php tags would be
interpeted as output.
Thanks!
Ed
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://w
See? If you had just started with your actual code and the actual error,
we'd of solved this by now.
---John Holmes...
> -Original Message-
> From: Marek Kilimajer [mailto:kilimajer@;webglobe.sk]
> Sent: Wednesday, October 30, 2002 12:37 PM
> To: PHP
> Subject: Re: [PHP] Mutiple header st
It's not inside PHP tags, look at your code again. You have two PHP
blocks with a blank line between them.
---John Holmes...
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:ed@;home.homes2see.com]
> Sent: Wednesday, October 30, 2002 8:49 AM
> To: Marek Kilimajer
> Cc: PHP
> Subjec
...and the 2 should be 3 :)
- E
"Marek Kilimajer" <[EMAIL PROTECTED]> wrote:
> the -5 should be -7
>
> René Fournier wrote:
>
> > (Well, at least it's tricky for me... :-)
> >
> > I need to sort an array based on three numbers that are situated in
> > the middle of each array element. For exampl
Hello,
<[EMAIL PROTECTED]> wrote:
>
> On Wed, 30 Oct 2002, Marek Kilimajer wrote:
>
> > You have an empty line there, get rid of the
> > ?>
> >
> > > pair
>
> That did it!! I didn't know a blank line inside php tags would be
> interpeted as output.
>
...because it was *outside*... :)
-
You're right again as usual Oh List God. Sorry about that. I love this
list!!
On Wed, 30 Oct 2002, John W. Holmes wrote:
> It's not inside PHP tags, look at your code again. You have two PHP
> blocks with a blank line between them.
>
> ---John Holmes...
>
> > -Original Message-
> > F
Yes, and 2 should be 3
Marek Kilimajer wrote:
the -5 should be -7
René Fournier wrote:
(Well, at least it's tricky for me... :-)
I need to sort an array based on three numbers that are situated in
the middle of each array element. For example:
$list[] is an array, and contains the followin
> I need to sort an array based on three numbers that are situated in
the
> middle of each array element. For example:
>
> $list[] is an array, and contains the following [unsorted] elements:
>
> Super-S862-030.jpg
> Super-S1162-040.jpg
> Super-S874-010.jpg
> Super-S1174-020.jpg
>
> I want to so
That why I say COPY&PASTE your code, if you write it from memory you may
even fix the problem yourself and don't know about it. The code you
wrote first had
nothing wrong in it.
[EMAIL PROTECTED] wrote:
On Wed, 30 Oct 2002, Marek Kilimajer wrote:
You have an empty line there, get rid of the
It works! Thanks.
On Wednesday, October 30, 2002, at 10:50 AM, @ Edwin wrote:
...and the 2 should be 3 :)
- E
"Marek Kilimajer" <[EMAIL PROTECTED]> wrote:
the -5 should be -7
René Fournier wrote:
(Well, at least it's tricky for me... :-)
I need to sort an array based on three numbers th
For some reason my brain is not operating within normal parameters this week.
$myarray["test"] = "sd";
echo $myarray[0];
Why will nothing echo? Do I somehow have to initialize indexing on the array $myarray?
php says that $myarray is an array, but I can't access it with numeric indexes.
I know i
Basically SAX and DOM are for parsing xml and xslt is for transforming
xml into html, svg, wml, pdf and the like. So it sounds like you want to
use xslt.
Daniele Baroncelli wrote:
Dear all,
I am just approaching to XML and I would need some explanation, which most
of you will probably consider
Because you haven't put anything in array index 0. The only array index
that has anything is "test". There is no difference between numeric and
string indices. You seem to be assuming that somehow the first element in
an array can always be accessed as index 0 which is not the case and never
has
Hello,
"PHP List" <[EMAIL PROTECTED]> wrote:
> For some reason my brain is not operating within normal parameters
> this week.
>
> $myarray["test"] = "sd";
> echo $myarray[0];
>
> Why will nothing echo? Do I somehow have to initialize indexing on
> the array $myarray?
> php says that $myarray
I used a similar script and had the same problem I'm having with yours.
The first few lines returned in the '$response' variable are the
headers from the POST operation. When I get to the 'print' command at
the end I get the headers generated by my server, then the headers
retrieved from the
> You'll need the SAX or DOM functions if you will be /generating/ your
> XML.
I suppose, you mean, generating XML from another XML document, am I right?
> The Sablotron extension (and other XSLT processors) take XML and
> XSLT and output whatever your XSLT tells it to. The XSLT processor
> depe
So are you saying there really is no array pointer?
Lets say I have an array with several different values like:
$myarray["a"] = "s";
$myarray[3] = "d";
$myarray["sdf"] = "y";
There is no way of saying give me the value in the array at position 2?
Since the size of the array is returned as 3, shoul
Anyone like to recommend a good host with good uptime for a high traffic
site?
The host would need excellent technical support as well as be feature rich
(Multiple MySQL database support/listserver/SSL support etc.)
I have been trying out phpwebhosting.com and they seem very good but I am
not happ
>Anyone out there have high volume sites with a feature rich hosting
solution?
I'd be interested, too, but especially in the free ones.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Wed, 30 Oct 2002, PHP List wrote:
> So are you saying there really is no array pointer?
> Lets say I have an array with several different values like:
> $myarray["a"] = "s";
> $myarray[3] = "d";
> $myarray["sdf"] = "y";
> There is no way of saying give me the value in the array at position 2?
>
huge junk mail wrote:
> Can someone tell me why I can't have
>
> $_SESSION['foo'] = 'content of foo';
>
> following by
>
> header('Location: http://www.mysite.com');
>
> Someone from www.php.net told me that it can confuse
> browser (http://bugs.php.net/19991). But, still I
> can't the idea why
Yes... for the most part... think about it this way... (and please correct
me if I'm wrong :)
An associative array isn't ordered. It's key based. Think of it like a
dictionary, but one whose first and last several pages have been removed.
You wouldn't have any way of telling me the definition fo
While that is a good way to approach arrays, you are actually guaranteed
to get the array back in the order you added the elements in PHP.
-Rasmus
On Wed, 30 Oct 2002, Philip Hallstrom wrote:
> Yes... for the most part... think about it this way... (and please correct
> me if I'm wrong :)
>
> An
--- Begin Message ---
Hello,
My System is Redhat Linux 7.2...
I can't to find where is the path of pear under the system...
So, can you help me ?
Thank a lots.
Edward.
--- End Message ---
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.
I've written a nice php/mysql site that let's you search for hospitals and
community colleges by zip code. The search is built upon some math that
figures out distances by a zip's lat and lon cords.
My problem is that my current ZIP table (bout 42,000 rows) seems to be
flawed. There are a ton of z
I think the fog is starting to clear, thanks for the help.
I do have one more question:
If I want to use array_walk in a class, how do I refer to a function in that
class?
Class MyClass
{
.
.
.
function DoArrayStuff(&$item1, $key, $nMode)
{
echo $item1;
}
f
try:
'locate PEAR' if it doesn't show up do 'updatedb' then 'locate PEAR'
mine is /usr/lib/php/PEAR (Gentoo)
-js
[EMAIL PROTECTED] wrote:
>
>
>
> Subject:
> Problem about pear
> From:
> [EMAIL PROTECTED]
> Date:
> Thu, 3
Hello everybody,
maybe I am dumb , I dunnow, I have a parse error here and I don't understand
why :
$fp=fopen("temp/$userfile_name[$i-1]","w+");
the error I get is : Parse error: parse error, expecting `']'' in
D:\Data\WebSSL\tm\RFP\upload2.php on line 61
THANX !!! :(((
=
try:
$fp = fopen('temp/'.$userfile_name[($i-1)], "w+");
-js
Andres, Cyrille wrote:
>
> Hello everybody,
>
> maybe I am dumb , I dunnow, I have a parse error here and I don't understand
> why :
>
> $fp=fopen("temp/$userfile_name[$i-1]","w+");
>
> the error I get is : Parse error: parse error,
thx, but I still have the same error
I think I have a poltergheist in my computer !!!
-Original Message-
From: Jonathan Sharp [mailto:js-lists@;sharpmedia.net]
Sent: Wednesday, October 30, 2002 11:13 AM
To: Andres, Cyrille
Cc: PHP List; php
Subject: Re: [PHP] parse error
try:
$fp = fopen
1 - 100 of 215 matches
Mail list logo