- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 0
- Posts with Upvotes
- 0
- Upvoting Members
- 0
- Downvotes Received
- 1
- Posts with Downvotes
- 1
- Downvoting Members
- 1
hi please do tell me how to convert a microsoft word to html document. In my appln the user will browse the microsoft word document,when a registered user tries to view the application loaded by the users of the website...it should display in html format.... | |
[CODE]<html> <head> <SCRIPT LANGUAGE="JAVASCRIPT" TYPE="TEXT/JAVASCRIPT"> <!-- function login(t) { var t = '<?php echo $id; ?>'; alert(t); } --> </SCRIPT> </head> <body> <?php $id=$_GET['id']; print "<input type='button' name='button' value='button' onClick='login('$id')'>"; ?> </body> </html> [/CODE] i want to alert the variable using onclick function. | |
[CODE]<html> <head></head> <body> <?php print "<script type='text/javascript'>"; print "window.open='http://www.examples.com/page.html','new_window1','status=1,scrollbars=1,resizable=0,menu=no,width=320,height=220'"; print "</script>"; ?> </body> </html>[/CODE] Not able to open popup.Is this correct code. | |
i created one directory using mkdir.now i want to create another directory inside previous directory. [CODE=php] $uploaddir1 = "resumes/".$_SESSION["uss1"]."/".$uname; echo $uploaddir1; if(is_dir($uploaddir1)) { echo "Exists!"; } else { echo "Doesn't exist" ; mkdir($uploaddir1,0777); print "created"; } [/CODE] output is Doesn't existcreated.but when i open $_SESSION["uss1"] directory the new directory was … | |
hi, can someone tell how to upload a file in php.i want to know the difference betweeen uploading a file and storing it in a folder and uploading a file and storing in a database.i want to know which method is good | |
hi i want to convert a flash file into image.when the user uploads a flash file...i want to capture it as a image and display it to the user. thanks in advance | |
hi I am doing a flash website in danish language.i am using loading external text method.I am not getting special chatacters which are used in the language (ex: æ,Ã¥, ø).please tell me how to display in flash swf.i have tried this with url encoder but some characters are working.others are … | |
Is it possible to create directory in [url]www.freehyperspace2.com[/url].[CODE=php]<html> <head></head> <body> <?php $i=190; $uploaddir = "resumebasket/".$i; mkdir($uploaddir,0777); print "created"; ?> </body> </html>[/CODE] In this code i'm getting output created.but the directory was not in the site.This access is available in this site. | |
Re:
I just create a php page where user will enter their name in then the page will send them an email with a few word in the body message. Here is the code: [code] $fromEmail = "admin@domain.com"; $subject = "Welcome"; $body = "Hi,\n\nYou have visited the page."; if (mail($Email, $subject, … | |
hi, my clients have asked to do payment gateway using RBS worldpay.please do tell me how start the integration using php. thanks in advance. | |
hi so far i have done only small php application.now i want to learn cake php.i dont have any idea..... can anyone suggest a website to learn cake php from the intro. thanks in advance. | |
Re:
Hi everyone, I am using a mail function in my contactus form. But for some id it is sending infromation of contac us form but some time it is not sending like on my gmail id i am not getting mail. what is the reason behind this. I have tried … | |
hi i am trying a job portal.when the paste's the job description the data is not formated.all the paragraphs,align is getting changes can anyone tell any method..so that the data comes as it was pasted when it is retrieved from db | |
hi for posting a new thread we are using editor in daniweb.i want something simple like this.can anyone tell me how to achieve this. thanks in advance | |
in my php application i have used onchange and onload javascript function.it is working fine in IE but it is not working in other browsers eg:mozilla,chrome,flock | |
hi i am try something like upload pictures in daniweb.where a window pop out ...when the user clicks upload.i want the link to comein the parent window.please tell me how to do tat...... thanks in advance | |
[code="PHP"] <html> <head></head> <body> <?php $hostname="localhost"; $username="jesus_jesus"; $password="jesus"; $dbid="jesus_jesus"; $link=mysql_connect($hostname,$username,$password); mysql_select_db($dbid) or die("unable to connect"); $result=mysql_query("select jid,industrytype from career"); if($result) { echo '<select>'; while($myrow = mysql_fetch_array($result)) { echo '<option value="',$myrow['$industrytype'],'"></option>'; } echo "</select>"; } ?> </body> </html> [/code] in this code i'm getting only the listbox.not to able to retrive … | |
hi i have a application where i want the user to click the button only once.i want the user to have time interval(eg 5 sec,before tat if he tries to clickit should display pop -up thanks | |
[CODE]Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /home/car/publ/testing/detail.php:1) in /home/car/publ/testing/detail.php on line 2[/CODE] i'm getting this error.i dont have any empty whitespace in my code. [CODE]<?php session_start(); ?> <html> <head></head> <body> <form> <?php //code ?> </form> </body> </html>[/CODE] | |
[CODE]<?php session_start(); if(!isset($_SESSION['un'])) { header('Location: web_login.html'); exit(); } else { ?> <html> <body> <?php print "<table align='center'><tr><td>Thank u</td></tr>"; echo $_SESSION['un']; print "<tr><td><a href='http://www.examples.com/fram.php'>View Order</a></td></tr>"; print "<tr><ta><a href='http://www.examples.com/web_job.php'>Search </a></td></tr>"; print "</table>"; } ?> </body> </html> [/CODE] when i execute this code even though my $_SESSION['un'] is present in the database it's … | |
1st page .html [code=html]window.opener.top.location.href="2nd page.php?vars=" + temp + "&varr=" +temp1; self.close();[/code] 2nd page.php [code=html]if(mysql_num_rows($result) > 0) { print "<script>"; print " window.opener.top.location.href='3rd page.php'"; print "</script>"; } else { print "<script>"; print " window.location='1st page.html'"; print "</script>"; }[/CODE] in this code i'm passing javascript variable to 2nd page.php.when i execute it's … | |
Re:
hi, this is a simple program it is not working...please do tell me whether my code is correct [CODE]<form> <?php function login() { print "<script>"; print " window.location='http://www.webs.com/hi.html'"; print "</script>"; } print "<input type='button' name='butt' value='Apply Online' onClick=login() style='height :2em; width :7em; font-weight:bold; font-size:0.7em' >"; ?> </form> [/CODE] | |
hi i have a application where the user can post resume for 'N' no of job orders when the user clicks apply it should get his username & pss.Next time when he is applying for another job order it should not ask him the uss &pss ...........i tried the below … | |
hi all my login is working,but when my url of the third page is typed it is displaying .i want to autheticate using session but it is not working z-login(1st page) [CODE] <form name="form1" method="get" action="z_login1.php"> User Name<input type="text" name="myusername" style="width: 10em;"> Password</strong></td><td><input type="password" name="mypassword" style="width:10em;"> <input type="submit" name="submit" value="Login"> … | |
Is it possible to pass the javascript varible from one php page to another php page. what is the syntax we use. | |
[CODE]<html> <head> <SCRIPT LANGUAGE="JAVASCRIPT"> <!-- function view(ss) { if(ss.options[ss.selectedIndex].value!="none") { window.location="http://jesus.freehyperspace2.com/desc.php"; } } --> </script> </head> <body> <form method="get" target="frameright" action="http://jesus.freehyperspace2.com/desc.php"> <?php $hostname="localhost"; $username="jesus_jesus"; $password="jesus"; $dbid="jesus_jesus"; $link=mysql_connect($hostname,$username,$password); mysql_select_db($dbid) or die("unable to connect"); $result=mysql_query("select * from career"); if($result) { print "<select name='IndustryType' language='javascript' onChange='view(this);' size='15' tyle='width:250px'>"; print "<option value='none' selected>Choose Industry … | |
hi i have two mail function in my page.when a aggrement is signed ,mail will be sent to both the clients. Error: when there is some problem in sending mail to one client the mail is getting delievered another client.if there is a problem i want to stop sending to … | |
hi i want to fetch username from another table based on the id generated in the temopary table. [CODE] <?php @ $rpp; //Records Per Page @ $cps; //Current Page Starting row number @ $lps; //Last Page Starting row number @ $a; //will be used to print the starting row number … | |
hi i want to know how to fetch data by giving more than two condition...please tell me wat should i use eg i have a query [ICODE]SELECT * from post_resume WHERE ind_type='IT'and career='Engineering' order by tdate DESC[/ICODE] i want to check based on another condition also... [ICODE]select association from employer … |