39,393 Topics

Member Avatar for
Member Avatar for Pravesh_1

I am using a php thumbnail script; its working on server but not on my local server. How I can run this script into my local server too ?

Member Avatar for Pravesh_1
0
755
Member Avatar for RAJboss

function generateHashLink($service_domain, $file_path, $url_signing_key ,$expiry_timestamp = NULL){ // + and / are some of represented chars of based64 encoding (8 bits) // + is 62 and / is 63 and these char should be replaced by other predefined chars $search_chars = array('+','/'); $replace_chars = array('-', '_'); if($file_path[0] != '/'){ $file_path …

Member Avatar for peter_budo
0
300
Member Avatar for Priti_P

Hi, I want to take php string in javascript variable. How to take it? php string includes \n so while taking it in variable it shows me error of "SyntaxError: unterminated string literal" I got one solution form stackoverflow that use json_encode but after use of json_encode is giving me …

Member Avatar for Priti_P
0
305
Member Avatar for kategirdlelock
Member Avatar for mero_1

Dear friends , i've got a problem with ecommerce integration to my payment based website , i want to integrate the paypal or any other payment service provider to make payment. i'v tried using some php code but it didn't worked out , so what do i need to do …

Member Avatar for DJBirdi
0
302
Member Avatar for afaaro

I tried inserting as serialize to multiple selected but when i want to retrieve those multi selected in the select box is not working echo "<td class='tbl1' width='15%'>Format</td><td class='tbl1'><select name='format[]' multiple='multiple' class='textbox'>\n"; $sel = ($_POST['format'] == $data['format'] ? " selected='selected'" : ""); echo "<option value='".$data['format']."'$sel>".$data['format']."</option>\n"; echo "</select></td>\n"; echo "</tr>\n<tr>\n";

Member Avatar for diafol
0
320
Member Avatar for shrutisk

everything newww....!!! hoping to learn dis language asap.. any reviews for d beginner??

Member Avatar for diafol
0
178
Member Avatar for axier

PLease help me how to send password to email <form name="forgot" method="post" action="<?php $_SERVER['PHP_SELF'];?>"> <p><label for="email">Email:</label> <input name="email" type="text" value="" /> </p> <input type="submit" name="submit" value="submit"/> <input type="reset" name="reset" value="reset"/> </form> <?php if(isset($_POST['submit'])) { $connect=mysql_connect("localhost","root","") or die("Could not connect to database"); mysql_select_db("dbsalon") or die(mysql_error()); $email = $_POST['email']; $sql= "SELECT `password` …

Member Avatar for guruparthi
0
8K
Member Avatar for 4XGump

Hello I have got an php probid webesite. everything worked well until I restored an backup. I need someone who can help me fixing following errors that appeared after restoring backup. - I can not upload pictures and mediafiles to an auction or in admin page - second language --> …

Member Avatar for veedeoo
0
133
Member Avatar for Cbn

i had some trouble when updating a mysql field, i had 2 text fields and 1 textarea fields, both the text fields updated ok through this query: but textarea field is not updating.. edit.php <?php include('connect.php'); $id=$_GET['id']; $result = $db->prepare("SELECT * FROM telugunews WHERE id= :userid"); $result->bindParam(':userid', $id); $result->execute(); for($i=0; …

Member Avatar for wikit
0
505
Member Avatar for prasangi
Member Avatar for hallianonline

I have little problem in my wordpress template it showing me the the posts in decending form (the oldest posts showing first) Is there any way to customize this code and add an orderby little function in it? please help me in this <?php $i = 0; if ( empty($image_width) …

Member Avatar for hallianonline
0
251
Member Avatar for arctushar

Hi I want that a div will be shown if a specific facebook page is not liked. Say I have a page facebook.com/abcd Now I want that if visitor liked the page then show content otherwise it will show like button. How can I do that. plz help

Member Avatar for DJBirdi
0
125
Member Avatar for wikit

Thanks for your patience, i'm still trying to learn I've gotten most of my stuff on my website to work, but i'm trying to do one more thing I have a WORKING insertion script for a mysql database using a php page that forces the CharName in the database to …

Member Avatar for Banderson
0
316
Member Avatar for rubai

Hi, I need to make a small plugin/ module. There would be a text field with submit button. This text field to enter zipcode. Onece an user submit a zipcode some info will be fetched from database. I know how to connect database, basic php mysql, javascript. Thanks

Member Avatar for diafol
0
584
Member Avatar for DJBirdi

I just wanna get a feel for the opinions that exist out there about this subject. I've worked with everything from small to very large image storage requirements within PHP and MySQL. What are some of the issues/usage requirements that you guys look at when considering building mysql apps that …

Member Avatar for JorgeM
0
232
Member Avatar for malatamil

i want to download images to folder from database. my database table has 2 fields imagename,imagepath. thanks in advance

Member Avatar for diafol
0
70
Member Avatar for Hilal2009

I have almost one year programming experience in PHP, but always I'm facing a greate challenge of capturing spesific Time when user submit a post into a forum. Simply I have created MySQL Database table which store date, Time, and user coment, But when user submit a coment to the …

Member Avatar for diafol
0
5K
Member Avatar for JulieR31392

Hi there im having a issue sending to yahoo aol ect. but can send to icloud. below is the code any idea what im doing worng. Like i said it send fine to icloud. $message = "Hello \n Thank you for registering with us. Here are your login details...\n User …

Member Avatar for Borzoi
0
151
Member Avatar for ankit1122

how could i send email to list of email addresses inside a mysql database?? i want to create a site helping students find home tuitions. when students fill form regarding subjects they want tuitions ,concerning teachers should get e-mail..tell how can i do this??

Member Avatar for Banderson
0
405
Member Avatar for Jack_9

I'm a PHP developer and me and some other developers that I have seen have developed some applications that aren't for websites using PHP. Is PHP still considered a "web" language, or not?

Member Avatar for veedeoo
0
240
Member Avatar for sundeep.gurroby

hello,i have no idea where i will put the passwod_verify function and what i must code the verify exactly in order to get the plain txt password be compared with the hashed version ? my code is below and part of my database also. <?php require_once('Connections/bankusers.php'); ?> <?php session_start(); ?> …

Member Avatar for sundeep.gurroby
0
640
Member Avatar for Sammys.Man

Hi guys, Was wondering if anyone knows of any tutorials or code so that i can learn how to create charts from scratch. also i havent learnt any javascript so is there another that this can be done? i have tried playing with phpgraphlib, but i cannot seem to dynamically …

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

Greetings, I am having a problem on retrieving the users firstname after logging in. Here's my code <HTML> <BODY> <?php session_start(); include ("connectDB.php"); $stud_test_ID = $_POST["testIDtxt"]; $password_Field = $_POST["Passtxt"]; $insertSql = "SELECT firstName FROM testdb WHERE stud_Id = '$stud_test_ID' And Password = '$password_Field'"; $result = $mysqli->query($insertSql); $numrows = $result->num_rows; if($numrows==1) …

Member Avatar for DJBirdi
0
166
Member Avatar for malatamil

downloadsingledata_csv.php <?php /*mysql_connect("mysql1408.opentransfer.com", "A894703_Allspa13", "Beauty_13") or die(mysql_error()); mysql_select_db("A894703_beautyspa") or die(mysql_error());*/ $id = $_GET['id']; include('db.php'); $count = 0; $sqlquery = "SELECT s.Companyname,s.ContactPerson,s.EmailId,s.Url,cp.`city_id`, rc.`RelatedCatagory`,ck.MainCatagory,st.state FROM `spa` s left join relatedcatagories rc on rc.spaid=s.id left join catagorykeywords ck on ck.id=rc.mainCatagoryid left join subcatagorykeywords sub on sub.id=rc.RelatedCatagory left join city_place cp on cp.spaid=s.id left …

Member Avatar for malatamil
0
236
Member Avatar for Vishnu_4

Hi, I have strings like '00101', 00010, i need to find out the count of occurence of 0 from the begining of the string only.In the case of first string i need the count should be 2 and in the second case count should be 3.How can i do this …

Member Avatar for urtrivedi
0
153
Member Avatar for mark.giles.14

Not sure exactly how to ask the question of what Im trying to do but will try explain it and insert the code. But the basics of the question is Im running a sports website with a database with several tables. PersonProfile Coach_Career League Club all linked via fields PersonProfile.pid …

Member Avatar for mark.giles.14
0
235
Member Avatar for Sanjeev.

how to pass selected datagrid text value to other php page message box ??

Member Avatar for urtrivedi
0
148
Member Avatar for davy_yg

Hello, I am looking for opensource messages that similar to email for internal admin elearning? Is there such a thing? Thanks in advance. Davy

Member Avatar for veedeoo
0
321
Member Avatar for Jack_9

Can you make an android app with the languages PHP JSON and others like that? Like is there a specific frameworkd for it to run on? Any answer is gladly appreciated.

Member Avatar for veedeoo
0
226

The End.