39,323 Topics

Member Avatar for
Member Avatar for abedi.pele.522

Hey guy's need your help. Am building a system to track all the pc's plus monitors each user in the company is logged on to. I need a php code to read the system information and display this details.

Member Avatar for pritaeas
0
63
Member Avatar for furalise

I'm quiet confused as to how PHP works. Just starting out and want to learn it but all I have done prior to now is C++ and Javascript. I'm not sure where to start. I have tutorials on PHP, no problem there. I'm not sure whether it is compiled, interpreted …

Member Avatar for furalise
0
305
Member Avatar for rdtheclown

Hi all I have no idea if im in the right place, but im gonna try anyway. I have a basic php form to email / uses a captcha verification before submitting, when i recieve the info via email the font that the client inputs is the same as the …

Member Avatar for pzuurveen
0
183
Member Avatar for phpDave

Hello, I trying to learn how to create a forgot password page. I used some code from another forum and having some trouble with it. I get an error for the $recs and $row variables. Any feedback on this topic would be appreciated. Thank you. <?php require_once('Connections/connadmin.php'); ?> <?php session_start(); …

Member Avatar for srilatha12
0
215
Member Avatar for NitsPatel

hi, for wordpress theme which portfolio plugin is best for portfolio page thanks in advance

Member Avatar for NitsPatel
0
101
Member Avatar for PF2G

Hi, i'm using facebook like box on my website but it seems it doesn't work with localhost. I hit the like button and when i refresh the page the Like was not "accepted". Is there a problem being localhost? Thank you.

Member Avatar for Szabi Zsoldos
0
49
Member Avatar for omoayan

I have a site where I upload data into mysql database. When I upload my text, it is just the way it was uploaded in mysql, but when I call for the text upload, in my php page, there are no paragraphs. Everything is just muddled up. what could be …

Member Avatar for C#Jaap
0
163
Member Avatar for Dannis86

I downloaded the script just for fun and for learning some new things. For the one who are curious what this is: [url]http://facemash.moefelt.dk/[/url] I wanted to install this on my localhost, but i got this: [url]http://imageshack.us/f/41/facemashalikenotgood.png/[/url] This is my index.php code: [CODE]<?php /* * Title: Facemash-Alike Script * Author: Anders …

Member Avatar for arunmagar
0
2K
Member Avatar for mikeandike22

So im new to the PHP world because I have to learn it for work. So one of my clients is a musician and wanted a music player so I made a simple way the user could click a link and load a song. ok first I set the variable …

Member Avatar for diafol
1
294
Member Avatar for Farouq21

[b]. I have searched google and everywhere before asking this question. I have a forum that the posts support php bbcodes. All basic bbcodes like [b], [i], [h1], e.t.c are working well. I used the str_replace() function for the bbcodes. Now i have a problem on how to create the …

Member Avatar for diafol
0
282
Member Avatar for coder91

I was wanting to develop some PHP websites on my own laptop to build up knowledge of PHP and was wondering what I needed on my laptop for PHP. At university we use filezilla to upload our files to the uni's server but I haven't got that facility at home. …

Member Avatar for diafol
0
206
Member Avatar for Amiet Mhaske

Hey guys, I want to connect my **VB.NET application to the data saved on my webserver's mysql database**. Can you please tell me, is it possible or not? Can you give me any hint for further coading? Where should i look for help in this regard? Or should I consider …

Member Avatar for Amiet Mhaske
0
409
Member Avatar for weeraa

This is my code. $arrivDate = $_POST['arrival_date']; echo $arrivDate; //Print correctly echo date("Y/m/d", strtotime($arrivDate)) ; // every time print 1969/12/31 echo date("Y/m/d", strtotime('.$arrivDate.')) ; // every time print 1969/12/31 but if i put like this, it is print correctly echo date("Y/m/d", strtotime("05/08/2019")); // Print like this --> 2019/08/05 (This is …

Member Avatar for diafol
0
167
Member Avatar for kantigniter

I have to sync with two tables in the database The following is the error I get: *A database error has occurred Error Number: 1054 Unknown column 'Array' in 'field list' INSERT INTO `client` (`interior_client_name`, `Interior_client_email`, `interior_client_mobile`, `interior_house_id`) VALUES ('a', 'b', '8989898', Array) Filename: C:\xampp\htdocs\ThinkInterio\system\database\DB_driver.php Line Number: 330* These are …

Member Avatar for cereal
0
5K
Member Avatar for NitsPatel

hi how to do automatic url rewriting in opencart ? Now I have a following link for login page Example : http://dejavutrends.com/index.php?route=account/login and I want to do like this http://dejavutrends.com/account/login same for the all products,manufacturers, category's So,How I can i do that Thanks in Advance

Member Avatar for arunmagar
0
169
Member Avatar for Dani
Member Avatar for pritaeas
0
201
Member Avatar for mallows.yum

Hi All! i have her a code <?php /** * Main.php */ include("include/session.php"); //include("viewproj.php"); ?> <html> <head> <title>Export to Excel</title> </head> <body> <form action="searchemp.php" method="post" > <?php define ('DB_NAME', 'vincegac_vince'); define ('DB_USER', 'root'); define ('DB_PASSWORD', ''); define ('DB_HOST', 'localhost'); $link = mysql_connect(DB_HOST, DB_USER, DB_PASSWORD); if (!$link) { die('Could not connect: …

Member Avatar for Eng. Hadi
0
470
Member Avatar for davy_yg

How to run *.swf file ? I have installed adobe flash and still unable to run the *.swf movie by it self. What should I do ? I also have downloaded flash plugin.

Member Avatar for MsF.Shawahneh
0
251
Member Avatar for thilipdilip

