Skip to search.

Breaking News Visit Yahoo! News for the latest.

×Close this window

bang-phpug · Bangalore PHP User Group

The Yahoo! Groups Product Blog

Check it out!

Group Information

  • Members: 1011
  • Category: PHP
  • Founded: May 29, 2006
  • Language: English
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Hear how Yahoo! Groups has changed the lives of others. Take me there.

Messages

Advanced
Messages Help
Messages 253 - 282 of 1863   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Show Message Summaries Sort by Date ^  
#253 From: "kunanu_rohit" <kunanu_rohit@...>
Date: Wed Nov 1, 2006 12:48 pm
Subject: Creating Graphs in PHP
kunanu_rohit
Send Email Send Email
 
Hi Friends,

I am new to this group and I have a problem that I want to create a
graph using PHP so anybody can help to do this and that graph should
be dynamic what are the solutions for my problem I wanted to know.

I will be waiting for reply :)

Thanks,
Kuna

#254 From: Andy Nagai <anagai@...>
Date: Wed Nov 1, 2006 7:26 pm
Subject: Re: Creating Graphs in PHP
anagai
Send Email Send Email
 
hi

this will create a flash of whatever data you specify using php

http://www.maani.us/charts/index.php

hope it helps.



----- Original Message ----
From: kunanu_rohit <kunanu_rohit@...>
To: bang-phpug@yahoogroups.com
Sent: Wednesday, November 1, 2006 4:48:16 AM
Subject: [bang-phpug] Creating Graphs in PHP













             Hi Friends,



I am new to this group and I have a problem that I want to create a

graph using PHP so anybody can help to do this and that graph should

be dynamic what are the solutions for my problem I wanted to know.



I will be waiting for reply :)



Thanks,

Kuna














<!--

#ygrp-mlmsg {font-size:13px;font-family:arial,helvetica,clean,sans-serif;}
#ygrp-mlmsg table {font-size:inherit;font:100%;}
#ygrp-mlmsg select, input, textarea {font:99% arial,helvetica,clean,sans-serif;}
#ygrp-mlmsg pre, code {font:115% monospace;}
#ygrp-mlmsg * {line-height:1.22em;}
#ygrp-text{
font-family:Georgia;
}
#ygrp-text p{
margin:0 0 1em 0;
}
#ygrp-tpmsgs{
font-family:Arial;
clear:both;
}
#ygrp-vitnav{
padding-top:10px;
font-family:Verdana;
font-size:77%;
margin:0;
}
#ygrp-vitnav a{
padding:0 1px;
}
#ygrp-actbar{
clear:both;
margin:25px 0;
white-space:nowrap;
color:#666;
text-align:right;
}
#ygrp-actbar .left{
float:left;
white-space:nowrap;
}
.bld{font-weight:bold;}
#ygrp-grft{
font-family:Verdana;
font-size:77%;
padding:15px 0;
}
#ygrp-ft{
font-family:verdana;
font-size:77%;
border-top:1px solid #666;
padding:5px 0;
}
#ygrp-mlmsg #logo{
padding-bottom:10px;
}

#ygrp-vital{
background-color:#e0ecee;
margin-bottom:20px;
padding:2px 0 8px 8px;
}
#ygrp-vital #vithd{
font-size:77%;
font-family:Verdana;
font-weight:bold;
color:#333;
text-transform:uppercase;
}
#ygrp-vital ul{
padding:0;
margin:2px 0;
}
#ygrp-vital ul li{
list-style-type:none;
clear:both;
border:1px solid #e0ecee;
}
#ygrp-vital ul li .ct{
font-weight:bold;
color:#ff7900;
float:right;
width:2em;
text-align:right;
padding-right:.5em;
}
#ygrp-vital ul li .cat{
font-weight:bold;
}
#ygrp-vital a {
text-decoration:none;
}

#ygrp-vital a:hover{
text-decoration:underline;
}

#ygrp-sponsor #hd{
color:#999;
font-size:77%;
}
#ygrp-sponsor #ov{
padding:6px 13px;
background-color:#e0ecee;
margin-bottom:20px;
}
#ygrp-sponsor #ov ul{
padding:0 0 0 8px;
margin:0;
}
#ygrp-sponsor #ov li{
list-style-type:square;
padding:6px 0;
font-size:77%;
}
#ygrp-sponsor #ov li a{
text-decoration:none;
font-size:130%;
}
#ygrp-sponsor #nc {
background-color:#eee;
margin-bottom:20px;
padding:0 8px;
}
#ygrp-sponsor .ad{
padding:8px 0;
}
#ygrp-sponsor .ad #hd1{
font-family:Arial;
font-weight:bold;
color:#628c2a;
font-size:100%;
line-height:122%;
}
#ygrp-sponsor .ad a{
text-decoration:none;
}
#ygrp-sponsor .ad a:hover{
text-decoration:underline;
}
#ygrp-sponsor .ad p{
margin:0;
}
o {font-size:0;}
.MsoNormal {
margin:0 0 0 0;
}
#ygrp-text tt{
font-size:120%;
}
blockquote{margin:0 0 0 4px;}
.replbq {margin:4;}
-->







