39,402 Topics

Member Avatar for
Member Avatar for Sabyre

I'm using WebIM for chat support on a website. I would like to be able to setup a timer for when a client initiates a chat session, if an operator/tech does not respond within 'x' seconds I would like the page to redirect to another page where the client can …

Member Avatar for Sabyre
0
248
Member Avatar for tom.hank.315213

I'm getting a T_String error in this code: <?php //DB Config define('DB_USER', 'IM HIDING IT'); define('DB_PASS', 'noooo'); define('DB_NAME', 'lol); define('DB_HOST', 'localhost'); $odb = new PDO('mysql: host=' . DB_HOST . ';dbname=' . DB_NAME, DB_USER, DB_PASS); //General Config $sn = 'Free Source'; $url = 'http://localhost/cupcake/'; //Use that format or CSS will be …

Member Avatar for tom.hank.315213
0
90
Member Avatar for mattster

Hi all, I am using an apache web server, and this is the raw url: `http://localhost/mysite/index.php?view=contact` how do I convert that to: `http://localhost/mysite/contact/` My current .htaccess is saved in `http://localhost/.htaccess`, and reads as: RewriteEngine On RewriteRule ^mysite/(.*)/$ /mbs/index.php?view=$1 [L] and I get a 500 internal server error? Thanks for the …

Member Avatar for LastMitch
0
317
Member Avatar for thuogt

aving serious problems with headers and session variables. Read related posts but none helped me. I'm using sessions to store some info about the user logged in e.g. name, user_id, etc. To start with, let's say `$_SESSION['user_id']=6;`. Then let's sat I want to view someone's profile. There is a dropdown …

Member Avatar for pixelsoul
0
288
Member Avatar for Reliable

Hey there, I had to place an include statement inside a div and style the div with negative top margin in order to remove some unwanted white space mysteriously created between the include statement and the image right before it. Why'd I have to do that? Is that normal practice …

Member Avatar for pixelsoul
0
150
Member Avatar for shasha821110

Hello all i have one class about website this semester. and the teacher introduce us the XAMPP so i download and install it but not know how to use that. so is there anybody know how to use that and give me some brief about it? Thanks so much and …

Member Avatar for VR4Creativity
0
191
Member Avatar for garyrichard

I want to know that how convert image ( JPEG ) into binary conversion and then store it into mysql database and then how to display this image after fetching the record from mysql database... Thanks in advance...

Member Avatar for garyrichard
0
93
Member Avatar for scholarwithfire

Hello, I'm trying to use Dropkick Jquery select box plug in for my chained select box. However, the plug in only works for my first select box and the second select box did not show up. I have two php files, the form and the func.php. Any help would be …

Member Avatar for LastMitch
0
282
Member Avatar for soapyillusion

Hi all im having slight trouble trying to escape this php array index in a javascript block <script> var herp = $('#item').val(); var derp = '<?php echo $array['+herp+']['0']['name'];?>'; </script> problem is the browser keeps making the whole line php, oposed to counting the var herp as javascript. any ideas how …

Member Avatar for LastMitch
0
183
Member Avatar for spluskhan

Ha Gyz, **I Need Database for my Products: id image of product Condition Product Info Price** And 1 Other thing i want search engine for my site to display data from database. Plz Plz Help Me . I Make the following but its not working: id int(10) No auto_increment Image …

Member Avatar for LastMitch
0
101
Member Avatar for kamil.metkowski

Hi I am trying to make a bike shop for my project and i need to pull out a product details with image from sql databse. I have made a table with products and i have stored the images url but i have no idea how to pull it out …

Member Avatar for EvolutionFallen
0
614
Member Avatar for 44strong

Hello. I have resembling cms http://www.dunk.pro/ (PHP) How to increase speed, without loss of design? How do I know which classes in css can be removed?

Member Avatar for JorgeM
0
325
Member Avatar for jhilmil123
Member Avatar for mjsmitten

I have a function named **category_name()** which use in a while loop give me a different value everytime I echo it. I have another function named **query_item()** which is use in the same loop. I need to get result from first function in the second function. Can I use **call_user_func()** …

Member Avatar for pritaeas
0
128
Member Avatar for vivek221

