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 612 - 642 of 1863   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Show Message Summaries Sort by Date ^  
#612 From: Anand Subramanian <axsubram@...>
Date: Tue Jul 24, 2007 10:53 am
Subject: Sample PHP Community sites
axsubram
Send Email Send Email
 
Hi,

Can you send  me some links of PHP sites (i.e.  commercial/any sites that have
been built using  php).

Mainly this is to get an idea about the capabilites and  what  can  be built
using PHP. Community/portal kind of sites would  be of great help

Thanks in advance for  any pointers.

Anand



________________________________________________________________________________\
____Ready for the edge of your seat?
Check out tonight's top picks on Yahoo! TV.
http://tv.yahoo.com/

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

#613 From: "CS Shyam Sundar" <csshyamsundar@...>
Date: Sat Jul 21, 2007 11:20 am
Subject: Re: Plz help / giv some resources about custom URL structure
ssundar85
Send Email Send Email
 
Hi.,

its extrmely simple:

You need apache with mod_Rewrite module

See: http://www.yourhtmlsource.com/sitemanagement/urlrewriting.html

Then: see this: http://forums.searchenginewatch.com/showthread.php?t=3925

Use this cheat sheet too:
http://www.ilovejackdaniels.com/apache/mod_rewrite-cheat-sheet/



On 7/20/07, Anees <anees_muhd@...> wrote:
>
>   Hi,
>
> I implemented Wordpress for one of my client's site.
>
> In its admin section they are giving an option to use Custom URL Structure
>
> Default
> » http://www.test.com/blog/?p=123
>
> Date and name based
> » http://www.test.com/blog/2007/07/21/sample-post/
>
> Numeric
> » http://www.test.com/blog/archives/123
>
> Dis are the methods they given
>
> how does we implement dis....
>
> i saw the same other kind f implementation in digg.com also
>
> In dat site to call a Post named "Secret Buildings You May Not Photograph,
> Part 643"
> they used a link like
>
> http://digg.com/politics/Secret_Buildings_You_May_Not_Photograph_Part_643_2
>
> Please tell me how we can implement dis
> how can we manage dis
>
> whether the whole string
> (Secret_Buildings_You_May_Not_Photograph_Part_643_2) they might hav been
> take as a variable?
>
> if i want to implement the same though PHP, can i go with any read url
> method to get the value of dat?
>
> Please Help
>
> Regards
> Anees Muhammed
> ___________
>
> __________________________________________________________
> Building a website is a piece of cake. Yahoo! Small Business gives you all
> the tools to get online.
> http://smallbusiness.yahoo.com/webhosting
>
> [Non-text portions of this message have been removed]
>
>
>



--
CS Shyam Sundar

"In our world of game and con: there is always an opponent and there is
always a victim. The trick: is to know when you're the latter, so you can
become the former."


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

#614 From: Pradeep B V <pradeepbv@...>
Date: Tue Jul 24, 2007 2:41 pm
Subject: Re: Sample PHP Community sites
pradeepbv
Send Email Send Email
 
Here are some sites that use PHP.

http://www.facebook.com/

http://www.digg.com/

http://wikipedia.org/

http://www.archive.org/index.php

Did I forget to mention Yahoo!

Pradeep B V





----- Original Message ----
From: Anand Subramanian <axsubram@...>
To: bang-phpug@yahoogroups.com
Sent: Tuesday, 24 July, 2007 4:23:44 PM
Subject: [bang-phpug] Sample PHP Community sites


Hi,

Can you send  me some links of PHP sites (i.e.  commercial/any sites that have
been built using  php).

Mainly this is to get an idea about the capabilites and  what  can  be built
using PHP. Community/portal kind of sites would  be of great help

Thanks in advance for  any pointers.

Anand



________________________________________________________________________________\
____Ready for the edge of your seat?
Check out tonight's top picks on Yahoo! TV.
http://tv.yahoo.com/

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