[Non-text portions of this message have been removed]

#255 From: "Ved Prakash" <prakash.ved.v@...>
Date: Thu Nov 2, 2006 7:13 am
Subject: Re: [php_and_mysql] upload image
ved74
Send Email Send Email
 
Pritesh,

Its very much situational, lets say you have an Ad-Server and you have
millions of very small images, I would recommend you to go for the
database storage. But, lets say I have images with variable sizes you
can go ahead and store them as files, but ensure that you name the
folders and files well so that you can get the exact location of the
file + it would help you store not too many files in a single folder.
OS search is faster when there are less files in a folder.

Regards,

Ved

--- In bang-phpug@yahoogroups.com, B S Reddy <sdojobs@...> wrote:
>
> Pritesh,
>
> It is always best to save the images in a folder than in the database.
>
> Regards,
> Subbu
>
> ----- Original Message ----
> From: pritesh loke <priteshloke@...>
> To: php_and_mysql@yahoogroups.com; php4india@yahoogroups.com;
bang-phpug@yahoogroups.com
> Sent: Friday, October 27, 2006 10:17:26 AM
> Subject: [php_and_mysql] upload image
>
> Hello To All
> I want one suggestion from all of you.I am write one code to upload
image and inert into mysql database.So can you tell me It is good to
stored image in folder on the or stored in database ????
>
> Thank you
>
>
> ------------ --------- --------- ---
> Do you Yahoo!?
> Everyone is raving about the all-new Yahoo! Mail.
>
> [Non-text portions of this message have been removed]
>
>
>
>
>
>
> [Non-text portions of this message have been removed]
>

#256 From: mohan doss <mmohandoss_m@...>
Date: Fri Nov 3, 2006 6:03 am
Subject: (No subject)
mmohandoss_m
Send Email Send Email
 
Hi,

Good day to every one!

I have one doubt, that is how can we change the ownership of an uploaded
file(normal php file upload)  using PHP?

Thanks in advance.

Regards,
Mohandoss.



[Non-text portions of this message have been removed]

#257 From: ajee sp <max_bluesp@...>
Date: Fri Nov 3, 2006 5:04 pm
Subject: (No subject)
max_bluesp
Send Email Send Email
 
hello everybody
   I am new to this group also new to php-mysql , want to learn more



---------------------------------
  Find out what India is talking about on  - Yahoo! Answers India
  Send FREE SMS to your friend's mobile from Yahoo! Messenger Version 8. Get it
NOW

[Non-text portions of this message have been removed]

#258 From: "anushila_guha" <anushila_guha@...>
Date: Sun Nov 5, 2006 5:41 am
Subject: prob with multiple entries
anushila_guha
Send Email Send Email
 
now I am required to design an interface which is more like a excel
data entry form. What I mean is like for example if this is a grade
sheet used by a teacher then she has to enter the grades for 10
students(Not fixed 10 every time) and each student has multiple
information fields like name, id, grade n so on . And once she hit a
submit all the data goes to database.

Now my question is that is it possible to enter this kind of multiple
rows and multiple columns data into the database at one submit click
where I even dont know how many rows would the user fill. I can
although assign a maximum no. of rows which could be filled by user
but not the minimum.

#259 From: shantanu bhadoria <shantanubhadoria@...>
Date: Sun Nov 5, 2006 3:47 am
Subject: Dumping or backing up database using a script
shantanubhad...
Send Email Send Email
 
Hey people i have a question here. Do you guys know of any script
that helps you to dump a MySQl database into a text file I have a
database hosted at www.freesql.org and phpmyadmin is not supported either.so if
i can remotely do it with a PHP script then it will be great for my case.
regards
Shantanu Bhadoria




