you can read the content about form dealing in php manual:
http://us.php.net/manual/en/tutorial.forms.php
On Sun, Mar 18, 2012 at 7:34 PM, saeed ahmed wrote:
> i am a full time warehouse worker and do not have time.i hardly can spend
> 2/3 hours a week on internet(at work we do not use internet b
Subject: RE: [PHP] Modifying Existing Text File From PHP Is Not Working
From: a...@ashleysheridan.co.uk
To: aj...@alumni.iu.edu
CC: tedd.sperl...@gmail.com; php-general@lists.php.net
Date: Sun, 27 Jun 2010 17:29:05 +0100
On Sun, 2010-06-27 at 12:23 -0400, Alice Wei wrote:
Subject
Subject: RE: [PHP] Modifying Existing Text File From PHP Is Not Working
From: a...@ashleysheridan.co.uk
To: aj...@alumni.iu.edu
CC: tedd.sperl...@gmail.com; php-general@lists.php.net
Date: Sun, 27 Jun 2010 17:16:04 +0100
On Sun, 2010-06-27 at 12:11 -0400, Alice Wei wrote:
> D
> Date: Sun, 27 Jun 2010 12:01:50 -0400
> To: aj...@alumni.iu.edu; php-general@lists.php.net
> From: tedd.sperl...@gmail.com
> Subject: Re: [PHP] Modifying Existing Text File From PHP Is Not Working
>
> At 7:20 AM -0400 6/27/10, Alice Wei wrote:
> >Hi,
> >
> >
l -> message[0] -> addChild("email",$email);
$xml-> message[0] -> addChild("comments",$comments);
echo $xml->asXML();
?>
Alice
> Le 27 juin 2010 à 13:20, Alice Wei a écrit :
>
> >
> > Hi,
> >
> > I have the code
Hi,
I have the code as in the following:
\n" . $name . "\n" . $phone .
"\n".
$email . "\n" . $comments .
"\n";
//If file exists. append, otherwise create
$file = "messages.xml";
$fh = fopen($file,"a");
$lines = file($file);
//Output a line of the file until the end is reached
fo
> From: peter.e.l...@gmail.com
> Date: Wed, 2 Jun 2010 18:17:00 +0200
> Subject: Re: [PHP] Preg Match Problem
> To: aj...@alumni.iu.edu
> CC: php-general@lists.php.net
>
> On 2 June 2010 18:14, Alice Wei wrote:
> >
> > Hi,
> >
> > I have a code sn
Hi,
I have a code snippet here as in the following:
[CODE]
$keywords = preg_split("/[\s,]+/", $day);
$count = count($keywords);
if(preg_match("(Mon|Tue|Wed|Thu|Fri)/i", $keywords[$i])) { //line 40
$day_query ="start_time.day='12345' AND end_time.day='12345'";
}
if(preg_match("Sat
> Date: Mon, 31 May 2010 11:56:38 -0400
> To: php-general@lists.php.net; aj...@alumni.iu.edu
> From: tedd.sperl...@gmail.com
> Subject: RE: [PHP] Select Values Didn't Get Passed in From Two Different
> Forms
>
> At 7:23 PM -0400 5/30/10, Alice Wei wrote:
>
> Date: Sun, 30 May 2010 11:53:44 -0400
> To: php-general@lists.php.net; aj...@alumni.iu.edu
> From: tedd.sperl...@gmail.com
> Subject: RE: [PHP] Select Values Didn't Get Passed in From Two Different
> Forms
>
> At 12:08 PM -0400 5/29/10, Alice Wei wrote:
> >
> Date: Sat, 29 May 2010 11:50:50 -0400
> To: php-general@lists.php.net; aj...@alumni.iu.edu
> From: tedd.sperl...@gmail.com
> Subject: RE: [PHP] Select Values Didn't Get Passed in From Two Different
> Forms
>
> At 7:31 PM -0400 5/28/10, Alice Wei wro
om: tedd.sperl...@gmail.com
> Subject: RE: [PHP] Select Values Didn't Get Passed in From Two Different
> Forms
> CC: php-general@lists.php.net
>
> >On Fri, 2010-05-28 at 15:12 -0400, Alice Wei wrote:
> > What I am trying to find out is, when I have my form with a
&
> Date: Fri, 28 May 2010 17:18:21 -0400
> To: aj...@alumni.iu.edu
> From: tedd.sperl...@gmail.com
> Subject: RE: [PHP] Select Values Didn't Get Passed in From Two Different
> Forms
> CC: php-general@lists.php.net
>
> >On Fri, 2010-05-28 at 15:12 -0400, Alice W
Subject: RE: [PHP] Select Values Didn't Get Passed in From Two Different Forms
From: a...@ashleysheridan.co.uk
To: aj...@alumni.iu.edu
CC: tedd.sperl...@gmail.com; php-general@lists.php.net
Date: Fri, 28 May 2010 20:14:06 +0100
On Fri, 2010-05-28 at 15:12 -0400, Alice Wei
Subject: RE: [PHP] Select Values Didn't Get Passed in From Two Different Forms
From: a...@ashleysheridan.co.uk
To: aj...@alumni.iu.edu
CC: tedd.sperl...@gmail.com; php-general@lists.php.net
Date: Fri, 28 May 2010 20:05:29 +0100
On Fri, 2010-05-28 at 15:00 -0400, Alice Wei
Date: Fri, 28 May 2010 12:34:55 -0400
> To: aj...@alumni.iu.edu; php-general@lists.php.net
> From: tedd.sperl...@gmail.com
> Subject: RE: [PHP] Select Values Didn't Get Passed in From Two Different
> Forms
>
> At 9:19 PM -0400 5/27/10, Alice Wei wrote:
> >
&
> Date: Thu, 27 May 2010 12:23:46 -0400
> To: aj...@alumni.iu.edu; php-general@lists.php.net
> From: tedd.sperl...@gmail.com
> Subject: RE: [PHP] Select Values Didn't Get Passed in From Two Different Forms
>
> At 3:50 PM -0400 5/26/10, Alice Wei wrote:
> >
> &
> Date: Wed, 26 May 2010 15:36:18 -0400
> To: php-general@lists.php.net; aj...@alumni.iu.edu
> From: tedd.sperl...@gmail.com
> Subject: RE: [PHP] Select Values Didn't Get Passed in From Two Different Forms
>
> Alice:
>
> You provide:
>
> >
> >
> > Select the type of your starting point of in
> Date: Wed, 26 May 2010 09:19:26 -0400
> To: php-general@lists.php.net; aj...@alumni.iu.edu
> From: tedd.sperl...@gmail.com
> Subject: RE: [PHP] Select Values Didn't Get Passed in From Two Different
> Forms
>
> At 9:17 PM -0400 5/25/10, Alice Wei wrote:
> >No,
On Tue, 2010-05-25 at 15:41 -0400, Alice Wei wrote:
> Date: Tue, 25 May 2010 13:40:44 -0400
> Subject: Re: [PHP]
Select Values Didn't Get Passed in From Two Different Forms
>
From: marc.g...@gmail.com
> To: aj...@alumni.iu.edu
>
>
> I would like to take those valu
Subject: Re: [PHP] Select Values Didn't Get Passed in From Two Different Forms
From: a...@ashleysheridan.co.uk
To: aj...@alumni.iu.edu
CC: php-general@lists.php.net
Date: Tue, 25 May 2010 20:37:29 +0100
On Tue, 2010-05-25 at 15:41 -0400, Alice Wei wrote:
> Date: Tue, 25
> Date: Tue, 25 May 2010 13:40:44 -0400
> Subject: Re: [PHP]
Select Values Didn't Get Passed in From Two Different Forms
>
From: marc.g...@gmail.com
> To: aj...@alumni.iu.edu
>
>
> I would like to take those values away into my third form, which
is what you
> > see with the hidden. If they ar
Hi,
It is kind of difficult to explain what I am trying to do here, I will
provide the form here to give a better idea.
Select the type of your starting point of
interest:
Apartment
> From: ak...@telkomsa.net
> To: aj...@alumni.iu.edu; php-general@lists.php.net
> Subject: RE: [PHP] Dynamic Menus in a PHP Form Issue
> Date: Tue, 25 May 2010 08:59:08 +0200
>
> -Original Message-----
> From: Alice Wei [mailto:aj...@alumni.iu.edu]
> Sent: 24 May
Hi,I have a snippet as in the following:
Select the type of your starting point of interest:
Apartment
If
I tried to put this at the top of a file where I save
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.
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
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
> 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
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
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
> 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
> >
> 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
> 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
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
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
> 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
> 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
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
>
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
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
> 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
> 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
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
> 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
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
> 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
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 =
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
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:
> >
> >
>
> 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
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
> 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
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
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
> 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
> 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
>
> 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?
> >>
> >>
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
> 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
> 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
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
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
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
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] . "
> 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,
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
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
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
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
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
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:
&
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:
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
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
[/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
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
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
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
> 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
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
> 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
> 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
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
_
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
> 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:
> 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:
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
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
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
> 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
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
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
> 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:> > > >
> 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
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
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
>
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
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
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
1 - 100 of 195 matches
Mail list logo