39,320 Topics
| |
Hello everyone i am new here and i searched in the website but could not get the answer so them to my wey problem i am making a college project where i have to make a list of items from different website and bring them to my website eg:- just … | |
Hi, I have a HTML/PHP/MYSQL setup where I want to use a value chosen from one HTML <SELECT> to restrict values shown in the next HTML <SELECT>. It's a reasonably common requirement but I just can't get it. A good example is where the user chooses a country and then … | |
Hello Friends, I am making a website which can be able to sell articles. In other words, it is a shopping cart website on which product is "Articles". So different kind of articles will be listed in different categories. Articles will not be shown fully as it is for sale. … | |
Alright, I'm back for another educated post (got the newsletter btw :(). So I am trying to [COLOR="Red"][B]use AJAX to remove a joke from a list of jokes[/B][/COLOR] inside the administration panel. I know basically nothing about AJX, but I am a quick learner. I know that if I press … | |
[CODE]<?php exec('java -jar/MicroChatServer.jar',$output); print_r($output); ?>[/CODE] Hello frds......... I have chat prg. jar file and I have to integrate this chat in a PHP website uses Wampserver.... I try above code but it display "Array()" instead of execute jar file. What should I do???? Any idea?????????????// | |
I am getting no result of it when i choose mp3 file. Other files are being uploade.. What should I do?[code]echo $ftype=$_FILES["audio"]["type"]; exit;[/code] | |
i need help on knowing how to use php to send text to mobile devices | |
I wrote a code in php to upload mp3 files but it is not working. It uploads other file exrtensions but does not upload mp3 files. If I remove "if($_FILES['audio']['type']=="audio/mp3"" then files is uploaded in database but not in the subfolder "upload". Can any one help me. I'll be thankful.[code]if($ftype=="audio/mp3") … | |
Hi Frendz, This is my code to read data from port using php. <?php $host = "192.168.1.5"; $port = 4321; set_time_limit(0); echo "Start to Create socket....<br>"; $socket = socket_create(AF_INET, SOCK_STREAM, SOL_TCP) or die("create():".socket_strerror(socket_last_error($socket))); if($socket) { echo "Socket Created!"; } echo "Start to Bind Socket....<br>"; $result = socket_bind($socket, $host, $port) or … | |
I have a pregexpression and its not outputting anything. Can someone explain why this might be? I'm also new to learning this [CODE]preg_match_all("/\<b>\$(.*?)\<\/b\>/is", $res[0], $match); foreach($match[0] as $value) { echo "<div class='prices' id='kgbdealsPrice'>".$value."</div>"; } [/CODE] The string that I'm trying to get looks something like this [CODE]<tr> <div> </div> <div> … | |
Hi I hope somone can help me. my update form wil not work and i don''t know what's wrong. i got everything work only this not please help Here is the code <html><head><title>Terminkalender Change form</title> <style type="text/css"> td {font-family: tahoma, arial, verdana; font-size: 10pt } </style> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" … | |
Hi there. I was wondering if anyone could help me with this issue I am having. I wanted to create a live ajax search based on the value of the select box. The example I have obtained fromo another website and tried to have a player around. The query works … | |
Hello, I am about to publish a GPL library of classes that helps building an interactive application ( PHP AJAX JavaScript) and the name I chose for it is “PHP Interactive Pages”. Recently I came across the PHP Licesence (Wikipedia) that to be sincere I have never read it carefully. … | |
I would like to know how can I access or read the array from another php. I mean that I am working on a .php page which contains the array and I want to display the content of that array but on another .php page. for example I used the … | |
Hello I'm new to the PHP.Now i want to integrate a PHP page to Microsoft SharePoint using the web Services of PHP. | |
Hello, I was wondering if there is a way to layer my preg_matches? I have a code like this [CODE] preg_match("/\<div class=\"dealsListS\"\>(.*?)\<\/div\>(.*)\<\/form\>.*?\<\/div\>/is", $res[1], $bycontainer ); preg_match_all("/\<h2>\s*(\<div.*?\<\/div>\s*)?(.*?)\<\/h2\>/is", $bycontainer[0], $level1 ); preg_match_all("/\<div class=\"thumbWrapper\"\>(.*?)\<\/div\>/is", $level1[0], $matches); foreach($matches[0] as $travelzooTitles) { echo "<div class='titles' id='travelzooTitles'>".$travelzooTitles."</div>"; }[/CODE] I'm getting error, but can I even do … | |
Hi everyone, this is my first time using daniweb, so helo! I have a major issue with building a menu from a query. I have the following, a query built from a join from 4 tables my query returns the following Id cat name sub 2sub con 3 1 axle … | |
[CODE]$total = $total + $lineprice; $total = number_format($total,2);[/CODE] this is the code i use for getting a decimal, but when the $total is over 1000 it's shown as 1,000 and the total becomes 1,00 any solution for this? here is an example might make it more clear: [URL="http://img690.imageshack.us/img690/8484/voorbeelde.jpg"]http://img690.imageshack.us/img690/8484/voorbeelde.jpg[/URL] | |
I wanna put a editor on my text areas in Dreamweaver for news part or somewhere else, but i dont have any knowledge about that, where i should find it and how to use it. i was download tinymce from this link [url]http://tinymce.moxiecode.com/download/download.php[/url] but i dont know how to use. … | |
i wanna to upload some images for my banners but i want to send special formats to my db like jpeg and png i wrote some things like this <? %name=$_FILES['imgfiled']['name']; $size=$_FILES['imgfield']['size']; $type=$_FILES['imgfield']['type']; if ($type==image/jpeg) //i wanna upload png files too. but i dont know how to add it. exactly … | |
Hi, i'm having a problem with AES encryption. I have 2 queries: [CODE] mysql_query("INSERT INTO table (secretfield) VALUES (AES_ENCRYPT('$secretvariable','12345'))") mysql_query("SELECT AES_DECRYPT(secretfield,'12345') as sf FROM table WHERE ID='$_SESSION[id]'"); [/CODE] With AES_ENCRYPT it works fine, it inserts encrypted values into the column, but when i use AES_DECRYPT, it returns a blank value. … | |
Hi guys, I need a help for caching web pages. My website is driven by database and updated everytime (sometimes minute by minute sometime hour by hour, never know). Content and some information comes from database as well. There are also some queries run behind for logging purposes based on … | |
I'm launching an multi outlet online food ordering website - most of the coding etc has been done I just have a couple of problems, one of which is this.... I want to add a min order requirement so that if the order comes in at £8 the order is … | |
Hi, every body first of all thanks from my dear friend (paulrajj) for his/her replay to my question. I wanna put a editor on my text fields in Dreamweaver CS5 but, i cant find any things about scripts is there any body help me with this problem i heard some … | |
Please HELP!!! computing the overdue in library system. using the time.This is the scenario. If library user borrow a book and take it out to the library. then He will bi given 24 hours to return the book. If the library user didnt return the in exactly time he will … | |
Hi I am using curl function for getting data from another website. But when i use curl_exec($curl) it shows 'bool(false)' . why it happend so? Please help me..Thank you | |
Ok, Hi I need help.I making a project and need to find the end of file line of a file.I researched [CODE]file_get_contents[/CODE] of a certain file and it worked but it did not register anything. And then found [CODE]feof[/CODE] and used this: [CODE]<?php while (!feof($f)){} ?>[/CODE] And it registers the … | |
Please forgive me, but what I'm going to ask is going to sound terribly stupid, but that's because I'm terribly confused :P I've been reading up on PHP websockets as of lately and I no longer want to run the server locally. So when I upload the server.php file to … | |
HI, I have created a cascading dropdown using PHP/mySQL/Ajax, that pulls data for two select boxes and populates a third based on the previous. This all works perfectly, but anyone know a way to check when this new dropdown changes without adding a onchange or simular to the select at … | |
hello guys, i'm pretty new to php and to this forum, but i need a little bit of help and i hope i can find it here :). I need a wordpress page to create dynamic links, using the url and the wordpress database (or a new database¿?) to grab … |
The End.