The way I would tackle this is in several steps (and maybe combine them
later?)
Here goes - in pseudo code/point form
1. Find max
2. Find all array elements who's number in less than max
2a. create a temp array that holds these indexes
3. Do the ol' nPr (or is it nCr?) thingo on the temp array,
On Tue, 2 Jul 2002 15:23:38 -0600, [EMAIL PROTECTED] (Ray Hunter) wrote:
> Check here:
> http://www.chilkatsoft.com/ChilkatXml.asp
Doesn't look as if it'll run under Unix?
> Google search:
> http://www.google.com/search?sourceid=navclient&q=convert+xml+charset
I've been googling ont he topic fo
On Tue, 02 Jul 2002 14:33:35 -0700, [EMAIL PROTECTED] (Clay Loveless) wrote:
> I haven't tried this myself yet, but will soon be facing a similar need.
>
> http://www.php.net/iconv
>
> That's probably the way I'll start off on tackling this problem ... Grab
> your XML document, check to see if i
I get the following error when i try to install an app
called "PHPwebsite" ( http://phpwebsite.appstate.edu/ )
Warning: Cannot add header information - headers already sent by
(output started at C:\apache\htdocs\php\setup\index.php:9)
in C:\apache\htdocs\php\htmlheader.php on line 30
I also i
Hi,
I searched through the archives and found the following snippit of code
from Tim Converse from late 2000. This is great, but does anyone know
how I can adapt this so I can return all values from a multidimensional
array? I have an id number which corresponds to a record which I need
to rev
Dear All,
I was reading the post Re: [PHP] Setting a cookie and redirecting started 03
July 2002 02:54 in this news group.
If one is providing a redirection service (the likes of domain name only
hosting with redirection support), but you have no access to facilities
other than php. (An odd sena
TEST-PLEASE IGNORE
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hello,
On 07/03/2002 12:57 AM, Balaji Ankem wrote:
>
> Hi friend,
> Will mail()function work for SMTP servers which needs authentication?
> If so how can pass the username and password to my SMTP server.
No, you need to communicate directly with the SMTP server to
authenticate. mail() has no
On Wednesday 03 July 2002 12:17, Balaji Ankem wrote:
> Yes Jason, I have checked and still checking..but I couuldn't get
> proper information.
The first page of results I got from google included a reference to Pear,
check that out. I'm sure there are others that'll be useful to you.
--
Ja
Yes Jason, I have checked and still checking..but I couuldn't get
proper information.
Thanks and Regards
Balaji
-Original Message-
From: Jason Wong [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 03, 2002 9:45 AM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] Will mail() function work
On Wednesday 03 July 2002 11:57, Balaji Ankem wrote:
> Hi friend,
> Will mail()function work for SMTP servers which needs authentication?
> If so how can pass the username and password to my SMTP server.
>
> Any help would be greatly appreciated.
Did you check on google like I suggested in an e
>I don't agree with the general rule of thumb that the use of the
>"Location" header is bad, but I have reviewed plenty of code where
>people misuse it terribly, as a lazy goto-style operation. In most
>cases, you do want to design your application to:
>1) receive data
>2) analyze data
>3) resp
>> If you have to do header("Location: ...") you have a
>> design/engineering/organizational problem in your code/pages/site.
>>
>> I'm sure a zillion people will disagree with this "rule"
>
>I agree, except there's one exception to this that I can't see a way around.
>
>When dealing with form s
>www.net.co.cr/test/test.php
frame session test
'; }
if ($QUERY_STRING == "1.html")
{ echo "This is just a dummy frame."; }
if ($QUERY_STRING == "2.html")
{
echo "";
echo "The value of \$_SESSION['tree'] is:";
echo gettype($_SESSION['tree']);
echo "";
}
?>
--
Like Music?
>I need to echo a string that contains both quotes and double
>quotes.
>
>I remember doing this once using a special construct where the
>string started on a new line with a triple slash if I remember well. Or
>it was a triple something...
>
>I can't find the topic in the online PHP doc...
>
>A
>> Just looking for a pointer or functions I can use to do this...
>>
>> I have a spreadsheet with a couple thousand entries that I'll be using for
>> populating a MySQL database. The spreadsheet has names listed in "last,
>> first" - the database I'll be populating has separate fields for first
Hi friend,
Will mail()function work for SMTP servers which needs authentication?
If so how can pass the username and password to my SMTP server.
Any help would be greatly appreciated.
Thanks in advance
Balaji
**Disclaimer
Inform
>>>
>>ServerName www.example.com
>>DocumentRoot /home/example/htdocs
>>php_value decryptionkey "123456789"
>>>
>>
>>encode your secret data using the decryptionkey
>>before hand, and then decode it on the fly using
>>the environment variable present in only in your
>>vhost.
>>
>>I'm hoping that
You da man. Thanks
"Analysis & Solutions" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> On Tue, Jul 02, 2002 at 11:19:22PM -0400, Analysis & Solutions wrote:
> >
> > Oops. Forgot to escape the $:
> >
> > $var = "\$wins_$counter";
>
> Oops. Forgot my pr
On Tue, Jul 02, 2002 at 11:19:22PM -0400, Analysis & Solutions wrote:
>
> Oops. Forgot to escape the $:
>
> $var = "\$wins_$counter";
Oops. Forgot my promise to myself to always test things before posting.
I had a sinking feeling my initial posting would come back to haunt me,
but I JU
hmm... I must be doing something wrong. This is still returning 000
"Analysis & Solutions" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> On Tue, Jul 02, 2002 at 10:45:27PM -0400, Analysis & Solutions wrote:
>
> >$var = "$wins_$counter";
>
> Oops. F
Justin French wrote:
>on 03/07/02 11:54 AM, Richard Lynch ([EMAIL PROTECTED]) wrote:
>
>
>
>>Rule of Thumb:
>>If you have to do header("Location: ...") you have a
>>design/engineering/organizational problem in your code/pages/site.
>>
>>I'm sure a zillion people will disagree with this "rule"
This doesn't seem to work. Here's my demo.
This returns 000, it should return 743
"Analysis & Solutions" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> On Tue, Jul 02, 2002 at 10:19:59PM -0400, Greg Wineman wrote:
> >
> > He are the variables from my for
On Tue, Jul 02, 2002 at 10:45:27PM -0400, Analysis & Solutions wrote:
>$var = "$wins_$counter";
Oops. Forgot to escape the $:
$var = "\$wins_$counter";
--Dan
--
PHP classes that make web design easier
SQL Solution | Layout Solution | Form Solution
sq
on 03/07/02 11:54 AM, Richard Lynch ([EMAIL PROTECTED]) wrote:
> Rule of Thumb:
> If you have to do header("Location: ...") you have a
> design/engineering/organizational problem in your code/pages/site.
>
> I'm sure a zillion people will disagree with this "rule"
I agree, except there's one e
"David E. Weekly" <[EMAIL PROTECTED]> wrote in message
000701c221d7$656f8d90$[EMAIL PROTECTED]">news:000701c221d7$656f8d90$[EMAIL PROTECTED]...
> I had to retool all of my scripts. =/
This is probably too late but one can use extract($_POST) or similar at
the beginning of a script to create t
In your config file (or at the top of each page) you should establish what
your document root is:
$docroot = "/usr/home/sitename/";# or whatever
Then do something like include("{$docroot}inc_dir/file.inc");
Or maybe you specify an include directory in your config:
$incdir = "/usr/home/sit
On Tue, Jul 02, 2002 at 10:19:59PM -0400, Greg Wineman wrote:
>
> He are the variables from my form
>
> wins_1=7
> losses_1=0
> sort_1=1
> wins_2=7
> losses_2=4
> sort_2=2
> wins_3=7
> losses_3=4
> sort_3=3
>
> $counter=1;
> $wins=eval("\$wins_".$counter);
eval() is overkill and can be dangero
If you output the right headers, then output the file (by either passing
thru an existing file or "building" a file), then it should work
although I have no experience with exactly what you want -- only with MP3s,
images, etc.
Justin French
on 01/07/02 7:52 PM, Herve le Martret ([EMAIL PROT
Hello,
Could someone offer some insight on eval(); I am fairly new at this.
I would like to evaluate numerous variables from a form submission with a
loop, but I can;t even get on to work:
I.e.
He are the variables from my form
wins_1=7
losses_1=0
sort_1=1
wins_2=7
losses_2=4
sort_2=2
wins_3=
Richard Lynch wrote:
>>>Your form action parameter has an absolute url specifying an https
>>>protocol. When the browser submits the form, it uses the url you specify
>>>which is https. So the request is going to be encrypted. You might
>>>consider serving the form page from https as well to kind
Richard Lynch wrote:
>>http://domainname.com/register.php
>>display a user registration form having
>>[form action="https://domainname.com/register.php"; method="post"]
>>
>>will the data from that page be encrypted when it is sent via https
>>specified in the [form] action?
>>
>>note: the regist
On Wednesday 03 July 2002 09:54, C. Cormier - Ormetal Inc. wrote:
> I need to echo a string that contains both quotes and double
> quotes.
>
> I remember doing this once using a special construct where the
> string started on a new line with a triple slash if I remember well. Or
> it was a triple
Just something to note, but the form, when displayed, won't have the
"lock" or "key" or whatever, signifying a secure connection to the user.
Depending on what kind of data you are collecting, this could be an
issue. Most people probably won't notice, but if you're serving a
smarter crowd, they ma
Hello,
I got this example of sessions: www.net.co.cr/test/test.php ,
however, as you can see in the code at /test/text.txt , isnt $_SESSION
['tree'] suppose to contain a value and not be NULL?
Thanks.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/
>If you don't mind, I'm interested in learning more about what exactly
>ASP does differently. Are there two HTTP responses sent?
No, it just happens to have sent them in the order his browser liked.
ASP can't do anything "different" from PHP.
I used to laugh when ASPers asked why PHP had to do
>>Your form action parameter has an absolute url specifying an https
>>protocol. When the browser submits the form, it uses the url you specify
>>which is https. So the request is going to be encrypted. You might
>>consider serving the form page from https as well to kind of tighten
>>things up a
>I've created the following file (see HTML/JavaScript code below) which
>allows end-users to dynamically (on the client-side) move items from one
>form select list (called "list_managers" to another (called simply
>"managers[]"). When, however, I attempt to access the end-user created
>"managers[
> How do you make you PHP scripts require explicit variable declaration?
>Like Java/SQL/C/C++ or 'use strict;' in PERL or 'Option Explicit' in
>VB/VBScript
The closest you can come is:
This can also be set in php.ini and/or .htaccess
Note that PHP simply does not *have* variable declaration
>I have been trying to figure out how to execute
>commands on a win 98 system with php and apache.
>
>exec(), system(), and shell_exec() seem to work when i
>try to execute a command (such as "netstat -n" or
>"dir") because I can see the ms-dos window open on the
>system, run the command, and then
>> > tecnically whats the diffrance if I do:
>> >
>> > require("http://localhost/image.gif";);
>> > or
>> > require("http://www.domain.com/image.gif";); ?
>>
>> The first one requires the file at "localhost/image.gif", and the
>second
>> one requires the file at "www.domain.com/image.gif".
In
>Hi everyone...
>
>I have a php page that return rows from a database. I then have an href
>link to the individual thread as such:
>
>".
>
>
>This works, it opens a new window which has the detailed information needed.
>However, how would I write java code into this to force it to open the
>windo
>I forgot to point out another disadvantage of turning on register_globals
>apart from that of security is that when you are sending a page with a
>form to the same page, e.g:
>
>
>
>there is a tendency to lose info.. E.g.
>If you are sending text separated by spaces you only manage to
>send the
> How can I regex to compare the last three chars of a string to "php"?
if (substr($foo, -3) == 'php'){
}
Oh, wait, you wanted to use RegEx. Sorry, can't help you there. :-)
Don't use a cannon to swat a fly.
--
Like Music? http://l-i-e.com/artists.htm
--
PHP General Mailing List (http://
>What load are you talking about? This is just an issue of telling the web
>browser the image's dimensions. It's not like the image is being processed
>to convert it to that image size.
Au contraire.
If you have an image named 'huge.jpg' at 1 x 1, and you ask a 386
computer to:
Then
>Does anyone know anyway to synchronize calls to php functions.
>I was thinking of writting a hack that uses a lock file on the server put
>if there is a proper way to do it then I would
>rather use that.
>Any suggestions would be good.
Shared memory may be faster than lock files...
*WHY* you t
>Hello,
> I have a PHP script which gets data from a MySQL database and
>returns an image. So returns the image of
>id 3 from the database. What I really want is to state width is 100 and
>height is 100 for example so I do not have to downlaod the entire
>picture and specify the width and height
>Or just fopen() would work fine.
Except you can't set the "timeout" for fopen() and it's incredibly long,
isn't it?...
--
Like Music? http://l-i-e.com/artists.htm
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
>Given I have some content embedded on my page by calling a remote JS and
>occasionally the URL for the remote script is down causing my page to be
>slow or fail, can I use the following example as a means to test and timeout
>the remote server and skip the embedded JS, if the remote server isn't
>
>Hi friend,
>
> I am using the SMTP server which needs authentication.
And where did you put the username/password in that will authenticate
PHP?... :-)
I dunno where you have to put it, and maybe you just can't do that, but you
can't expect PHP to just magically "know" your password...
--
>PS. I cannot compile as a binary etc. This configuration is the confi of the
>shared server I am using which is hosted by a third part.
>
>Henry
>
>
Get them to do the exact same command, without the apxs part, and put the
resulting php binary in /usr/bin or somewhere handy...
They *PROBABLY* a
>getting added to the database (mysql) have a $1$ in front of them. These
I'm pretty sure that's the way the other encryption scheme works.
You've convinced your computer to switch to YYY instead of XXX for
encryption routines...
So now you are using the one with the 18-character salt, instea
>3) myPage.php sets a cookie using setCookie()
>4) myPage.php redirects to checkBrow.php which uses JavaScript to do some
>basic browser detection
>the cookie back to the client browser first, and *then* performs a redirect.
That's nice...
But different browsers handle the headers in different
>enctype=multipart/form-data>
>
>
>the rest of the form is there too. And $PHP_SELF is set to $PHP_SELF =
>$_SERVER[PHP_SELF] at the top of the page.
>
>When I select a passcodeFile file to upload and click the "upload"
>button, I am presented with this on the next page:
>"You need to specify a f
>I am slowly coming up with a solution to my cURL problem and have narrowed
>down the possibilities. One of these being that the cURL command written out
>with variables and such breaks into more than one line. This is not allowed
>in cURL. So, I had decided to write out a file as follows; ($curli
>Hi,
>I upgraded to 4.2 and now I get those errormessages
>"Parse error: parse error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting
>T_STRING or T_VARIABLE or T_NUM_STRING in ..."
>
>when doing sth like:
>$name = "My $row['name']";
>
>Why?
My Best Guess:
The $row['name'] part should be $row[na
>a few weeks ago there was discussion on how to force open the dialogue save
>on mac ie using header()
>
>was that issue resolved? is there a solution?
header("Content-type: application/octet-stream");
If that doesn't work, your browser is broken. End of story.
Now, getting the filename you *
>Here is a piece of my code...
>Could someone tell me what I did wrong? I get the following errors;
>
>Warning: Undefined offset: 1 in c:/www/htdocs/demos/download/inx_news.php on
>line 33
>Warning: Undefined offset: 1 in c:/www/htdocs/demos/download/inx_news.php on
>line 34
>
>(obviously, the li
>Has anyone her got any idea how I could access the User Env Vars so I can
>get processor type, speed, ram etc. Is there any way to do this? Or would be
>be something other than PHP. Also I need to do this over the web and not on
>their machine.
For security reasons, you are forbidden that inform
>I have a problem with content data. Currently I do store images inside a
>data folder.
>/data
>
>This is causing a problem, because everytime I installan update of the
>application on the server I have to move this folder around to the new
>version of my application. I am worried that during this
>I have a problem with pdf_show_boxed(), it doesn't output anything.
>Everything else shows up just fine. Is there something that I have
>overlooked in this code?
>pdf_set_font($pdf, "Times-Roman", 10, "host");
>pdf_show_boxed (
> $pdf,//Object
> $issuedesc, //text
> 70,//left
> 700,
>Does anyone know what encryption is used on passwords in a .htpasswd file?
I *THINK*:
OS-dependent...
You can install whichever one you like if you work at it.
Sometimes they are even mixed-and-matched over time.
Old entries will be one form, new will be another.
You can just "cat .htpasswd
>hi,
>
>the above question has been puzzling me for a while. the situation is this.
>
>http://domainname.com/register.php
>display a user registration form having
>[form action="https://domainname.com/register.php"; method="post"]
>
>will the data from that page be encrypted when it is sent via ht
http://www.php.net/manual/en/function.fgetcsv.php
that will help you :)
-Original Message-
From: David Robley [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, 3 July 2002 11:49 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Re: Help and advice sought - search/replace
In article <[EMAIL PROTECTE
> I'm getting this error message...where does it come from?
>
>Warning: SQL error: [unixODBC][Driver Manager]Data source name not
>found, and no default driver specified, SQL state IM002 in SQLConnect in
>/var/www/html/index.php on line 4@
Microsoft. :-)
Microsoft defines possible database con
>Send us a copy of your script so that we can help. Odds are that you didn't
>specify the proper field name in your upload form.
>
>-Original Message-
>Now I'm getting this error each time I upload a file...
>
>Warning: Unable to open 'none' for reading: No such file or directory
>in /ho
I need to echo a string that contains both quotes and double
quotes.
I remember doing this once using a special construct where the
string started on a new line with a triple slash if I remember well. Or
it was a triple something...
I can't find the topic in the online PHP doc...
Anybody rem
Okay, here's a stumper for the gurus:
Why does PDF just "stop" on some strings and not print them?
Samples:
http://uncommonground.com/events.pdf?date=7/1/2002
Look at the 19th, 21st, and 26th of July. Look at our on-line calendar:
http://uncommonground.com/events.htm?date=7/01/2002
Source co
On Tue, Jul 02, 2002 at 09:49:14PM -0400, admin wrote:
>
> Warning: Cannot add header information - headers already sent by
> (output started at C:\apache\htdocs\php\setup\index.php:9)
> in C:\apache\htdocs\php\htmlheader.php on line 30
The Manual at http://www.php.net/manual/en/function.heade
I get the following error when i try to install an app
called "PHPwebsite" ( http://phpwebsite.appstate.edu/ )
Warning: Cannot add header information - headers already sent by
(output started at C:\apache\htdocs\php\setup\index.php:9)
in C:\apache\htdocs\php\htmlheader.php on line 30
I also
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED]
says...
> Just looking for a pointer or functions I can use to do this...
>
> I have a spreadsheet with a couple thousand entries that I'll be using for
> populating a MySQL database. The spreadsheet has names listed in "last,
> first" - the data
Scott Fletcher wrote:
>This is a PHP newsgroup, it is for PHP discussion. This is not a PHP
>discussion, so it is a spam mail. Please refrain from using it.
>
>
Actually, I think it is pretty obvious that this guy is just trying to
subscribe. Your email (and consequently mine) are more easi
Michael Sweeney wrote:
>Your form action parameter has an absolute url specifying an https
>protocol. When the browser submits the form, it uses the url you specify
>which is https. So the request is going to be encrypted. You might
>consider serving the form page from https as well to kind of ti
Cord Schneider wrote:
>Here is an outline of the problem:
>1) client browser hits myPage.php
>2) myPage.php does a few checks & recognises that this is a first visit
>3) myPage.php sets a cookie using setCookie()
>4) myPage.php redirects to checkBrow.php which uses JavaScript to do some
>basic br
B.C. Lance wrote:
> http://domainname.com/register.php
> display a user registration form having
> [form action="https://domainname.com/register.php"; method="post"]
>
> will the data from that page be encrypted when it is sent via https
> specified in the [form] action?
The answer is yes. The
On Tue, Jul 02, 2002 at 04:26:02PM -0700, David Busby wrote:
>
> How do you make you PHP scripts require explicit variable
> declaration? Like Java/SQL/C/C++ or 'use strict;' in PERL or 'Option
> Explicit' in VB/VBScript
I think the closest you're going to get is using E_ALL for you
On Tue, Jul 02, 2002 at 04:19:50PM -0600, Kevin Stone wrote:
> Oh man I hope you don't shoot yourself when you realize how easy this is..
>
> foreach ($_POST as $key => $val)
> {
> $str .= "&$key=$val";
> }
But, don't forget the post may contain spaces or other characters which
will trip up
Richard Lynch wrote:
>>>The problem is this redirection is being done with the GET method, so
>>>all query string will be shown. How can I make this redirection use the
>>>POST method?
>>>
>>>
>>>
>>You can't. This "redirection" is just a way of informing the browser
>>that it needs to t
On Tue, Jul 02, 2002 at 01:00:48PM -0500, Jay Blanchard wrote:
>
> This is the one that worked, not the other one with the variables. Now this
> one does not work and I don't insert any variables into it.
Let's do a quick test to isolate where the problem is.
Can you exec() some other simple st
I'll have to test, but I think the $filename = "/tmp/".$userfile is what's
messing things up.
$userfile is a link to the temporary file the system creates when storing
the uploaded file. The link includes a full reference to the file name as
well as the system directory path to the file. Appen
Gurus,
I've created the following file (see HTML/JavaScript code below) which
allows end-users to dynamically (on the client-side) move items from one
form select list (called "list_managers" to another (called simply
"managers[]"). When, however, I attempt to access the end-user created
"manage
List,
How do you make you PHP scripts require explicit variable declaration?
Like Java/SQL/C/C++ or 'use strict;' in PERL or 'Option Explicit' in
VB/VBScript
/B
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I have been trying to figure out how to execute
commands on a win 98 system with php and apache.
exec(), system(), and shell_exec() seem to work when i
try to execute a command (such as "netstat -n" or
"dir") because I can see the ms-dos window open on the
system, run the command, and then close.
- don't use /^ .. $/ if you want to replace all occurences. ^ and $ refer
to the very start and end of the whole string
and make no sense at all - at least in this case. your regexp will not
match at all unless $var contains only a
single variable and nothing more
- either capture (somethin
Oh man I hope you don't shoot yourself when you realize how easy this is..
foreach ($_POST as $key => $val)
{
$str .= "&$key=$val";
}
Then just crop the first char off and there you go.
-Kevin
- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, Ju
Hello,
I need to get _$POST into a string in this form:
tree=green&sky=blue&sun=yellow , how can i accomplish this?
THanks.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
> id 3 from the database. What I really want is to state width
> is 100 and height is 100 for example so I do not have to downlaod the
entire
> picture and specify the width and height as part of the image:
>
> Do not want
>
>
> WHat I want
>
>
>
Is the number of requests (used for garbage collection), tallied on a per
server basis, or on a per domain basis? What about in a load-balanced
environment?
TIA
Kirk
"0, as a number, is just as important as any other number."
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, v
On Tue, Jul 02, 2002 at 10:34:32PM +0200, Nightshade wrote:
> Analysis & Solutions wrote:
>
> Document root doensn't solve my problem...
> ... snip ...
> Any solution?
Read and heed what I already said:
> > Whenever you have a question like this, run phpinfo() and see what's there
> > which pro
On Tuesday, July 2, 2002, at 04:31 PM, Richard Lynch wrote:
> Well, yeah, at that point all you have is SQL and Result, because the
> function has no idea what that SQL is about in any given call...
>
> But, personally, I just don't see the point to having a function/class
> do my
> database w
I haven't tried this myself yet, but will soon be facing a similar need.
http://www.php.net/iconv
That's probably the way I'll start off on tackling this problem ... Grab
your XML document, check to see if it's in windows-1252, and if it is, run
it through the iconv functions, then parse the XML
On Tue, 2 Jul 2002, Lazor, Ed wrote:
> The idea is to create a simple glare effect by taking a white circle and
> making it more transparent around the edges. Though this only produces a
> white circle with fuzzy edges. Can anyone tell me what I'm doing wrong and
Which browser are you using
Check here:
http://www.chilkatsoft.com/ChilkatXml.asp
Google search:
http://www.google.com/search?sourceid=navclient&q=convert+xml+charset
B i g D o g
- Original Message -
From: "Peter" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, July 02, 2002 3:05 PM
Subject: [PHP] Dea
Hi Kit,
For your first question, take a look at:
http://www.php.net/manual/en/installation.php
and click on the windows links..
For your second question, I am really not sure what you are asking.. What
exactly do you want to do? Just add a form to a php page? or have a form
automatically added by
Portability between different databases makes a DB class beneficial. Then
again, I stick with MySQL, so I don't bother with the extra overhead either.
-Original Message-
I just don't see a cost/benefit ratio that makes sense in the DB classes.
I know it's a minority opinion, but I've ne
I hate to sound like an ass, but the best thing would to really read the php
manual @ php.net or buy a PHP programming book...
There are many great books out there on PHP that you can get.
1. Check under php.net for installation and configuration
2. Review include(), include_once(), require() a
you must be tired from searching the manual all day for your answer. :)
Check here:
http://www.php.net/manual/en/install.apache.php
There's a section on installing with Win32
--
Tyler Longren
Captain Jack Communications
[EMAIL PROTECTED]
www.captainjack.com
On Tue, 2 Jul 2002 17:14:32 -0400
Hi, first let me introduce myself...
My name is Kit, and I own the domain below
and host sites from off that domain.
I'm new to using PHP...and need some help.
1. I have apache for win32 1.3.26 setup
on my w2k pro at home, and need to know
how to enable PHP in the config.
2. I also have a PHP
eregi("php$", $stringtobecompared);
See: http://www.php.net/manual/en/ref.regex.php
Gurhan
- Original Message -
From: "David Busby" <[EMAIL PROTECTED]>
To: "php-general" <[EMAIL PROTECTED]>
Sent: Tuesday, July 02, 2002 4:49 PM
Subject: [PHP] RegEx question
> List,
> How can I regex t
Hi,
Has anyone any advice as to how to deal with XML documents encoded in windows-1252: a
character set that PHP's XML extension won't process? I've
got a large number of such documents, and using xml_parse_into_struct() would be the
easiest way to handle them - but because of the encoding
p
1 - 100 of 280 matches
Mail list logo