39,323 Topics

Member Avatar for
Member Avatar for daniel36

I need in a project to be multi language.Can we show the html result or website content in other language from english with the help of google translat api.and how to use it in project.

Member Avatar for daniel36
0
157
Member Avatar for dudegio

Hello, I need help on how to integrate the passing of information in XML format from ASP.Net(from client) to PHP(my server). I've been searching for solution but cannot find accurate results. A sample code is very much appreciated. Thank you.

Member Avatar for pritaeas
0
570
Member Avatar for missy_mi

i wanted to do a feedback or contact us page where user can give feedback and automatically will be sent to a specific admin (example@gmail.com).. i encounter this error..i dont know what to do.. Warning: mail() [function.mail]: Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and …

Member Avatar for broj1
0
243
Member Avatar for josep1992

am an upcoming web developer .your articles have really helped me alot to accomplish so many things.thanks alot

Member Avatar for imBaCodes
1
83
Member Avatar for phpDave

Hi, I'm trying to update multiple rows with diferent values. The amont of values depends on the number of people created by the user. I created some code that works for only single row. Can anyone help? I'm not sure how to do this. <?php if ((isset($_POST["MM_update"])) && ($_POST["MM_update"] == …

Member Avatar for masterjiraya
0
284
Member Avatar for itsnexgen

Hello, I have an idea which i need to turn into reality. I am trying to build a complete AJAX based Auction Web Portal. What I know - PHP, AJAX a bit & HTML, Javascript and XML. Few questions in my mind: 1. Where should i start? What all required …

Member Avatar for LastMitch
0
203
Member Avatar for pritaeas

## API Mashup ## This example is a mashup of [diafol's class](http://www.daniweb.com/web-development/php/code/451428/daniweb-api-class-for-getting-forums), [Dani's parsing code](http://www.daniweb.com/api/documentation) and [my class](http://www.daniweb.com/web-development/php/code/451390/daniweb-api-rss-class). It uses diafol's dwAPI class to retrieve a list of all forums, loops through them, and uses my Rss class to get the respective RSS feeds. It will show each forum in …

Member Avatar for diafol
0
548
Member Avatar for Jothe

Hallo good people, I have been having an error of "Index doesn't exists in the specified directory" in my zend application. i have a controller called search and it looks like this class SearchController extends Zend_Controller_Action { protected $_indexPath = 'C:/xampp/htdocs/tbSurveillance/application/data/search'; public function init() { /* Initialize action controller here …

Member Avatar for LastMitch
0
250
Member Avatar for kiLLer.zoh_1

i have been using this code in creating blog i'm getting this error on exectute(array($title,$entry); line the error is Notice: Undefined variable: title in D:\xampp\htdocs\simple_blog\inc\update.inc.php on line 14 Notice: Undefined variable: entry in D:\xampp\htdocs\simple_blog\inc\update.inc.php on line 14 can any one please help me out. <?php if($_SERVER['REQUEST_METHOD']=='POST' && $_POST['submit'] =='Save Entry' …

Member Avatar for kiLLer.zoh_1
0
197
Member Avatar for AARTI SHRIVAS

i searched about it but not get the proper result how can i install CEON URI module in my zen cart can any one help me in that thanx in advance

Member Avatar for LastMitch
0
247
Member Avatar for dourvas

hallo there i had built a bunch of webpages and they ve been working fine for months. yestarday i installed this website to another computer after i instaled easyphp 5.4.6 (Apache 2.4.2, mysql 5.5.27 and php 5.4.6). it seems that nothing is working as it should. after i debug my …

Member Avatar for dourvas
0
187
Member Avatar for suncho26

Hi there, I have a classified website, built with custom PHP code. The problem is that the title of the entire site is the same. Attach files **index.php** and **pOffers.php**. Please give ideas on how to call from database the title of the listing. Tell me if you need more …

Member Avatar for Webville312
0
246
Member Avatar for jLamp

Dear Friends. When i going to UPDATE data of the database using UPDATE function in PHP, following message displays, What should I do? You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ':_If_Any_01='Test', History_/_Remarks=NULL, …

Member Avatar for jLamp
0
188
Member Avatar for aisha.edris1

hi everyone thanx alot for helping me u solved me many problem so i need ur help again after i'm login and choose a movie that the person want to watch it i'm create table time and i insert the time for booking and the user will choose the time …

Member Avatar for aisha.edris1
0
183
Member Avatar for EdvinasSelskas

Hi everyone, I'm developing a music website and got stuck on this problem. Whenever a user submits a playlist from youtube, i fetch for video thumbnails and list them for the user. Here's the code: <? $site = 'youtube'; } $plID = str_replace("http://www.youtube.com/playlist?list=", "", $url); $xmlLink = "http://gdata.youtube.com/feeds/api/playlists/" . $plID; …

Member Avatar for EdvinasSelskas
0
908
Member Avatar for Octet

I am baffled, I've been trying to get this piece of code to work for the past 30 minutes but with no luck. It should in theory be a simple registration script to check the user's input and then add it to the database however it won't add it to …

Member Avatar for Octet
0
198
Member Avatar for imaditigarg

**I m not able into if statement its directly going into the else part. And Sometimes i get " mysql_num_rows() expects parameter 1 to be resource" this error. Plz help <?php // Connect to server and select databse. mysql_connect("localhost", "root", "")or die("cannot connect"); mysql_select_db("db_feedback")or die("cannot select DB"); // username and …

Member Avatar for Webville312
0
169
Member Avatar for kiLLer.zoh_1

I have been inserting the file path in to data base but it s giving a mysql syantax error can any pne fix it <?php include 'db.php'; if($_SERVER['REQUEST_METHOD']=='POST') { if(isset($_FILES['photo'])&& is_uploaded_file($_FILES['photo']['tmp_name']) && $_FILES['photo']['error']==UPLOAD_ERR_OK) { if($_FILES['photo']['type']=='image/jpeg') { $tmp_img = $_FILES['photo']['tmp_name']; $path = "d:/xampp/htdocs/upload/images/" .$_FILES['photo']['name']; move_uploaded_file($_FILES['photo']['tmp_name'], $path); $imgname=$_FILES['photo']['name']; $q="Insert INTO image (name,imgpath) …

Member Avatar for Webville312
0
301
Member Avatar for ngonix

Hello, I have search box that has auto complete from database(works fine). But I need when the search box value auto-populates in textbox(address_name), the other textbox values come from mysql and automatically populate the other textboxes related to the textbox(address_name) i.e textbox(work_no) and textbox(work_address) using a button or onChange event …

Member Avatar for ngonix
0
2K
Member Avatar for johnnycho

I'm trying to learn, understand and implement object-oriented PHP. Something's happening which I don't understand, and I would appreciate any guidance or help. I have the following class with the following properties and method: class Film { public $film_ids; public $numfilms; public function getFilms() { global $dbh; global $film_ids; global …

Member Avatar for johnnycho
0
316
Member Avatar for joshl_1995

Hello Community, I have been looking for a facebook news feed api, i couldn't find one. All i could find is bits of script for construct my own news feed api. So thats what i did and i thought i might share the script with you it's a bit messy …

1
572
Member Avatar for dougsix

I have been working this on and off for a while to encrypt data strings. Seems to work fine except Upper case letters are not encrypted, just stay as Upper case letters. It's got to be something simple, I just don't see it. Any help would be appreciated. <?php // …

Member Avatar for LastMitch
0
142
Member Avatar for pixelsoul

I'm having a lot of trouble trying to figure out what is wrong with my code. It isn't returning the correct data. function time_elapsed_string($ptime) { $etime = times() - $ptimez; if ($etime < 1) { returned '0 seconds'; } $a = array[0]( 12 * 30 * 24 * 60 * …

Member Avatar for pixelsoul
3
362
Member Avatar for devindamenuka

Hi all, I was planning to give a feature of hotel booking in mysite. (still I didnt start). What I want to know is whether drupal or joomla has the best module that fit for my requirement.n IF you know please not down the module name and CMS name. Any …

Member Avatar for LastMitch
0
61
Member Avatar for kakalahori

there is no file zf.bat in zend frame work2 like in the previous version ............ please any one can tell how to install it easy way and in windows

Member Avatar for kakalahori
0
249
Member Avatar for Vingklippt

<?php require_once 'lib/swift_required.php'; $transport = Swift_MailTransport::newInstance(); $mailer = Swift_Mailer::newInstance($transport); $headers = "From: Sebastian@Thorn.se" . "\r\n"; $conn = new mysqli('localhost', 'root', 'rushndie', 'bookmarks'); $username = $_POST['username'] $result2 = $conn->query("select * from user where username='".$username."' and passwd = sha1('".$password."')"); $row = $result->fetch_object(); $email = $row->email; $message = Swift_Message::newInstance() ->setFrom(array('sebastian@thorn.se' => 'SEBASTIAN JOHANSSON …

Member Avatar for IIM
0
293
Member Avatar for turpentyne

I've been given a script to work with for detecting browsers, to apply the correct css stylesheet. It's a little above my head, and I'm trying to determine how to make edits, to add in an if statement for this: Mozilla/5.0 (Linux; Android 4.2.2; Nexus 7 Build/JDQ39) AppleWebKit/537.22 (KHTML, like …

Member Avatar for turpentyne
0
221
Member Avatar for eburlea

Hi. I use a fuction to retrieve some information from a remote site: $dom = new DOMDocument; @$dom->loadHTMLFile($url); $page_content = $dom->saveHTML(); When I echo the content, some characters appear like 'á'. I have tried many things from the internet, but nothing helped. Is there a solution?

Member Avatar for eburlea
0
2K
Member Avatar for Atlanta15Braves

I am trying to mess with different ways to do a hit counter. I currently have two files. Hit Counter and Count visits. Count visits calls hit counter and hit counter creates a table and increments it. I am not getting any output and I think it is in my …

Member Avatar for EvolutionFallen
0
244
Member Avatar for hanan-kh

This loop does not show images from the database and show only one record .. where is the problem And how can i make the id changes with loop This loop to show per line two records but how the show every time a different record, such as the latest …

Member Avatar for Squidge
0
165

The End.