Yahoo! Groups Links




       Get the freedom to save as many mails as you wish. To know how, go to
http://help.yahoo.com/l/in/yahoo/mail/yahoomail/tools/tools-08.html

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

#615 From: maq sood <maq005@...>
Date: Wed Jul 25, 2007 4:43 am
Subject: Re: Sample PHP Community sites
maq005
Send Email Send Email
 
http://pub.mytoday.com its for sms groups. Am workin on that project :)

Pradeep B V <pradeepbv@...> wrote:                                  Here
are some sites that use PHP.

  http://www.facebook.com/

  http://www.digg.com/

  http://wikipedia.org/

  http://www.archive.org/index.php

  Did I forget to mention Yahoo!

  Pradeep B V

  ----- Original Message ----
  From: Anand Subramanian <axsubram@...>
  To: bang-phpug@yahoogroups.com
  Sent: Tuesday, 24 July, 2007 4:23:44 PM
  Subject: [bang-phpug] Sample PHP Community sites

  Hi,

  Can you send  me some links of PHP sites (i.e.  commercial/any sites that have
been built using  php).

  Mainly this is to get an idea about the capabilites and what can be built using
PHP. Community/portal kind of sites would be of great help

  Thanks in advance for  any pointers.

  Anand

  __________________________________________________________Ready for the edge of
your seat?
  Check out tonight's top picks on Yahoo! TV.
  http://tv.yahoo.com/

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

  Yahoo! Groups Links

  Get the freedom to save as many mails as you wish. To know how, go to
http://help.yahoo.com/l/in/yahoo/mail/yahoomail/tools/tools-08.html

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






---------------------------------
Luggage? GPS? Comic books?
Check out fitting  gifts for grads at Yahoo! Search.

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

#616 From: Chidu <chidanandmba@...>
Date: Wed Jul 25, 2007 5:39 am
Subject: Re: How to create tab pages in PHP
chidanandgb_...
Send Email Send Email
 
Hi Guru,

I have been using the tabs in one of my web application development. Its
working fine, it can be easily done using a small javascript function, but
the only thing is, what I use is a little different from what the examples
we get from the web.

Well, I am doing it on a php file and little javascript.... I know, it can
be implemented on over any html too..

Just let me know, if u need anymore clarifications...?

With regards,
Chidanand


On 7/23/07, guruj_r <guruj_r@...> wrote:
>
>   Hi,
>
> I have a requirement to have two or more tabs in the website. So i
> need help in creating it. It would be grateful if any one provides
> useful information...
>
> Regards,
> Guru
>
>
>



--
Chidanand. G. B
+91-98456-51235


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

#617 From: prashant rahulkar <prashantycce@...>
Date: Thu Jul 26, 2007 10:47 am
Subject: Re: How can I send sms through PHP
prashantycce
Send Email Send Email
 
Dear Friend,
                 Everything is possible in PHP , if you want to send SMS using
php
Used the CURL library.

Regards
Prashant Rahulkar





----- Original Message ----
From: madhur_gemini <madhur_gemini@...>
To: bang-phpug@yahoogroups.com
Sent: Saturday, 30 June, 2007 6:10:23 PM
Subject: [bang-phpug] How can I send sms through PHP

Dear Member,

I need your help, i have assigned a difficult(for me) task.

Can any one tell me the procedure how can we send worldwide sms
through php.

Sms should be sent according to the time zone and in everycountry
every subscribers got sms at 9 AM in morning.

My Queries are:

1) How to send sms(is it possible in php)?
2) On which event i have to send it(there is no admin click and any
other event. admin just save the message body.)
3) How to send sms according to the time zone.

Anybody please advice me.

Thanks
Madhukar Garg
madhur_gemini@ yahoo.co. in





       Download prohibited? No problem. CHAT from any browser, without download.
Go to http://in.messenger.yahoo.com/webmessengerpromo.php/

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

#618 From: Pritesh Loke <priteshloke@...>
Date: Fri Jul 27, 2007 4:59 am
Subject: add two times together in php
priteshloke
Send Email Send Email
 
