39,326 Topics

Member Avatar for
Member Avatar for Amanpreet_1

i have created a webcam , now i want that on starbroadcast click the video that is being broadcasted streams and gets live,,,, please suggest me some code snippet for this

0
72
Member Avatar for mpc123

I have this to make a file ... but the file created is only ever .php, it is like it is not echoing the field name. $newfile ="" . str_replace(' ','-',trim($file['title'])) . ".php"; and the next one i tried to echo out in the page came out blank too? <?php …

Member Avatar for mpc123
0
188
Member Avatar for davy_yg

Hello, Can anyone help me cek this filepath : $bannerAdsPath = 'localhost/phpads/install.php'; require 'localhost/phpads/install.php'; Is it correct how I wrote it? This error appears: Warning: require(localhost/phpads/install.php) [function.require]: failed to open stream: No such file or directory in C:\xampp\htdocs\phpads\admin.php on line 6 Fatal error: require() [function.require]: Failed opening required 'localhost/phpads/install.php' (include_path='.;C:\xampp\php\PEAR') …

Member Avatar for Alberto Bucur
0
170
Member Avatar for adetolaraphael

Havning issues with file upload in php, below is the code <html> <head> <title>margeducation</title> </head> <body> <p> Niggas Please upload your files in pdf or jpg format, size less than 500kbytes, capishe</p> <form enctype="multipart/form-data" action="processfile.php" method="post" > <p>REQUIRED DOCUMENTS:(Please Select all documents that were recieved for this student's application):<br/></p> <input …

Member Avatar for adetolaraphael
0
257
Member Avatar for shehnaz20

I have tried importing csv file in database but the problem is it inserts a blank record in the 1st row of database and also the date is not gettin stored in yyyy-mm-dd format also the time is not diplayed in database the datatyse is set one heto date time …

Member Avatar for Alberto Bucur
0
185
Member Avatar for Pdrhdez

Win7; 64bit; Apache/2.2.25 (Win32); PHP/5.3.28; mysql-workbench; PHPmyadmin; Drupal; Not using drupal in this case. Only HTML and PHP. Going from HTDOCS in Apache. Index.html in the HTDOCS directory does show the "IT WORKS" test. Can also do the PHPinfo.php from HTDOCs Directory. The app I am trying to run is …

Member Avatar for Alberto Bucur
0
231
Member Avatar for Rakesh M Goudar

Hi am trying to have Dependency check box in one of my php form but am not able can you tell me how to do it

0
154
Member Avatar for nurulshakela

hi guys..currently i'm doing final year project entitle point of sale system.the point of sale system includes both online purchase & manually using barcode scanner that detect input (barcode).it also includes inventory system just simply like supermarket such as giant.i'm beginner in php & mysql.actually my major is electronic but …

Member Avatar for jj.dcruz
0
114
Member Avatar for kgizo

Good day I want to start using php on the command line and I keep getting two errors, the first is that access is denied and the second is that xampp is not recognized as an internal or external command. I have already set my environment variables to the php …

Member Avatar for Ewald Horn
0
166
Member Avatar for zobadof

Hi, So recently I downloaded a template off the internet for the site, and it has a contact form in it but no way to set it up. After contacing the developer he linked me to a site, however, its not been all that useful as I still cannot get …

Member Avatar for zobadof
0
491
Member Avatar for kgizo

Good Day I have been struggling lately to get the right path to execute php scripts on the command line. My php folder is found in c:\>xampp\php which I specied as the path above by accesseing the environmet variables directory. I was wondering whether I am doing anything wrong because …

Member Avatar for kgizo
0
517
Member Avatar for mattyd

I am working with a form validation script; I am testing it first and all seems to work fine except for the email validation. This is a snippet of the script dealing with the email validation: else if(! eregi("^[_a-z0-9-]+(\.[_a-z0-9-]+)*@[a-z0-9-]+(\.[a-z0-9-]+)*(\.[a-z]{2,3})$", $email )) { $_SESSION['reg']['email']="Please enter valid email address."; For example, if …

Member Avatar for cereal
0
235
Member Avatar for nadiam

hi, so i didnt know how to phrase this question in google to get some clue so im just gonna ask here. And im also not sure if this is the correct place to ask because im not sure what language id have to use. anyway, i have a popup …

Member Avatar for JorgeM
0
147
Member Avatar for jpizzolato

I am trying to upload a csv file to a website that was created using a MySQL query in a php file. Here is the code: ************************************* // Fetch Record from Database $output = ""; $table = "customer"; // Enter Your Table Name $sql = mysql_query("select * from $table"); $columns_total …

Member Avatar for sikander123
0
298
Member Avatar for nurul_1

Hello.I have problem please help me. Thank you in advanced. I have radio button in my form. The data will be insert into MySQL based on the selected radio button. For example, I have A and B table. The radio button value also A and B. If I select A, …

Member Avatar for jj.dcruz
0
180
Member Avatar for everton.retweets

Hi Everyone... I have the following php to check against two vars... $minute & $second I am making a new var out of the above $fgt = $minute. "" .$second; if((strstr($fgt,"45:00"))) { $hint = 'Error'; registerError( $hint, $hint, $error_title, '<h3>Error - Goal Time Can Not Be Greater Than <strong>(45:00)</strong></h3>' ); …

Member Avatar for everton.retweets
0
145
Member Avatar for neha05

Hello all ,Please I required some effects on the image like Bleed gallery wrap,bleed mirror effect,select the edges like thin gallery(0.75") and Thick gallery (15"),Please guide me on that any jquery or script ,css for that.

0
188
Member Avatar for markii.borabon

Im developing e-commerce website wherein the costumer can leave comment in a specific product.. and im getting crazy how could i set the product id and user who leave comment on that specific product. the comment must be read by the other user. please help!

Member Avatar for Alberto Bucur
0
90
Member Avatar for Goutham_1

I have a new button in the view. I want to make it look in similar style like view/delete button. please help me. <!--Content--> <?php $details=$details; ?> <h3><?php echo $name; ?></h3> <div id="content"> <?php $form=$this->beginWidget('CActiveForm', array( 'id'=>'nimsoft-host-form', //'enableAjaxValidation'=>true, 'enableClientValidation' => true, 'clientOptions' => array( 'validateOnSubmit' => true, 'validateOnChange' => true, …

0
106
Member Avatar for patk570

I am not sure why this is not working, Its setting the flags perfectly but will not update events... if(isset($_REQUEST['del'])){ if($_REQUEST['del'] == 1){ $asset_id = $_REQUEST['assetID']; $sql = "UPDATE assets, events SET assets.del_flag=1 , events.del_flag=1 WHERE assets.id='$asset_id' AND events.asset_id='$asset_id'" or die(mysqli_error($mysqli)); if ( $mysqli->query($sql) ) { $addevent1 = "INSERT INTO …

Member Avatar for patk570
0
139
Member Avatar for RascelleGrepo

Hello guys, I am on my revision of my thesis and I am actually stuck on this thing. My thesis is Online Requisition of Document and the panel told me that when the student submits his/her request, the expected date or tentative date release of document will automatically display or …

Member Avatar for cereal
0
651
Member Avatar for Priti_P

Hello All, In PHP file i have session variables like 'token'. When I am using the same PHP file in java script $_post("path_to_php_file.php",{ }`, function(data){ }); Then it is not giving me that token. Why so? Am not starting any session in that file again.

Member Avatar for broj1
0
94
Member Avatar for chaitu11

http://www.flipkart.com/mens-clothing/winter-seasonal-wear/pr?sid=2oq,s9b,qgu&otracker=hp_nmenu_sub_men_0_Winter%20Wear I want to intergrate filters for checkboxes. is there any jquery plugin avaliable ?

Member Avatar for broj1
0
149
Member Avatar for Fiorentino01^

Hi, I wonder if you can help me.I am doing a php tutorial. I am supposed to be able to open this file: <?xml version="1.0"?> <pet> <name>Polly Parrot</name> <age>3</age> <species>Parrot</species> <parents> <mother>Pia Parrot</mother> <father>Peter Parrot</father> </parents> </pet> and this is the php file: <?php //set name of xml file $file …

Member Avatar for cereal
0
187
Member Avatar for jj.dcruz

Hi there I'm having a problem uploading my file with a progressbar. the problems are 1. i cannot upload any photos at all 2. i cannot find/promt errors **here is my full codes:** this is for php <?php if(!empty($_FILES['file'])){ foreach ($_FILES['file']['name'] as $key => $value) { $file = $_FILES['file']['name']; $allowed …

0
103
Member Avatar for ebanbury

Hi I had an field to upload pdf's only, which worked well. I want to add the option to add docs as well as pdf's and now it is not working: if (!empty($_FILES['pdf_main']['name']) && ($_FILES['pdf_main']['type']!="application/pdf" || $_FILES['pdf_main']['type']!= "application/msword")){ echo '<p class="white">Please check the certificate uploaded. It should be a PDF …

Member Avatar for cereal
0
185
Member Avatar for justin22

<?php session_start(); include 'connect.php'; <?php session_start(); include 'connect.php'; if(isset($_POST['submit'])) { //$username = $_POST['username']; $password = md5($_POST['currentpassword']); $newpassword = md5($_POST['newpassword']); $confirmnewpassword = md5($_POST['newpassword1']); $user_id = $_SESSION['user_id']; var_dump($user_id); $sql = "SELECT * FROM user WHERE user_id=$user_id "; var_dump($sql); mysql_select_db($dbname) or die(mysql_error()); $result = mysql_query($sql); //mysql_fetch_assoc($result); while($data = mysql_fetch_assoc($result) ){ $userPassword = $data['password']; …

Member Avatar for Mike_danvers
0
192
Member Avatar for Владимир_1

Hi to all! May be it's a very very stupid question, but I am stuck on it... So my problem is the second - I have array $pacient[$val['pacientid']][] = $val['f_name']." ".$val['s_name']; And I want to compare values in this array, so how I go throught array: $pacient = array_unique($pacient); foreach($pacient …

Member Avatar for cereal
0
320
Member Avatar for rajendher

dear programmers, how to show urls `(http://example.com/mtfiles/2014/2014.html)` from to `(http://example.com/2014.html)`. server at plesk panel anybody please tell me . thank you

Member Avatar for rajendher
0
311
Member Avatar for showman13

This may sound strange, but I'm having an issue I can't explain... and have been researching why for the past day and a half with no results. All of a sudden on Friday Morning I was unable to log into a members back office, which is based on session variables. …

Member Avatar for showman13
0
124

The End.