38,020 Topics

Member Avatar for
Member Avatar for davy_yg

Hello, I have this code that shows fb share button which I intend my code to share the article title instead of only the url. how? event_article.php <html> <link href= "css/events.css" rel="stylesheet" type="text/css" media="screen"> <!-- OpenGraph Facebook Meta Tags --> <meta property="og:title" content="Website Title /> <meta property="og:type" content="website" /> <meta …

Member Avatar for davy_yg
0
232
Member Avatar for rajendher

hello admin, how to display the following shortcut. your here >> home >> files >> 2014 >> 02. is database required for that ? any suggestions please ....... thank you........

Member Avatar for rajendher
0
213
Member Avatar for chaitu11
Member Avatar for chaitu11

apache http stops working xampp when i execute any db related files in xampp, even i uninstalled team viewr from my (window7 ultimate)

Member Avatar for veedeoo
0
237
Member Avatar for showman13

Good Evening All... I have a need to do something and have no clue where to start, so Here I am asking for some direction or even a solution if you happen to have one. Here is the situation... I have a member base that orders a product that is …

Member Avatar for showman13
0
2K
Member Avatar for iamthwee

Hey guys, just wondering what is the best practice to do mysql queries in CI. Do I need to escape the query using db->query->escape? Additionally, outputing stuff from the db so it doesn't break my html form what's the difference between using xss_escape and using php's htmlentities() functions. Thanks in …

Member Avatar for veedeoo
0
245
Member Avatar for iamthwee
Member Avatar for iamthwee
0
7K
Member Avatar for Rizi004

