39,323 Topics

Member Avatar for
Member Avatar for Jiby_1

In php we all know file_get_contents("https://xxxxx/p.php); is there any similar function like in Lua programming language

0
110
Member Avatar for SimonIoa

I get this error when ever i try to upload a file. Automatically populating $HTTP_RAW_POST_DATA is deprecated and will be removed in a future version. To avoid this warning set 'always_populate_raw_post_data' to '-1' in php.ini and use the php://input stream instead. in Unknown on line 0 Does anybody knows what …

Member Avatar for SimonIoa
0
3K
Member Avatar for Jiby_1
Member Avatar for CreatorZeus

My Error info isnt being clear enough for me to understand the problemIs there anything worng here so i can continue on lookng for the probelm: $sql = "INSERT INTO boards ( title, genre, creator, tagline, intro, remessage, visability, recruitment, reqsheet, reqdice, reqgroup, ppweek) VALUES ( $title, $genre, $creator, ". …

Member Avatar for diafol
0
415
Member Avatar for SimonIoa

hello i want to upload an audio file. i specified the location but the file doesnt go there. it stores the path in the row in the table on database but it doesnt store the file on the folder. i define the upload path on my config file define("UPLOAD_PATH_AUDIO", "uploads_audio/"); …

Member Avatar for diafol
0
944
Member Avatar for spluskhan

Hello, I have two tables in mysql using php> 1) Consumers 2) Monthly Billing In Consumers that table contains about 100s of Consumers , and it increase monthly. 2) Monthly Billing for Billing. What i want to do ? Is there are any way that i can generate monthly billing …

Member Avatar for diafol
0
896
Member Avatar for Faisal_13

Dear Developers, This is the part of my blog.While adding new post to my blog the category option not updating to database add_post.php <h2>Add Post</h2> <?php //if form has been submitted process it if(isset($_POST['submit'])){ $_POST = array_map( 'stripslashes', $_POST ); //collect form data extract($_POST); //very basic validation if($postTitle ==''){ $error[] …

Member Avatar for Faisal_13
0
538
Member Avatar for jkon

I found myself starting to answer a question that I have answered many times , so I thought why not making a code snippet and just reference this. This is a short code snippet only to demonstrate how this thing work (with apache and rewrite engine on) , in real …

Member Avatar for jkon
2
657
Member Avatar for Eddy_1

Hi. I have tried to save the Json data retrieved below in vain. When I connect the database and try to insert the post data, the script no longer retrieves or decodes the data. When I leave it, the API tells me the data was reconciled or decoded. How can …

0
136
Member Avatar for showman13

I am simply trying to compare a value entered into a form, to ensure it begins with a ? mark. I have tried suggestions I could find online but can't seem to get it to see when the ? is missing Any suggestions or direction would be greatly appreciated. if(!preg_match("/[\s]*(?)/i", …

Member Avatar for showman13
0
143
Member Avatar for sohan_1

Hi , I want to create one product page , on nav-bar when user clicks on product before showing all product it should show one form and after filling form then and then only all products will be shown to the customer. I am trying to do this in php …

Member Avatar for diafol
0
189
Member Avatar for Jiby_1
Member Avatar for SpottyBlue

Hi, I added the "dayOverview" dropdown list that needs to assign to the database, but when I test it, it is uneditable. How? Please check lines 51 and 164 - 176. Download the attendance form zip file: https://drive.google.com/file/d/0B07_pOHhTox3bS1mVXpiTUN3RVk/view?usp=sharing Inside there is the database table called attendance.sql. You need xampp and …

Member Avatar for SpottyBlue
0
208
Member Avatar for ramsiva

how to pass values using load. because i need to get values in php($_REQUEST) any body help me jq("#myid").load(location.href + " #myid");

Member Avatar for diafol
0
204
Member Avatar for DelphiGuy

Basically, I have a program in Delphi which POSTs data to a MyBB script on a server, when the MyBB script recieves that POSTed data it is supposed pass that data onto a MyBB forum and use it to post a new thread. The only problem is I have no …

Member Avatar for Erik_6
0
2K
Member Avatar for rpv_sen

Hi can any one please help me with some sample for multiple textbox value in php search. all the fields in the search are in one table. I have attached screen for the reference. ![a4ec5f0f3cab021bb2e13c6b18d4c008](/attachments/small/3/a4ec5f0f3cab021bb2e13c6b18d4c008.JPG "align-left")

Member Avatar for Kon Hu
0
516
Member Avatar for Mani_7

How can I convert (move) individual HTML webpages in bulk into mysql forum? What I have is just the 1000s of html pages which consist of question and answers. Now how can I move then into into mysql forum. This is how my question/answer html pages looks like this:- drive.google.com/file/d/0B4RFn3PmjNy9YTNkbE5mejBfV1U/view?usp=sharing …

Member Avatar for diafol
0
312
Member Avatar for Stefce

