39,393 Topics

Member Avatar for
Member Avatar for kannan mangalar
Member Avatar for davy_yg

Hello, I was wondering about this: [Popular Sites Programming Language](http://en.wikipedia.org/wiki/Programming_languages_used_in_most_popular_websites) Is it possible to program all those popular sites just using PHP ? I was just wondering (never really actually program websites using C++ / Java before - don't even know if you could such language to program websites)

Member Avatar for diafol
0
122
Member Avatar for punith_1

hi i'm new to php but i tried to make my own edu website but i'm facing lot of problem to fetch the result using php external site is about one of the Engineering university where 10k students result will be displayed by this website bcoz of this its server …

Member Avatar for diafol
-4
2K
Member Avatar for FOYSAL_1

Entry.php <?php require 'config.php'; if (isset($_GET['logout'])) { unset($_SESSION['isLogged']); unset($_SESSION['isLogged']); session_destroy(); header('location: index.php'); exit; } if (!isset($_SESSION['userLogin']) && !isset($_SESSION['isLogged'])) { header('location: index.php'); exit; } ?> <!doctype html> <html> <head> <meta itemprop="image" content="mainlogo_title.png"> <title>SEA TURTLE NEST MONITORING RECORD</title> <link rel="shortcut icon" href="mainlogo_title.png" type="image/x-icon"/> <link rel="stylesheet" href="css/link.css" /> <link rel="stylesheet" type="text/css" media="all" href="jsDatePick_ltr.min.css" …

Member Avatar for diafol
0
398
Member Avatar for SimonIoa

I Have a problem with saving a photo. When i put <form action="" method="post" enctype="multipart/form-data"> i saves the photo on the path but it doesnt saves it on the database. Althought the other values are saved (title,date, id etc). When i put <meta http-equiv="Content-Type" content="text/html"> <form action="" method="post" enctype="multipart/form-data"> the …

Member Avatar for diafol
0
176
Member Avatar for mbarandao

Hello, I have the following array Array ( [0] => Array ( [cName] => 'Lexington Table Tennis Club (9/30/2014)' [local] => 'Castlewood Gym 201 Castlewood Dr. Lexington, KY 40505' [days_times] => 'Saturday - 2:30 - 6:00PM and Sunday - 9:15AM - 12:00PM' [contact] => 'Babak xxxx 859-xxx-2498' [marker] => '<-----CLUB …

Member Avatar for mbarandao
0
147
Member Avatar for chaitu11
Member Avatar for Borzoi

Hi, I'm not sure if I'm posting this in the correct place as this is related to nginx configuration and not specifically PHP scripts. If I am posting this in the wrong section, please let me know and I will post it in the correct location (unless a Mod is …

Member Avatar for Borzoi
0
864
Member Avatar for vishalonne

Hello Below is the code by which I trying to get AGE of students as on 31-March of current year in this format -> 6 years, 3 months, 14 days. But I am getting differnece in Days. I checked the age from this site [http://www.calculator.net/age-calculator.html ](http://www.calculator.net/age-calculator.html) Example 1. 19-12-2007 should …

Member Avatar for diafol
0
201
Member Avatar for mbarandao

Hello, I am building a multidimensional array with the following code: $array_two = array(); $arrayIndex=0; $loopCount=0; $second_index=""; foreach ($result as $myValue) { $loopCount = ($loopCount<5) ? $loopCount : 0; switch ($loopCount) { case '0': $second_index="cName"; break; case '1': $second_index="local"; break; case '2': $second_index="days_times"; break; case '3': $second_index="contact"; break; case '4': …

Member Avatar for mbarandao
0
2K
Member Avatar for mbarandao

Hello, I have the following array: Array ( [2] => Champlain Valley TTC(1/31/2015) [5] => Old Shelburne Town School5420 Shelburne RdSherburne, VT 05482 [6] => Friday - 6:30 - 10:00PM [9] => Jack Devine802-877-3341 [10] => <-----NEXT_CLUB -----> [13] => Green Mountain Table Tennis Club(GMTTC)(6/30/2014) [16] => Knights of Columbus …

Member Avatar for mbarandao
0
225
Member Avatar for centenond

so want to auto create a whole html page i was thinking like this $newhtml = '<html><head></head><body>'.$variable.'</body></html>'; file_put_contents ('file.html',$newhtml); this would be the proper thing to do?

Member Avatar for centenond
0
130
Member Avatar for theonlylos

I currently am moving a client site from Joomla 1.6 to Joomla 2.5 by hand due to a malware infection (I don't normally do this for clients but they specifically requested me) and while I was able to move the data, I'm not able to get their custom template to …

Member Avatar for theonlylos
0
318
Member Avatar for gyno

I use Microsft Vista OS on my system,so getting started with my PHP programming has been my challenge since last month that i had choose to lay hands on PHP programming,majorly because MySQL refused to run in the XAMP server i have installed on my system. i have try various …

Member Avatar for gyno
0
276
Member Avatar for eloginko

As you can see my current code doesnt work and i need your help guys...i want to filter in my search(textbox) and show the data filtered in there corresponding textboxes...can anyone help make my code work?? i've been looking in google for days already for the same idea of my …

Member Avatar for eloginko
0
281
Member Avatar for chrisschristou

hello everybody i have a form where require user email to be submit, for it i have made client side behavior, if email field is empty js alert the following currend is alert, but i want to show in popup (alert window) a div who allow users to login in …

Member Avatar for chrisschristou
0
783
Member Avatar for davy_yg

Hello, I am trying to show an uneditable text through an input textbox. The following input text box is still editable, how to make it uneditable? <td>Page</td> <td><input type="text" size="50px" name="page" value="<?php echo $page; ?>"/></td> Thanks before.

Member Avatar for cereal
0
148
Member Avatar for centenond

why this wont work? if ( file_exists($_SERVER['DOCUMENT_ROOT'].$dirfromroot)){ echo "<img id='imagen' src='$imgloc' >"; } else { echo 'No image to show!'; } also tried if ( file_exists($imgloc)){ echo "<img id='imagen' src='$imgloc' >"; } else { echo 'No image to show!'; } Thanks!

Member Avatar for centenond
0
192
Member Avatar for marifard

Hi, Hope you are ok. I made a website to recieve donations in from other people. It is possible to check if this coding hereunder are working or not? Thanks for your help. Donation page: <?php require "config.php"; require "dbconnection/connection.php"; // Determining the URL of the page: $url = 'http://'.$_SERVER['SERVER_NAME'].dirname($_SERVER["REQUEST_URI"]); …

Member Avatar for marifard
0
611
Member Avatar for ebanbury

Hi I'd like to send one email to the registered user and a seperate email to the Administrator, with a separate body. I thought I could just duplicate the mail() but now neither email is being sent. Email 1 - Activation Email to the Registered User $to = "liz.banbury@gmail.com, ".$reg_email; …

Member Avatar for ebanbury
0
252
Member Avatar for SPRINGHEEL

What is the proper format for this code? There seems to be a problem with the session variable <?php $r = mysql_query("select * from tbl_student_master where email='@$_SESSION[email]'") or die(mysql_error());

Member Avatar for gabrielcastillo
0
129
Member Avatar for CreatorZeus

I have been racking my brain trying to think of how this would work to no success. Can anyone explain how this could be done?

Member Avatar for JorgeM
0
297
Member Avatar for flevasgr

Hello, i'm trying to solve this problem for 2 weeks with no luck. I'm using sql lite to pull data from my database but it doesnt show up the last item. I've tried to use an other server but again nothing! Even if i try to re-create the database the …

Member Avatar for cereal
0
147
Member Avatar for vishalonne

I was trying to display name and address phone no in mail and I perfectly done it using the following piece of code - </tr> <tr> <td align="left"><p>'.$admin_message['message'].'</P></td> </tr> <tr> <td align="left"><p>Kind Regards</P></td> </tr> <tr> <td align="left"><p>'.ucwords($finance_info['fi_schoolname']). '<br />'.ucwords($finance_info['fi_address']). ' <br /> Email :- '.ucwords($finance_info['fi_email']). '<br /> Contact:- '.ucwords($finance_info['fi_phoneno']).'</P> </td> …

Member Avatar for Tpojka
0
170
Member Avatar for davy_yg

Hello, I have two copies of the same website: one in the localhost and one is online. My offline website generates error after I login to the admin page: Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at C:\xampp\xampp\htdocs\rustoleum\administrator\admin.php:9) in C:\xampp\xampp\htdocs\rustoleum\administrator\admin.php on line 52 …

Member Avatar for Borzoi
0
198
Member Avatar for SPRINGHEEL

/*SMS*/ $_objSmsProtocolGsm = new Com("ActiveXperts.SmsProtocolGsm"); $objMessage = new Com ("ActiveXperts.SmsMessage"); $objConstants = new Com ("ActiveXperts.SmsConstants"); $objMessage->Recipient = $cell; $objMessage->Format = $objConstants->asMESSAGEFORMAT_UNICODE; $objMessage->Data = "Your password is: " . $r; $_objSmsProtocolGsm->Device = "HUAWEI Mobile Connect - 3G Modem #2"; $_objSmsProtocolGsm->DeviceSpeed = 0; if( $_objSmsProtocolGsm->LastError == 0 ){ $_objSmsProtocolGsm->Send( $objMessage ); } …

Member Avatar for SPRINGHEEL
0
564
Member Avatar for darne_1

A php code sent a query to the database say credentials from login page for verifying and something was returned say TRUE OR FALSE as status. Now my question is, if I do not know the code of the developer who wrote the login form, does there exist any way …

Member Avatar for pritaeas
0
215
Member Avatar for davy_yg

Hello, I am trying to create a form which could upload image file and copy it to a certain folder and also updating the mysql database which store it's image name and title. input_image.php <div id="menu"> <center> <h2>Image Manager</h2> </center> <p>&nbsp;</p> <p>metode image managementnya masih konstruksi</p><center> <p> <?php include('../includes/koneksi.php'); $id …

Member Avatar for SimonIoa
0
366
Member Avatar for centenond
Member Avatar for centenond
0
582
Member Avatar for abhijit_2

i am trying to develop my theme and problem about add slider in header so plz tell me how to add image slider in theme

Member Avatar for gabrielcastillo
0
185

The End.