[PHP] php & interbase problem.....

2003-07-22 Thread Wei
Hope someone can solve my problem. I'm using Interbase as a database. I get error message when I retrieve data from the database (ibase_fetch_row) which contain chinese character. Warning: ibase_fetch_row(): arithmetic exception, numeric overflow, or string truncation Cannot transliterate ch

Re: [PHP] php & interbase problem.....

2003-07-22 Thread Wei
I already set the charset but still cannot work. By the way, I can retrieve the data in other program. Anyway, thanks for your reply "Curt Zirzow" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > * Thus wrote Wei ([EMAIL PROTECTED]): > > Hope som

[PHP] Question about SSL/php globals

2003-01-27 Thread Wei Weng
Is there any environment/Global variable in PHP that indicates whether the server port you connect to is SSL port? Thanks! Wei -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Question about SSL/php globals

2003-01-27 Thread Wei Weng
Thanks for the prompt reply! One more question, do you know how PHP implements this variable? In other words, how does PHP detect whether the connection is SSLed or not? (Specific to apache) Thanks! Wei - Original Message - From: "Philip Olson" <[EMAIL PROTECTED]&g

[PHP] HTML Post

2002-10-29 Thread Wei Weng
How do you do a HTML post in php? Thanks -- Wei Weng Network Software Engineer KenCast Inc. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] no response from a simple php/mysql code

2003-09-14 Thread Wei Wang
the failure of this code. I'd highly appreciate it if anyone could drop me a line with any advice. Many thanks, Wei Wang http://www.awtrey.com/support/dbeweb/ for more information 1.1 - Oct. 20, 1999 - changed the SQL statement that reads data back out of the database to reve

[PHP] more details about previous email

2003-09-14 Thread Wei Wang
some php tutorials but I think I must've missed a very fundamental point that led to the failure of this code. I'd highly appreciate it if anyone could drop me a line with any advice. Many thanks, Wei Wang http://www.awtrey.com/support/dbeweb/ for more information 1.1 - Oct. 20

[PHP] How are variables called in current php?

2003-09-14 Thread Wei Wang
hi, all, I have a piece of code stuck at the point of "if (($REQUEST_METHOD=='post'))". "var_dump($REQUEST_METHOD);" shows that the variable doesn't exist. Since I grabbed the code from a 2001 update, is there any chance that this is already obsolete? I checked the documentation but didn't find

[PHP] How to comment out chunk of html/php mixed code?

2003-09-15 Thread Wei Wang
hi, This may sound very newbie. But since html comment uses which doesn't comment out the php code. And the php comment /**/ // apparently doesn't work on html. So how do I comment out a chunk of html/php mixed code? Many thanks, Wei Wang

[PHP] simple online form stuck at !isset($first) condition

2003-09-15 Thread Wei Wang
nd be stuck at this one. Any advice would be greatly appreciated. Wei Wang Untitled Document Simple Form Example First Name: Last Name: "; show_form($first,$last); } else { echo "Thank you, $first $last"; } } ?>

Re: [PHP] simple online form stuck at !isset($first) condition

2003-09-15 Thread Wei Wang
Dear Curt, Thanks a lot. Is this related to the register_global variable as well? I was stuck at the $request_method and $_SERVER['request_method'] for quite a long time. Wei - Original Message - From: "Curt Zirzow" <[EMAIL PROTECTED]> To: <[EM

[PHP] authentication to https server

2001-05-03 Thread Wei Weng
libraries to do post. But what would the url required in curl functions be? Thanks in advance. Wei -- 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]

[PHP] HTTP_HOST or SERVER_ADDR

2001-05-04 Thread Wei Weng
Which one is more adequate for representing server ip? Thanks -- Wei Weng Network Software Engineer KenCast Inc. -- 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

[PHP] why isn't this working? (many questions inside)

2002-01-28 Thread Wei Weng
x27;t seem to figure out where to stick the option in. (prefer doing it in one of the configure arguments if possible) Forgive me if I posted this to the wrong mailing list, I had been losing hairs over these puzzled questions. TIA. -- Wei Weng Network Software Engineer KenCast Inc. --

[PHP] PHP internal question.

2002-05-28 Thread Wei Weng
place;boundary=--ThisRandomBoundary" into headers_out table. But what about the part below the first --ThisRandomBoundary? How does PHP internal handle/parse it? Thanks a lot (And if I post it to the wrong mailing list, please let me know) -- Wei Weng Network Software Engineer KenCast Inc.

[PHP] value passing from html form to php variable.

2002-06-01 Thread Wei Wang
in add.php. Anyone give me a hand on this naive question? Great thanks. Wei addform.html First Name : Surname : add.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] value passing from html form to php variable.