Hello everyone! My [wordpress website](http://newweb.ianreidllc.com/) form is not working. i m using builtin wordpress form with this function <?php get_search_form(); ?> when i click on search button the URL is ( mywebsite.com/s=what&submit= ) and page reload and after reloading it shows only home page, the form is not showing the …

0
99
Member Avatar for razraz

Hello, i have an question could you help me please? iam trying to create a email for myself with inbox,sent,delete,and reply now,i want to add a reply button via php but i dont konw how to add it,i appreciated if you help me,

Member Avatar for diafol
0
35
Member Avatar for chaitu11

i may select one or more category.... <?php include('db.php'); $sql = mysqli_query("select * from brandname where category = 'cloths' "); while($row = mysqli_fetch_array($sql)){ echo $row['brandname']; } ?> <form action="checkbox.php" method="post"> Bags:<input type="checkbox" name="bags" value="bags"><br/> Cloths:<input type="checkbox" name="cloths" value="cloths"><br/> Bikes:<input type="checkbox" name="bike" value="bike"><br/> Shoes:<input type="checkbox" name="shoes" value="shoes"><br/> </form> <div id="load"> </div>

Member Avatar for chaitu11
0
169
Member Avatar for nazree.zeko

I got 1 form that contain a table that can be editable . In that table i added 1 column for checkbox . The checkbox is use to send a notification email based on the checked box . I want to create a button that connect to the page which …

Member Avatar for pzuurveen
0
967
Member Avatar for davy_yg

Hello, I have this code. After adding this php mailer, I wonder why my form won't appears. Only if I comment out the my code between <?php and ?> then my form appears. Also, how to make my form work so that if I fill it in - in my …

Member Avatar for davy_yg
0
2K
Member Avatar for youvi

Hello, Am doin a web application.How can i implement sms service in my website?? Please show me some references..and guidence please.. Thanks

Member Avatar for gabrielcastillo
0
288
Member Avatar for prince kitumi

I Want to development e learing web based system how do i php code for viwe comments and posting comments ,like a forum

Member Avatar for veedeoo
0
49
Member Avatar for patk570

Hi, I have 2 fields that are used for date. In my fucntion, i have it format the date into Y-m-d format, $purchase_date = mysqli_real_escape_string($mysqli,date('Y-m-d',$_POST['purchase_date'])); $warranty_end_date = mysqli_real_escape_string($mysqli,date('Y-m-d',$_POST['warranty_end_date'])); But when I enter a date into it, it just puts 0000-00-00 I thought this was the correct format, but seems to …

Member Avatar for patk570
0
1K
Member Avatar for blueguy777

The following code unable to insert null or blank value into table called custreg i.e. $sagentid and $sagentname. if(isset($_POST['Submit'])){ $reg_no=$_POST['reg_no']; $firstname=strtoupper(str_replace(',', '' , $_POST['firstname'])); $lastname=strtoupper(str_replace(',', '' , $_POST['lastname'])); $mobno1=$_POST['mobno1']; $mobno2=$_POST['mobno2']; $address=strtoupper($_POST['address']); $city=strtoupper($_POST['city']); $dateofjoin=$_POST['dateofjoin']; $regfee=$_POST['regfee']; $magentid=$_POST['magentid']; $sagentid=$_POST['sagentid']; $skimcity=$_POST['skimcity']; $skimyear=$_POST['skimyear']; $skimname=$_POST['skimname']; $cust_fullname = $firstname.' '.$lastname; $pdo = Database::connect(); $pdo->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION); $sql = …

Member Avatar for jstfsklh211
0
6K
Member Avatar for Priti_P

Hello All, I am using google calendaer API PHP libraries. but refreshToken is not working for me. Please tell me where am wrong in this code: <?php require_once 'src/Google_Client.php'; require_once 'src/contrib/Google_CalendarService.php'; session_start(); $client = new Google_Client(); $client->setApplicationName("Google Calendar PHP Starter Application"); $client->setAccessType('offline'); // added this to handle offline section $cal …

Member Avatar for Priti_P
0
812
Member Avatar for Orgil_1

I have a problem been a long. I am totally lost what is wrong! It does not give compile-time error. But it just doesnt add data to database. register.php <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="content-type" content="text/html; charset=utf-8" /> <title>My First Web site</title> <meta name="keywords" content="" /> <meta name="description" content="" /> <link …

Member Avatar for Orgil_1
0
242
Member Avatar for jkon

Some weeks ago I posted this and I realized from the referrals that it may help to be as a code snippet. This is an example of getting products details from categories – subcategories using ajax call. I am fond of OOP and this is not , but I believe …

Member Avatar for pritaeas
1
3K
Member Avatar for vukhacbiet

I just have done a web app about group work, and I want use 1 source to create multisite for multi group use (like teambox.com or wordpress multisite) Ex: group A will be a.abc.com, group B : b.abc.com but only use a source code and database Please help me, thanks …

Member Avatar for vukhacbiet
0
77
Member Avatar for sanjay@srvmedia
Member Avatar for jstfsklh211

I'm trying to change user ldap passwords heres the code $ds = ldap_connect(LDAP_HOST, LDAP_PORT); ldap_set_option($ds, LDAP_OPT_PROTOCOL_VERSION, 3); $bind = ldap_bind($ds, 'uid={admin},'.LDAP_BASEDN, '{admin password}'); $userpassword = "{SHA}" . base64_encode(sha1( '{password}', TRUE )); $userdata = array("userPassword" => $userpassword); $result = ldap_mod_replace($ds, 'uid={user},'.LDAP_BASEDN, $userdata); ldap_close($ds); `$result` returns true i can even see the …

Member Avatar for diafol
0
478
Member Avatar for nazree.zeko

So i got one form so the user can enter and submit their personal details. The problem is i didn't apply any validation . I've done a simple validation like this , but it seem to be not working . function validate(){ if((\$('txt_no_kp').value != '') && (\$('txt_nama').value != '') && …

Member Avatar for nazree.zeko
0
231
Member Avatar for davy_yg

Hello, How to make the contact us works? [Contact Us](http://www.indonusa.net.id/contactus.php) contactus.php <?php // require_once('recaptchalib.php'); $name = strip_tags(@$_POST['name']); $email = str_replace(" ", "", strip_tags(@$_POST['email'])); $subject = str_replace(" ", "", strip_tags(@$_POST['subject'])); $message = strip_tags(@$_POST['message']); if (@$_POST['submit']) { if ($name&&$email&&$subject&&$message) { // $privatekey = "6LfjvdcSAAAAAHNcKjYO5DhTNefxYZHYcfhtrvGC"; // $resp = recaptcha_check_answer($privatekey, // $_SERVER["REMOTE_ADDR"], // $_POST["recaptcha_challenge_field"], …

Member Avatar for nauticalmac
0
793
Member Avatar for johnef_sh

hi I using PHP/MySQL with Google Maps from here https://developers.google.com/maps/articles/phpsqlajax_v3 and then I used PHP's DOM functions to Output XML from here https://developers.google.com/maps/articles/phpsqlajax_v3#outputxml everything working fine with me but I need to center google map on the marker. here is the code that center the map and make the zoom …

Member Avatar for johnef_sh
0
9K
Member Avatar for Priti_P

Hello All, I want to send event invitation to Google user, using google calendar API. for this, I am using Google calendar API in php, for inserting event in the google calendar . I have used php-client libraries https://developers.google.com/google-apps/calendar/downloads But problem with this is : it require login. So how …

Member Avatar for gabrielcastillo
0
247
Member Avatar for dudegio

Hello guys! Anyone who has an idea of integarting a bar code reader to a inventory system. The function is to read the bar code and this will serve as an input to the system. Any suggestion are very much welcome. thank you!

Member Avatar for phpdeveloper123
0
3K
Member Avatar for kharthikeyan

Use Time Zone <?php $date = date_default_timezone_set('Asia/Kolkata'); echo date("d/m/Y h:i:s a", time()); ?> Or Use Time Diferrence from GMT <?php $time_now=mktime(date('h')+5,date('i')+30,date('s')); echo date("d/m/Y h:i:s a", time()); ?>

Member Avatar for cereal
0
45
Member Avatar for davidjennings

Hi all, I am looking to extract address line of text into arrays in a word document. I am only really looking for the postcode to extract. Any help would be appreciated Thanks David Velta - The Underfloor Heating Company, Wombwell School, S73 8AX Speedy Asset Services Limited, C/O Arnold …

Member Avatar for davidjennings
0
284
Member Avatar for lydia21

hi i am doing a attendance sheet appln... i want to know how to get the current indian time,date,month and year..... and i want to store that in mysql database lydia

Member Avatar for kharthikeyan
0
3K

The End.