39,326 Topics
| |
Friends, Mates, Buddies & Pals, I don't want to google or youtube because there's a lot of bad tutorials rampaging the net. And so, how-about you recommending me some text & video tutorials on: CURL Hashing I really need to learn password hashing. Encrypting & decrypting. And web scraping. :thumbsup: … | |
Hello, I have this laravel file that is already works but when I try to set it offline it does not works I wonder why? I try to do this: framework_freshway\framework.env DB_HOST=localhost DB_DATABASE=wwwsoulf_revsoul DB_USERNAME=root DB_PASSWORD= http://localhost/framework_freshway/public_html/ Whoops, looks like something went wrong. 3/3 ErrorException in 1319c52207fd4f3069a97397543698e4 line 1275: Trying to … | |
Hello, I am having trouble with laravel video tutorial : https://laracasts.com/series/laravel-from-scratch-2017/episodes/1 Any clue what video player that is perfect to run that video. This is the error messages: The media could not be loaded, either because the server or network failed or because the format is not supported. | |
Hello, I try to do this: framework_freshway\framework.env DB_HOST=localhost DB_DATABASE=wwwsoulf_revsoul DB_USERNAME=root DB_PASSWORD= http://localhost/framework_freshway/public_html/ Whoops, looks like something went wrong. 3/3 ErrorException in 1319c52207fd4f3069a97397543698e4 line 1275: Trying to get property of non-object (View: C:\xampp\htdocs\framework_freshway\framework\resources\views\home.blade.php) (View: C:\xampp\htdocs\framework_freshway\framework\resources\views\home.blade.php) home.blade.php Line 1274 - 1276: if (type == "twitter") { showProfileInfoTwitter("{{$user->twitter->name}}", "{{$user->twitter->screen_name}}", "{{$user->twitter->profile_image}}", "{{$user->twitter->description}}", 0, 0); … | |
HELP HELP HELP!!! I need an assistant on a project am working on using php/javascript. Its a forced matrix. HOW DOES IT WORK? A person is automatically assigned three downlines without any referral based on id. Starting with the admin, lets say 100 persons register, three will be placed under … | |
Hello, Please help me set this laravel framework file. I have two folders: framework_freshway: - public_html - framework I still receive this error message when trying to run this url: http://localhost/framework_freshway/public_html/ Parse error: syntax error, unexpected 'class' (T_CLASS), expecting identifier (T_STRING) or variable (T_VARIABLE) or '{' or '$' in C:\Program … | |
I created an Php/Html form which will save to Database, the form is for Job application form, so i want it to preview the form details before final submission and also, on the final submission, there should be an area for the applicants to print the copy of their form … | |
Hello, I am trying to install laravel for the first but unable to do so. I already install the composer and it has error since it request php7.dll is missing from my computer. Where to find that file? Okay, then where is a good tutorial to learn laravel? Thanks in … | |
Hey everyone, I have a MYSQLI statement that i would like to add pagination to. I would like to have it set to 5 per page, and not have a negative value if you are on page 1 (disables back link) Every tutorial i have been seeing allows for a … | |
Sir I have these codes <?php $result = array( array('date'=>'2017-04-17','voucher'=>2,'code'=>'1401001','party'=>'Michael','d1'=>'Payment of services','dr_amount'=>500), array('date'=>'2017-04-18','voucher'=>1,'code'=>'1401002','party'=>'Eric','d1'=>'Payment of goods','dr_amount'=>1000), ); while ($row=mysqli_fetch_array($result)){ echo $row['party']; } ?> the codes display this error message **E_WARNING : type 2 -- mysqli_fetch_array() expects parameter 1 to be mysqli_result, array given -- at line 7** What I am doing … | |
Output PDF is overwrite, please solve this. advanced thanks <?php require('mysql_table.php'); class PDF extends PDF_MySQL_Table { function Header() { //Title $this->SetFont('Arial','',18); $this->Cell(0,6,'World populations',0,1,'C'); $this->Ln(10); //Ensure table header is output parent::Header(); } } //Connect to database mysql_connect('localhost','root',''); mysql_select_db('pro'); $pdf=new PDF(); $pdf->AddPage(); //First table: put all columns automatically $pdf->Table('select * from products'); … | |
Sir I have these codes $last_date=""; $last_vno=""; $queryx = "SELECT MAX(t1.date)as mxdate,MAX(t1.vou_no)as mxvno,max(d1)as d1 FROM vouchers t1 WHERE t1.date = (SELECT MAX(t2.date)as date FROM vouchers t2 where vou_type='CP' and dr_amount>0)"; $resultx=sqlsrv_query($con,$queryx)or die("Error". sqlsrv_errors($con)) ; if ($resultx){ while ($rowx = sqlsrv_fetch_array ($resultx)){ $last_date=$rowx['mxdate']; $last_vno=$rowx['mxvno']; $myparty=$rowx['d1']; } }else{ echo "no data found"; … | |
hello brothers, I have this VBScript program: Set WSHShell = Wscript.CreateObject("WScript.Shell") Set FSO = Wscript.CreateObject("Scripting.FileSystemObject") Set EnvVar = wshShell.Environment("Process") tBestand= EnvVar("USERPROFILE") & "\Desktop\Items Numbers.txt" Set Bestand = fso.createtextfile(tBestand,2) For x = 1048639472 To 1048640474 Bestand.WriteLine("Item Number is=" & (x)) Next Bestand.close WScript.quit The Output is: (about 1002 lines). Item Number … | |
Programmer Folks! I first started learning php in September 2015. In 2 wks I read the whole tizag tutorial after understanding it. http://www.tizag.com/phpT/syntax.php (Browse the chapters list on the leftside of the page). I was still "raw" in experience when I suddenly read that php 7 was out and when … | |
Ladies & Gentlemen, My Fellow Buddy programmers and would be buddy programmers! Watching the following youtube tutorial I built a basic php proxy but for some reason it is not working. Can you guess why ? The clip uses the deprecated ereg_replace and so I replaced it with preg but … | |
Ladies & Gentleman, Or should I say 'Gentle Ladies' and 'Hard Men' (tough guys)! :winky: Here is my very latest (New Code) reg.php. I have modified it by: * Removing outdated strip tags, mysqli_escape_string. * Bound input parameters on the user reg form. * Added htmlspecialcharacters code on output to … | |
Actually the form below is a registration form, and i only have ' username, email, password and confirm password field' so i want to add another field name job, but keeps getting error. see the code below; if (!preg_match("/^[a-zA-Z ]+$/",$name)) { $error = true; $name_error = "Name must contain only … | |
New Friends! :) The following is my member registration code as of latest. ISSUE 1: I get this error: Parse error: syntax error, unexpected '_' (T_STRING), expecting ',' or ')' in C:\xampp\htdocs\e_id\register_edited.php on line 10 What is wrong ? I copied the "'images/'_$FILES['avatar']['name']);" from a youtube tutorial on how to … | |
Hello, This is the error message on laravel public_html: Parse error: syntax error, unexpected 'class' (T_CLASS), expecting identifier (T_STRING) or variable (T_VARIABLE) or '{' or '$' in C:\Program Files (x86)\EasyPHP-DevServer-14.1VC9\data\localweb\framework_freshway\public_html\index.php on line 50 I wonder why it appears? This is only on public_html the framework is on seperate files: <?php … | |
I passed two parameters in the URL. Now I need to retrieve the parameters log_id and dogID onto the next page to process a form. But I can retrieve the first parameter but i cannot retrieve the second parameter. Im using $log_id= $_SESSION["userid"]; $dogID = $_SESSION["dogID"]; Is there another way … | |
Hello everyone, Does URL shortening effects the POST data in php? whenever we used it for using services like Bitly, Google URL Shortner etc. | |
Hi, i am beginer to codeignitor,i know how to write basic active queries in CI. i want to know how to write a query(having multiple conditions,double parentheses) in which supports CI. query is: $query="SELECT * FROM `apply_special_leave` WHERE ((`from_date` <= '$dt1' AND '$dt1' <= `to_date`) OR (`from_date` between '$dt1' AND … | |
Im going through a tutorial online that would allow users to post status to their wall and to their friends but im getting the error : Warning: mysqli_query(): Couldn't fetch mysqli in /storage/h7/475/1137475/public_html/template_status.php on line 15 It is storing to the db but its not displaying on the user profile. … | |
I would to know how I could do a barcode detecting using a phone IMEI to know its phone type and specifications in php Many Thanks | |
Hello everybody I'm looking for someone to help me about my problem, im trying to display user details after login with allow user to edit some fields . the user can edit these fields password repassword description address telephone email and these two fields not allow to edit only display … | |
Employee.php <div class="col-xs-12"> <h2>Listing Employee</h2> <hr> <div class="employeeGrid"> <table> <tr> <th><a href="" ng-click="orderByField='name'; reverseSort = !reverseSort">Name</a></th> <th><a href="" ng-click="orderByField='age'; reverseSort = !reverseSort">Age</a></th> <th><a href="" ng-click="orderByField='gender'; reverseSort = !reverseSort">Gender</a></th> <th><a href="" ng-click="orderByField='company'; reverseSort = !reverseSort">Company</a></th> <th>Action</th> </tr> <tr ng-repeat="person in employee | orderBy:orderByField:reverseSort""> <td>{{person.name}}</td> <td>{{person.age}}</td> <td>{{person.gender}}</td> <td>{{person.company}}</td> <td> <button class="btn" ng-click="viewEmployee(person.id)"><span … | |
Guys & My Ladies, This LOGIN.php was working lastnight and so I don't know why not now. The ELSE at 53 gets triggered even though I have typed the right password! What do you think of line 16 ? ... if($numrows >1) I tried the following but no luck: if($numrows) if($numrows … | |
Sir I have these codes <html> <head> <style type="text/css"> table { font-size: 12px; font-weight: bold; font-family: Verdana, Geneva, sans-serif; } #mytable td { border: 1px solid #CCC; font-size: 14px; } #mytable thead { border: 1px solid #6C3; background-color: #CCC; color: black; line-height: 30px; height: 30px; font-size: 14px; } #mytable input[type="text"] … | |
<customers> <customer> <ID>C1</ID> <FirstName>Jack</FirstName> <SurName>Wong</SurName> <Email>jack@hotmail.com</Email> <Password>081292</Password> </customer> <customer> <ID>C2</ID> <FirstName>Ashley</FirstName> <SurName>Rachael</SurName> <Email>ashley@hotmail.com</Email> <Password>081292</Password> </customer> <customer> <ID>C3</ID> <FirstName>Vongola</FirstName> <SurName>Steve</SurName> <Email>vongola@hotmail.com</Email> <Password>081292</Password> </customer> </customers> I have a existing xml showing like that. I did some research through net, but they all were talking about one element. For example `<Email>xxx@hotmail.com</Email>` But what … | |
I'm trying to build a script that adds multi entries into same single cell or mysql row. The script tries monitoring what you are browsing via the: <pre><input type="text" name="browse_url" size="120"></pre> and then record your viewed urls into the same row (position: 0), column: browsings like so: 1.com,2.com and so … |
The End.