________________________________________________________________________________\
__________
Check out the New Yahoo! Mail - Fire up a more powerful email and get things
done faster.
(http://advision.webevents.yahoo.com/mailbeta)


[Non-text portions of this message have been removed]

#260 From: B S Reddy <sdojobs@...>
Date: Mon Nov 6, 2006 8:16 pm
Subject: Re: prob with multiple entries
sdojobs
Send Email Send Email
 
why dont you have a single FORM for all the "information fields" and then prompt
the teacher to enter multiple times as we do not know how many times the data is
entered.

Also, we can accept multiple cell data by properly querying along with
validating the presence of data in the cell before we post it into the database.

Lot of other logical approaches can be there ... however, you may consider the
above two approaches too ....


----- Original Message ----
From: anushila_guha <anushila_guha@...>
To: bang-phpug@yahoogroups.com
Sent: Sunday, November 5, 2006 11:11:38 AM
Subject: [bang-phpug] prob with multiple entries

now I am required to design an interface which is more like a excel
data entry form. What I mean is like for example if this is a grade
sheet used by a teacher then she has to enter the grades for 10
students(Not fixed 10 every time) and each student has multiple
information fields like name, id, grade n so on . And once she hit a
submit all the data goes to database.

Now my question is that is it possible to enter this kind of multiple
rows and multiple columns data into the database at one submit click
where I even dont know how many rows would the user fill. I can
although assign a maximum no. of rows which could be filled by user
but not the minimum.






[Non-text portions of this message have been removed]

#261 From: "joykannan_msit" <joykannan_msit@...>
Date: Tue Nov 7, 2006 12:18 pm
Subject: iam in need of PHP/MySQL interview Questions ...
joykannan_msit
Send Email Send Email
 
Hi to all

       Iam going to attend PHP?MySql Interview so pls give me an idea to
what i have to prepare for PHP?MySQL Programmer, What type of
question   they ll ask?

  Ima having good core knowledge of PHP so i hope i can face.

Plz send PHP Interview questions and answers with yr experience pls
it ll be helpful to more persons not only for me...
                       Thnk u
Expecting QA.....

#262 From: pritesh loke <priteshloke@...>
Date: Sat Nov 4, 2006 6:08 am
Subject: creating pdf file in php error
priteshloke
Send Email Send Email
 
Hello
        I am creating pdf file using php.They dont give me any error but not
opening that file.
pls checked the code
<?
$pdf = pdf_new();
pdf_open_file($pdf,"pml.pdf");
pdf_set_info($pdf,"author","priteshloke");
pdf_set_info($pdf,"title","priteshloke.x10hosting.com tutorials");
pdf_set_info($pdf,"creator","priteshloke.x10hosting.com");
pdf_set_info($pdf,"subject","Tutorials Links");
pdf_begin_page($pdf,450,450);
$font = PDF_findfont($pdf, "Helvetica-Bold",  "winansi",0);
pdf_setfont($pdf,$font,12);
pdf_show_xy($pdf,"Hello pritesh loke this is first string form pdf",5,255);
pdf_end_page($pdf);
pdf_close($pdf);
$buffer = pdf_get_buffer($pdf);
header("Content-type: application/pdf");
header("Content-Length: ".strlen($buffer));
header("Content-Disposition: inline; filename=zend.pdf");
print $buffer;
pdf_delete($pdf);
?>
If any problem pls tell me the solution.




---------------------------------
Cheap Talk? Check out Yahoo! Messenger's low  PC-to-Phone call rates.

[Non-text portions of this message have been removed]

#263 From: "Vinu Thomas" <vinuthomas@...>
Date: Thu Nov 9, 2006 5:46 am
Subject: PHP 5.2.0 Released
uglyftp
Send Email Send Email
 
The PHP team announced the release of PHP 5.2 last week. The new release
has quite a few new features, bug fixes and optimizations:
1. Input Filtering is inbuilt in PHP and enabled by default. A good
security feature to prevent XSS attacks.
2. ZIP extension for creating and editing zip files is newly introduced
in this version
3. Previously PHP scripts couldn't monitor the progress of file uploads.
This new version provides  hooks for tracking file upload progress.
4. require_once and include_once have been optimized
5. Tons of optimization.

If you're looking for more reasons to shift, take a look at the
performance difference. Sebastian Bergmann has the benchmark results for
PHP 4.4.4,  5.0.5,  5.1.6, and 5.2. The results say it all.
http://sebastian-bergmann.de/archives/634-PHP-GCC-ICC-Benchmark.html
<http://sebastian-bergmann.de/archives/634-PHP-GCC-ICC-Benchmark.html>

Links:
PHP 5.2 Release Announcement <http://www.php.net/releases/5_2_0.php>
Download Link <http://www.php.net/downloads.php>
Changelog for PHP 5.2 <http://www.php.net/ChangeLog-5.php#5.2.0>



[Non-text portions of this message have been removed]

#264 From: maq sood <maq005@...>
Date: Thu Nov 9, 2006 6:54 am
Subject: Re: iam in need of PHP/MySQL interview Questions ...
maq005
Send Email Send Email
 
Hey man,
I have sent you couple of php n mysql questions.. enjoy and All the best... and
also for which company are you giving the interview...

Maqs

joykannan_msit <joykannan_msit@...> wrote:
Hi to all

  Iam going to attend PHP?MySql Interview so pls give me an idea to
  what i have to prepare for PHP?MySQL Programmer, What type of
  question   they ll ask?

  Ima having good core knowledge of PHP so i hope i can face.

  Plz send PHP Interview questions and answers with yr experience pls
  it ll be helpful to more persons not only for me...
                        Thnk u
  Expecting QA.....






---------------------------------
Want to start your own business? Learn how on Yahoo! Small Business.

[Non-text portions of this message have been removed]

#265 From: "deepaspai_1983" <deepaspai_1983@...>
Date: Fri Nov 10, 2006 9:59 am
Subject: need help regarding creation of crystal report in php
deepaspai_1983
Send Email Send Email
 
Hi,
I want to do crystal report in php.Can any body help me regarding this.
I am working on Linux platform.

#266 From: "Vinu Thomas" <vinuthomas@...>
Date: Sat Nov 11, 2006 4:06 am
Subject: Re: need help regarding creation of crystal report in php
uglyftp
Send Email Send Email
 
Crystal Reports is a windows only application. You really can't have
CR running on Linux.

If you're insterested in accessing CR through PHP in a windows
enviroment, you can do that using COM objects.

$cr=new com("Crystal.CRPE.Application") or die("oops... something went
wrong.");
$reportpath="c:\yourreport.rpt";
$myreport=$cr->OpenReport($reportpath);

http://p2p.wrox.com/topic.asp?TOPIC_ID=3828

Regards,
Vinu

--- In bang-phpug@yahoogroups.com, "deepaspai_1983"
<deepaspai_1983@...> wrote:
>
> Hi,
> I want to do crystal report in php.Can any body help me regarding this.
> I am working on Linux platform.
>

#267 From: "gonzal_rocky" <gonzal_rocky@...>
Date: Tue Nov 14, 2006 3:04 pm
Subject: facing problem at the time of reading XML file from PHP
gonzal_rocky
Send Email Send Email
 
hello friends

i am facing problem at the time of reading XML file from PHP.
i am using php ver 4.4.4. i want load data from the xml file for
that i am using domxml. this code work fine in php ver 5 but not
worked in ver 4.4

the code is like this

//books.xml
<?xml version="1.0" encoding="iso-8859-1" ?>
<books>
   <book>
   <author>Jack Herrington</author>
   <title>PHP Hacks</title>
   <publisher>O'Reilly</publisher>
   </book>
   <book>
   <author>Jack Herrington</author>
   <title>Podcasting Hacks</title>
   <publisher>O'Reilly</publisher>
   </book>
   </books>


//php file

<?php
   $doc = new DOMDocument();
   $doc->load( 'books.xml' );

   $books = $doc->getElementsByTagName( "book" );
   foreach( $books as $book )
   {
   $authors = $book->getElementsByTagName( "author" );
   $author = $authors->item(0)->nodeValue;

   $publishers = $book->getElementsByTagName( "publisher" );
   $publisher = $publishers->item(0)->nodeValue;

   $titles = $book->getElementsByTagName( "title" );
   $title = $titles->item(0)->nodeValue;

   echo "$title - $author - $publisher\n";
   }
   ?>

the server shows error like this:
Parse error: parse error, unexpected T_OBJECT_OPERATOR in C:\Apache
Group\Apache2\htdocs\Formphp\test2.php on line 21

if i am removed all this  ->items(0) from the code like  $author =
$authors->nodeValue; then it shows another error

Fatal error: Cannot instantiate non-existent class: domdocument in
C:\Apache Group\Apache2\htdocs\Formphp\test2.php on line 14


2) i am trying to read another xml file

//mymovies.xml
<?xml version="1.0" encoding="utf-8" ?>
    <movies>
       <movie>
          <title>Star Wars</title>
          <year>1977</year>
       </movie>
       <movie>
          <name>Apocalypse Now</name>
          <year>1979</year>
       </movie>
       <movie>
          <title>Raiders Of The Lost Ark</title>
          <year>1981</year>
       </movie>
    </movies>

<?php
	 if (!$myxml=simplexml_load_file('mymovies.xml')){
		 echo 'Error reading the XML file';
	 }

	 foreach($myxml as $movie){
		 echo 'Title: ' . $movie->title . '<br />';
		 echo 'Year: ' . $movie->year . '<br /><hr />';
	 }

?>

in this examle the server shows error like this
Fatal error: Call to undefined function: simplexml_load_file() in
C:\Apache Group\Apache2\htdocs\Formphp\test2.php on line 4

Regards
Rocky

#268 From: nandan raj <iamnandans@...>
Date: Tue Nov 14, 2006 7:53 pm
Subject: search replace in javascript
iamnandans
Send Email Send Email
 
Is there a method to do the following in Java script
    search for (one|two|three|four) and replace one by 1, two by 2 , three by 3
and four by 4.


nanda

---------------------------------
Check out the all-new Yahoo! Mail beta - Fire up a more powerful email and get
things done faster.

[Non-text portions of this message have been removed]

#269 From: "Ved Prakash" <prakash.ved.v@...>
Date: Tue Nov 14, 2006 10:00 pm
Subject: Re: facing problem at the time of reading XML file from PHP
ved74
Send Email Send Email
 
Upgrade to php5. php5 latest build has got better support for classes
than earlier releases.

Regards

Ved

--- In bang-phpug@yahoogroups.com, "gonzal_rocky" <gonzal_rocky@...>
wrote:
>
> hello friends
>
> i am facing problem at the time of reading XML file from PHP.
> i am using php ver 4.4.4. i want load data from the xml file for
> that i am using domxml. this code work fine in php ver 5 but not
> worked in ver 4.4
>
> the code is like this
>
> //books.xml
> <?xml version="1.0" encoding="iso-8859-1" ?>
> <books>
>   <book>
>   <author>Jack Herrington</author>
>   <title>PHP Hacks</title>
>   <publisher>O'Reilly</publisher>
>   </book>
>   <book>
>   <author>Jack Herrington</author>
>   <title>Podcasting Hacks</title>
>   <publisher>O'Reilly</publisher>
>   </book>
>   </books>
>
>
> //php file
>
> <?php
>   $doc = new DOMDocument();
>   $doc->load( 'books.xml' );
>
>   $books = $doc->getElementsByTagName( "book" );
>   foreach( $books as $book )
>   {
>   $authors = $book->getElementsByTagName( "author" );
>   $author = $authors->item(0)->nodeValue;
>
>   $publishers = $book->getElementsByTagName( "publisher" );
>   $publisher = $publishers->item(0)->nodeValue;
>
>   $titles = $book->getElementsByTagName( "title" );
>   $title = $titles->item(0)->nodeValue;
>
>   echo "$title - $author - $publisher\n";
>   }
>   ?>
>
> the server shows error like this:
> Parse error: parse error, unexpected T_OBJECT_OPERATOR in C:\Apache
> Group\Apache2\htdocs\Formphp\test2.php on line 21
>
> if i am removed all this  ->items(0) from the code like  $author =
> $authors->nodeValue; then it shows another error
>
> Fatal error: Cannot instantiate non-existent class: domdocument in
> C:\Apache Group\Apache2\htdocs\Formphp\test2.php on line 14
>
>
> 2) i am trying to read another xml file
>
> //mymovies.xml
> <?xml version="1.0" encoding="utf-8" ?>
>    <movies>
>       <movie>
>          <title>Star Wars</title>
>          <year>1977</year>
>       </movie>
>       <movie>
>          <name>Apocalypse Now</name>
>          <year>1979</year>
>       </movie>
>       <movie>
>          <title>Raiders Of The Lost Ark</title>
>          <year>1981</year>
>       </movie>
>    </movies>
>
> <?php
>  if (!$myxml=simplexml_load_file('mymovies.xml')){
> 	 echo 'Error reading the XML file';
>  }
>
>  foreach($myxml as $movie){
> 	 echo 'Title: ' . $movie->title . '<br />';
> 	 echo 'Year: ' . $movie->year . '<br /><hr />';
>  }
>
> ?>
>
> in this examle the server shows error like this
> Fatal error: Call to undefined function: simplexml_load_file() in
> C:\Apache Group\Apache2\htdocs\Formphp\test2.php on line 4
>
> Regards
> Rocky
>