hi memmbers can anyone suggest me how to run mail() function of PHP on localhost??? I want to check my inquiry page??

Member Avatar for AARTI SHRIVAS
0
163
Member Avatar for mjsmitten

I am inside a while loop. Different categories are displayed with their name and id in a list. Then I need to query each category and get a item title from there. This query is not working although the function osc_category_id/name is changing accordingly. Or am I doing it wrong? …

Member Avatar for mjsmitten
0
272
Member Avatar for lttleastig

I have a website with a login page I want this page to verify the username and pass to another site and then display some details from that site on my site, soo my site would be like a gateway if you like Here is an example This site connectusc.herokuapp.com …

Member Avatar for lttleastig
0
197
Member Avatar for jLamp

Dear Friends, I have seen most of sites have a menu like this to show "Where are you now" with beautiful CSS. Now i wants to add the menu like this. But i don't know how should I search, coz i dont know the technical word. Home > Web Development …

Member Avatar for pritaeas
0
103
Member Avatar for devianleong

Hi, how to add a checkout function to this code? In the picture you can see, I had call the member list and cart function together. I want it automatic execute INSERT INTO query when I click the checkout function. I already make a cart and member list and both …

Member Avatar for Webville312
0
736
Member Avatar for bLuEmEzzy

Hi guys please help; so I have this Login in my webpage when I'm doing it on my pc(vista and wamp) there is no error I can Login/out, but when it is hosted on the server(ubuntu and xampp) I am getting this error :( Warning: session_start() [function.session-start]: Cannot send session …

Member Avatar for Webville312
0
273
Member Avatar for HasNor

Dear experties, I have a problem to remove semicolon at last value, but not working. This script working if I change the ';' to comma ','.. What is the problem actually? Please help me.. > if(isset($sw11)) $symp39=$sw11.";"; else $symp39=NULL; if(isset($sap_rel)) $symp40=$sap_rel.""; else $symp40=NULL; if(isset($subject)) $symp41=$subject.";"; else $symp41=NULL; if(isset($module)) $symp42=$module.""; else …

Member Avatar for HasNor
0
221
Member Avatar for Vijaysurya

$sXML = new SimpleXMLElement('<deletepicture />'); foreach($planspaceImages as $img) { $xImg = $sXML->addChild('img'); $xImg->addChild("id", $img["id"]); $xImg->addChild("album_id", $img["album_id"]); $xImg->addChild("personal_id", $img["personal_id"]); $xImg->addChild("name", $img["name"]); $xImg->addChild("description", $img["description"]); } //$this->picfilepath = sfConfig::get('app_deleteduser_rootdir'); $sXML->asXML("pic.xml"); i want to this xml data store in dynamic filepath$this->picfilepath = sfConfig::get('app_deleteduser_rootdir')."\\".$personId; the above code generated pic.xml in my project web directory,but i …

Member Avatar for Vijaysurya
0
218
Member Avatar for rexmatthew

Hello, I have a problem that I'm pretty sure I already got done before but I got lost since I didn't note down my changes with my code. My problem is that I need my displayed calendar to move fluidly showing the next 4 months and the previous 4 months. …

Member Avatar for diafol
0
214
Member Avatar for vizz

I have created movie database. I have list of **Genres,** <ul> <li><a href="movielist.php?id=<?php echo"$id";?>"><?php echo"$genre";?></a></li> </ul> In **table movies**, movie have multiple geners. How to fetch same movie if multiple geners available (e.g. The Expendables 2 appear in **Action | Adventure | Thriller** these three geners). **How to display movie …

Member Avatar for diafol
0
1K
Member Avatar for abhi10kumar

I integrated Login with FB and Twitter; but I'm getting error when I click Login in Facebook link check at http://delhicertificates.in/ Warning: Cannot modify header information - headers already sent by (output started at /home/delhioia/public_html/index.php:7) in /home/delhioia/public_html/facebook/index.php on line 12 /home/delhioia/public_html/facebook/index.php ----------------------------------------------- <?php //Always place this code at the top …

Member Avatar for broj1
0
157
Member Avatar for Szabi Zsoldos

