[PHP] fgetcsv() excel data missing

2005-02-18 Thread Binoy AV
Hi all,

   I used fgetcsv() function to get the data from a excel file.
 While reading the data it shows some special characters . 
 I found the same problems in 
  http://bugs.php.net/bug.php?id=12127&edit=2 
  Is it a bug?

 Plz help me. 

Binoy 

 
__ __ __ __
Sent via the WebMail system at softwareassociates.co.uk


 
   
---
Scanned by MessageExchange.net (13:31:20 SPITFIRE)

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] fgetcsv() excel data missing

2005-02-18 Thread Binoy AV

 Hi,

Thanks for the reply.

 It shows  ÐÏࡱá>\\þÿ etc.

 source code I used is

  $handle = fopen ("file.xls","r");
  while ($data = fgetcsv ($handle, 1000, ","))
  {
   $num = count($data);
   for ($c=0; $c < $num ; $c++)
   {
$str_email = $data[$c];
 echo $str_email;

   }
  }

 Binoy


__ __ __ __
Sent via the WebMail system at softwareassociates.co.uk





---
Scanned by MessageExchange.net (13:55:17 SPITFIRE)

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] fgetcsv() excel data missing

2005-02-18 Thread Binoy AV
 Thanks Jay.
  
  Could anybody please tell me how to read the data from an excel file ? It 
should work independent of the operating system. I don't want the csv format. 


Binoy
   

 
__ __ __ __
Sent via the WebMail system at softwareassociates.co.uk


 
   
---
Scanned by MessageExchange.net (14:20:44 SPITFIRE)

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Removing all tag

2005-01-06 Thread Binoy AV
Hi,
  I have an html file containing a table. I applied
  eregi(".*",$contents,$temp) through my Php.I am getting 
  the output like this-
   AB
   CD 
   EF 
But my expected output is -
 AB
 CD
 EF 
 The code removing only the first and last <(/)tr>.
How to do it using eregi ? (or using any other regular expression function. I 
don't want to use any string replace function.)

Binav

 

 
__ __ __ __
Sent via the WebMail system at softwareassociates.co.uk


 
   
---
Scanned by MessageExchange.net (10:05:41 SPITFIRE)

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] my for loop's gone bananas.. has yours?

2005-01-18 Thread Binoy AV
Hi,

   Store the sum into a variable (inside the loop) and print.I hope this will 
work.

Binoy
 

 
__ __ __ __
Sent via the WebMail system at softwareassociates.co.uk


 
   
---
Scanned by MessageExchange.net (07:10:44 SPITFIRE)

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Re:[PHP] escaping quotes

2005-01-27 Thread Binoy AV
 

 Hi,

 Try this
 
 print("value=\"" . $attributes["messageSubject"] . "\"");


 Binoy 

 
__ __ __ __
Sent via the WebMail system at softwareassociates.co.uk


 
   
---
Scanned by MessageExchange.net (12:54:20 SPITFIRE)

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Check Url Exists

2005-01-28 Thread Binoy AV
 Hi,

   In my php file, I want to check whether the url(residing on  another server) 
is existing or not. 

 Thanks in advance.

 Binoy


 
__ __ __ __
Sent via the WebMail system at softwareassociates.co.uk


 
   
---
Scanned by MessageExchange.net (14:23:58 SPITFIRE)

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php