php-windows Digest 3 Jun 2003 08:53:17 -0000 Issue 1759

Topics (messages 20163 through 20168):

THANK YOU ALL!!
        20163 by: Stephen Rivas Jr

Best way to upgrade?
        20164 by: Rod Martin
        20167 by: Per Lundberg

HELP ME PLZ
        20165 by: Gustavo Andrade
        20168 by: Henrik Hornemann

querying an online excel file from htm
        20166 by: ZN

Administrivia:

To subscribe to the digest, e-mail:
        [EMAIL PROTECTED]

To unsubscribe from the digest, e-mail:
        [EMAIL PROTECTED]

To post to the list, e-mail:
        [EMAIL PROTECTED]


----------------------------------------------------------------------
--- Begin Message ---
I was able to get a lot of help from this group and fortunately made my
deadline. amazingly, i think the system actually works and i've never worked
with PHP before so this is my first try...

Please, scrutinize my work! I would like to know how to work this all
better!

http://www.throttlehead.com/racing/boothill/

If you'd like to fork and tune my source code, you're more than welcome to!
I need guidance ;)

Just e-mail me for the .zip of the files.

--
Stephen Rivas Jr
[EMAIL PROTECTED]
http://www.throttlehead.com



--- End Message ---
--- Begin Message --- We have PHP 4.2.1 installed on an IIS server. I want to upgrade it to 4.3.0.

I downloaded 4.3.0 and am looking at the install text files and had to pose the question -- What is the best way to update a PHP install? Do I really need to install from scratch? Is there a simple way to transfer the changes I have made to the php.ini file into the new version? How can I do this and minimize the chance of creating some long-term downtime because I forgot to do something in the .ini that I (1) figured out a year ago and (2) have subsequently forgotten. Now that we use PHP for so many things, having PHP stop working because of this install would be disasterous!!!!

Please advise!

Thanks!


--- End Message ---
--- Begin Message ---
On Mon, 2003-06-02 at 23:18, Rod Martin wrote:
> Is there a simple way to transfer 
> the changes I have made to the php.ini file into the new version? How 
> can I do this and minimize the chance of creating some long-term 
> downtime because I forgot to do something in the .ini that I (1) 
> figured out a year ago and (2) have subsequently forgotten.

Use a diff tool, and compare the php.ini shipped with the version of PHP
you are using (4.2.1).  That way, you will see exactly what have been
changed.

Under Unix systems, you would run the command line program 'diff'. 
Since you are running Windows, you likely don't have this elegant
program installed (unless you use Cygwin) but there is a graphical
Windows program that can do the same thing.  It is called WinMerge and
it can be found on http://winmerge.sourceforge.net

Hope this helps.  I use this program regularly on Windows and it works
like a charm.  It is also Open Source/free software, just like PHP
itself.
--
Best regards,

Per Lundberg / Capio ApS
Phone: +46-18-4186040
Fax: +46-18-4186049
Web: http://www.nobolt.com

Attachment: signature.asc
Description: This is a digitally signed message part


--- End Message ---
--- Begin Message ---
I HAVE THIS FOLLOWING CODE THAT WORKS PERFECTLY, IT IS A SMALL UPLOAD
SYSTEM.
(IM FROM BRAZIL)

<?
$extensao=substr($arquivo_name, -4);
if (!empty($arquivo) and is_file($arquivo)) {
$caminho="C:\\web\\upload\\";
$caminho=$caminho.$arquivo_name;
copy($arquivo,$caminho);
echo "<h1>O arquivo foi transferido!</h1>";
}else{
echo "<h1>O arquivo não foi transferido!</h1>";
echo "<h2><font color='red'>Nome, caminho ou extensão de arquivo
Inválido</font></h2>";
}
?>

into the $extensao=substr($arquivo_name, -4); i get the value of the upload
file extension.
All that i wish to do is to make an if like this one


if $extensao<>.rep {
echo "<h1>The file is not valid!</h1>";
}else{
echo "<h1>The file is valid!</h1>";

But i cant do that it does not work, can anyone help me?




--- End Message ---
--- Begin Message ---
Try something like:

if ($extensao != '.rep') {...

hth Henrik Hornemann

> -----Oprindelig meddelelse-----
> Fra: Gustavo Andrade [mailto:[EMAIL PROTECTED]
> Sendt: 29. maj 2003 00:35
> Til: [EMAIL PROTECTED]
> Emne: [PHP-WIN] HELP ME PLZ
> 
> 
> I HAVE THIS FOLLOWING CODE THAT WORKS PERFECTLY, IT IS A SMALL UPLOAD
> SYSTEM.
> (IM FROM BRAZIL)
> 
> <?
> $extensao=substr($arquivo_name, -4);
> if (!empty($arquivo) and is_file($arquivo)) {
> $caminho="C:\\web\\upload\\";
> $caminho=$caminho.$arquivo_name;
> copy($arquivo,$caminho);
> echo "<h1>O arquivo foi transferido!</h1>";
> }else{
> echo "<h1>O arquivo não foi transferido!</h1>";
> echo "<h2><font color='red'>Nome, caminho ou extensão de arquivo
> Inválido</font></h2>";
> }
> ?>
> 
> into the $extensao=substr($arquivo_name, -4); i get the value 
> of the upload
> file extension.
> All that i wish to do is to make an if like this one
> 
> 
> if $extensao<>.rep {
> echo "<h1>The file is not valid!</h1>";
> }else{
> echo "<h1>The file is valid!</h1>";
> 
> But i cant do that it does not work, can anyone help me?
> 
> 
> 
> 
> -- 
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 
> 

--- End Message ---
--- Begin Message ---
Hi everyone,



I have the following IT-problem:



I want to read some fields from an Excel file (located on FTP-Server) and to
view the result in html.



My .xls file has two colons: "Product's Name" and "Price"

And I would like to be able after giving as input QM "Quantity of Money" to
my html page to view out all products that are cheaper than QM. Knowing that
all this products are saved in the excel file on the FTP.



Does anyone has a solution (or idea) to solve my problem



Thanks for your answers



Nana from



--- End Message ---

Reply via email to