2002-06-01 Thread Wei Wang
Do you mind telling me where this php.ini is? And I tried the second attempt like this: $query = "INSERT INTO friends (id, firstname, surname) values (nextval('friends_id_seq'), $_POST['firstname'], $_POST['surname'])"; which returns error: Parse error: parse error, unexpected T_ENCAPSED_AND_

Re: Re[2]: [PHP] value passing from html form to php variable.

2002-06-01 Thread Wei Wang
val('friends_id_seq'), ".$_POST['firstname'].", ".$_POST['surname'].")"; When I input "Wei" for firstname and Wang for surname in the form and submit, I got error: Warning: pg_exec() query failed: ERROR: Attribute 'andras' not fo

Re: Re[2]: [PHP] value passing from html form to php variable.

2002-06-01 Thread Wei Wang
Sorry. When I input "Andras" as firstname in the form, ... On Sat, 1 Jun 2002 17:22:02 +0100 [EMAIL PROTECTED] (Wei Wang) wrote: > > > > Create a php script containing just . That page will tell > > you where your php.ini is (or should be). > > > it

Re: Re[2]: [PHP] value passing from html form to php variable.

2002-06-01 Thread Wei Wang
Is there anything I should do to make the php.ini come into effect? I did put the register_global = On but still got empty values. And my $_POST version is like this: On Sat, 1 Jun 2002 17:08:11 +0100 [EMAIL PROTECTED] (Stuart Dallas) wrote: > On Saturday, June 1, 2002 at 5:00:18 PM, you w

Re: Re[4]: [PHP] value passing from html form to php variable.

2002-06-01 Thread Wei Wang
't find php.ini it uses it's built-in defaults - these set register_globals > to off. > > > When I input "Wei" for firstname and Wang for surname in the form and submit, > > I got error: > > > Warning: pg_exec() query failed: ERROR: Attribute 'andras

Re: Re[4]: [PHP] value passing from html form to php variable.

2002-06-01 Thread Wei Wang
Changed the query and get this error when input dave as firstname: ERRORERROR: Attribute 'dave' not found add2.php is: addform.php is: First Name : Surname : On Sat, 1 Jun 2002 17:44:57 +0100 [EMAIL PROTECTED] (Stuart Dallas) wrote: > On Saturday, June 1, 2002 at 5:35:03 P

[PHP] How to Execute Multiple SQL Updates Using PHP

2008-11-19 Thread Alice Wei
Hi, I am inquiring on this list to see if it is possible to create a script that takes multiple update statements without my having to write one "SQL" statement for each of the updates. I have a scenario of which I create a table of some sort with some existing information using Flex,

RE: [PHP] How to Execute Multiple SQL Updates Using PHP

2008-11-19 Thread Alice Wei
To: [EMAIL PROTECTED]; php-general@lists.php.net > > > -Original Message- > > From: Alice Wei [mailto:[EMAIL PROTECTED] > > Sent: Wednesday, November 19, 2008 12:51 PM > > To: php-general@lists.php.net > > Subject: [PHP] How to Execute Multiple SQL Updat

[PHP] PHP unlink Permission Error

2009-01-13 Thread Alice Wei
Hi, I have a snippet of code as follows: The problem is that I do not seem to have the correct permissions, even though I seem to have changed the permissions of the folder to 777 already upon the file deletion time. This is the output I got: C:\Inetpub\wwwroot\projectWarning: unli

RE: [PHP] PHP unlink Permission Error

2009-01-13 Thread Alice Wei
P unlink Permission Error> From: a...@ashleysheridan.co.uk> To: aj...@alumni.iu.edu> CC: php-general@lists.php.net> Date: Tue, 13 Jan 2009 14:53:32 +> > On Tue, 2009-01-13 at 09:42 -0500, Alice Wei wrote:> > Hi, > > > > I have a snippet of code as follow

RE: [PHP] PHP unlink Permission Error

2009-01-13 Thread Alice Wei
t> Date: Tue, 13 Jan 2009 15:09:44 +> > On Tue, 2009-01-13 at 09:50 -0500, Alice Wei wrote:> > Hi, Ashley:> > > > I thought about it and edited my script to check what permission I> > had, and it appears I do have the permission rights, and it a

[PHP] PHP unlink Errors

2009-01-13 Thread Alice Wei
Hi, I have a snippet below that I would like to delete a file. However, I keep getting kicked out because of permission errors, when my folder permission is 0777. Is it possible that someone on the list could point out what my possible errors are to allow this code to be functioning

RE: [PHP] PHP unlink Errors

2009-01-13 Thread Alice Wei
P] PHP > unlink Errors> > Do you have php_safe_mode enabled? If's that's the case, try > turning it > off and then run your script again.> Alice Wei wrote:> > Hi, > > > > > I have a snippet below that I would like to delete a file. However, I >

