39,393 Topics

Member Avatar for
Member Avatar for Clanstrom

When I check sometimes, on the php.ini files, I see that there are many loaded extentions, and for the most part, I only open the file to enable or disable some extentions like curl, but other than that, I do now know what the hundreds of extention do, so I …

Member Avatar for diafol
0
115
Member Avatar for dannybarh

Hi, i have successfully stored a link to docx and pdf files into mysql db. I'm trying to retrieve it from db and display it similar to pictures. Now when the user click on it, it should open the file and display it. If any one have a code sinppet …

Member Avatar for diafol
0
192
Member Avatar for developer707

Hello, Recently I am trying to make a php file than when it is opened it should backup a database and promt the user to save the .sql file... This is a feaure that has phpmyadmin but I want something very simple, just clicking http://mywebsite.com/backup.php and the file should be …

Member Avatar for broj1
0
205
Member Avatar for techxaidz

Hi! I'm a newbie in PHP. I'm currently looking for a debugging tool for PHP, does DreamWeaver CS6 provides this? Or is there any debugging tool, easy to install? BTW, I tried downloading xDebug but i can't figure out how to install it into eclipse Juno. I downloaded a DLL …

Member Avatar for veedeoo
0
150
Member Avatar for travis.holt.921_2

I am working on a form that will redirect users based on a form. The form asks for a zipcode. If the zipcode is correct (one of the zipcodes in the service area) then I want to redirect to an order page. If the zip code is incorrect, not in …

Member Avatar for EvolutionFallen
0
217
Member Avatar for dannybarh

I have this code $request = mysql_query("SELECT note_title,image_file FROM notez"); while($row=mysql_fetch_array($request)) { echo $row['image_file'].'<br />'; echo $row['note_title'].'<br />'; } and the path to the folder where i stored the files is userimages_doc when i click on note_title , i want to download the file

Member Avatar for pzuurveen
0
100
Member Avatar for my3h

0 down vote favorite I have a table in database like this: ID, features, Values : ID will be 1, 2, 3.... features will be color, size, material.... values will be red, 13inch, silicon... I stored it like this: ID 1 1 1 Features color size material values red 13in …

Member Avatar for my3h
0
136
Member Avatar for vishal_WebDev

i used addslashes() in php its added \ slash in FireFox Browser thats Working BUT in Chrome Browser this Function add / slash So,My URL is not Display Correct Content.. so, What Should i use over here... Please... Thanks.

Member Avatar for pritaeas
0
80
Member Avatar for Burhan_1

