Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 

Persistent Cookie Help Required!

This is a login.php.   The user is given a choice to either input his/her Username & Password or Email & Password. In short, either log-in inputting your Username or your Email.   It is written in mysqli procedural. ...

Why httpS Fails To Load on HTTP Request via Multiparameter in cURL in PHP Code?

Php Gurus! This is a php web proxy called Mini Proxy not written by me. Why do https pages show blank white when I visit any https pages with the proxy ?  I reckon the https pages are failing to load. Why do you think that is ? You c...

Finding Banned Words On A Page And Not Within Other Words!

Php Lovers! I am NOT searching for banned words within other words on a page but searching for banned words within a loaded page. I am not actually looking for banned words within other words but within the page (meta tags, content).  ...

Login With Username or Email And Password - Cleaning Up The Reg Page

Php Folks! You know others in other forums suggest I use regex but yet again they never provide sample or I reckon many don't know the regex. I will mention your sample on other forum and link back to this thread. Hopefully, a lot of newb...

How to Code cURL PHP Script to Auto Type In Search Box & Click Search Button?

Hi, I want to build a cURL script that auto searches a keyword on any site's search feature. In this example, imagine I want it to search ebay.com. How should I code it ? What is the code that: 1. Types a keyword in the search box; ...

Why password_verify Function Not Passing the Verification in PHP Application?

Php Programmers,   Why does the password_verify keep failing ? I checked the myql tbl column name (passwords) and there is no typo. The $query is able to get the $result querying the db ($result = true). The password_verify is in...

Why string_replace Fails On Arrays ?

Php Folks! I am trying to do the following with cURL: * Keyword Search on Google. So, basically, when you do a keyword search on Google, then cURL is supposed to fetch the Google Search Result Page (SERP) showing you the search results o...

CURL Fails To Load Page

Php Guys, Why does this cURL show complete blank page ?   <?php /* ERROR HANDLING */ declare(strict_types=1); ini_set('display_errors', '1'); ini_set('display_startup_errors', '1'); error_reporting(E_ALL); mysqli_rep...

How to Implement Registration Functionality in PHP?

Programmers, I wrote a registration.php (member reg) and it was working fine but the coding was not perfect (old version). Neated-up the new version but I see a complete blank page once I click "Register" button. I do not get this m...

How to create a feature similar to Sign in with Facebook using PHP?

How to implement a feature similar to sign in with facebook , I have a site B . com ,I want sign in to B.com using email and password registered in B.com from another website A.com . How can i implement it ?

How to Display Recent Article Title to Top New Bar of PHP WordPress Site from Specific ID