RE: [PHP] PHP unlink Permission Error

2009-01-13 Thread Alice Wei
Hi, Ashley: Sorry. To answer the question from your previous entry, it looks like that my permission could be set and changed for the folder, but when I do it on the "file", I only get 0666. I have the latest code on another entry. Thanks a lot for your help. Alice

RE: [PHP] PHP unlink Permission Error

2009-01-13 Thread Alice Wei
> Subject: RE: [PHP] PHP unlink Permission Error> From: > a...@ashleysheridan.co.uk> To: aj...@alumni.iu.edu> CC: > php-general@lists.php.net> Date: Tue, 13 Jan 2009 16:50:31 +> > On Tue, > 2009-01-13 at 11:33 -0500, Alice Wei wrote:> > Hi, As

RE: [PHP] PHP unlink Permission Error

2009-01-14 Thread Alice Wei
> Subject: RE: [PHP] PHP unlink Permission Error> From: > a...@ashleysheridan.co.uk> To: aj...@alumni.iu.edu> CC: > php-general@lists.php.net> Date: Tue, 13 Jan 2009 17:07:34 +> > On Tue, > 2009-01-13 at 11:49 -0500, Alice Wei wrote:> > > >

[PHP] Switch statement Question

2009-01-29 Thread Alice Wei
Hi, I have a code snippet here as in the following: //Switch statements between the four options switch($string) { case "": $string= "NOT book.author='All'"; break; default: $string= $string . "AND NOT book.author='All'"; break; } This code does work, but I am wondering if it is possible

[PHP] Spaces Not Detected from Regular Expression preg_match

2009-02-25 Thread Alice Wei
Hi, I have a code as in the following: This is the input file: 1 23kd 3dkd2 " " 4 5 6 For the output, I get nothing running it from the command prompt, but I would like to have " " in the output, could anyone please give me some guides on what I have done wrong in my regular expressio

RE: [PHP] Re: Spaces Not Detected from Regular Expression preg_match

2009-02-26 Thread Alice Wei
> To: php-general@lists.php.net > Date: Wed, 25 Feb 2009 14:42:36 -0600 > From: nos...@mckenzies.net > Subject: [PHP] Re: Spaces Not Detected from Regular Expression preg_match > > Shawn McKenzie wrote: > > Shawn McKenzie wrote: > >> Alice Wei wrote: > >&g

[PHP] Regular Expression Problem

2009-02-26 Thread Alice Wei
Hi, I have two lines here as follows: 1 -0.123701962557954E+03 0.460967618024691E+02 -0.12354765900E+03 0.46259109000E+02 What I am trying to do here is to only have 1 -0.123701962557954E+03 0.460967618024691E+02 be the output so I can do further proces

RE: [PHP] Regular Expression Problem

2009-02-26 Thread Alice Wei
Hi, I have two lines here as follows: 1 -0.123701962557954E+03 0.460967618024691E+02 -0.12354765900E+03 0.46259109000E+02 What I am trying to do here is to only have 1 -0.123701962557954E+03 0.460967618024691E+02 be the output so I can do further processin

[PHP] How Much Data Can Be Written to a Database In One Instance?

2009-03-04 Thread Alice Wei
Hi, I am working on a series of long files that contain 4 or 5 MB each, each of them is encoded in UTF-8 saved as .dat format. However, I have noticed that when I do insert statements, the file only reads up to around 1MB and then would stop. If I split the file into 3 or 4 files, that w

RE: [PHP] How Much Data Can Be Written to a Database In One Instance?

2009-03-04 Thread Alice Wei
> Subject: Re: [PHP] How Much Data Can Be Written to a Database In One > Instance? > From: rob...@interjinn.com > To: aj...@alumni.iu.edu > CC: php-general@lists.php.net > Date: Wed, 4 Mar 2009 15:26:38 -0500 > > On Wed, 2009-03-04 at 15:05 -0500, Alice Wei wrote:

RE: [PHP] How Much Data Can Be Written to a Database In One Instance?

2009-03-04 Thread Alice Wei
> Subject: Re: [PHP] How Much Data Can Be Written to a Database In One > Instance? > From: rob...@interjinn.com > To: aj...@alumni.iu.edu > CC: php-general@lists.php.net > Date: Wed, 4 Mar 2009 15:26:38 -0500 > > On Wed, 2009-03-04 at 15:05 -0500, Alice Wei wrote:

RE: [PHP] How Much Data Can Be Written to a Database In One Instance?

