39,402 Topics

Member Avatar for
Member Avatar for RossCode

Hello, I need some help understanding how to display information from the following array and what this method of storage and array is called. The information held in the database looks like this [CODE]{"option1":"1234","option2":"ABCD"}[/CODE] How do I work with these values? I know how to get the array as a …

Member Avatar for Kieran Y5
0
124
Member Avatar for akvlko
Member Avatar for akvlko
0
162
Member Avatar for pbcomput

Hi all, I m newbie in .htaccess i am using .htaccess to make url SEO friendly. I can access admin in localhost of my pc. but when i put all this files to my server i can't access admin. it shows me white blank page. without any message or error. …

Member Avatar for pbcomput
0
39K
Member Avatar for veerpavan

//code for yourditor.php <?php //This section should deal with the MagicQuotes and slashes function nukeMagicQuotes() { if (get_magic_quotes_gpc()) { function stripslashes_deep($value) { $value = is_array($value) ? array_map('stripslashes_deep', $value) : stripslashes($value); return $value; } $_POST = array_map('stripslashes_deep', $_POST); $_GET = array_map('stripslashes_deep', $_GET); $_COOKIE = array_map('stripslashes_deep', $_COOKIE); } } ?> <?php nukeMagicQuotes(); …

0
51
Member Avatar for sinZ

I'm trying to have my code display all pictures for a specific ID, this is the current code that is only showing a single picture to be displayed, how can I get it to display the others as well? thanks [CODE]<?php $id=$_REQUEST['id']; $result=mysql_query("SELECT * FROM gallery_work_thumbnail WHERE id=$id"); while($row=mysql_fetch_array($result)) { …

Member Avatar for Lsmjudoka
0
101
Member Avatar for prakashsd

Hi, I've bought a hosting space from a hosting space provider for my website. It is a Windows 2008 Server. I have an enquriy form that needs to be submitted to my email. I'm using a simple php mail program for that. But I'm getting "HTTP Error 500.0 - Internal …

Member Avatar for hielo
0
143
Member Avatar for ivan3510

Hi! Sory for my bad english. Is it posible to make in php a html compiler (program that will check if there is lexical or semantic mistakes)? (eg. If someone write: "<html><haed>", the program will check and write message that is error in code and that must be writen "<html><head>"). …

Member Avatar for ivan3510
0
125
Member Avatar for Capt Spaghetti

Thanks to a forum member I have moved a little forward but now I am stumped on how to convert a passed value to a variable so it can be used to search a MySQL database. When I use the passed variable as the value I receive the following error: …

Member Avatar for Capt Spaghetti
0
134
Member Avatar for zive_te88

Hi, My name is Zivko and I have a question for You. I'm working on a projekt. I have to do an application in php. It is supposed to be like this: I have a php web site.In that web site i have a large textbox or message text area. …

Member Avatar for chrishea
0
437
Member Avatar for ceeandcee

Good Morning, I am hoping someone can help me. I am not even sure if this is possible. I am building a hockey pool site and I would like to automatically update the value of a variable once a week or 26 times. I would like to use the clock …

Member Avatar for ceeandcee
0
110
Member Avatar for arunpatyal1987
Member Avatar for panhwer89

Hi dear all.. I have done email attachment in php, code is working fine but output is not coming fine. here is code. <?php $fileatt = "file/imagelks.jpeg"; // Path to the file $fileatt_type = "application/octet-stream"; // File Type $fileatt_name = "imagelks.jpeg"; // Filename that will be used for the file …

Member Avatar for Zagga
0
126
Member Avatar for Jack_1

I want to make a program that takes the input ie Username and Password from user , there is a submit button and if everything is correct then user should be able to access another webpage . A rough blueprint is- <form> Username:<input type="text" name="name"size="15"><br> Password:<input type="password" name="pass"><br> <input type="submit" …

Member Avatar for Zagga
0
79
Member Avatar for opteenslippers

For a website about tours I made a form to request for a quotation. There's quite a lot of input fields, some of them with dropdown menu's where the user can choose for example one of the tour destinations. I would like to know if I can pass variables from …

Member Avatar for diafol
0
138
Member Avatar for Capt Spaghetti

I am trying (unsuccessfully) to pass a variable to another php file. I am able to retrieve the information from MySQL, and present it on the web page but I am unable to pass the "hot link" ID to another php file. I am a beginner so it must be …

Member Avatar for P0lT10n
0
141
Member Avatar for natchattack

This is a simple problem but one of those that eats at your brains the more you think of it. I basically want to write a a variable to a php file ( the variable name itself not the contents ). The code i have below. [CODE] // we will …

Member Avatar for natchattack
0
85
Member Avatar for kracko