I am creating a flight/hotel reservation system like farecompare.com Farecompare parse values to other sites and create sessions other sites too. Anyone tell me how they create sesssions in it. I can parse url but i am not able to create sessions. public function flight($depart, $return, $from, $to, $type, $class, …

Member Avatar for broj1
0
193
Member Avatar for mohammed.ismail

what is the first file that get loaded when you run a application using cakephp? can you change that file?

Member Avatar for EvolutionFallen
0
65
Member Avatar for mohammed.ismail

what is a component,helper and why are they used, is there other way we can do same thing, what is better?

Member Avatar for EvolutionFallen
0
91
Member Avatar for dyea.marcello

I am running a PHP script, and keep getting errors like: *Notice: Undefined variable: result2 in D:\xampp-win32\htdocs\sites\bookstore\result_page.php on line 200 *warning: mysqli_fetch_array() expects parameter 1 to be mysqli_result, null given in D:\xampp-win32\htdocs\sites\bookstore\result_page.php on line 200 Line 200 looks like this: `<?php while($row = mysqli_fetch_array($result2))` What do they mean?

Member Avatar for pzuurveen
0
164
Member Avatar for dannybarh

Hi all, i have a table in db which contain some pdf and docx files. Am trying to display it in a way, so that when the user click on it, it will load the pdf and/or docx file from db in another/same window. this is what i have done …

Member Avatar for pzuurveen
0
3K
Member Avatar for bavenbabu

I cant install cakephp.I had wamp installed me.But when i try to install cakephp i got the following errors CakePHP: the rapid development php framework Release Notes for CakePHP 2.1.1. Read the changelog Notice (1024): Please change the value of 'Security.salt' in app/Config/core.php to a salt value specific to your …

Member Avatar for kevinpatel
0
2K
Member Avatar for kevinyu

Since I am just experimenting on this, (only localhost) I may like to ask for some ideas(since nothing is really coming out of my mind) about letting a user, who is going to, for example, register to a mini-social-networking site, with a corresponding username/password, personal details, etc. I would upload …

Member Avatar for kevinpatel
0
240
Member Avatar for kshahnazari

I have a ajax fucntion that gets a json array from the php , 8 numbers formed like this ["0","0","0","0","0","0","0","1"] , As I get this in a var called data , data[0] and this kind doesen't work , how can I access this numbers ?

Member Avatar for Bachu
0
354
Member Avatar for logicslab

Dear friends, I am using the XML-RPC Server to implement a simple login authentication as a web service . So I wrote a function in wp-includes\class-wp-xmlrpc-server.php like function web_auth($host, $db, $dbuser, $dbpass, $username, $password) { $dbhandle = mysql_connect($host, $dbuser, $dbpass) or die("Unable to connect to MySQL"); $selected = mysql_select_db($db,$dbhandle) or …

Member Avatar for LastMitch
0
286
Member Avatar for ncis_sg1

I have an assignment that I have been working on for the past few days that is making me go crazy. The instructions are as follows: Write a PHP script that tests whether an e-mail address is input correctly. Verify that the input begins with series of characters, followed by …

Member Avatar for ncis_sg1
0
1K
Member Avatar for Coyx

Hi all, First tutorial submission. The standardised strtotime() function really grinds my gears. I hate messing about with dates in different formats... so I mullered this little function up. It works perfectly - probably easier ways to do it, I don't know... I just include this function in my functions …

Member Avatar for diafol
1
245
Member Avatar for gogs85

How to show some articles from another website with API example: from this web site http://shopper.cnet.com/buy-pc-games/ name of game,pictures and price to show on my website, with automatic update?

Member Avatar for JorgeM
0
96
Member Avatar for vinojai

Hi I did one php application. In that application on clicking the download button.The datas from database have to convert into excel sheet and download. Can anyone please help me to do..

Member Avatar for layman114
0
571
Member Avatar for davy_yg

Hello, I wonder if it is possible to run php in IIS ? Thanks before.

Member Avatar for JorgeM
0
83
Member Avatar for boney

I need help on building a mysql query. I have 2 tables : list and type. List : id_list, name Type : id_type, id_list, name The id_list column in table Type is a reference for id_list in the table List. My HTML [main.php] : <head> <script src="//ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script> <script type="text/javascript"> function …

Member Avatar for LastMitch
0
250
Member Avatar for Persi

I have two tables in one form and a button in another form. So the two tables must be displayed first and then the button. But for me the button is displayed between the two tables. Can anyone help me?? This is my code [CODE]<form action="choirEvedit.php5" method="post"> <?php $con = …

Member Avatar for whiteyoh
0
99
Member Avatar for hwoarang69

$count = 0; $Q = "SELECT (SELECT image_short_name FROM user WHERE username = '$user') as `image_short_name`" .",`image_id`,`image`" ." FROM `image`" ." ORDER BY RAND()" ." LIMIT 30"; $R = mysql_query($Q); echo " <div id ='bg'> <div id='context'> <table> <tr> "; while($row = mysql_fetch_assoc($R)) { echo "<td>"; $image_db = $row['image']; $src …

Member Avatar for whiteyoh
0
109
Member Avatar for patk570

Hello, I have a login script that I created and for some weird reason when it is in plaintext it works, but as soon as I put md5() it errors out and will not let me log in at all. <?php session_start(); error_reporting(E_ALL); ini_set("display_errors", 1); include("config.php"); if($_SERVER["REQUEST_METHOD"] == "POST") { …

Member Avatar for patk570
0
223
Member Avatar for dschuett

Hi, I am a complete newbie when it comes to php. I have been searching google for a way to upload multiple pictures to a directory at one time, and at the SAME time store each pictures path into a table in the database. I have found several examples of …

Member Avatar for Gloak
0
2K
Member Avatar for Dhiraj_1
Member Avatar for diafol
0
87
Member Avatar for dyea.marcello

I am trying to display a list of my book However I can't select the database: this is a piece of my code: <?php $mysql_hostname = "localhost"; $mysql_user = ""; $mysql_password = ""; $mysql_database = "mag_rocket"; $prefix = ""; $bd = mysql_connect($mysql_hostname) or die("Could not connect database"); mysql_select_db($mysql_database, $bd) or …

Member Avatar for diafol
0
508
Member Avatar for 68thorby68

I am very very confused about encrypting form values when posting a form to submit payment. Please don't turn off when I mention PayPal. I am genuinely confused. I have to submit form values via an HTTPS connection to PayPal and PayPal have advised me to encrypt my form fields …

Member Avatar for paulkd
0
200

The End.