#270 From: "Ved Prakash" <prakash.ved.v@...>
Date: Wed Nov 15, 2006 2:55 am
Subject: Re: facing problem at the time of reading XML file from PHP
ved74
Send Email Send Email
 
Rocky, Your problem is PHP4. I would recommend you to upgrade to PHP5.
But, there are ways to get over it, if you try using pear.

Regards,

Ved

--- In bang-phpug@yahoogroups.com, "gonzal_rocky" <gonzal_rocky@...>
wrote:
>
> hello friends
>
> i am facing problem at the time of reading XML file from PHP.
> i am using php ver 4.4.4. i want load data from the xml file for
> that i am using domxml. this code work fine in php ver 5 but not
> worked in ver 4.4
>
> the code is like this
>
> //books.xml
> <?xml version="1.0" encoding="iso-8859-1" ?>
> <books>
>   <book>
>   <author>Jack Herrington</author>
>   <title>PHP Hacks</title>
>   <publisher>O'Reilly</publisher>
>   </book>
>   <book>
>   <author>Jack Herrington</author>
>   <title>Podcasting Hacks</title>
>   <publisher>O'Reilly</publisher>
>   </book>
>   </books>
>
>
> //php file
>
> <?php
>   $doc = new DOMDocument();
>   $doc->load( 'books.xml' );
>
>   $books = $doc->getElementsByTagName( "book" );
>   foreach( $books as $book )
>   {
>   $authors = $book->getElementsByTagName( "author" );
>   $author = $authors->item(0)->nodeValue;
>
>   $publishers = $book->getElementsByTagName( "publisher" );
>   $publisher = $publishers->item(0)->nodeValue;
>
>   $titles = $book->getElementsByTagName( "title" );
>   $title = $titles->item(0)->nodeValue;
>
>   echo "$title - $author - $publisher\n";
>   }
>   ?>
>
> the server shows error like this:
> Parse error: parse error, unexpected T_OBJECT_OPERATOR in C:\Apache
> Group\Apache2\htdocs\Formphp\test2.php on line 21
>
> if i am removed all this  ->items(0) from the code like  $author =
> $authors->nodeValue; then it shows another error
>
> Fatal error: Cannot instantiate non-existent class: domdocument in
> C:\Apache Group\Apache2\htdocs\Formphp\test2.php on line 14
>
>
> 2) i am trying to read another xml file
>
> //mymovies.xml
> <?xml version="1.0" encoding="utf-8" ?>
>    <movies>
>       <movie>
>          <title>Star Wars</title>
>          <year>1977</year>
>       </movie>
>       <movie>
>          <name>Apocalypse Now</name>
>          <year>1979</year>
>       </movie>
>       <movie>
>          <title>Raiders Of The Lost Ark</title>
>          <year>1981</year>
>       </movie>
>    </movies>
>
> <?php
>  if (!$myxml=simplexml_load_file('mymovies.xml')){
> 	 echo 'Error reading the XML file';
>  }
>
>  foreach($myxml as $movie){
> 	 echo 'Title: ' . $movie->title . '<br />';
> 	 echo 'Year: ' . $movie->year . '<br /><hr />';
>  }
>
> ?>
>
> in this examle the server shows error like this
> Fatal error: Call to undefined function: simplexml_load_file() in
> C:\Apache Group\Apache2\htdocs\Formphp\test2.php on line 4
>
> Regards
> Rocky
>