It gives me always `Invalid Username or Password` what is the problem with this code ? <form action="admin_login.php" method="POST"> <div class="form-group" style="width: 280px;"> <label for="usr">Username</label> <input type="text" class="form-control" name="userbox" id="user"> <br> <label for="pass">Password</label> <input type="password" class="form-control" name="passbox" id="pass"> <br> <button type="submit" name="login" class="btn btn-success">Log In</button> </div> <?php if(isset($_POST["login"])) { $user …

Member Avatar for jkon
0
491
Member Avatar for phphp

Sir I have these 2 tables (Arrival+Pouring) shown in Attachment I create result table with this query select c1.date,sum(nvl(cx.purchase-cx.sold,0)) as opening,c1.purchase,c1.sold,; sum(nvl(cx.purchase-cx.sold,0)) + c1.purchase-c1.sold as closing ; from ; (select NVL(a.date,b.date) as date,CAST(NVL(a.qty,0) as integer) as purchase,; CAST(NVL(b.qty,0) as integer) as sold from purchase a FULL JOIN sold b ON …

Member Avatar for rproffitt
0
301
Member Avatar for Muhammad_117

Hi friends, I am going to build a website like http://www.myadsinn.com/. This site is about posting ads free. I am also needs feature like https://www.olx.com.pk/ Can any one is interested in it

Member Avatar for rproffitt
0
1K
Member Avatar for zelrick

Hello DaniWeb Users; I'm not a good coder here please hold on me, My machine is linux ubuntu 14.04 and I install apache2 also the php5. I was trying to create a simple log in page here (no registration thing) So in mysql I just create 3 fields (user_id, username, …

Member Avatar for cereal
0
704
Member Avatar for ecinevenice

$filename ="cs_orderfrequency.xls"; $contents = $this->load->view('reports/order_frequency_excel',$data); header('Content-type: application/ms-excel'); header('Content-Disposition: attachment; filename='.$filename); This code enables me to export directly a view to excel file without having to use PHPExcel as thirdparty. Although it gives me an error of *"The file your trying to open is in a different format than specified by …

Member Avatar for cereal
0
247
Member Avatar for Rahul_56

**I have tried 1st, 2nd points are working good just have to solve 3rd issue:** **1.** Title with bold: "THIS IS MY MAIN TITLE IN CAPS" (title not always same) **2.** Words with bold: TEST ABC:, TEST XYZ:, TES T TEST:, TESTXXX: (this words are always same) **3.** Some strings …

Member Avatar for cereal
0
407
Member Avatar for AntonyRayan

Hi everyone, I am new to this concept. I need your help for Grouped Categories Multi Level Drill Down Bar Chart. Example: Category 1: Cars Category 2: Bikes ..... Category n: Buses Category 1: Cars i)Minimum sold cars ii)Average Sold Cars iii)Top Sold Cars First Drill Down: Here, I need …

Member Avatar for jkon
0
607
Member Avatar for Hilal2009

I want to get results from this API as specified. But from what I know, I have tried to write some codes but it seems it doesn't work. I there any one can help me? here is the API http://1XX.XXX.XX.66:4848/SmartMeter/vms/credit?meterNumber=51751100044&amount=10&method=0&referenceNumber=12345678&return=JSON Request Parameters - meterNumber: Meter Number(Like 51931000049) amount: Amount(like 10 kWh,10 …

Member Avatar for pritaeas
0
533
Member Avatar for shlomo_1

i have written 2 files. one is a PHP and the other one is Html (form file). i have echoed in PHP as follows: <? php $message = $_POST['stop here']; echo $message ; <? i want to send this message to an Html form file, as a text. i tired …

Member Avatar for Andrea_4
0
208
Member Avatar for alka_2

hello sir how to display student image and signature image in box on single browser button click on check box of image and singature in php

Member Avatar for rproffitt
0
150
Member Avatar for Sigmond_1

I have a problem that in my sql is always updating the last records. I need to loop in every row and update each record in that row i tried this code underneath but only last record is updating . <tr> <td value="<?php echo $_SESSION['flowertypename'];?>"><?php echo $_SESSION['flowertypename']?></td> <?php $query7 = …

Member Avatar for diafol
0
262
Member Avatar for Faisal_13

Dear all I am a beginner in web development. Please help to resolve the below problem. Right now I am creating a Workers Directory with sql database. This is including worker name, Location, Work and mobile numbers. > When customer select the specific job we need to filter particular job …

Member Avatar for Faisal_13
0
364
Member Avatar for divyakrishnan

I want to count files from a directory which is stored in a remote server . I used the following code . But obtained warning <?php $url='192.168.0.138/img/12/12N69/'; $dir = opendir($url); //List files in images directory while (($file = readdir($dir)) !== false) { echo "filename: " . $file . "<br />"; …

Member Avatar for vijay_21
0
1K

The End.