39,393 Topics

Member Avatar for
Member Avatar for Olyboy16

Morning guys, i'v search the internet with the hope of perfecting my knowledge on running the php CLI as a standalone but to no avail. So i just thought of asking the masters here for help on this topic. The question is, is it possible with the slightest chance to …

Member Avatar for rubberman
0
273
Member Avatar for SC7639

When creating and downloading a CSV from a database call using: putcsv, header and php outstream (php://output). // Output headers header("Content-Type: text/csv; charset=utf8"); header("Content-Disposition: attachment; filename=" . $_REQUEST['filename']); // Create a file pointer to the output stream $output = fopen('php://output', 'w'); // Output the column headings fputcsv($output, $columnNames); // For …

Member Avatar for ziaurehman
0
277
Member Avatar for RonKevinT.Manuela

Okay so the code is able to generate the files but I have a problem with files that are saved with space...when user clicks on the link it says page not found...example a file with a filename of "research proposal" gives the error Not Found The requested URL /simpleblog/kcfinder/upload/files/ was …

Member Avatar for RonKevinT.Manuela
0
134
Member Avatar for u676522226

[Click Here](http://www.nitixay.1eko.com) <?php function hashFindFile($file) { if($file) { if (file_exists('sessions/'.$file)) { return filemtime('sessions/'.$file); // Return file creation time } return false; } return false; } $access = stripslashes($_GET['access']); $login = stripslashes($_GET['login']); $action = stripslashes($_GET['action']); if($login) { require_once('php/hash.php'); exit; } if($access) { if(hashFindFile($access)) { $expires = time() - hashFindFile($access); if($expires > …

Member Avatar for mattster
0
97
Member Avatar for mangel.murti

i have three table i attached db files with query result i am getting. my query is below select tts.transaction_id,tts.service_type,tt.theme_name from transactions tts inner join users tu on tu.user_id=tts.user_id inner join themes tt where tts.user_id = 71 and tts.service_type in ('purchased','startup_service') group by tts.theme_transaction_id; i am not getting write theme …

Member Avatar for Taywin
0
146
Member Avatar for Ehsan_4

i have two postcodes entered by user. i format them validate and check if they do exist then i get postcode1's postal city name from mysql server. i have two districts both arrays one called innerLondon array and the second outterlondon array i fetch postal city name with my script …

Member Avatar for Ehsan_4
0
2K
Member Avatar for terryds

Please tell me the best way to hash password in CMS.. I've seen Crackstation's hashing : https://crackstation.net/hashing-security.htm And phpass : http://www.openwall.com/phpass/ Please tell me which one is the best or tell me if there is another good hash method for password..

Member Avatar for Taywin
0
186
Member Avatar for mexabet

I have a user registration script that includes image upload. Everything works, but each time a user registers, the image he/she uploads replaces the image (userimage) of every other user. What I need is to only update the userimage of that user based on ID. Any help would be much …

0
119
Member Avatar for Stefce

Hey everyone i have a little problem with the navigation bar, i have created the design of the menu but i want to be in one file (menu.html) and to show on all pages in the website... here is my code for `menu.html` <html> <body> <meta http-equiv="content-type" content="text/html;charset=utf-8"/> <style> form.position-and-style …

Member Avatar for mattster
0
293
Member Avatar for v1shwa

Hi, I'm trying test some WSDL url and got the same error as mentioned [here](http://stackoverflow.com/questions/14384515/). As I've no prior knowledge with WSDL, after doing some search, I found that this is because the location url in the `soap:address` tag is not reachable. Am I correct? Is this a possibilty to …

Member Avatar for pritaeas
0
149
Member Avatar for TonyG_cyprus

Hi all, it's been awhile... my prob. I have a form to order drinks in a bar, as below. <div class="col_left"> <h2> Order Your Drinks And Food</h2><br /> <form action="process.php" method="post" name="orders"> <table border="1" class="trapezi"> <tr> <th>Drink</th><th>Qty</th> </tr> <tr> <td><input type="checkbox" name="drink[]" value="p/c">Carlsberg 50cl</td> <td><input type="text" name="drinkno[]" size="2"></td> </tr> <tr> …

Member Avatar for TonyG_cyprus
0
180
Member Avatar for santunu23

hi in my project i am almost done for deployment but i am afraid about ppl who disabled cookies in there browser, what should i do if they disable cookies how we get there data(i mean user) i am think about if they disable cookies we use session function for …

Member Avatar for santunu23
0
196
Member Avatar for LONGWAY

when i try to call my joomla with localhost i get this: [b]Error displaying the error page: Application Instantiation Error[/b] my db name, my user and pass are correct, i dont see any problem in configuration page, they r correct

Member Avatar for LONGWAY
0
134
Member Avatar for Sammys.Man

Hi guys, im working on a bit of code which for 2 days is sending me around in circles :/ what i want to do is split an array into variables, so i can dynamically create a text box. i'm trying various methods but think im chasing my tail now. …

Member Avatar for cereal
0
193
Member Avatar for bLuEmEzzy

I have Checkboxes, the last checkbox is OTHER if the user clicks it, a textbox will appear. I want to get the value of the textbox and pass it on my checkbox, I do not know how to do it. This is my code, I used loop to get the …

Member Avatar for minitauros
0
296
Member Avatar for javed.iqbal.3979

In an attempt to use selection lists in php ,i tried it for displaying date on a web page <?php echo"<html> <head><title>Select a Date </title></head> <body>"; $monthname=array(1=>"January","Februray","March","April","May","June","July","August","September","October","November","December"); $time=time(); $today_date=date("M-d-Y",$time); //returns the current date echo "<div style='text-align:center'>\n"; echo "<h3>Today is $today_date</h3><hr />\n"; echo "<form action='process_form_date.php' method='POST'>\n"; //selection list for month $todayMO=date("M",$time); …

Member Avatar for javed.iqbal.3979
0
276
Member Avatar for TruptiThik

<?php include("connect.php"); if(isset($_POST['add'])){ header("location:show_data.php"); $first=$_POST['fname']; $last=$_POST['lname']; $fulname=$first." ".$last; $gen=$_POST['gender']; $hob_array=$_POST['hob']; $status=$_POST['status']; foreach($hob_array as $one_hob){ $source .= $one_hob.", "; } $hobb = substr($source, 0, -2); //insert data $query_insert="INSERT INTO employee(name,gender,hobbies,status) VALUES('$fulname','$gen','$hobb','$status')"; if(mysqli_query($con,$query_insert)){ echo "inserted"; }else{ echo "no"; } } if(isset($_POST['show'])){ header("location:show_data.php"); } if(isset($_POST['insert'])){ header("location:insert.php"); } if(isset($_POST['update'])){ $fname=$_POST['fname']; $lname=$_POST['lname']; $fulname=$fname." ".$lname; $gen=$_POST['gender']; …

Member Avatar for UsMurshall
0
23K
Member Avatar for harvlake

Hi, I would like to create a form where a user can click browse, have the file picker open, and they can choose a file. I don't want to upload the file, just get the directory and the filename. Parsing the directory and filename isn't a problem, just getting the …

Member Avatar for harvlake
0
69
Member Avatar for aduragbemi.adebo
Member Avatar for tokick4

I have a question about how to set up a page in php to allow the user to create reports from a mysql database and display in a grid on the page. I want them to build the query and save it to the another table and list on their …

Member Avatar for Taywin
0
407
Member Avatar for ravi142

Hello I want to add functionality of **In front** user can Customize his theme.In bellow image User can 'change Banner Image' or 'change color'. ![9e01d80345b52ffdd2e00fbada2eb74c](/attachments/large/4/9e01d80345b52ffdd2e00fbada2eb74c.png "9e01d80345b52ffdd2e00fbada2eb74c") In short I want to make this pannel as view of Front. Do you have any idea or plugin name then suggest me. Thank …

Member Avatar for DJBirdi
0
103
Member Avatar for dukumanis

**form.php** <html> <head> <link href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/base/jquery-ui.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js"></script> <script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/jquery-ui.min.js"></script> <script> $(document).ready(function() { $("#datepicker").datepicker({ dateFormat: "dd/mm/yy" }); $("#datepicker2").datepicker({ dateFormat: "dd/mm/yy" }); }); </script> </head> <body> <form method="post" action="conn.php"> Name <input type="textbox1" name="Name[]" value=""><br> Start date <input type="textbox6" name="Startdate[]" id="datepicker"><br> End date <input type="textbox7" name="Enddate[]" id="datepicker2"><br> Item <input type="textbox8" …

Member Avatar for peeyush.budhia
0
481
Member Avatar for jaspertan

HI Sirs need to pass Textbox Value to another page table. I tried to used post and get in laravel but it doesnt resolve. can anyone help me? Thanks in advance

Member Avatar for jaspertan
0
743
Member Avatar for RonKevinT.Manuela

i wanted to list down files found on a folder..so far it works but I also want it to be a link..one click and file will be downloaded.. <?php // directory path can be either absolute or relative $dirPath = '../kcfinder/upload/files'; // open the specified directory and check if it's …

Member Avatar for RonKevinT.Manuela
0
293
Member Avatar for Rajeev Kumar_1

I just want to have a link forwader in Wordpress. Is there any plugin for it. I search but only find the url redirection for 301 and other navigation errors. What i want that on any link in my website there should be a link forwader like have in facebook, …

Member Avatar for vaidhegipatel
0
231
Member Avatar for weekendrockstar

After very little success in using JQuery .post methods I wanted to try asking this here before giving up. I am serving a couple JS based games on a site using PHP as members can log into the site and through sessions/cookies remain logged and play games under their account. …

Member Avatar for AleMonteiro
0
222
Member Avatar for Indians

i want to upload the employee profile picture into mysql database using php. i tried this coding. image uploaded successful but when i fetch that image on browser it shows me text character like this (ÿØÿàJFIFHHÿáLExifMM*bj(1r). one more problem is below 20kb size images only uploaded into mysql. how to …

Member Avatar for mattster
0
3K
Member Avatar for stokie-rich

Hey guys I really need some help if you can ASAP, my website is now done and this is the last thing that needs to be sorted.... I seriously need some help. I have added in 80 questions into the database. The website is a learning aid for users like …

Member Avatar for stokie-rich
0
339
Member Avatar for safi.najjar1

Hello guys this is the first time I see this message while i'm trying to register a new account: the message : __php_incomplete_class could not be converted to string I try var_dumb($_SESSION) and i get this: object(__PHP_Incomplete_Class)[1] public '__PHP_Incomplete_Class_Name' => string 'Customer' (length=8) public 'id' => string '3' (length=1) public …

Member Avatar for veedeoo
0
1K
Member Avatar for jaspertan

Hi to all Im doing a project in which the user need to fill up and submit after the user submit it will create table with values from textbox thanks Jasper

Member Avatar for jaspertan
0
173

The End.