#271 From: "joykannan_msit" <joykannan_msit@...>
Date: Thu Nov 16, 2006 7:25 am
Subject: Iam using WAMP 1.6.4 ,
joykannan_msit
Send Email Send Email
 
HI

        Iam usnig WAMP 1.6.4 , Now iam developing a project using this
package.some one told me that if u want to develop project u should
install individually(that mean PHP, APACHE, MySQL) and  have to
configure those Packages
            But i have a doubt that which is better to do projects...
shall i need to  install individually?

  What is diffrences between WAMP 1.6.4 and individul configuration


                                    JOY

#272 From: "Vinu Thomas" <vinuthomas@...>
Date: Fri Nov 17, 2006 3:01 am
Subject: Re: Iam using WAMP 1.6.4 ,
uglyftp
Send Email Send Email
 
Joy,

I don't see a problem in using Wamp for development. It's quite common
for developers to use Wamp to setup the development environment
because of it's easy to use interfaces.

Regards,
Vinu

--- In bang-phpug@yahoogroups.com, "joykannan_msit"
<joykannan_msit@...> wrote:
>
> HI
>
>        Iam usnig WAMP 1.6.4 , Now iam developing a project using this
> package.some one told me that if u want to develop project u should
> install individually(that mean PHP, APACHE, MySQL) and  have to
> configure those Packages
>            But i have a doubt that which is better to do projects...
> shall i need to  install individually?
>
>  What is diffrences between WAMP 1.6.4 and individul configuration
>
>
>                                    JOY
>

