[PHP] page redirect question

2004-11-09 Thread Victor C.
Hi, Is there anyway to redirect php page other than using HEADER("LOCATION:URL") ? Header can only be called if nothing is written to HTML... Is there anyway around it? Thanks, -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: php array question

2004-11-01 Thread Victor C.
Hi Ben, I tried your portion of code and find out what was wrong... Apparently I used & in adding order to the array and that was messing things up... Everything is working now. Thanks for all the help "Victor C." <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTE

[PHP] Re: php array question

2004-11-01 Thread Victor C.
erSecurities, Inc. Member NASD, SIPC and Registered Investment Advisor|Changed 9:55 Am, Des Moines, IA, | [dbname] => [dbpath] => [age] => [zip] => [gender] => [income] => [home] => [homevalue] => [length] => [children] => [childrenAge] => [marital] => [networt

[PHP] Re: php array question

2004-11-01 Thread Victor C.
But why would the this line generate different OrderID on lines 1 and 3? "Ben Ramsey" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Victor C. wrote: > > $OrderObject =$this->orders[$OrderID=>$value]; > > This line is confusing. $OrderI

[PHP] php array question

2004-11-01 Thread Victor C.
Hi, I have a line of php that I don't really understand. foreach($this->orders as $OrderID => $value) { echo $OrderID.""; $OrderObject =$this->orders[$OrderID=>$value]; echo $OrderObject->OrderID."<--all the same"; } I know that $this->orders is an array of "order" objects. the resul

[PHP] PHP and send XML

2004-10-28 Thread Victor C.
Hi, I'm trying to pass XML file from Site A to Site B for Site B to parse. Site B is maintained by other company, so I only need to worry about sending over the XML file. I've been hinted that fsockopen() can do the job. I've done the following through PHP: $port="80"; $host="134.134.134.134" $

[PHP] Timezone

2004-10-27 Thread Victor C.
Is there a way to get PHP to display the full name of time zone? date(t) only displays in the format of 'EDT', 'PDT', etc.. But I need the full name of the timezone, ie. "Pacific daylight saving time". I know I can hard code all of these using switch statemetns. I'm just wondering if there is a fu

Re: [PHP] Millisecond in PHP

2004-10-27 Thread Victor C.
Thank you all for answering! Really appreciate it. "John Nichel" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Victor C. wrote: > > Hi, > > > > I'm trying to get PHP to display the millisecond of current time. I can't > > find

[PHP] Millisecond in PHP

2004-10-27 Thread Victor C.
Hi, I'm trying to get PHP to display the millisecond of current time. I can't find that option in "Date()".. Any hints? Thanks a lot -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] file upload

2004-10-25 Thread Victor C.
P the file from one > server to the other. Just 2 examples. And, you could even POST the file > from one to the other. > > That solution seems a bit icky to me, but it all really depends on what > you need. Pulling is generally easier than pushing. > > Chris > > Victor C.

Re: [PHP] file upload

2004-10-25 Thread Victor C.
ws:[EMAIL PROTECTED] > You can't, at least you SHOULDN'T. Just think about what you're asking > for, you want to download a file from a users computer, without them > knowing about it. > > Major security/privacy issues there that browsers try to prevent. > > Chris &g

[PHP] file upload

2004-10-25 Thread Victor C.
Hi, I'm trying to submit a file from "index.php" to "index2.php". I know how to do file upload in PHP. On "index.php" I have: The next page would only need to use $HTTP_POST_FILES['myfile'] to access the submitted file. My question is: if I already know which file I want to submit, say "fil

[PHP] php, mySQL query character problem

2004-09-22 Thread Victor C.
ords. Does anyone know what causes this? Also... the value i have for $email is from: $email=explode("@",$emailAddress); $email=$email[0]; Thanks, Victor C. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] syntax questoin

2004-09-16 Thread Victor C.
Hi, I just started with PHP. (I used to work on ASP a lot) What does the syntax ".=" do? i see a line of code that says $Msg .= "Test is complete" I'm thinking it means concatenate $Msg with "Test is complete" and then store the new string into $Msg Am I right? Thanks. -- PHP General Mail