Hello to all

               how can i add 2 times together in php ?


Array (     [0] => 00:01:04     [1] => 00:00:48     [2] => 00:02:31     [3] =>
00:00:35     [4] => 00:04:55     [5] => 00:13:42     [6] => 00:14:12 ) Test end


this is my time array i have to add this all and want in correct format H:i:s

????

Thank you


PML

---------------------------------
Park yourself in front of a world of choices in alternative vehicles.
Visit the Yahoo! Auto Green Center.

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

#619 From: Pradeep B V <pradeepbv@...>
Date: Fri Jul 27, 2007 7:29 am
Subject: Re: add two times together in php
pradeepbv
Send Email Send Email
 
here you go..

<?php
// the array having times.
$ary = array("00:01:04", "00:00:48", "00:02:31", "00:00:35", "00:04:55", 
"00:13:42",  "00:14:12");

// lets a have a temp variable to add the times
$tm = 0;

// loop through the array and add the times in the array to the temp variable.
strtotime converts a string to time.
for($i=0;$i<count($ary);$i++){
         $tm =  $tm + strtotime($ary[$i]);
}

// echo back the time in format of choice.
echo date('H:i:s', $tm);

//profit!
?>


Pradeep B V



----- Original Message ----
From: Pritesh Loke <priteshloke@...>
To: "bang-phpug@yahoogroups.com" <bang-phpug@yahoogroups.com>;
"php4india@yahoogroups.com" <php4india@yahoogroups.com>;
"php_and_mysql@yahoogroups.com" <php_and_mysql@yahoogroups.com>
Sent: Friday, 27 July, 2007 10:29:39 AM
Subject: [bang-phpug] add two times together in php

Hello to all

               how can i add 2 times together in php ?


Array (     [0] => 00:01:04     [1] => 00:00:48     [2] => 00:02:31     [3] =>
00:00:35     [4] => 00:04:55     [5] => 00:13:42     [6] => 00:14:12 ) Test end


this is my time array i have to add this all and want in correct format H:i:s

????

Thank you


PML

---------------------------------
Park yourself in front of a world of choices in alternative vehicles.
Visit the Yahoo! Auto Green Center.

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




Yahoo! Groups Links










       Unlimited freedom, unlimited storage. Get it now, on
http://help.yahoo.com/l/in/yahoo/mail/yahoomail/tools/tools-08.html/

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

#620 From: "ravi ganesh" <raviganesh12@...>
Date: Fri Jul 27, 2007 10:18 am
Subject: PDF Related
raviganesh_12
Send Email Send Email
 
Hi all ,

It is possible to know the number of pages of a pdf file with php ?


--
Regards,
Ravi Ganesh


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

#621 From: Pritesh Loke <priteshloke@...>
Date: Fri Jul 27, 2007 12:17 pm
Subject: javascript timer
priteshloke
Send Email Send Email
 
Hello
            sorry but i have one problem agine
  this is my php time 01:10:00 and i have to passed this to javascript and create
one counter how can i create this ?

Thank you


PML

---------------------------------
Be a better Heartthrob. Get better relationship answers from someone who knows.
Yahoo! Answers - Check it out.

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

#622 From: "guruj_r" <guruj_r@...>
Date: Mon Jul 30, 2007 7:26 am
Subject: How to send a mail in background when user hits a button to get the details...
guruj_r
Send Email Send Email
 
I have a requirement that mail to be sent at the background when the
user needs data from a particular website...

Meaning it is a product related website - on the product details page
there is a button to contact the seller. On hitting the button the
mail to be sent to seller.

I need the process about how to send a mail to the seller as soon as
possible when the user hits the button...

Thanks in advance...

Guru

#623 From: Chidu <chidanandmba@...>
Date: Mon Jul 30, 2007 2:28 pm
Subject: Re: How to send a mail in background when user hits a button to get the details...
chidanandgb_...
Send Email Send Email
 
Hi ,

Its very simple, on the POST event of the button click call the phpmailer
class to send the email... with all other variables and the mail()
function...




On 7/30/07, guruj_r <guruj_r@...> wrote:
>
>   I have a requirement that mail to be sent at the background when the
> user needs data from a particular website...
>
> Meaning it is a product related website - on the product details page
> there is a button to contact the seller. On hitting the button the
> mail to be sent to seller.
>
> I need the process about how to send a mail to the seller as soon as
> possible when the user hits the button...
>
> Thanks in advance...
>
> Guru
>
>
>



--
Chidanand. G. B
+91-98456-51235


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

#624 From: Jeyaseelan <jeyaseelan_mca@...>
Date: Tue Jul 31, 2007 5:27 am
Subject: Re: How to send a mail in background when user hits a button to get the details...
jeyaseelan_mca
Send Email Send Email
 
Hi,
  Using command line we can do this.
Here we can use 2 options for sending mail  i think
  1. Commandline execution use like exec() or shell_exec()
  2. Using ajax call

Regards,
Jeyaseelan

Chidu <chidanandmba@...> wrote:                                  Hi ,

  Its very simple, on the POST event of the button click call the phpmailer
  class to send the email... with all other variables and the mail()
  function...

  On 7/30/07, guruj_r <guruj_r@...> wrote:
  >
  >   I have a requirement that mail to be sent at the background when the
  > user needs data from a particular website...
  >
  > Meaning it is a product related website - on the product details page
  > there is a button to contact the seller. On hitting the button the
  > mail to be sent to seller.
  >
  > I need the process about how to send a mail to the seller as soon as
  > possible when the user hits the button...
  >
  > Thanks in advance...
  >
  > Guru
  >
  >
  >

  --
  Chidanand. G. B
  +91-98456-51235

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






---------------------------------
  Get the freedom to save as many mails as you wish. Click here to know how.

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

#625 From: "Chidanand." <chidanandmba@...>
Date: Wed Aug 1, 2007 11:33 pm
Subject: Retrieve email and parse the message
chidanandgb_...
Send Email Send Email
 
Hi to all,

Well I have a very small thing here...
I am able to retrieve emails from my POP3 account,

but have an issue in parsing the message..
Message when put on to the screen using print_r() its fine, but when I
put the same to the database, and fetch it back to a <textarea>
it gives me all sorts of html tags...
I need to avoid them and just put the message[body part] for the user..
without the html tags, or else these tags start confusing the users.
I need some assistance in doing that, if anybody knows, kindly let me
know....
Suggestions and Recommendations are also welcome...

Thanx in Advance

Chidanand

#626 From: "Vinu Thomas" <vinuthomas@...>
Date: Thu Aug 2, 2007 7:43 am
Subject: Re: Retrieve email and parse the message
uglyftp
Send Email Send Email
 
You can use strip_tags to remove the HTML tags:
http://in.php.net/manual/en/function.strip-tags.php

Regards,
Vinu

On 8/2/07, Chidanand. <chidanandmba@...> wrote:
>
>   Hi to all,
>
> Well I have a very small thing here...
> I am able to retrieve emails from my POP3 account,
>
> but have an issue in parsing the message..
> Message when put on to the screen using print_r() its fine, but when I
> put the same to the database, and fetch it back to a <textarea>
> it gives me all sorts of html tags...
> I need to avoid them and just put the message[body part] for the user..
> without the html tags, or else these tags start confusing the users.
> I need some assistance in doing that, if anybody knows, kindly let me
> know....
> Suggestions and Recommendations are also welcome...
>
> Thanx in Advance
>
> Chidanand
>
>
>



--
-------------------------------
www.vinuthomas.com
blogs.vinuthomas.com


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

#627 From: "CS Shyam Sundar" <csshyamsundar@...>
Date: Thu Aug 2, 2007 5:30 am
Subject: Re: Retrieve email and parse the message
ssundar85
Send Email Send Email
 
Well., you can echo it right !

On 8/2/07, Chidanand. <chidanandmba@...> wrote:
>
>   Hi to all,
>
> Well I have a very small thing here...
> I am able to retrieve emails from my POP3 account,
>
> but have an issue in parsing the message..
> Message when put on to the screen using print_r() its fine, but when I
> put the same to the database, and fetch it back to a <textarea>
> it gives me all sorts of html tags...
> I need to avoid them and just put the message[body part] for the user..
> without the html tags, or else these tags start confusing the users.
> I need some assistance in doing that, if anybody knows, kindly let me
> know....
> Suggestions and Recommendations are also welcome...
>
> Thanx in Advance
>
> Chidanand
>
>
>



--
CS Shyam Sundar

"In our world of game and con: there is always an opponent and there is
always a victim. The trick: is to know when you're the latter, so you can
become the former."


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

#628 From: ganu <ganu.ullu@...>
Date: Thu Aug 2, 2007 10:16 am
Subject: Re: How to send a mail in background when user hits a button to get the details...
dave.ankur
Send Email Send Email
 
hey,

what about using the perl in your script.
perl will send mail fast.

on the click from php page call exec() to any perl file.
in perl file - greb all your content what you want to send and make it in
perl hash.

thats it. and tell your PHP page to go to next page. and in the background
the perl code will send the mail.

this is helpfull if you have to send some > 100 kind of invitation. so till
then you can not tell your PHP to wait
for sending all your msg. The end user can not wait till that long time. :(

addition. :: the background PHP will also be fast. :) but perl will be more
fast. it again depend what you want to send. :)

--
Ganu ~ Ullu


On 7/31/07, Jeyaseelan <jeyaseelan_mca@...> wrote:
>
>   Hi,
> Using command line we can do this.
> Here we can use 2 options for sending mail i think
> 1. Commandline execution use like exec() or shell_exec()
> 2. Using ajax call
>
> Regards,
> Jeyaseelan
>
> Chidu <chidanandmba@... <chidanandmba%40gmail.com>> wrote: Hi ,
>
> Its very simple, on the POST event of the button click call the phpmailer
> class to send the email... with all other variables and the mail()
> function...
>
> On 7/30/07, guruj_r <guruj_r@... <guruj_r%40yahoo.co.in>> wrote:
> >
> > I have a requirement that mail to be sent at the background when the
> > user needs data from a particular website...
> >
> > Meaning it is a product related website - on the product details page
> > there is a button to contact the seller. On hitting the button the
> > mail to be sent to seller.
> >
> > I need the process about how to send a mail to the seller as soon as
> > possible when the user hits the button...
> >
> > Thanks in advance...
> >
> > Guru
> >
> >
> >
>
> --
> Chidanand. G. B
> +91-98456-51235
>
> [Non-text portions of this message have been removed]
>
>
>
>
>
> ---------------------------------
> Get the freedom to save as many mails as you wish. Click here to know how.
>
> [Non-text portions of this message have been removed]
>
>
>


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

#629 From: Pritesh Loke <priteshloke@...>
Date: Fri Aug 3, 2007 6:20 am
Subject: Sending header from phpmailer
priteshloke
Send Email Send Email
 
Hello to all

                      i am using phpmailer clas for sending email and used header
for that function
$headers = 'FromName: '.$et_obj->et_from_name . "\r\n".
                'From: '.$et_obj->et_from_email . "\r\n" ;

but header not going in mail funciton just sending empty header

can any body what is the reason or my header formate is wrong  ?

Thank you.


PML

---------------------------------
Need a vacation? Get great deals to amazing places on Yahoo! Travel.

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

#630 From: "bhavna_coolinus" <bhavna_coolinus@...>
Date: Fri Aug 3, 2007 12:04 pm
Subject: How to delete history
bhavna_coolinus
Send Email Send Email
 
Hi all,

My problem is how to delete history after coming into home page of my
application. i am using cookies to get user information, I am also
deleting these cookies when he is redirected to home page, but still
user can see previous visited pages by back and forward buttons of
application, i want to disable Back/foraward buttons of explorer or
want to delete history in client machine to not show previos pages.

Is there any suggetion for this issue? Please let me know if i have to
apply some logic to restrict this problem,

Thanks in advance,
Bhavna.

#631 From: "Vinu Thomas" <vinuthomas@...>
Date: Fri Aug 3, 2007 2:11 pm
Subject: Re: How to delete history
uglyftp
Send Email Send Email
 
Rather than disable the back/forward buttons on the browser, you can
send a header with your pages telling the browser not to cache the
pages. You can do this in PHP by setting an older date in the expires
header and sending a pragma: no-cache directive.  Doing this will give
the users a  page expired message instead of showing the pages from
the cache.

<?php
  header('Expires: Mon, 26 Jul 1997 05:00:00 GMT');
  header('Pragma: no-cache');
  ?>

Place this on all the pages which you don't want to show the user
after they logout.

Regards,
Vinu



On 8/3/07, bhavna_coolinus <bhavna_coolinus@...> wrote:
>
>
>
>
>
>
> Hi all,
>
>  My problem is how to delete history after coming into home page of my
>  application. i am using cookies to get user information, I am also
>  deleting these cookies when he is redirected to home page, but still
>  user can see previous visited pages by back and forward buttons of
>  application, i want to disable Back/foraward buttons of explorer or
>  want to delete history in client machine to not show previos pages.
>
>  Is there any suggetion for this issue? Please let me know if i have to
>  apply some logic to restrict this problem,
>
>  Thanks in advance,
>  Bhavna.
>
>



--
-------------------------------
www.vinuthomas.com
blogs.vinuthomas.com

#633 From: binay tiwary <binay4ever@...>
Date: Fri Aug 3, 2007 2:16 pm
Subject: how to create registration and login form in php with postgressql
binay4ever
Send Email Send Email
 
i have no idea about postgress sql how to create login and registration form
plz help me or send url code source if u have

#634 From: bhavna patel <bhavna_coolinus@...>
Date: Mon Aug 6, 2007 7:05 am
Subject: Re: How to delete history
bhavna_coolinus
Send Email Send Email
 
Hey thanks alot Vinu.. it worked. I was not aware of this matter. :(
anyways thank you very much.



----- Original Message ----
From: Vinu Thomas <vinuthomas@...>
To: bang-phpug@yahoogroups.com
Sent: Friday, August 3, 2007 4:11:19 PM
Subject: Re: [bang-phpug] How to delete history

Rather than disable the back/forward buttons on the browser, you can
send a header with your pages telling the browser not to cache the
pages. You can do this in PHP by setting an older date in the expires
header and sending a pragma: no-cache directive. Doing this will give
the users a page expired message instead of showing the pages from
the cache.

<?php
header('Expires: Mon, 26 Jul 1997 05:00:00 GMT');
header('Pragma: no-cache');
?>

Place this on all the pages which you don't want to show the user
after they logout.

Regards,
Vinu

On 8/3/07, bhavna_coolinus <bhavna_coolinus@ yahoo.com> wrote:
>
>
>
>
>
>
> Hi all,
>
> My problem is how to delete history after coming into home page of my
> application. i am using cookies to get user information, I am also
> deleting these cookies when he is redirected to home page, but still
> user can see previous visited pages by back and forward buttons of
> application, i want to disable Back/foraward buttons of explorer or
> want to delete history in client machine to not show previos pages.
>
> Is there any suggetion for this issue? Please let me know if i have to
> apply some logic to restrict this problem,
>
> Thanks in advance,
> Bhavna.
>
>

--
------------ --------- --------- -
www.vinuthomas. com
blogs.vinuthomas. com





________________________________________________________________________________\
____Ready for the edge of your seat?
Check out tonight's top picks on Yahoo! TV.
http://tv.yahoo.com/

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

#635 From: ganu <ganu.ullu@...>
Date: Sun Aug 5, 2007 9:36 pm
Subject: Re: how to create registration and login form in php with postgressql
dave.ankur
Send Email Send Email
 
google is best friend for all :)
use google cheatsheet if you are not getting your result. -
http://www.google.com/help/cheatsheet.html

after your try if you are getting any error I can help you.

---
ganu

On 8/3/07, binay tiwary <binay4ever@...> wrote:
>
>   i have no idea about postgress sql how to create login and registration
> form
> plz help me or send url code source if u have
>
>


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

#636 From: Roshith Kaniyamchalil <roshith_kc@...>
Date: Mon Aug 6, 2007 9:15 am
Subject: help in .htaccess
roshith_kc
Send Email Send Email
 
#637 From: Pritesh Loke <priteshloke@...>
Date: Mon Aug 6, 2007 2:18 pm
Subject: closed html tags using php
priteshloke
Send Email Send Email
 
Hello to all
                     when any used posting html data on textbox some times forgot
to closed  html tags i have serch and closed that tags ? any body have idea ?
pls tell me

Thank you



PML

---------------------------------
Need a vacation? Get great deals to amazing places on Yahoo! Travel.

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

#638 From: "bhavna_coolinus" <bhavna_coolinus@...>
Date: Mon Aug 6, 2007 11:13 am
Subject: problem with smarty literal tag
bhavna_coolinus
Send Email Send Email
 
Hi all,

I am using smarty with php. problem is literal tag in javascript
(.js) file has not been recognised.
e.g1:
{literal}
<script language="JavaScript" type="text/javascript"
src="../js/jsfile.js"></script>
{/literal}

  But if i use it directly(inline) into my head file it is working
e.g2:
{literal}
<script language="JavaScript" type="text/javascript" >
  function something(){
           if(document.changePass.oldPassword.value == ""){
		 alert("{/literal}{#errenterOldPass#}{literal}");
		 document.changePass.oldPassword.focus();
		 return false;
	 }
  }
</script>
{/literal}

In e.g1 it is displaying as "{/literal}{#errenterOldPass#}{literal}"
but in e.g2 its displaying propere word from conf file.



Please give me suggetion of this as soon as possible if you know it.

Thanks,
Bhavna.

#639 From: ganu <ganu.ullu@...>
Date: Mon Aug 6, 2007 5:21 pm
Subject: Re: problem with smarty literal tag
dave.ankur
Send Email Send Email
 
hey,