#273 From: "Mahabaleshwar" <mahihs2002@...>
Date: Tue Nov 14, 2006 1:15 pm
Subject: Is PHP 5.x is stable?
mahihs2002
Send Email Send Email
 
Dear friends,

I want to know whether PHP 5 is stable or not.If so please tel me which
version is stable in the 5.x series.
Recently I upgraded PHP 4.x to 5.1.x in my developement server.
After upgrading I accessed some of the pages which uses functions with
Call-time pass-by-reference, but it shows warning message given bellow:

Warning: Call-time pass-by-reference has been deprecated - argument
passed by value; If you would like to pass it by reference, modify the
declaration of [runtime function name](). If you would like to enable
call-time pass-by-reference, you can set allow_call_time_pass_reference
to true in your INI file. However, future versions may not support this
any longer.

>From the above message we can find that PHP is going to remove some of

the features which are available in older versions.If that hapens how
can a programmer rely on the language and write version independent
scripts.

please help me...

#274 From: "Vinu Thomas" <vinuthomas@...>
Date: Thu Nov 23, 2006 3:09 am
Subject: Re: Is PHP 5.x is stable?
uglyftp
Send Email Send Email
 
PHP 5.1.x and above are quite stable. We're using that on some of our
production servers. Some of the functionality in PHP4 has either been
removed or disabled by default in PHP5. So you may want to thoroughly
test your older code before deploying them to a PHP5 server.

Here are things you may want to keep in mind:
http://us2.php.net/manual/en/migration5.incompatible.php

Regards,
Vinu

--- In bang-phpug@yahoogroups.com, "Mahabaleshwar" <mahihs2002@...> wrote:
>
> Dear friends,
>
> I want to know whether PHP 5 is stable or not.If so please tel me which
> version is stable in the 5.x series.
> Recently I upgraded PHP 4.x to 5.1.x in my developement server.
> After upgrading I accessed some of the pages which uses functions with
> Call-time pass-by-reference, but it shows warning message given bellow:
>
> Warning: Call-time pass-by-reference has been deprecated - argument
> passed by value; If you would like to pass it by reference, modify the
> declaration of [runtime function name](). If you would like to enable
> call-time pass-by-reference, you can set allow_call_time_pass_reference
> to true in your INI file. However, future versions may not support this
> any longer.
>
> >From the above message we can find that PHP is going to remove some of
>
> the features which are available in older versions.If that hapens how
> can a programmer rely on the language and write version independent
> scripts.
>
> please help me...
>

#275 From: "skumar_sss" <skumar_sss@...>
Date: Sat Nov 25, 2006 7:58 am
Subject: reg:files
skumar_sss
Send Email Send Email
 
hello

any one can say about how to seperate the files and folder in a
particular directory.

#276 From: "Ved Prakash" <prakash.ved.v@...>
Date: Mon Nov 27, 2006 8:46 am
Subject: Re: reg:files
ved74
Send Email Send Email
 
Hi SKumar,

Can you please elaborate your question in detail?

Regards
--- In bang-phpug@yahoogroups.com, "skumar_sss" <skumar_sss@...> wrote:
>
> hello
>
> any one can say about how to seperate the files and folder in a
> particular directory.
>

#277 From: "Mani Shankar Dwivedi" <raju_mani_2000@...>
Date: Mon Nov 27, 2006 6:09 am
Subject: Re: reg:files
raju_mani_2000
Send Email Send Email
 
--- In bang-phpug@yahoogroups.com, "skumar_sss" <skumar_sss@...> wrote:
>
> hello
>
> any one can say about how to seperate the files and folder in a
> particular directory.
>

<html>
<head>
<title>Recursive Directory File Lister</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style>
<!--
a{text-decoration:none}
//-->
</style>
</head>

<body>
<?php
/*
Recursive directory file lister

Scans through the current directory, and lists all the files and
folders in it
it then goes onto the next directory and lists all the files and
folders in that
etc etc

File Vesion 1.3

Changes:
1.0 -> 1.2
              Auto finds the root path of the directory
              Auto finds the www. path of the directory
              added the view link and file numbers
1.2 - 1.3
              Complete Rewrite
              Added File Sizes
              Made into a mambo component
			  Displays In Tree Format
			  Folders Displayed In Bold
			  Added Total File Sizes and Number Of Folders

*/

function direcho($path) {
  global $filetotal, $fullsize, $totaldirs;
  if ($dir = opendir($path)) {
   while (false !== ($file = readdir($dir))) {
    if (is_dir($path."/".$file)) {                    // if it's a dir,
check it's contents too
    if ($file != '.' && $file != '..') {            // but don't go
recursive on '.' and '..'
      echo '<li><img src="folder.jpg"><a href = ' . $path."/".$file .
'><b>' . $file . '</b></a></li><ul>';
      direcho($path."/".$file);
      echo '</ul>';
      $totaldirs++;
    }
    }
   else {                      //if it's not a dir, just output.
    $tab = "      ";
    $filesize = $tab . '(' . filesize ($path.'/'.$file) . ' bytes)';
    echo '<li>' . $file . $filesize . '</li>';
    $fullsize = $fullsize + filesize ($path.'/'.$file);
    $filetotal++;
   }
  }
  closedir($dir);
}
}

direcho('.');

$fullsize = round($fullsize / 1024 / 1024, 2);







echo "<font size=\"2\" face=\"Arial, Helvetica, sans-serif\">
<b>Total files</b> - $filetotal files<br>
<b>Total dirs</b> - $totaldirs directories<br>
<b>Total size</b> - $fullsize MB<br>";
?>
</body>
</html>

this code list the current folder's file list and sub-folder list
folder shows as an icon "folder.jpg" u can make your own image.
this programs also returns the count/size of files & folder

#278 From: pritesh loke <priteshloke@...>
Date: Tue Nov 28, 2006 2:03 pm
Subject: PEAR mdb2 error in php
priteshloke
Send Email Send Email
 
Hello to all
           I want one littile help in PEAR
This is my code
<?
require_once "MDB2.php";
$dsn = "mysql://root:ppp@localhost/mht";
$options = array('persistent'=>true);
$mdb2 =& MDB2::factory($dsn,$options);
$mdb2->setFetchMode(MDB2_FETCHMODE_ASSOC);
$sql = "select * from master";
$result = $mdb2->query($sql);
while($row=$result->fetchrow())
{
     print $row['username']."<br />";
}
$result->free();
?>
giving me error:
Fatal error:  Call to undefined method MDB2_Error::setFetchMode() in D:\Program
Files\xampp\htdocs\prrish\PEAR\dbdemo.php on line 6
Any body know the solution pls reply me.

Thank you.





---------------------------------
Check out the all-new Yahoo! Mail beta - Fire up a more powerful email and get
things done faster.

[Non-text portions of this message have been removed]

#279 From: "axsubram" <axsubram@...>
Date: Sun Dec 3, 2006 5:11 am
Subject: Hi - PHP Learning centers in Bangalore ?
axsubram
Send Email Send Email
 
Hi,

Greetings & Good Morning