2009-03-04 Thread Alice Wei
_ Use Messenger to talk to your IM friends, even those on Yahoo! http://ideas.live.com/programpage.aspx?versionId=7adb59de-a857-45ba-81cc-685ee3e858fe -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://ww

[PHP] Line Break Problem

2009-03-09 Thread Alice Wei
Hi, I have a question regarding using line breaks in PHP. I have the code something like: echo "1" . "\t " . $x . "\t" . $y . "\r\n"; When I run the code, it looks like a whole blob of text, but when I use "View Source", the line breaks are formatted then correctly. Anyone can plea

RE: [PHP] Line Break Problem

2009-03-09 Thread Alice Wei
> Date: Mon, 9 Mar 2009 13:28:19 +0100 > From: joc...@iamjochem.com > To: stut...@gmail.com > CC: aj...@alumni.iu.edu; php-general@lists.php.net > Subject: Re: [PHP] Line Break Problem > > Stuart schreef: > > 2009/3/9 Alice Wei > > > >> I have a q

RE: [PHP] How Much Data Can Be Written to a Database In One Instance?

2009-03-09 Thread Alice Wei
> Date: Wed, 4 Mar 2009 15:29:19 -0500 > Subject: Re: [PHP] How Much Data Can Be Written to a Database In One Instance? > From: danbr...@php.net > To: rob...@interjinn.com > CC: aj...@alumni.iu.edu; php-general@lists.php.net > > On Wed, Mar 4, 2009 at 15:26, Robert Cummings wrote: > > > > See

[PHP] Copy Non-Text file from One Server to Another Issues

2009-03-12 Thread Alice Wei
Hi, I have a simple code as shown in the following: http://remote_server/copy/play.txt";; $file2 = "http://remote_server/copy/test.jpg";; $file3 = "http://remote_server/copy/sample.pdf";; //directory to copy to (must be CHMOD to 777) $copydir = "."; $data = file_get_contents($file); $file2

RE: [PHP] Copy Non-Text file from One Server to Another Issues

2009-03-12 Thread Alice Wei
> Date: Thu, 12 Mar 2009 14:55:52 -0400 > Subject: Re: [PHP] Copy Non-Text file from One Server to Another Issues > From: danbr...@php.net > To: aj...@alumni.iu.edu > CC: php-general@lists.php.net > > On Thu, Mar 12, 2009 at 14:51, Alice Wei wrote: > > > > War

[PHP] pdf_new() uncalled Function

2009-03-16 Thread Alice Wei
Hi, I use Linux, and I had installed PHP using yum install php. I am trying to use the pdf_new function to create pdfs from existing text files, but I get this error PHP Fatal error: Call to undefined function pdf_new() I have noticed that when I run the phpinfo() command, I cannot

RE: [PHP] pdf_new() uncalled Function

2009-03-16 Thread Alice Wei
On Mon, Mar 16, 2009 at 10:06 AM, Alice Wei wrote: Hi, I use Linux, and I had installed PHP using yum install php. I am trying to use the pdf_new function to create pdfs from existing text files, but I get this error PHP Fatal error: Call to undefined function pdf_new() I

RE: [PHP] pdf_new() uncalled Function

2009-03-16 Thread Alice Wei
Date: Mon, 16 Mar 2009 11:41:35 -0400 Subject: Re: [PHP] pdf_new() uncalled Function From: phps...@gmail.com To: aj...@alumni.iu.edu CC: php-general@lists.php.net On Mon, Mar 16, 2009 at 11:32 AM, Alice Wei wrote: On Mon, Mar 16, 2009 at 10:06 AM, Alice Wei wrote: Hi, I

RE: [PHP] pdf_new() uncalled Function

2009-03-16 Thread Alice Wei
[/snip] another option is FPDF from www.fpdf.org another class the classes are nice since they don't generally require the module to be installed. If you are on Linux, another option might be FOP... http://xmlgraphics.apache.org/fop/ I checked out the first link you provided, and dow

[PHP] String to Date Conversion Problem

2009-07-31 Thread Alice Wei
Hi, Guys: I am trying to turn a prepared line into a date format, and the string looks something like this: 23 JUL 09 - THURSDAY, and I am trying to change the string to a mm/dd/ format that looks like 07/23/2009. I tried to use strtotime() but it gave me nothing. Here is the cod

RE: [PHP] String to Date Conversion Problem

2009-07-31 Thread Alice Wei
THURSDAY'); > > echo date('m/d/Y', strtotime("{$parts[1]} {$parts[0]} {$parts[2]}")); > > Cheers > > Stuart > > On 31 Jul 2009, at 15:19, Alice Wei wrote: > > > > > Hi, Guys: > > > > I am trying to turn a prepared line into

[PHP] Validating XML Issue