Hello I recently stumbled upon this site and was wondering if someone out there could provide help.   Currently there is an area in the top bar of my Wordpress site that has a section called "BREAKING" (this "BREAKING...

fPDF version issue

i have used fpdf to merge pdf but in fpdf there are some limitations it supports only 1.4 version compatibility level with pdf. so i used ghost script which converts pdf 1.4+ versions into 1.4 version and also i used same command in different ser...

How to Implement a PHP Class Containing 2 Methods?

Suppose that you have to implement a class named Dragonball. This class must have an attribute named ballCount (which starts from 0) and 2 methods iFoundaBall and iLostball. When iFoundaBall is called, ballCount is increased by one. When ilostbal...

Why str_replace Not Working Properly With CURL?

Php Buddies, Why do you reckon the following script is unable to replace the 'https://' or the 'http://'  words with 'http://mymydomain.com' ? It is able to replace the words 'www.' with 'http://my...

submit php form using xmlhttprequest ?

i have this code for submitting an online exam and i submit this page using javascript xmlhttprequest(pure javascript no Jquery) and i have three parameters the question id arrays and answers and the numbers of rows      ...

How to Resolve Index Page Calling Error in PHP Application?

I am getting an error warning when calling my index page for a PHP application. Below is the Error: Warning: mysqli_fetch_array() expects parameter 1 to be mysqli_result, boolean given in C:\xampp\htdocs\uni-saga\index.php i get th...

How To Precede A Tracking Url Onto A Url >

Fellow Php Programmers,   What does the following header mean (ebay.com): **HTTP/1.1 200 OK X-EBAY-C-REQUEST-ID: ri=N79YSYGvO9se,rci=qZJNjVUUeUF9xCaS RlogId: t6e%60cckjkb9%3Fvo%7Bccbgmijf%28vo%7B%287570577-15c59d3449c-0x129 X-Frame-...

Regex To Extract 2nd Level Domains From All TLDs ?

Good Day Folks! 1. Is the following regex ok to extract top level domains and 2nd level domains ? [^.]*\.[^.]{2,3}(?:\.[^.]{2,3})?$ How to write php code to use that regex ? Any sample code welcome.

using ajax to load content from php file without jquery ( TABS)

i want to make a tabs that generating content from database based on what users click. i want to have a script which uses PHP, ajax and JSON if needed. but i don't want to use jquery. Could you please Help me? here is what i hav...

Convert SQL Query into Laravel?

SELECT * FROM jobs WHERE published = 1 AND (created_at between '2017-05-12 00:00:00' and '2017-05-13 00:00:00' OR created_at between '2017-05-10 00:00:00' and '2017-05-12 00:00:00' OR created_at between '2017-05-05 00:00...

How to load Image from database on Zend

Hello, I'm trying to load the image from the database only by its name. I tried to pass the directory folder and the image name but it didnt work. Im new at zend. Thankz!  

Update closed column in database using button click?

I've been trying to do this multiple times but still didn't get the answer. I have a column named closed in my database and close button in my view, whenever I click the button close, I want it to update my closed column to '0' if...

Member Reg & Login Script - mysqli_stmt_bind_param() Errors

Hello Everyone! What do you make out of my latest code update ? Member Reg & Login script config.php [php] <?php /* *    ERROR HANDLING *    ini_set('display_errors', 1); *  ...

Repeat form on add form button

Hello everyone when I click on button repeat, the form is repeating. In this form I am using bootstrap color picker but when form repeat color picker not works in repeated form. this is my form:   <div class="col-sm-12 "> <...

How To Record Urls Loading on iFrame Into MySql Db ?

Programmer Experts,   I'm embarking on an interesting project to gain work experience in php. Just stuck on one thing and wondering if you can help. You probably used Team Viewer. This is where I create a Team Viewer session and...

Php Sql Injection Secure Tags

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\reg...

What Is Wrong With Number Of Rows Count Function ?

Guys & 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 tr...

How To Force MySql With Php To Show Final Row Only?

Buds! How to code so php forces mysql to show only the final row of the column ? The followings are how I coded (2 copied youtube tuts) to show all rows to allow user to delete multiple rows:SAMPLE 1 [php] <?php session_start(); re...

How To Add More Than One Entry On A Single Cell/Array Where Each Entry Is Separated By Commas?

Programming buddies, I'm back online after nearly 2wks of offline. Gonna be harassing you guys again and more this time. Eeek! Anyway, right now, I'm trying to build a script that adds multi-entries into the same single cell MySQLsq...

Add children objects to a parent only if they don't yet exist

I am busy developing an action for parent that should add a number of children given by the user input. The children have 3 properties, and combining them, each child should always be unique. I make use of Symfony and Doctrine and my basic ...

Which Parts Of Php Not To Learn ?

Guys, After getting putoff from php.net to learn php 7 (because it is not beginner friendly) and raoming around youtube for 1.5mnth to learn php and failing to get proper tutorials there, I returned to php.net. Was reading the CONSTANT chapter...

How To Display Data in iFrame A Url From Mysql?

This is my latest shortened version of the homepage in my reg-login site PHP. When you login to your account, your homepage welcomes you with your first & surname. Then it is supposed to show you your bio ($row "bio" in tbl) and s...

What On Earth Is This Outlandish Error - PHP Parse error?

Programming Buddies, Here's my latest script. It is a member reg-login script. It registers you and gets you to activate your account confirming your email and then auto logs you into your account. It uses cookies to remember your user de...

Which tutorial should I pick out of these (member reg, login site) ?

Programming Buddies, Looking at the following links, can you be kind enough to tell me which one I should learn from and which one teaches what method (mysqli, pdo, etc.) and whether they are on php 7 or 5 because only looking for php 7: ...

Php 7 Acting Weird - Failing To Send Email, Failing To Send Link With Random Numbers

Hi, I'm a beginner in php. Starting my learning at php 7 and not 5 or earlier. I don't understand why php 7 is showing me an error like this: [09-Mar-2017 20:54:49 UTC] PHP Fatal error:  Uncaught Error: Call to undefined metho...

Why Reg Page Php 7 MySqli Code Fails While Login Page Code Works ?

Hi, I am using php 7 and I do not know why the following 2 different codes for user the user registration page is not working. The login page php is working, though. I would appreciate the communities feed-backs. Thank You!   ...

php class vars auto instantiation using (PDO) ?

I'm creating an admin class and i need to know how to auto instantiating the class vars   class Admin{ public $admin_id ; public $admin_name ; public $admin_email ; public $admin_type ;...

What is This Php Method Called For Tracking Links On Foreign Domains (Web Proxies)?

Php Experts, I am a complete beginner in Php. Trying to learn Php 7 as much as I can. I need your help to point me to the right direction. What kind of method in Php 7 is used to track URLs belonging to a foreign domain ? I mean, you all...

Where Can I Find Best PHP 7 Tutorials For Complete Beginners

I would like to learn PHP 7. PHP 7 tutorials are available online for those who already know previous version which I don't know. Please resolve my following questions: Q1. What are your top best Php 7 tutorials (paperback books, eb...

Countdown using PHP or Jquery

<?php $time=time(); $time_out=$time-60*24; if($userInfo['deleteTime'] < $time_out){ $countTime=$userInfo['deleteTime'] - $time_out ?> ...

Page Isn't Redirecting Properly Error in Magento Application

While working on a Magento allication for eCommerce website, I am getting "Page Isn't Redirecting Properly Error". Can anyone let me know how to resolve this issue.

How to get difference between two or more arrays in PHP?

Hi everyone, I am a beginner and have been learning various programming languages like PHP, DotNet, Java etc. I faced an issue regarding php programming in which I wanted to learn how we can find out the difference between two or more arrays base...

Why we use Php Frameworks instead of CorePhp?

Hello Readers,  I am a beginner in Php and want to know why we use Php Frameworks instead of CorePhp? If, we can do all things in corePhp. So, what is the basic use and advantage to use and work on Php framework?

How can i print values of array in this program? it is printing the key?

 In program below, I  want to print values of array but it is printing the key, can someone help. <?php $CHAMP = array("ESP"=>"BARCELONA", "GER"=>"BAYERN", "POR"=>"BENFICA","ENG"=>"CHELSIA"); $TEAM = array("ESP"=...

Which PHP Framework is easiest to learn?

Hello Readers,  I am Fresher in a company and working as a HTML Developer. Now a days, I am planning to learn PHP, So I want to know which PHP framework is easy to learn?

passing id from function to another in php?

I have PHP MySQL functions and I need to pass the id number from one function to another and each function are called in different page. I'm using the URL to pass the variable. I don't know if that is possible but can I use session to pas...

Php mail function if statement

  I want to use another if statement in below mail function with failure message. so when mail will not sent it can display failure message on the screen <?php if(isset($_POST['submit'])){ $to = "Test@gmail.com"; // this...

Explain like I'm 10, when and why should I move my site to https from http?

I am new in web development. I notice that in web url there are two typs url 'http' and 'https'. I dont know the deference of these two also when and why we should change it from http to https. Any can can help me to understand t...

How to Validate & Process Data Before Posting into Payment Processing Site?

Need to post data to a payment processing website - but need to validate and preprocess first Apologies if this is a dumb question. I am not an experienced web programmer. I am trying to integrate an online payment processing site with my o...

How to Instantiate Class Using Namespaces in PHP?

Trying to figure out how to instantiate class with name spaces. The library was built for Composer to manage dependencies, but we're using just the necessary classes for our project. We are using this library: https://github.com/thephpl...
prev 1 3
Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: