Search found 16 matches

by asmitacp
Sat Apr 18, 2009 7:16 am
Forum: PHP - Code
Topic: Error in mail sending
Replies: 0
Views: 609

Error in mail sending

I am using following code to send mail. 1. require_once('class.phpmailer.php'); 2. 3. $msg = new PHPMailer(); 4. 5. $msg->IsSMTP(); 6. $msg->Host = "ssl://smtp.gmail.com:465"; 7. $msg->SMTPAuth = true; 8. $msg->Username = 'username@mail.com'; 9. $msg->Password = 'password'; 10. 11. $msg->F...
by asmitacp
Sat Mar 07, 2009 5:49 am
Forum: HTML, CSS and other UI Design Technologies
Topic: Change color of link on click
Replies: 2
Views: 2307

Change color of link on click

Whenever we click on link, its color should be changed.


Can anyone help me to find the solution in PHP ???"??

Plz, help me out.....
by asmitacp
Sat Feb 28, 2009 6:04 am
Forum: Javascript
Topic: File uploading is not working
Replies: 3
Views: 427

Re: File uploading is not working

Its working ...
problem was in folder permission.......
by asmitacp
Sat Feb 28, 2009 5:47 am
Forum: Javascript
Topic: File uploading is not working
Replies: 3
Views: 427

Re: File uploading is not working

It shows error message

error in file uploading!!!!!!
by asmitacp
Sat Feb 28, 2009 5:25 am
Forum: Javascript
Topic: File uploading is not working
Replies: 3
Views: 427

File uploading is not working

Hiiii, I am using file uploading in my program but it is not working... Following is the code.............. <?php $tmp_name = $_FILES [" text_file "][" tmp_nam e"]; $name = $_FILES [" text_file "][" name "]; if( move_uploaded_file( $tmp_name , " $uploads_...
by asmitacp
Fri Feb 27, 2009 5:11 am
Forum: Javascript
Topic: Displaying new textbox on click button
Replies: 2
Views: 597

Displaying new textbox on click button

I am devloping a PHP module where I want multiple textboxes on click button.
i.e.
user can add texbox onclick of button each time.
Can anybody help ?????????????
by asmitacp
Thu Feb 26, 2009 7:16 am
Forum: Javascript
Topic: open text file on popup
Replies: 10
Views: 2331

Re: open text file on popup

I have given hard code path but still its not working.... :banghead:
by asmitacp
Thu Feb 26, 2009 6:06 am
Forum: Javascript
Topic: open text file on popup
Replies: 10
Views: 2331

Re: open text file on popup

yes it displayed file name with proper path
i.e.
/classified/admin_asmita/admin/adv_files/adv_file1.odt
by asmitacp
Thu Feb 26, 2009 3:40 am
Forum: Javascript
Topic: open text file on popup
Replies: 10
Views: 2331

Re: open text file on popup

This is my code in pop up ==> <table width="100%" border="0" style="border-collapse:collapse;" cellpadding=4 bordercolor="#66CCFF" align="center"> <tr><td> <?php $file_sm = $_GET ['file']; //$file_path = "/classified/admin_asmita/admin/adv_files...
by asmitacp
Thu Feb 26, 2009 3:07 am
Forum: Javascript
Topic: open text file on popup
Replies: 10
Views: 2331

Re: open text file on popup

Ya $file_name is fetching from URL through $_
GET
by asmitacp
Thu Feb 26, 2009 1:17 am
Forum: Javascript
Topic: open text file on popup
Replies: 10
Views: 2331

open text file on popup

I am trying to open respective file on popup which is opened by clicking on its respective link. But file content is displayed inside the popup rather it is not displaying anything in the popup window. My code is => <? php $file_name = $_GET ['file_name']; $fh = fopen ( $file_name ,'r');//$file_name...
by asmitacp
Thu Mar 27, 2008 7:03 am
Forum: Javascript
Topic: Hide/show a text box based on drop down list in php
Replies: 9
Views: 7196

Re: Hide/show a text box based on drop down list in php

<script> function change_course(selectObj, DivId){ if (selectObj.options[selectOdj.selectedIndex].value ==4) { document.getElementById(DivId).style.display='show'; } else { document.getElementById(DivId).style.display='hide'; } } </script> //-------------html code-------------- <select name="OD...
by asmitacp
Thu Mar 27, 2008 7:00 am
Forum: Javascript
Topic: Hide/show a text box based on drop down list in php
Replies: 9
Views: 7196

Re: Hide/show a text box based on drop down list in php

I tried the code u given but it is not working at all.
by asmitacp
Thu Mar 27, 2008 6:33 am
Forum: Javascript
Topic: Hide/show a text box based on drop down list in php
Replies: 9
Views: 7196

Hide/show a text box based on drop down list in php

Can anybody tell me the code to Hide/show a text box based when particular values in drop down list is selected in php.
or
the code to display another drop down when particular value is selected in drop down list in php
by asmitacp
Wed Mar 26, 2008 11:22 pm
Forum: PHP - Code
Topic: mail with attachement
Replies: 3
Views: 144

Re: mail with attachement

--------------------------this is my code------------------------------------ if(is_uploaded_file($file)) { //echo 'entered'; // Read the file to be attached ('rb' = read binary) $file_received = fopen($file,'rb'); $data = fread($file_received,filesize($file)); fclose($file_received); // Generate a ...