Hi all, I'm having one problem with disapling the json data into ul and li based content with using of foreach() json data from database is [{"id":1},{"id":2,"children":[{"id":3},{"id":4},{"id":5,"children":[{"id":6},{"id":7},{"id":8}]},{"id":9},{"id":10}]},{"id":11},{"id":12}] $loop = new RecursiveIteratorIterator( new RecursiveArrayIterator(json_decode($get_menu, TRUE)), RecursiveIteratorIterator::SELF_FIRST); foreach($loop as $mydata) { echo $mydata foreach($mydata->values as $values) { echo $values->value . "\n"; } …

Member Avatar for mrvijayakumar
0
169
Member Avatar for oomotayo

using this query: $queryC = "SELECT * FROM tbl_courses WHERE course_id='$course_id'"; $resC = mysql_fetch_assoc(dbQuery($queryC)); $allUnits = $resC[course_unit]; print_r(array($allUnits)); returns: Array ( [0] => 3 ) Array ( [0] => 3 ) Array ( [0] => 2 ) Array ( [0] => 2 ) but am expecting it to return Array …

Member Avatar for diafol
0
169
Member Avatar for UK-1991

Hello all I am having problem with my attendance management system. The problem is when ever i log in as admin it does not show a log in time but when ever i log in as a user it is howing time in. And secondly the time in and tim …

Member Avatar for UK-1991
0
162
Member Avatar for ses03

I have this code and it outputs buttons that goes down. I want them to go horizontally. please help. T_T <?php $var=1; while($row=mysql_fetch_array($che… { ?> < action='' method='post'> <input type='submit' name='view' value="<?php echo @$var ?>"/> <input name="workId" type="hidden" value="<?php echo $row['workId']; ?>" /> </form> <?php $var++; } ?> I don't …

Member Avatar for ses03
0
132
Member Avatar for weeraa

I hosted a web site. (Still developing and adding component to it) It was working well until today evining. But now it is not working well. some JS not working. I have back ups. (Every time i got back ups in working versions). I thought this happen due to my …

Member Avatar for arunmagar
0
277
Member Avatar for Mr.pc.online

i was working on a plugin that can find some special url in wordpress page contents and then if matching URL found then change that url automatically to another url like without giving backlink benfit to that site. for example : if i have defined a site that start with …

Member Avatar for Mr.pc.online
0
403
Member Avatar for cereal

#This is for Laravel 3.*# ## Hello, ## With this snippet I'm providing a simple way to automatically filter `Input::get()` and `Input::old()`. To achieve this result we need to make few changes: * extend Input and Redirect classes by creating new files in `application/libraries/`, the files are: **input.php** and **redirect.php**; …

1
377
Member Avatar for UK-1991

Fatal error: Call to undefined function session_is_registered() in C:\wamp\www\attendance\include\checksession.php on line 2 Call Stack 1 0.0021 180504 {main}( ) ..\admin.php:0 2 0.0026 182624 include_once( 'C:\wamp\www\attendance\include\checksession.php' ) ..\admin.php:2 ------------------------------------------------------------------------------------------------------------ Hello ..This error is comming when i enter the user id and pw. Can any one please help me out to fix …

Member Avatar for diafol
0
684
Member Avatar for irfath

var flashyshow=new woo_target({ wrapperid: "woo_id_joomla_", wrapperclass: "woo_class_joomla_", imagearray: <here my problem Comes> this code Inside javascript tags...! my problem is? i want to put some jpgs or png photoes into this image array to display as a slide show?? i Tried it many ways and still its not wrking please …

Member Avatar for Md.Akaash
0
159
Member Avatar for omoayan

I have these codes for the insertion of data into mysql database in php, unfortunately when I insert the data into the database they are duplicated. Any suggestion on what could be wrong with the codes. <?php // create short variable names $Database=$HTTP_POST_VARS['Database']; $Publication_Date=$HTTP_POST_VARS['Publication_Date']; $Title=$HTTP_POST_VARS['Title']; $Write_Up=$HTTP_POST_VARS['Publication']; if (!$Publication_Date || !$Title …

Member Avatar for Zagga
0
146
Member Avatar for tahakirmani88

Hello, I am trying to fetch values from a Multidimensional array using foreach loop, i have understand the basics of foreach(){} loop, but when it comes to Multidimensional array i get confused. This is my program <?php $food =array( 'Healthy' => array('Salad','Rice', 'Vegetables'=>array('Tomatto','Onion')) , 'UnHealthy' => array('pasta', 'Vegetables'=>array('potatto', 'Corn')) ); …

Member Avatar for diafol
0
6K
Member Avatar for Nirmeen Ased

<tr> <td><strong>Department</strong></td> <td width="220" align="right"> <select name="Depcategory" dir="rtl" id="Depcategory" class="title"> <option value="-1">chosse department</option> <?php $rs=$db->GetAllDepCategory($_SESSION["Faculty"]); while(list($name)=mysql_fetch_array($rs)){ echo "<option ".($DepSearch==$name?" selected=selected ":"")." value='$name'>$name</option>"; } ?> </select> </td> </tr> <tr> <td> <strong>Teacher name</strong></td> <td width="200" align="right"><label for="TeacheSearch"></label><select name="TeacheSearch" dir="rtl" id="TeacheSearch" class="title"> <option value="-1">choose teacher</option> <?php $rs=$db->GetTeacher($_SESSION["Faculty"], $_SESSION["AdminWorkName"]); while(list($Fname,$WNO,$Lname)=mysql_fetch_array($rs)){ echo "<option ".($Lname==$TeacheSearch?" selected='selected' …

Member Avatar for paulkd
0
229

The End.