39,393 Topics

Member Avatar for
Member Avatar for manolisvl46

is there a possibility to retrieve a search from an ldap search (for my case) which is in done php <?......?> outside of it to the body of my page? to have a general idea i try to create a table that will be completed dynamically from the search being …

Member Avatar for manolisvl46
0
159
Member Avatar for okonjiaustin

I am building a website that uses php5 and mysql database. I want to upload images alongside other information. To get other information into the table of the database, this I can do very well, but to upload and display the images alongside other information(which may be done online by …

Member Avatar for janani26
0
186
Member Avatar for mcastu

hi guys m new to this forum .......... i have emp_company table having field ecode, ecardno etc and another table is at0310 the fields of this table are ecardno, date , time, IO, serialno , cardrd and ecode the data inserted into at0310 table from text file except ecode......... i …

Member Avatar for mcastu
0
104
Member Avatar for nychick

I got everything going regarding PHP widgets and successfully fetched my DB. [CODE]<?php $con = mysql_connect("mywebsite.com","DB","password"); if (!$con) { die('Could not connect: ' . mysql_error()); } mysql_select_db("pages", $con); $result = mysql_query("SELECT ebayid, reason, DATE_FORMAT(date, '%M %d, %Y') FROM `blacklist` ORDER BY `ebayid` ASC"); echo "<table border='0'> <tr> <th>EBay ID</th> <th>Reason</th> …

Member Avatar for OS_dev
0
115
Member Avatar for srya

hi friends, This is my code but it not working properly.pls tell the solution [code] <?php mysql_connect("localhost","root",""); mysql_select_db("samples"); ?> <!doctype html public "-//w3c//dtd html 3.2//en"> <html> <head> <title></title> <SCRIPT language=JavaScript> function reload(form) { var val=form.cat.options[form.cat.options.selectedIndex].value; self.location='drop3.php?cat=' + val ; } function reload3(form) { var val=form.cat.options[form.cat.options.selectedIndex].value; var val2=form.subcat.options[form.subcat.options.selectedIndex].value; self.location='drop3.php?cat1=' + val …

Member Avatar for manishjha
0
143
Member Avatar for darrylpatterson
Member Avatar for darshanpm

Hi, I have a very weird problem sending the below script. The email gets sent successfully but when you get the email, there will be only few lines only....rest of them doesn't get printed in email but if you echo it on screen, it appears all perfect. See attachment for …

Member Avatar for saiprem
0
111
Member Avatar for preetg

hi writh ......... thanx for last responses....... i need your help agian plz help me out i have two tables emp_company and at0310 in at0310 having fields: ecardno,atdate,time,IO,serialno,cardrd and ecode. into my text file ecardno,atdate,time,IO,serialno,cardrd record available but ecode not comes from there in my emp_compnay i have filed like …

Member Avatar for preetg
0
92
Member Avatar for muralibobby2015

[CODE]Warning: fsockopen() [function.fsockopen]: unable to connect to localhost:25 (A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. ) in C:\wamp\www\murali\includes\class.smtp.php on line 83[/CODE] i am getting this error. when i am …

Member Avatar for muralibobby2015
0
69
Member Avatar for g-fer

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 …

Member Avatar for g-fer
0
129
Member Avatar for studioceasar

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 …

Member Avatar for studioceasar
0
106
Member Avatar for jimmiller96

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 …

Member Avatar for jimmiller96
0
120
Member Avatar for cane23

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 …

Member Avatar for Wraithmanilian
0
84
Member Avatar for nevergone

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 …

Member Avatar for Wraithmanilian
0
59
Member Avatar for killerdoob

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 …

Member Avatar for killerdoob
0
247
Member Avatar for sanjaypandit

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 = …

Member Avatar for Wraithmanilian
0
112
Member Avatar for SuntechWebsites

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 …

Member Avatar for Wraithmanilian
0
134
Member Avatar for xuexue

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..^_^

Member Avatar for Wraithmanilian
0
109
Member Avatar for masocha

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

Member Avatar for Wraithmanilian
0
180
Member Avatar for Aamit

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?

Member Avatar for compusolver
0
175
Member Avatar for rosslad2004

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 "&nbsp;" . $row['age'] . "<br>"; everytime …

Member Avatar for mhelmyh
0
309
Member Avatar for kiranbvsn

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 …

Member Avatar for brixton
0
84
Member Avatar for lisles

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 …

Member Avatar for saiprem
0
102
Member Avatar for cane23

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 …

Member Avatar for saiprem
0
99
Member Avatar for xuexue

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.

Member Avatar for OS_dev
0
94
Member Avatar for ronaldpaul

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 …

Member Avatar for darkagn
0
175
Member Avatar for phpDave

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 …

Member Avatar for phpDave
0
67
Member Avatar for tunde011

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

0
83
Member Avatar for vivobie
Member Avatar for Morty222

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 …

Member Avatar for CFROG
0
71

The End.