39,323 Topics
| |
In php mail() function, how can I send attachments? I didn't find parameter to do this. any help will be appreciated. | |
hi all i just have this error when i import my backup database : You attempted to load file with unsupported compression (application/zip). Either support for it is not implemented or disabled by your configuration. one week later i export my database as zip file by phpMyadmin but when i … | |
hi,im having a problem with my code.im trying to edit data that im retrieving from my database tables.but im unable to submit the data after editing it.my code is shown below [code=php] <?php require_once "../inc/functions.php"; require_once "../inc/vars.inc.php"; sessionCheck(); session_start(); $old_sessionid = session_id(); //i've added these lines session_regenerate_id(); //i've added these … | |
Hi All, Im having some trouble with creating PDF's. I have researched and found a boat load of scripts, but non work as I dont have a library installed. That is my question.... How do you install a pdf library? I have tried PDFLib but when i run a script … | |
Hi guys, I have created a php file, which will takes a filename as input parameter, It will just check the extension of that filename and displays the file to the browser using phpscript. for this I used [code=php] header('Content-Disposition: inline; filename='.$filename); [/code] Everything working fine for me, but I … | |
help me to set value in drop down .I want to fetch two ids 1.$row[0]. 2.$row[3] from a view and selected is not set. [CODE]<td colspan='2'><b>Select a Publication and Year</b><br> <select name="publication_name" id="publication_name" onchange="show_year(this.value);"> <?php $get_publn_name=mysql_query("SELECT anPublicationId,sPublicationName,sPublicationShortName,anYearId,nPublicationYear FROM view_publication_year order by nPublicationYear"); ?> <option value=0>-- Select Publication --</option> <?php while($row=mysql_fetch_row($get_publn_name)) … | |
hi,i thought i'd fixed this prb,but i have'nt.i have a edit form with a drop down.i want the drop down to show the value that is saved in the databse along with the other values.ie,when i click the edit form,the value in the drop down that is visible should be … | |
Hell everyone, I have a problem with joomla urls which i am trying to make user friendly. so far with mod rewrite i have managed to come up with a url like this; [url]http://www.edulinksuganda.com/component/option,com_artband/task,details/id,59184/Itemid,75/idd,19/[/url]. but i want it to be something like: [url]http://www.edulinksuganda.com/componentname/schools/schoolname[/url]. Please help me rectify this problem. i … | |
hello everyone i m inserting data from text file into database. .......but the data into the text file is not inserted into database only blank record display in the database.......... my text file is like this: james flower 22 may be i m not giving space delimiter correct... plz help … | |
Hi Guys , I m developing one website for my LAN and working on Linux. I m getting Following Errors after loading or refreshing my page:: [B][Tue Feb 23 16:58:51 2010] [error] [client 192.168.2.147] PHP Notice: Undefined index: parent_url in /var/www/html/pastebin/layout.php on line 320, referer: [url]http://pastebin.geodesic.net/2[/url] [Tue Feb 23 16:58:51 … | |
Every page in the system is grabbed into index.php. For each page i'd like the title to change according to the page it's on, this can be set manually within each page we want to send. My question is what would be the most effective method of updating the title … | |
i want to post on my blogger blog, using php, i tried to read google api but couldn't understand it. this site helps a little but still is confusing [url]http://www.lordtime.com/blog/2007/05/03/how-to-post-remotely-to-bloggercom-working-php-example/[/url] can someone write a simple function for php? | |
i am having some problems using the get function. i aim using it in a href location. while the information is displayed in the url i am just having some problems extracting the required information. here is my code below this is the code for my href location [CODE]echo"<tr><td>$row[0]</td><td>$row[1]</td><td><a href='myform.php?,mode=edit;coursecode=$row[0]'>edit</a></td</tr>";[/CODE] … | |
Hi i am just wandering if anyone knows how to put a trail login to a php mysql driven website. for example when you find a website usually providing a service, it requires payment to sign up to use. How would you allow users to sign up for say 30days. … | |
Hey, I've come to a bit of a problem - I'm updating a website for users to upload their own games, animations ("toons") and artwork. The trouble is, I've made separate tables for each one, each with very similar structure What I want to do is show, say, the first … | |
I'm relatively new to session variables, and have been trying to use them in the following way: [CODE]session_start(); $daddr1=$_SESSION["daddr1"]; $daddr2=$_SESSION["daddr2"]; $daddr3=$_SESSION["daddr3"]; $daddr4=$_SESSION["daddr4"]; $daddr5=$_SESSION["daddr5"]; $iaddr1=$_SESSION["iaddr1"]; $iaddr2=$_SESSION["iaddr2"]; $iaddr3=$_SESSION["iaddr3"]; $iaddr4=$_SESSION["iaddr4"]; $iaddr5=$_SESSION["iaddr5"]; $notes=$_SESSION["notes"]; $purch=$_SESSION["purch"]; echo "<form name='form1' action='view_order.php' method='get'>"; echo "<table border='0' width='100%'>"; echo "<tr align='center'>"; echo "<td width='16%'> </td>"; echo "<td width='16%'>Your purchase … | |
i want to create static website for my project using wordpress anybody guide me plz or give me nice web site to learn | |
I am looking for a way to display all images from a folder using php. And if possible select the folder that matches the user with a session. [B]My example:[/B] I have a session that starts when a user loggs in called "MM_Username" Each user has a directory that is … | |
Hello all, I have a set of IF ELSE validation code ECHOING onto a php web page through a SWITCH staement. Everything works fine all error messages show up correctly. The problem is, after going through 3 conditons it starts to allow entry into my DB(mysql) all other entries goes … | |
Hello there, i created a webservice in php using SOAP. Now i need to invoke that in my python. Here is my php code soapserver.php [CODE] <?php function getSessionData($sid) { mysql_connect('localhost','root',''); mysql_select_db('database'); $query = "SELECT Uname FROM tablename"; $result = mysql_query($query); $row = mysql_fetch_assoc($result); return $row['Uname']; } require('nusoap.php'); $server = … | |
Hi All, I want url rewrite for my page.i having idea about how to rewrite for querystring and for other some cases. but i have something new at this time and i cant able to find solution for same this time. see my URL is like search.php?q=brand:Bosch:price:100to200:search:14.4~cordless~Hammer And I want … | |
Hello all... I am currently pursuing my Master in IT and we are assigned a small individual project of creating online Scrabble game for multiplayers using php, javascript and ajax. I am a noob in the field of Web Development. I know Javascript in detail and Ajax and PHP in … | |
Friends, in my project(i'm using php and mysql & i'll be getting all the detail from th user) I've to create a seperate ID for each family. For each family I've to maintain the family members details and the contact details.Now wats the problem is how can I add or … | |
Hi friends, I have a major doubt: Could you please help me with this... I have a create company form, create project form.. In the create company form, it creates the company name and a company code for it..and in the project form, i have one field as option value, … | |
Hi guys, how to add news columns in my site which could changed dynamically?? Any help appreciated. Thanks | |
I am working on an assignment to host a website. I am using LAMP architecture for that. What I am confused at this point is to where to store my website folder(s). What I thought was to put it in /srv/www/ : /srv/www/MyWebsite. But then I was advised that I … | |
I have a login script in an iframe and after you've successfully logged in, it brings up the index page of the member [code]header("location: member-index.php;[/code] On my main page (_parent) I have an AJAX include with the ID of 'regBox'. How would I cross the iframe and make the 'member-index.php' … | |
[CODE]Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/content/l/i/l/liles13/html/main/libraries/joomla/database/database/mysql.php on line 344[/CODE] Im trying to get a new portfolio site up and running, and I'm very new to PHP. I've read various topics about queries and dropping tables, but I still can't resolve the issue. [CODE]<?php … | |
Hello, How can I run a PHP file in Tomcat server? I know it works fine in Apache. Please help Thanks | |
HI, i'am an newbie and have following question I have two tables 1. repair_details with fields partnumber, quantity, Pn_id 2. Parts with fields Pn_id, price, partnumber.... I would like to fill in repair_details the Pn_id automaticly after I input the partnumber and quantity. Any suggestions? thanks |
The End.