Hi guys, Trying to implement a return module in magento but got a strange problem. I'm passing values from a while loop into another page with values. Everithing is working well but my first elements of a `produs` and `sku` are empty and I dont know why .... The line …

Member Avatar for broj1
0
223
Member Avatar for cussel

> hey guys,.how to get all word in first index in array below and index 2 futhermore get last word,.. $arr = array( array( '3'=>'repsol kawasaki honda ktm', '4'=>'kawasaki honda ktm bmw', '5'=>'honda ktm bmw ducati', '6'=>'ktm bmw ducati yamaha') , array( '13'=>'sdad dasda sdadad dasdads', '14'=>'dasda dasdad sdasdas asdas', …

Member Avatar for LastMitch
0
276
Member Avatar for scottfreevideos

I transferred my website from one server to another and copyied the website with the database and tried to put it all back together without luck. Now if you go to www.paramontelegal.com.au there is this error: Fatal error: Class 'CmsRegularTaskHandler' not found in C:\HostingSpaces\admin1\paramontelegal.com.au\wwwroot\include.php on line 272 if (! isset($CMS_INSTALL_PAGE)) …

Member Avatar for Squidge
0
595
Member Avatar for rouse

The non-profit that I am volunteering with would like me to write code that interrogates FaceBook and retrieve a list of all the individual who are their friends so they can send them an email of their next meeting. I would like to find out how to get the friend …

Member Avatar for kindo
0
211
Member Avatar for davy_yg

Hallo all, I wonder how to create interactive catalog like this for pdf file: [Interactive Catalog](http://www.rustoleumibg.com/default.asp) Thanks.

Member Avatar for davy_yg
0
60
Member Avatar for ebanbury

Hi I have a very strange issue with a page layout. I have created numerous pages based on a template layout that I created in CSS through Dreamweaver. All the pages look as they should in Chrome/Safari etc. All the pages EXCEPT 1 looks fine in IE. Please take a …

Member Avatar for diafol
0
193
Member Avatar for techyworld

Can someone tell me what does these lines of codes doing? $username=$secure->EscapeCharacters($_POST["username"]); $password=$secure->EscapeCharacters($_POST["password"]); $password=$secure->hashPassword($password);

Member Avatar for IIM
0
175
Member Avatar for masocha

l have installed application to page using https://www.facebook.com/add.php?api_key=valid_api_key&pages=1 but when l go to the page l cant see the page tab that supposed to hve been created.

Member Avatar for LastMitch
0
177
Member Avatar for unikorndesigns

Hello guys, i'll try to explain the problem i am facing here. I had searched for many file uploaders with drag and drop interface. I came across something at http://demos.9lessons.info/multiupload/index.php called the multiuploader. I saw the code and it was a bit of nightmare to me as am not so …

Member Avatar for LastMitch
0
525
Member Avatar for Yorkiebar14

Hello, I need help getting work as a website developer. I have thought about creating free website templates and creating a fan base through that then eventually offering a service where I will create the website from scratch for the customers but I can't find any websites where I can …

Member Avatar for LastMitch
0
206
Member Avatar for eltonpiko

hi im working on a project to build a currency converter for a mobile application and it needs to feed off an rss feed to get exchange rate. the bank page im trying to feed off the exchange rate does not have rss feed but the just provide the rate …

Member Avatar for LastMitch
0
141
Member Avatar for LastMitch

Hi I am learning **PDO**. I already got my **PDO-DB** ready. The query works because it does fetch data when I echo out the data but I don't know how to echo out the data from the database to the dropdown list. I try to echo out this way (it …

Member Avatar for LastMitch
0
901
Member Avatar for johang_80

Hello friends I am new to php and would like some help. I would like to read the feed URL from a query string. So far I am managing to input the feed and displaying it in a browser but is there a way of executing the url? Like for …

Member Avatar for IIM
0
169
Member Avatar for ebc3142

I'm using this PDO query to fetch all the data I need from Value and dateid: $pdo = new PDO('mysql:host=localhost;dbname=contisec_portal', 'root', ''); $date = date("o-m-d"); $stmt = $pdo->query("SELECT stock_names.Value,stock_names.Fileid,date_header.dateid FROM stock_names,date_header WHERE SEDOL = '$stocksel' AND date_header.fileid = stock_names.FileID"); Does anybody know how I can sort the two columns into …

Member Avatar for ebc3142
0
155
Member Avatar for matanc244

I have a Simple CMS i made but i cant anderstand how to connect the content to the category i need another mysql table for cat? how can i add this in to the form? which functions will show the cat in the Add content page?

Member Avatar for diafol
0
869
Member Avatar for ukhostland

I have found myself well out of my depth, using a template to create a web site with both JS and PHP scripts. Perhaps someone here can help me? The single page website is accually finished and works well when viewed in a browser from local files. These have been …

Member Avatar for oop_php
0
339
Member Avatar for Don Ocso

Hellow and good day, i created a forum in php using one header and footer, now all my web pages have the same title as the home page. Please i need your help, i want to use the subject of a post as its header and the description as the …

Member Avatar for Don Ocso
0
133
Member Avatar for rkrishnan2012

Hey guys! I will be hosting an online hackathon next weekend. Please join (50 bucks reward if you win)... In this case, you are given a theme and you need to code something relevant to that theme. The coolest program will get the prize money. You are given 24hours to …

Member Avatar for LastMitch
0
180
Member Avatar for Dinesh_7

I am trying to get two resumes from a PHP form to my email ID. I am getting all information perfectly, but the attachments are coming blank. I could not find out the reason. Any help will be appreciated. Please find below, both HTML and PHP codes. Thanks in advance. …

Member Avatar for LastMitch
0
383
Member Avatar for mogaka

<?php echo "<center><a href='report.php?date_range=$date_range&patient_id=$patient_id&proce_name=$proc_name> <img src='pdf.jpg' alt='Print Lab Resutl' width='32' height='32'>Print Report</a><center> </p></center>";?> I want to submit some the above parameters to the server side script for processing. However, I do dont receive the sent parameters on the server script. can somebody identify and rectify where the error is .I …

Member Avatar for IIM
0
90
Member Avatar for daniel.conlinjr.1

Addpages.php <?phpclass DivineAddPages { private function DBString($string) { return str_replace(array("''", "\\"), array("''", "\\\\"), $string); } public function Add($link, $title, $content, $comments = true) { $result = mysql_query("SELECT ID FROM wp_posts WHERE post_name = '{$this->DBString($link)}' LIMIT 1"); if ($result) { list($post_id) = mysql_fetch_row($result); } else { $post_id = 0; } $comment_status …

Member Avatar for diafol
-1
374
Member Avatar for AARTI SHRIVAS

interviewer ask me a quetion what is peer can any body tell me in terms of php what it means to peer?

Member Avatar for diafol
0
346
Member Avatar for zicomerc

Hi, I've just discovered mysql stored procedures and have been using PHP4 a few years now, but not as my day job. I can get a mysql stored procedure to execute and work in the PHP script, but I'm having problems executing multiple stored procedures. Each of them returns one …

Member Avatar for pritaeas
0
178
Member Avatar for Webville312

Hullo, I have been browsing through the internet on how best I can send an email from my website; and it seems like most were directing me to PHPMailer. I added the php mailer folder onto my server, and now am attempting to test whether am email can really be …

Member Avatar for Webville312
0
5K
Member Avatar for rexmatthew

I've been getting problems with my formula to total the deposit and price. I'm getting and error on this line $total += $total + $deposit['deposit'] * $pamount['price_status']; Here's more but only an error with the total. $prod_refid=$_REQUEST['refid']; $productsql="select * from products where prod_refid='$prod_refid'"; $resquery = @mysql_query($productsql); $resproduct_fetch=mysql_fetch_array($resquery); $image_path="products/"; $thumb_path="products/thumb/"; $product_id=$resproduct_fetch['product_id']; $prod_refid=$resproduct_fetch['prod_refid']; $product_image=$resproduct_fetch['product_image']; $product_name=$resproduct_fetch['product_name']; $prod_country=$resproduct_fetch['prod_country']; $price_range=$resproduct_fetch['price_range']; $pamount …

Member Avatar for AARTI SHRIVAS
0
246

The End.