I am not sure I am write or wrong.
But see as you are telling that your first statement is printing as
{#errenterOldPass#}

now the smarty docs says if you have say foo.conf then it will take the
value from there. Now you are trying to run /js/some_jsfile.js so the
program is not able to get that where is your conf is declared. So its
displaying as it is. else if the program is able to get the conf value then
it will print , that is what happening in your second case.

Or you can try the first statement with option might be this will work.
{config_load file="myfoo.conf"}

--
ganu.

On 8/6/07, bhavna_coolinus <bhavna_coolinus@...> wrote:
>
>   Hi all,
>
> I am using smarty with php. problem is literal tag in javascript
> (.js) file has not been recognised.
> e.g1:
> {literal}
> <script language="JavaScript" type="text/javascript"
> src="../js/jsfile.js"></script>
> {/literal}
>
> But if i use it directly(inline) into my head file it is working
> e.g2:
> {literal}
> <script language="JavaScript" type="text/javascript" >
> function something(){
> if(document.changePass.oldPassword.value == ""){
> alert("{/literal}{#errenterOldPass#}{literal}");
> document.changePass.oldPassword.focus();
> return false;
> }
> }
> </script>
> {/literal}
>
> In e.g1 it is displaying as "{/literal}{#errenterOldPass#}{literal}"
> but in e.g2 its displaying propere word from conf file.
>
> Please give me suggetion of this as soon as possible if you know it.
>
> Thanks,
> Bhavna.
>
>
>


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

#640 From: "Hari" <hariharan.83@...>
Date: Tue Aug 7, 2007 6:02 am
Subject: listbox problem
harirajamoni
Send Email Send Email
 
Dear all,



I am using two listboxes with multiple selection.

I have moved the contents from the first list box to the second list box.

But I am not able to get the value from the second list box.



Please guide me in this issue.



With regards,



R.Hari



+919894917125







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

#641 From: "jatinder kaur" <jatinderkaur100@...>
Date: Tue Aug 7, 2007 5:56 am
Subject: Re: Sending header from phpmailer
jatinder_php
Send Email Send Email
 
hi pritesh,
u can try this and let me know
************************
$fromName  = $et_obj->et_from_name;
$from = $et_obj->et_from_email;

  $headers = 'FromName: '.$fromName . "\r\n".
  'From: '.$froml . "\r\n" ;
****************************

On 8/3/07, Pritesh Loke <priteshloke@...> wrote:
>
>   Hello to all
>
> i am using phpmailer clas for sending email and used header for that
> function
> $headers = 'FromName: '.$et_obj->et_from_name . "\r\n".
> 'From: '.$et_obj->et_from_email . "\r\n" ;
>
> but header not going in mail funciton just sending empty header
>
> can any body what is the reason or my header formate is wrong ?
>
> Thank you.
>
> PML
>
> ---------------------------------
> Need a vacation? Get great deals to amazing places on Yahoo! Travel.
>
> [Non-text portions of this message have been removed]
>
>
>


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

#642 From: bhavna patel <bhavna_coolinus@...>
Date: Tue Aug 7, 2007 6:22 am
Subject: Re: problem with smarty literal tag
bhavna_coolinus
Send Email Send Email
 
hey,

I have already included conf file in my header.tpl file so it will be available
in every
files. and that is why the second statement runs. but i dont know why the first
one is not working. or its like I have to incldue conf file in JS file too.

Please let me know, if you have more idea bout it,
Thanks,
Bhavna.

----- Original Message ----
From: ganu <ganu.ullu@...>
To: bang-phpug@yahoogroups.com
Sent: Monday, August 6, 2007 7:21:08 PM
Subject: Re: [bang-phpug] problem with smarty literal tag

hey,

I am not sure I am write or wrong.
But see as you are telling that your first statement is printing as
{#errenterOldPass# }

now the smarty docs says if you have say foo.conf then it will take the
value from there. Now you are trying to run /js/some_jsfile. js so the
program is not able to get that where is your conf is declared. So its
displaying as it is. else if the program is able to get the conf value then
it will print , that is what happening in your second case.

Or you can try the first statement with option might be this will work.
{config_load file="myfoo. conf"}

--
ganu.

On 8/6/07, bhavna_coolinus <bhavna_coolinus@ yahoo.com> wrote:
>
> Hi all,
>
> I am using smarty with php. problem is literal tag in javascript
> (.js) file has not been recognised.
> e.g1:
> {literal}
> <script language="JavaScrip t" type="text/javascri pt"
> src="../js/jsfile. js"></script>
> {/literal}
>
> But if i use it directly(inline) into my head file it is working
> e.g2:
> {literal}
> <script language="JavaScrip t" type="text/javascri pt" >
> function something(){
> if(document. changePass. oldPassword. value == ""){
> alert("{/literal} {#errenterOldPas s#}{literal} ");
> document.changePass .oldPassword. focus();
> return false;
> }
> }
> </script>
> {/literal}
>
> In e.g1 it is displaying as "{/literal}{ #errenterOldPass #}{literal} "
> but in e.g2 its displaying propere word from conf file.
>
> Please give me suggetion of this as soon as possible if you know it.
>
> Thanks,
> Bhavna.
>
>
>

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






________________________________________________________________________________\
____
Pinpoint customers who are looking for what you sell.
http://searchmarketing.yahoo.com/

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

Messages 612 - 642 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