Hey ppl. I use apach and i've got a problem that i cant fix when i write this code .. [CODE] <img src="Z:/home/localhost/www/ImageGallery/Images/mmbg3xmx3g.gif" width="100px" height="100px" name="imgPreview" /> [/CODE] no image is shown. Whats wrong? The image surely exists in the specified path. And one more problem with this is that …

Member Avatar for kracko
0
105
Member Avatar for ManishS

How to upload fckeditor on my xampp server...and then how to use it.....

0
59
Member Avatar for rakibtg

any body tell me how to edit adsnese like ezinearticle.com or how to add my own css in adsense . is ezinearticle.com break adsense tos ? if not can i use it for my site . how should i use it in my site? adsense hack, adsense in custom css

Member Avatar for Kieran Y5
0
73
Member Avatar for ManishS

I made a Login and logout page but whenever i login and press backspace i am redirected to the login page .... what to do to prevent it from going to the login page even if i have not pressed logout option

Member Avatar for qazplm114477
0
61
Member Avatar for olivebibi

Good evening, I'm trying to generate an xml file based upon the result of an SQL query. I'm making some good progress so far but there is 2 problems I can seem to solve. My php code is the following: [CODE]<?php require ("Connection.php"); $db_handle = mysql_connect($server, $user_name, $password); //load the …

Member Avatar for P0lT10n
0
256
Member Avatar for jonow

Hello. To start off I am pretty bad at MySQL and PHP. I want to set something up that people can enter their cell phone numbers and it would be added to a server. Then I could go and send a message out to all of these numbers. I want …

Member Avatar for Bruce100
0
108
Member Avatar for happygeek

Many of the biggest forum-based online communities, including DaniWeb, are powered by vBulletin software. So it came as something of a shock when the BBC reported that a [URL="http://www.bbc.co.uk/news/technology-10714192"]vBulletin security flaw means that any hacker could "easily access the main administrator username and password for a site"[/URL]. But is the …

Member Avatar for Bruce100
1
612
Member Avatar for vinothtitan

Hi, I am using postgresql as my DB. My problem is quite silly but its ruining my time. I am trying to populate my table with the data base table values. I am able to do it. This is the case for existing tables. Now i am creating a new …

Member Avatar for P0lT10n
0
72
Member Avatar for raul8

I want to call a jsp form my PHP code. I caqme across that it can be done using XML-RPC. Is it possible & where I can find any tutorials for this? Thank You

Member Avatar for P0lT10n
0
86
Member Avatar for lubalsd
Member Avatar for oyingragratz

hi guyz, i'm new to PHP and my first time to post here.. i would like to ask some help regarding CHECKBOXES.. ..I'm havng problem on displaying the values of the checked checkboxes to other pages...how would i do that? HERE IS MY CODE FOR THE FIRST PAGE: <?php $sql …

Member Avatar for P0lT10n
0
79
Member Avatar for Rated X

I am working on a assignment in PHP but cannot get my results to show up now on a separate page, or at all. After adding in my IF statements, everything stopped working but I am not getting an error message. Any help would be appreciated. I have supplied all …

Member Avatar for Rated X
0
104
Member Avatar for niche1

This works: $result = mysql_query("SELECT * FROM plan WHERE begin BETWEEN '2010-09-01' AND '2010-09-30'") or die(mysql_error()); I need some version of this to work where begin and end are currently timestamped columns in my table: $result = mysql_query("SELECT * FROM plan WHERE date("Y-m-d") BETWEEN begin AND end") or die(mysql_error()); What's …

Member Avatar for niche1
0
88
Member Avatar for mbirame

Hi folks, I am still quite new here, and brand new to Zend and PHP, so please forgive my ignorance...I'm sadly still very much a paint by numbers hack. :-D I'm wanting to do what I think is a fairly simple task: Collect info from one of my google calendars …

Member Avatar for CDTOAD
0
94
Member Avatar for dwdata

I have the need for a FUNCTION: Transpose($Song, $direction) The logic I need is pretty straight forward, but I am having a hard time replicating it using PHP functions. I will try to break it down to it's simplest form: I have a field that has several lines of text. …

Member Avatar for diafol
0
222
Member Avatar for richardmorris

I want to be able to open a window with a variable. For example, I will use domain.com?reference=1234- This link will open a pop up window as follows: [CODE]<a href="javascript:popUp('http://www.domain.co.uk/staff/tpr/update_action_log.php?action_reference=<?php echo $row2['action_reference']; ?>')" title="Click Here edit this entry"><?php echo $row2['action_reference']; ?></a>[/CODE] When I open this window, it is always showing …

Member Avatar for Airshow
0
206
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
154
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
244
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
268
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
123
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
52
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
48
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
161
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
450
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
132
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
96
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
85
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
105
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
200
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
179
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
53
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
520
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
144
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
62

The End.