2009-09-03 Thread Alice Wei
Hi, This seems like a small problem that I have read from http://us.php.net/manual/en/xmlreader.isvalid.php. I have the code snippet here as follows: setParserProperty(XMLReader::VALIDATE, true); if ($xml->isValid()) echo "true"; else echo "NOT"; ?> Here is the contents of hello.xml:

RE: [PHP] Validating XML Issue

2009-09-03 Thread Alice Wei
ni.iu.edu > CC: php-general@lists.php.net > Subject: Re: [PHP] Validating XML Issue > > I'd say your XML document is not "well formed", but validity depends on > whether it conforms to the rules expressed in a schema. > > Mattias > > Alice Wei wrote: &

[PHP] SVG and PHP

2010-01-05 Thread Alice Wei
Hi, Just went online and saw an SVG generated from Python, and wanted to do the similar thing by loading the SVG into an PHP script. Here is the script that I have: The problem is that my screen appears as blank even though I could open up USA_Counties_with_FIPS_and_names.svg and see th

RE: [PHP] SVG and PHP

2010-01-05 Thread Alice Wei
Hi, Just went online and saw an SVG generated from Python, and wanted to do the similar thing by loading the SVG into an PHP script. Here is the script that I have: The problem is that my screen appears as blank even though I could open up USA_Counties_with_FIPS_and_names.svg and

RE: [PHP] SVG and PHP

2010-01-05 Thread Alice Wei
On Tue, 2010-01-05 at 15:15 -0500, Alice Wei wrote: Hi, Just went online and saw an SVG generated from Python, and wanted to do the similar thing by loading the SVG into an PHP script. Here is the script that I have: The problem is that my screen appears as blank

[PHP] SVG Won't Color?

2010-01-06 Thread Alice Wei
Hi, I have the code as in the following, and I am trying to colorize the map. The SVG File is located here: http://upload.wikimedia.org/wikipedia/commons/5/5f/USA_Counties_with_FIPS_and_names.svg. Looks like when I tried to modify the contents of the line, it does not seem to take into a

[PHP] Count the Number of Certain Elements in An Array

2010-01-11 Thread Alice Wei
Hi, This seems like a pretty simple problem, but I can't seem to be able to figure it out. I have a lot of elements in an array, and some of them are duplicates, but I don't want to delete them because I have other purposes for it. Is it possible for me to find out the number of certain ele

RE: [PHP] Count the Number of Certain Elements in An Array

2010-01-11 Thread Alice Wei
> Date: Mon, 11 Jan 2010 18:31:43 -0300 > Subject: Re: [PHP] Count the Number of Certain Elements in An Array > From: tapi...@gmail.com > To: aj...@alumni.iu.edu > CC: php-general@lists.php.net > > On Mon, Jan 11, 2010 at 6:21 PM, Alice Wei wrote: > > > > Hi,

[PHP] array_count_values Problem

2010-01-12 Thread Alice Wei
Hi, I have a code in the following, after investigating more closely on how to use array_count_values(): //Calculate the number of elements in array $total_num = count($friend_from); $total_num2 = count(array_unique($friend_from)); for ($i=0;$i<=$total_num2;$i++) echo $friend_from[$i] . "

RE: [PHP] array_count_values Problem