I am new to PHP - am used to some  html & Perl. Are there good Traning
centers in Bangalore for PHP ?

Further are there good tutorials on the net.

Any help is appreciated

Thanks

Anand

#280 From: "gayatri_ajith" <gayatri_ajith@...>
Date: Thu Dec 7, 2006 9:30 am
Subject: Re: PEAR mdb2 error in php
gayatri_ajith
Send Email Send Email
 
Hello,

You are getting this error because your MDB2 object was not created.
Instead, when you called the factory() function an error object was
returned...as you will see in the error that you got is says
"undefined method MDB2_Error::setFetchMode()...".
This itself shows that it is trying to call the setFetchMode()
function of the MDB2_Error object and not the MDB2 object, as it should.

Please add this code at after the factory() function call
	 if (MDB2::isError($mdb2)) {
		 die($mdb2->getMessage().' - '.$mdb2->getUserinfo());
	 }
This will tell you what the error occurred while creating the object.

Hope this is helpful

Best Regards

--- In bang-phpug@yahoogroups.com, pritesh loke <priteshloke@...> wrote:
>
> Hello to all
>           I want one littile help in PEAR
> This is my code
> <?
> require_once "MDB2.php";
> $dsn = "mysql://root:ppp@localhost/mht";
> $options = array('persistent'=>true);
> $mdb2 =& MDB2::factory($dsn,$options);
> $mdb2->setFetchMode(MDB2_FETCHMODE_ASSOC);
> $sql = "select * from master";
> $result = $mdb2->query($sql);
> while($row=$result->fetchrow())
> {
>     print $row['username']."<br />";
> }
> $result->free();
> ?>
> giving me error:
> Fatal error:  Call to undefined method MDB2_Error::setFetchMode() in
D:\Program Files\xampp\htdocs\prrish\PEAR\dbdemo.php on line 6
> Any body know the solution pls reply me.
>
> Thank you.
>
>
>
>
>
> ---------------------------------
> Check out the all-new Yahoo! Mail beta - Fire up a more powerful
email and get things done faster.
>
> [Non-text portions of this message have been removed]
>

#281 From: pritesh loke <priteshloke@...>
Date: Sat Dec 9, 2006 6:53 am
Subject: Re: Re: PEAR mdb2 error in php
priteshloke
Send Email Send Email
 
Hello
           If you have good tutorials for PEAR pls give me. :(
Thank you.

gayatri_ajith <gayatri_ajith@...> wrote:
Hello,

  You are getting this error because your MDB2 object was not created.
  Instead, when you called the factory() function an error object was
  returned...as you will see in the error that you got is says
  "undefined method MDB2_Error::setFetchMode()...".
  This itself shows that it is trying to call the setFetchMode()
  function of the MDB2_Error object and not the MDB2 object, as it should.

  Please add this code at after the factory() function call
   if (MDB2::isError($mdb2)) {
    die($mdb2->getMessage().' - '.$mdb2->getUserinfo());
   }
  This will tell you what the error occurred while creating the object.

  Hope this is helpful

  Best Regards

  --- In bang-phpug@yahoogroups.com, pritesh loke <priteshloke@...> wrote:
  >
  > Hello to all
  >           I want one littile help in PEAR
  > This is my code
  > <?
  > require_once "MDB2.php";
  > $dsn = "mysql://root:ppp@localhost/mht";
  > $options = array('persistent'=>true);
  > $mdb2 =& MDB2::factory($dsn,$options);
  > $mdb2->setFetchMode(MDB2_FETCHMODE_ASSOC);
  > $sql = "select * from master";
  > $result = $mdb2->query($sql);
  > while($row=$result->fetchrow())
  > {
  >     print $row['username']."<br />";
  > }
  > $result->free();
  > ?>
  > giving me error:
  > Fatal error:  Call to undefined method MDB2_Error::setFetchMode() in
  D:\Program Files\xampp\htdocs\prrish\PEAR\dbdemo.php on line 6
  > Any body know the solution pls reply me.
  >
  > Thank you.
  >
  >
  >
  >
  >
  > ---------------------------------
  > Check out the all-new Yahoo! Mail beta - Fire up a more powerful
  email and get things done faster.
  >
  > [Non-text portions of this message have been removed]
  >








---------------------------------
Everyone is raving about the all-new Yahoo! Mail beta.

[Non-text portions of this message have been removed]

#282 From: pritesh loke <priteshloke@...>
Date: Mon Dec 11, 2006 2:56 pm
Subject: help in creating blog
priteshloke
Send Email Send Email
 
Hello
          I want to creating blogging website like wordpress so any body help
about creating that website php and mysql i want help in related database ?


Thank you.




---------------------------------
Access over 1 million songs - Yahoo! Music Unlimited.

[Non-text portions of this message have been removed]

Messages 253 - 282 of 1863   Oldest  |  < Older  |  Newer >  |  Newest
Add to My Yahoo!      XML What's This?

Copyright © 2010 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines NEW - Help