39,326 Topics

Member Avatar for
Member Avatar for dandixon

I am getting this error and i cant seem to figure out why [CODE] Warning: file_get_contents(C:/xampp/htdocs) [function.file-get-contents]: failed to open stream: Permission denied in C:\xampp\htdocs\ucuk\news.php on line 157 [/CODE] heres my code [CODE]<?php // Build SQL Query $query = ("SELECT * FROM heading LEFT JOIN sub_heading ON heading.heading_id = sub_heading.month"); …

Member Avatar for nonshatter
0
151
Member Avatar for hotice47

hi to all i am making a chat app using php/mysql i am faceing a problem here ..i want that user click on button and it give him a random online user from database...but dont know how to do it ..i am trying.. [CODE]{ $i=0; while ($i < $num) { …

Member Avatar for Taywin
0
241
Member Avatar for qazplm114477

Which php framework should I spend my time learning? Since there are so many, I was wondering which are the more popular frameworks out there?

Member Avatar for Stefano Mtangoo
0
265
Member Avatar for DarkDot

So I have one page that basically reads the entries I have from my table and out puts them with a link around the date so that when clicked your supposed to be able to delete it. Problem is when I click the link nothing happens. Heres the code for …

Member Avatar for pritaeas
0
120
Member Avatar for shipy013

Hello everyone. Will present you with a script that can change the templates on your site. Script is enough to insert into your admin panel and make mjskl database. In the theme folder there are threads that are arranged in folders in this case, there are three folders (three theme): …

0
50
Member Avatar for rexsinha

I want to develop an MLM website which will show member as binary tree. I also want to how to design database for the same.

Member Avatar for rch1231
0
46
Member Avatar for Clarkeez

Hi. I have a PHP script on a form. It generates a mailto command with lots of variables pulled from the form fields. The only problem with it is that if someone types &, % or ; in the fields then it will only generate the email up to that …

Member Avatar for Clarkeez
0
156
Member Avatar for julianmoors

Hi Guys, I'm in need of a paginator at the bottom of a table which is being returned by Ajax's responseText. I'm having trouble as I can't seem to hook up the JavaScript with the one being produced by Ajax. I know some of you will say I need to …

Member Avatar for Airshow
0
445
Member Avatar for ben.matthews18

Ok I might just be being daft here but.. I am into the whole PHP thing at the moment and learning it at a really basic level.. I was on facebook recently and noticed this code in the url after I clicked some of the buttons; [CODE]'?ref=home'[/CODE] This showed up …

Member Avatar for richardmorris
0
129
Member Avatar for Smudly

Hey, I have a search feature that searches for words in my database. I am currently storing all searches that users make in a table called `search`. I need to list the top 10 words that are searched for the most, excluding common words like "the, and, or, etc". Because …

Member Avatar for pritaeas
0
93
Member Avatar for DarkDot

So I'm trying to have a relatively simple script. I want to just have one entry in the SQL table and when new information is entered just overwrite that same entry. For the table I have the primary key as the variable ID. I'm not sure how to just extract …

Member Avatar for nonshatter
0
81
Member Avatar for ujjval dave

hi every one, i need your help in my php code.Currently i m developing one social site. i had develop php code code for getting recent update from friends. my error is for not printing recent update from friends. i had tried my best but it's not working. i m …

Member Avatar for ujjval dave
0
103
Member Avatar for DDANCE

Hello Guys/Gals, Can someone please help me with this PHP code problem. I just uploaded some new WP Themes and when I try to view or activate one of them I keep getting some error messages. I haven't changed anything in this code, all I did was copy & paste …

Member Avatar for DDANCE
0
197
Member Avatar for kadifo

Hello everyone, Im new at this site, and I hope I can get some help for my assignment. I have been asked to do the following: Build a pyramid using PHP and MySQL and depends on how many rows. For now I have made the following in my mysql: blocks …

Member Avatar for chrishea
0
170
Member Avatar for srdva59

hi, i looking for a design report like crystal report or active reports but for php the objective is creat a report using mysql data and save the template and load that report in a pdf file for print or save any one know something like that? i already use …

Member Avatar for chrishea
0
51
Member Avatar for aldm

Hi, I have a php file session.php: [CODE] <?php require_once("functions.php"); session_start(); ... ?> [/CODE] I tried to include this in one of my php scripts, but it shows me a warning: Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at E:\xampp\htdocs\cjenovnik1\uredi_profil.php:1) in E:\xampp\htdocs\cjenovnik1\includes\session.php on …

Member Avatar for FeralReason
0
516
Member Avatar for migicikinyanjui

i am trying a case statement that will input different results based on the town a user enters in a form .the code in the form is [CODE]<html> <body> <form action="relay.php" method="get"> town:<input type="text" name="town" /> <input type="submit" /> </form> </body> </html [/CODE] while that one for case is [CODE] …

Member Avatar for Usernamex235
0
142
Member Avatar for rajeesh_rsn

Hi Can someone tell me how I can accomplish this. I need to show a php page . And in that page I need to show " loading " until the page loads completely. Please help me Thanks in advance Rajeesh

Member Avatar for Graphix
0
60
Member Avatar for MoreBloodWine

Ok, I know there's missing code from the top but it's stuf that doesnt matter and I didnt feel like modifying it with dummy data to post the full PHP page here. Anyway, the below code produces this: [url]http://www.myu2sig.com/currentusers2.php[/url] If you page around you will notice that it always shows …

Member Avatar for MoreBloodWine
0
108
Member Avatar for marya2010
Member Avatar for nonshatter

Hi all, I have a query pulling out dates from a database, these dates are then added to an array and inserted into a graph along the x-axis. From the results, there could be one value with one date or there could be 10 values with one date. This means …

Member Avatar for paulrajj
0
98
Member Avatar for arunpatyal1987
Member Avatar for nevvermind
0
64
Member Avatar for koldhands

Morning guys, I've almost finished a new site i'm doing for a client but there's a few points that are causing me a headache and they're all related to the same thing. I've searched everywhere on the web for an answer and I'm beginning to think that there isn't one …

0
70
Member Avatar for Roebuc

Can someone tell me how I can accomplish this. I want the results of a form to be placed in a pdf and then added as an attachment. I am not sure if this is possible, but if someone knows how, please let me know. Thanks.

Member Avatar for Nandkishore354
0
1K
Member Avatar for brown23

I'm still learning PHP and just starting to get to grips with it. [CODE] $url = $_SERVER['REQUEST_URI']; $user = $_SERVER['HTTP_USER_AGENT']; if ($url == "/example.php" && $user == "HelloWorld") echo ""; else Header("Location: http://www.google.co.uk"); [/CODE] Basically what I'm trying to achieve is when the useragent is "HelloWorld" and the URL is …

Member Avatar for pietpiraat
0
94
Member Avatar for niths

hi all, i need to display the image that is selected when we browse from our local system..so can anyone help me... thank u. [CODE] <html> <body> <form enctype="multipart/form-data" action="form.php" method="post"> <img src="" style="width:170px;height:200px"> <input type="file" size="15" name="imageupload"> </body> </html> [/CODE] ---form.php---- [CODE]if((!empty($_FILES["imageupload"])) && ($_FILES['imageupload']['error'] == 0)) { //Check if …

0
57
Member Avatar for Vampdee

I have a client that is asking me to design the user specific area of a commerce site. Basically, when a user creates an account (such as an account on Amazon or any other typical e-commerce site), there would be a user specific area that would contain the purchases the …

Member Avatar for Vampdee
0
118
Member Avatar for laddu2098

[COLOR="Green"]hello every one hi i am new to daniweb i think i will find a solution in daniweb. hi i wanted to change my php melody1.6.4 url structure my url structure is like this [url]http://example.com/frozen/frozen-2010-movie-video_1c4063b5a.html[/url] i wanted to change it to like this [url]http://example.com/frozen/frozen2010movie/1c4063b5a[/url] i have spent my valuable time …

Member Avatar for laddu2098
0
177
Member Avatar for mtaylor2

Hi All, I have a form that shows the list of expenses based on which category you choose from the select box. I then have links above this which allows the user to view expenses in 1st, 2nd, 3rd or 4th quarter. If I select a Category and then view …

0
62
Member Avatar for cjcDigital

Hi everyone, I'm sure the fix to this problem is really easy as I checked my code and I've pinpointed the cause but I'm not sure where to apply the fix. Currently I'm developing a Wordpress theme at ReceForPeace.org and on the index page you can see that the footer …

Member Avatar for cjcDigital
0
105

The End.