2010-01-12 Thread Alice Wei
e function array_count_values returns an array > (http://php.net/array_count_values). So you are using it the wrong > way, you should assign the return value to a variable and then access > some index. > > Regards, > > Jonathan > > On Tue, Jan 12, 2010 at 11:09 AM, Al

[PHP] RE: PHP "GET" Error?

2010-02-25 Thread Alice Wei
each fclose($fh); ?> Thanks for your help. Alice > Date: Thu, 25 Feb 2010 13:03:57 -0600 > From: nos...@mckenzies.net > CC: aj...@alumni.iu.edu; php-general@lists.php.net > Subject: Re: PHP "GET" Error? > > Shawn McKenzie wrote: > > Alice Wei wrote: > &g

[PHP] RE: PHP "GET" Error?

2010-02-25 Thread Alice Wei
> Date: Thu, 25 Feb 2010 13:03:57 -0600 > From: nos...@mckenzies.net > CC: aj...@alumni.iu.edu; php-general@lists.php.net > Subject: Re: PHP "GET" Error? > > Shawn McKenzie wrote: > > Alice Wei wrote: > >> Hi, > >> > >> I hav

[PHP] RE: PHP "GET" Error?

2010-02-25 Thread Alice Wei
> Date: Thu, 25 Feb 2010 13:50:16 -0600 > From: nos...@mckenzies.net > To: aj...@alumni.iu.edu > CC: php-general@lists.php.net > Subject: Re: PHP "GET" Error? > > Alice Wei wrote: > > Hi, > > > > I forgot to mention that the url is formed

[PHP] PHP "GET" Error?

2010-02-25 Thread Alice Wei
Hi, I have done something wrong here, because when I have my variables declared in my PHP: $people_from = $_GET['people_from']; $state_colors= $_GET['state_colors']; I get this url: http://localhost/generic.php?people_from=Adair, OK-Alfalfa, OK-Atoka, OK-Beaver, OK-Beckham, OK-Bl

RE: [PHP] RE: PHP "GET" Error?

2010-02-25 Thread Alice Wei
Subject: Re: [PHP] RE: PHP "GET" Error? From: a...@ashleysheridan.co.uk To: aj...@alumni.iu.edu CC: nos...@mckenzies.net; php-general@lists.php.net Date: Thu, 25 Feb 2010 20:03:28 + On Thu, 2010-02-25 at 15:01 -0500, Alice Wei wrote: > Date: Thu, 25 Feb 2010 1

[PHP] RE: PHP "GET" Error?

2010-02-25 Thread Alice Wei
> > Alice Wei wrote: > > > >> Date: Thu, 25 Feb 2010 13:50:16 -0600 > >> From: nos...@mckenzies.net > >> To: aj...@alumni.iu.edu > >> CC: php-general@lists.php.net > >> Subject: Re: PHP "GET" Error? > >> > >>

RE: [PHP] RE: PHP "GET" Error?

2010-02-25 Thread Alice Wei
> Alice Wei wrote: > > Hi, > > > > I forgot to mention that the url is formed from Actionscript, I am just > > using PHP to do the "I/O" because Actionscript does not have this option. > > > > So, I guess I cannot do the serialize here li

RE: [PHP] RE: PHP "GET" Error?

2010-02-25 Thread Alice Wei
> Date: Thu, 25 Feb 2010 15:04:46 -0600 > From: nos...@mckenzies.net > To: aj...@alumni.iu.edu > CC: a...@ashleysheridan.co.uk; php-general@lists.php.net > Subject: Re: [PHP] RE: PHP "GET" Error? > > Alice Wei wrote: > > I can't see anything obviou

[PHP] Array Search Problem

2010-03-10 Thread Alice Wei
Hi, I have the code as shown in the following that I am trying to create the image of based on the file loaded into the file and additional edits. The problem here appears to be that no matter what value I have in the $distance_to_destination variable, it does not affect any changes on the

[PHP] Array Search Not Working?

2010-03-10 Thread Alice Wei
Hi, I have two arrays here that I have combined into a new array, as shown here: $from = explode("-", $from); $change = explode("-",$change); $new_array = array_combine($from,$change); I then tried reading it from a file and do string matches, trying to find out the "key" using the array_sea

[PHP] RE: Array Search Not Working?

2010-03-10 Thread Alice Wei
> Date: Wed, 10 Mar 2010 10:09:54 -0600 > From: nos...@mckenzies.net > To: aj...@alumni.iu.edu > CC: php-general@lists.php.net > Subject: Re: Array Search Not Working? > > Alice Wei wrote: > > Hi, > > > > I have two arrays here that I have combin

[PHP] RE: Array Search Not Working?

2010-03-10 Thread Alice Wei
ists.php.net > Subject: Re: Array Search Not Working? > > Alice Wei wrote: > > Hi, > > > > I have two arrays here that I have combined into a new array, as shown > > here: > > > > $from = explode("-", $from); > > $change = explode(&qu

[PHP] RE: Array Search Not Working?

2010-03-10 Thread Alice Wei
> > I'm still a little foggy on what you're doing, but doing, but does this > help? > > $from = explode("-", $from); > $state_colors = explode("-", $state_colors); > $change = explode("-", $change); > > $old = array_combine($from, $state_colors); > $new = array_combine($from, $change); > > //s

RE: [PHP] Array Search Problem

2010-03-10 Thread Alice Wei
having to flatten my array. Is what I am trying to do here possible? Or, is there a trick in array_search that I could use to find the index without having to strip off anything? Thanks for your help. Alice > > On Wed, Mar 10, 2010 at 4:12 PM, Alice Wei wrote: > > > >

RE: [PHP] Array Search Problem

2010-03-11 Thread Alice Wei
ot; later in the code. > > On Wed, Mar 10, 2010 at 6:57 PM, Alice Wei wrote: > >> > >> did you read the help for those functions on php.net? > > > > Yes, I found a "recursive" way to find out the "index" like I wanted, by > > doing

[PHP] Mail Function Problem

2010-04-11 Thread Alice Wei
Hi, I have an issue here where I see no PHP errors on my mail function usage, and yet I am not getting the mail in the desired account. Here is what I have for my PHP code: $headers = "From: aj...@alumni.iu.edu"; $to = "aj...@alumni.iu.edu "; $subject = "Comments Regarding My Studio"; $body =

RE: [PHP] Mail Function Problem

2010-04-12 Thread Alice Wei
> From: peter.e.l...@gmail.com > Date: Mon, 12 Apr 2010 13:09:48 +0200 > Subject: Re: [PHP] Mail Function Problem > To: k...@daleco.biz > CC: aj...@alumni.iu.edu; php-general@lists.php.net > > On 12 April 2010 05:22, Kevin Kinsey wrote: > > > > Thanks to the worldwide brotherhood of crooks know

RE: [PHP] Mail Function Problem

2010-04-12 Thread Alice Wei
authentication. Is there an email account that I could try? I thought most email accounts requires authentication anyway. Thanks for your help. Alice On Mon, Apr 12, 2010 at 6:33 AM, Alice Wei wrote: Hi, I have an issue here where I see no PHP errors on my mail function usage, and yet I am not

RE: [PHP] Mail Function Problem

2010-04-12 Thread Alice Wei
> Date: Mon, 12 Apr 2010 11:09:42 -0500 > From: k...@daleco.biz > To: aj...@alumni.iu.edu > CC: a.bovane...@gmail.com; php-general@lists.php.net > Subject: Re: [PHP] Mail Function Problem > > Alice Wei wrote: > >> Hi! > >> You have the follow

RE: [PHP] Mail Function Problem

2010-04-12 Thread Alice Wei
Hi, Thanks to everyone's suggestions, I have followed some instructions from http://www.geeksengine.com/article/install-pear-on-windows.html and attempted to install PEAR. The problem is, when I do a test page, which only has: . utor It only gives me a blank page, with no errors. Has a

RE: [PHP] Mail Function Problem

2010-04-12 Thread Alice Wei
> Date: Mon, 12 Apr 2010 15:54:05 -0500 > From: k...@daleco.biz > To: kranthi...@gmail.com > CC: aj...@alumni.iu.edu; php-general@lists.php.net > Subject: Re: [PHP] Mail Function Problem > > kranthi wrote: > > PEAR's mail package does support authentication. > > http://email.about.com/od/emailpro

RE: [PHP] Mail Function Problem

2010-04-12 Thread Alice Wei
> From: kranthi...@gmail.com > Date: Tue, 13 Apr 2010 07:41:19 +0530 > Subject: Re: [PHP] Mail Function Problem > To: aj...@alumni.iu.edu > CC: k...@daleco.biz; php-general@lists.php.net > > thats weired... > Mail.php contains the class Mail. So getting a "class not found" error > is not possible

RE: [PHP] Mail Function Problem

2010-04-13 Thread Alice Wei
Subject: RE: [PHP] Mail Function Problem From: a...@ashleysheridan.co.uk To: aj...@alumni.iu.edu CC: k...@daleco.biz; a.bovane...@gmail.com; php-general@lists.php.net Date: Tue, 13 Apr 2010 13:19:15 +0100 On Mon, 2010-04-12 at 12:25 -0400, Alice Wei wrote: > Date: Mon, 12

[PHP] Mail Function Using PEAR Issues

2010-04-18 Thread Alice Wei
Hi, After several days, I have rebuilt my system on Linux using Ubuntu, installed PEAR and such. Thankfully, when I execute the code, it no longer gives me the error that the class is not found. Yet, when I submit the form now, I can always see the confirmation message telling me that my mes

RE: [PHP] Mail Function Using PEAR Issues

2010-04-18 Thread Alice Wei
uggested on your previous thread. Also, I see you have > $from set to equal "localhost". Many SMTP servers will reject this > I *think*, because "localhost" is a hostname, not a working mailbox. > Try making $from equal to a real working address - possibly the same >

RE: [PHP] Mail Function Using PEAR Issues

2010-04-19 Thread Alice Wei
> Date: Sun, 18 Apr 2010 21:39:19 -0500 > From: k...@daleco.biz > To: aj...@alumni.iu.edu > CC: k...@designdrumm.com; php-general@lists.php.net > Subject: Re: [PHP] Mail Function Using PEAR Issues > > Alice Wei wrote: > > > >> Date: Sun, 18 Apr 2010 21:02

RE: [PHP] Mail Function Using PEAR Issues

2010-04-20 Thread Alice Wei
> From: peter.e.l...@gmail.com > Date: Mon, 19 Apr 2010 10:15:08 +0200 > Subject: Re: [PHP] Mail Function Using PEAR Issues > To: aj...@alumni.iu.edu > CC: php-general@lists.php.net > > Most, if not all, mail servers keep log files. You should look for the > log files to see if the mail server h

RE: [PHP] Mail Function Using PEAR Issues

2010-04-20 Thread Alice Wei
Wei wrote: > >> From: peter.e.l...@gmail.com >> Date: Mon, 19 Apr 2010 10:15:08 +0200 >> Subject: Re: [PHP] Mail Function Using PEAR Issues >> To: aj...@alumni.iu.edu >> CC: php-general@lists.php.net >> >> Most, if not all, mail servers keep log files

RE: [PHP] Mail Function Using PEAR Issues

2010-04-20 Thread Alice Wei
Wei wrote: > >> From: peter.e.l...@gmail.com >> Date: Mon, 19 Apr 2010 10:15:08 +0200 >> Subject: Re: [PHP] Mail Function Using PEAR Issues >> To: aj...@alumni.iu.edu >> CC: php-general@lists.php.net >> >> Most, if not all, mail servers keep log files

RE: [PHP] Mail Function Using PEAR Issues

2010-04-21 Thread Alice Wei
> From: peter.e.l...@gmail.com > Date: Wed, 21 Apr 2010 09:29:19 +0200 > Subject: Re: [PHP] Mail Function Using PEAR Issues > To: aj...@alumni.iu.edu > CC: a...@ashleysheridan.co.uk; php-general@lists.php.net > > On 21 April 2010 04:25, Alice Wei wrote: > > Well, fro

RE: [PHP] Mail Function Using PEAR Issues

2010-04-21 Thread Alice Wei
> From: peter.e.l...@gmail.com > Date: Wed, 21 Apr 2010 21:51:31 +0200 > Subject: Re: [PHP] Mail Function Using PEAR Issues > To: aj...@alumni.iu.edu > CC: a...@ashleysheridan.co.uk; php-general@lists.php.net > > On 21 April 2010 18:44, Alice Wei wrote: > > I h

RE: [PHP] Mail Function Using PEAR Issues

2010-04-21 Thread Alice Wei
> Date: Wed, 21 Apr 2010 22:01:03 +0200 > Subject: Re: [PHP] Mail Function Using PEAR Issues > To: aj...@alumni.iu.edu > CC: a...@ashleysheridan.co.uk; php-general@lists.php.net > > On 21 April 2010 21:58, Alice Wei wrote: > >> From: peter.e.l...@gmail.com > >

RE: [PHP] Mail Function Using PEAR Issues

2010-04-21 Thread Alice Wei
it by hand; though for reasons I've outlined in a previous > post to this list I'd suggest you use the pear installer. > > On Thu, Apr 22, 2010 at 12:12 AM, Alice Wei wrote: > > > >> Date: Wed, 21 Apr 2010 22:01:03 +0200 > >> Subject: Re: [PHP] Mail Funct

[PHP] Forward to a Different PHP Script?

2010-05-11 Thread Alice Wei
Hi, I am not sure if this makes sense, but here is a snippet of what I have: $q=$_GET["q"]; //find out which feed was selected if($q=="Herald Times") { $xml=("http://www.heraldtimesonline.com/rss/news.xml";); } else{ //execute a whole different php program, like http://localhos

RE: [PHP] Forward to a Different PHP Script?

2010-05-11 Thread Alice Wei
> From: ak...@telkomsa.net > To: aj...@alumni.iu.edu; php-general@lists.php.net > Subject: RE: [PHP] Forward to a Different PHP Script? > Date: Tue, 11 May 2010 11:01:30 +0200 > > -Original Message----- > From: Alice Wei [mailto:aj...@alumni.iu.edu] > Sent: 11 May

[PHP] Append Dom Document

2010-05-13 Thread Alice Wei
Hi, I am trying to create a news feed page that loads a number of different feeds depending on what options the user selects. For some reason, I could not figure out how to get the dom document to "append" the different xml documents that get created. Below is the code, and obviously now

RE: [PHP] Append Dom Document

2010-05-13 Thread Alice Wei
Date: Thu, 13 May 2010 18:49:35 -0600 Subject: Re: [PHP] Append Dom Document From: quickshif...@gmail.com To: aj...@alumni.iu.edu CC: php-general@lists.php.net On Thu, May 13, 2010 at 5:46 PM, Alice Wei wrote: Hi, I am trying to create a news feed page that loads a number of

RE: [PHP] Append Dom Document

2010-05-14 Thread Alice Wei
Hi, You are right about the fact I am not having multiple documents, and yet what I am trying to do here is to have one xmldoc, which I have declared in my original email, and have my other rss feeds that I am trying to call from the PHP to append as I check more checkboxes from the list.

  1   2   >