39,326 Topics

Member Avatar for
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
64
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
90
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
163
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
239
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
352
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
283
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
95
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
568
Member Avatar for davy_yg

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

Member Avatar for JorgeM
0
81
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
96
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
107
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
221
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
86
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
494
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
199
Member Avatar for Szabi Zsoldos

Hey guys, I'm having difficulties with a problem. I iterate over an array of data with X rows And i have the positions of each row incremented, i would like that when i found an exception i shift all the position id's so after each exception the next ID has …

Member Avatar for Szabi Zsoldos
0
227
Member Avatar for asaidi

Hi i did an application for an office and i have copied all my source php files to their server of course i installed apache and mysql how i can compile them or corrupt my files that people in office cannot change them.. thx

Member Avatar for pritaeas
0
72
Member Avatar for saadi06

Hi, I am using html Mime Mail5 class to send emails from my system and I want the attachment files to be send as encrypted in smime format. Is there any way I can send the email with attachment made in smime encrypted format through the htmlmimemail5 class. Thanks in …

Member Avatar for pritaeas
0
185
Member Avatar for faisal6621

I'm working on a project where I've to display whether a certain domain name is available or not. If the domain name is unavailable, user may choose to view `WhoIs` information, which I've to show. How can I do this in PHP?

Member Avatar for cereal
0
87
Member Avatar for johndohmen1963

Hi hope someone can help me with the folowing i have a string with a few words i want to delete some words before the string and uppercase the first letter from the string that over. $achternaam = "van der hurk"; $common_words = array("van", "der", "de"); $achternaam = str_replace($common_words, "", …

Member Avatar for johndohmen1963
0
187
Member Avatar for winbala5

Hi all, How to check file exists in remote server. I am try to check in http path whether image is avaliable or not but not able to get.Please help me. http://www.domain.com/images/logo.jpg I need to check this path image is avaliable or not?

Member Avatar for broj1
0
159
Member Avatar for saravananosiz

I need to store stock market data and stock graph datas for my site . so i am selecting two db's mongo and cassandra and i finalize cassandra db, i am using windows 7 , Xampp and i need to use this in yii. i am installing data stack it …

Member Avatar for saravananosiz
0
686
Member Avatar for Siberian

Hi, I want a script that can automatically based on a schedule, run cPanel backup tool and backup cPanel and all directories on a server, hopefully one exists ?

Member Avatar for Siberian
0
95
Member Avatar for <M/>

I am trying to create a table that I can customize completely with php. I will admit, i have forgotten some of the materials due to lack of practice and "accidentally" deleting my original files that "should" answer my question. Well anyways, how do you create a table that (by …

Member Avatar for <M/>
0
684

The End.