39,320 Topics
| |
Hi all ... During a session a user causes information to be added to a temporary database table. At the end of the session, the information has to be removed. How can I tell when a session has ended so that I can clear the rows from the table that … | |
Hi All, I can't understand why I am getting The following error message: check the manual that corresponds to your MySQL server version for the right syntax to use near ')' at line 1 I've poured through my code and I can't find a solution to the issue. Any suggestions … | |
I have a great download script I have been using from: [url]http://www.zubrag.com/scripts/download.php[/url]. It uses the following headers: [code=php] header("Pragma: public"); header("Expires: 0"); header("Cache-Control: must-revalidate, post-check=0, pre-check=0"); header("Cache-Control: public"); header("Content-Description: File Transfer"); header("Content-Type: $mtype"); header("Content-Disposition: attachment; filename=\"$asfname\""); header("Content-Transfer-Encoding: binary"); header("Content-Length: " . $fsize); [/code] My goal is to call this php … | |
i having some serious problems in getting the information out of a query. i have put up sufficient flags to know if the database is containing any information and to determine which path the code is taking. however i just cant get the information out here is the code [CODE]if … | |
Hi, The data is stored in the database as HTML code . So this text : [B][U]employee”s[/U][/B] Is stored like this [B][U]employee& #8217;s [/U][/B] The problem comes when I use the search function,because it compares this value [B][U]employee”s[/U][/B] to the database's contents,instead of comparing [B][U]employee& #8217;s [/U][/B] to the database's … | |
Hey guys im having a little problem with this project im working on basically im making a desktop image uploader for this site [url]http://www.noelshack.com/api.php[/url] i have tried hacking around with some example code but cant get anything working i cant even check if the images are uploaded correctly because when … | |
I am trying to send mail with attachment after using browse button. in this process some error shows [CODE]Warning: move_uploaded_file() [function.move-uploaded-file]: open_basedir restriction in effect. File(/tmp/php_upload/phpLc37tw) is not within the allowed path(s): [/CODE] thsese are code for my mail file [CODE]$filename=$_FILES["strresume"]["name"]; $filetype=$_FILES["strresume"]["type"]; $filesize=$_FILES["strresume"]["size"]; $filetemp=$_FILES["strresume"]["tmp_name"]; $fp = fopen($filetemp, "rb"); $file = … | |
Hello, I created a dynamic list in Dreamweaver CE4. It pulls info from my database just fine. Prblem is when I click to edit one of the entries the next page (the form page it creates on its own) is blank. I have searched the help files but cant find … | |
hi guys, just wanna ask how could i pass the value of a certain variable coming from one frame into another frame having that the frames are both present in one webpage only?? thanks thanks..^_^ | |
Hie guys does anyone know something about dotProject. l am trying to modify code in completed.php to display en extra column which is Project Name in a pdf file | |
Hi, I want to submit the form when click on url without page refresh. I create url by using some mysql DB values url like:- index.php?pid=2&mid=25 index.php?pid=4&mid=34 when click on url pass the values to another variables But with out page reload. How to do this? Any sample link? | |
Hi there. I'm very very new to php. :o so i hope i'm posting in the right forum. and i really can't figure this out. probably really simple but i need to place a url into: while ($row = mysql_fetch_array($result)) { echo $row['login']; echo " " . $row['age'] . "<br>"; everytime … | |
Hi, I want to validate the user id that was entered in a textbox (similar to while registering to a site, we come across something like "this username already existed please choose different") without refreshing the page (or i can say in textbox onchange event) can someone guide me how … | |
hey is there any way i can dynamicallay pupulate 3 drop downs ie when based on d selection of a value from 1st drop down populate 2nd drop down and based on value selected in 2nd srop down populate 3rd drop down,but i wan this to happen in my edit … | |
for some reason i am getting an error with my query statements here is my code [CODE]if ($_GET['mode'] == 'edit') { $c=$_GET['coursecode']; echo"$c"; // editing an existing entity // check for value of id if (!$_GET['coursecode']) { echo "error: no coursecode specified, <a href=\"{$_SERVER['PHP_SELF']}\">click here to continue</a>"; exit; } if … | |
hi guys, just wanna ask is there a good software which can help me plot data or draw a line graph in php? these data are dynamic, and will come from the database..just a simple line graph will do. thanks thanks. | |
Hi friends, In my project I'm using multiple tables to sotr the details.There is one main table and in the i'm storing the contact details of the family.And according to the number of members in the family I'm saving the member names and ages in different table.Now what I need … | |
Hello, I'm trying to let users know how many times there personal page is viewed. Here is some code. [CODE] $colname_Recordset1 = "-1"; if (isset($_GET['user_name'])) { $colname_Recordset1 = $_GET['user_name']; } mysql_query("UPDATE content SET counter = counter + 1 WHERE user_name = $colname_Recordset1");[/CODE] It works if I remove the WHERE clause … | |
I will like to change a url from [CODE]http://www.mysite.com/doc1/doc2/index.php?name=username[/CODE] to [CODE]http://www.mysite.com/user[/CODE] I have tried using htaccess [CODE] Options +FollowSymLinks RewriteEngine on RewriteCond %{HTTP_HOST} ^mysite.com [NC] RewriteRule ^(.*)$ http://www.mysite.com/$1 [L,R=301] RewriteRule ^/[_a-z0-9-]+(\.[_a-z0-9-]+)$/doc1/doc2/ index.php?name=$1 [/CODE] But i seem stuck. Any help will be appreciated. been on google for about 7 hours | |
Hi anybody has scripts for detecting users' country based on ip? | |
This is how my session reads: [CODE] Array ( [pstloggedin] => blah [userID] => blah [email] => blah [fname] => blah [lname] => blah [phone] => blah [cart] => Array ( [0] => Array ( [team] => 2137 [tournament] => 24577 [gatefee] => yes [cost] => 800 [sdate] => 2010-06-03 … | |
Hi, How can I setup a simple paypal buy now button for suscribing paypal payment. i.e not making just one time payment but to suscribe the user for monthly payment? What variables I need to setup? How can I setup a transaction so that it becomes successfull only if postal … | |
hi all I get this error when i try to restore my wordpress files from myphpadmin. You attempted to load file with unsupported compression (application/zip). Either support for it is not implemented or disabled by your configuration. | |
Hello Friends Can anyone tell me where to find php.ini in my cpanel? Thanks | |
We are in the process of developing a new website using Joomla and VirtueMart. It is an ecommerce website. When we think of uploading all the products as a csv, it does not allow to do it. It says we need to buy a licence for this. Is there any … | |
Shall i know if there is implementation of gridview in php as it is in .net please help me | |
Hie guys l am using dotProject and need to add a project name column in the completed report before the task column. | |
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 … |
The End.